On Wed, 1 Jun 2005 [EMAIL PROTECTED] wrote:

> Building from parrot_2005-06-01_151500.tar.gz on solaris
> 
> [EMAIL PROTECTED]:/var/tmp/tinder/parrot$ uname -a
> SunOS prodigy 5.9 Generic_117171-14 sun4u sparc SUNW,Ultra-4
> 
> [EMAIL PROTECTED]:/var/tmp/tinder/parrot$ gcc -v
>  Reading specs from
> /usr/lhttp://r01.webmail.aol.com/compose-message.aspx?version=_SRV_1_0_0_12281_#ocal/lib/gcc-lib/sparc-sun-solaris2.9/3.3.1/specs
>  Configured with: ../gcc-3.3.1/configure --prefix=/usr/local
> --enable-languages=c,c++ --disable-libgcj --with-as=/usr/ccs/bin/as
> --with-ld=/usr/ccs/bin/ld
> Thread model: posix
> gcc version 3.3.1
> 
> trans.t is failing for both jit and other cores
> 
>  [EMAIL PROTECTED]:/var/tmp/tinder/parrot$ perl t/harness --gc-debug

> # not 0.000000ok 17
> # '
> 
> atan N4, -0.0, -0.0
> .fp_eq (N4, -3.1415926, EQ17)
> print "not "
> print N4
> EQ17: print "ok 17\n"
> end
> 
> There seems to be an extra unintended print in the last test.
> Helpfully this shows solaris thinks atan -0 , -0 is 0

Yes.  See config/init/hints/solaris.pl for further details.  In brief, for 
Sun's compilers, we can use -xlibmieee.  I don't know an an equivalent 
flag for gcc.

I don't know if The only change in the compilation process.  The only 
change in the linking stage is that the -xlibmieee flag forces the 
inclusion of /opt/SUNWspro/SC4.2/lib/values-xi.o instead of 
/opt/SUNWspro/SC4.2/lib/values-xa.o.  I don't see an equivalent 
replacement one can make in the gcc specs file.

-- 
    Andy Dougherty              [EMAIL PROTECTED]

Reply via email to