#205: r35872 test fails on solaris
-------------------+--------------------------------------------------------
 Reporter:  jsut   |        Type:  bug    
   Status:  new    |    Priority:  normal 
Milestone:         |   Component:  core   
  Version:  trunk  |    Severity:  medium 
 Keywords:         |        Lang:         
    Patch:         |    Platform:  solaris
-------------------+--------------------------------------------------------
Changes (by rg):

 * cc: r...@… (added)


Comment:

 My guess is you've been building with gcc. There's a 4 year old note in
 the solaris hints file:

 {{{
     # Parrot usually aims for IEEE-754 compliance.
     # For Solaris 8/Sun Workshop Pro 4, both
     #    atan2( 0.0, -0.0) and atan2(-0.0, -0.0)
     # return 0, when they should return +PI and -PI respectively.
     # For Sun's compilers, fix this with the -xlibmieee flag.
     # I don't know of an equivalent flag for gcc.
     # (Alternatively, and more generally, perhaps we should run an
     # ieee-conformance test and then call back into a hints-file trigger
     # to set platform-specific flags.)
     #   A. Dougherty  7 March 2005
 }}}

 AFAICT, nothing has changed in that regard. I sure couldn't figure out
 what -xlibmieee is doing differently, nor was I able to find any hint or
 web page on how to get the same effect with gcc. Any help would be
 appreciated.

 BTW, there's also
 [http://rt.perl.org/rt3//Public/Bug/Display.html?id=34549 RT #34549]
 describing the same problem for a couple of platforms, although I believe
 Solaris is the last holdout.

-- 
Ticket URL: <https://trac.parrot.org/parrot/ticket/205#comment:5>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development
_______________________________________________
parrot-tickets mailing list
[email protected]
http://lists.parrot.org/mailman/listinfo/parrot-tickets

Reply via email to