It is fixed for Solaris CC, but not for gcc.  My guess is inlining
might be the cause here with gcc.  Most compilers will do some level
of inlining of low level math functions especially if the compiler is
doing some level of optimizing.  So even though we are telling the
compiler to point a certain way, it may be simply optimizing our call
away.  Right now, I don't have a Solaris to test this theory, so if
someone (I'm looking at you Andy ;-) ) could compile Parrot on Solaris
with gcc without optimizations, I'd be interested in seeing if this is
fixed or not.

Steve

On Mon, Mar 23, 2009 at 8:26 AM, Reini Urban <[email protected]> wrote:
> 2009/3/22 Andy Dougherty via RT <[email protected]>:
>> Well, it's not really completely resolved, but I couldn't think  of a
>> better status for it.  The *BSD versions are resolved, and Solaris is
>> half-resolved (works with Sun's cc, fails with gcc).
>>
>> This issue is now listed in Trac as TT #205, so we can close the RT
>> version of the ticket and keep the Trac version open.
>
> IMHO it should have be solved by this config/gen/platform/solaris/math.c 
> entry:
>
> #include <math.h>
> #if defined(__GNUC__) && defined(_LIB_VERSION)
>    _LIB_VERSION_TYPE _LIB_VERSION = _IEEE_;
> #endif
>
> Maybe _LIB_VERSION is not defined?
>
> --
> Reini Urban
> http://phpwiki.org/              http://murbreak.at/
> _______________________________________________
> http://lists.parrot.org/mailman/listinfo/parrot-dev
>
_______________________________________________
http://lists.parrot.org/mailman/listinfo/parrot-dev

Reply via email to