On Sep 15, 2005, at 8:17 PM, Ferris McCormick wrote:

On Thu, 15 Sep 2005, Ferris McCormick wrote:

On Thu, 2005-09-15 at 15:26 -0500, Brian Barrett wrote:
Gah...  The #if 0 and missing header are my bad - I'll fix those
tonight.  can you rerun the compiler on the file that errors out, but
with the -S option to get the assembly file?  It would be useful to
know what is on lines 61, 195, and 292.

Thanks!

Brian

Yes, I can. I tried compiling a dummy program with just the time.h and
val = opal_sys_timer_get_cycles();

At first glance, it looks like
   mov %tick, %o4
is generating the error. I've been fighting other things all day, so I
can't provide much more than that right now.  I'll verify with the
actual failure tomorrow, if the problem persists.  (I am using the svn
pull right now.)


A little experimentation suggests that instead of "mov %tick, ..." we need "rd %tick,%o4". I'll verify tomorrow when I am on a system with a build on it, but at least "rd %tick,o4" assembles properly but "mov %tick,%o4"
gives an error.


Yeah, ok, that makes sense.  Damn Solaris for letting me be lazy ;).

Let me know if that works and I'll commit the change. I already committed the fixes so that the type wouldn't be #if 0'ed and the header would be in the dist tarball.

Thanks!

Brian

Reply via email to