in reply to 64-bit build fails numeric tests

Don't have a machine to play with here, but 64 bit perl on Solaris in perlsolaris says:

Long Doubles.

As of 5.8.1, long doubles are working if you use the Sun compilers (needed for additional math routines not included in libm).

Given that your issue appears to be a single/double precision float mismatch, have you tried building with the Sun compilers? When you modified the compile and link commands, could you have missed a line, s.t. some libraries were built without the -m64 flag?

Replies are listed 'Best First'.
Re^2: 64-bit build fails numeric tests
by eshafto (Novice) on Feb 01, 2010 at 17:07 UTC

    Thank you for finding that. I really did try.

    From this line it appears that one cannot build 64-bit Perl on Solaris using gnu tools. Am I reading that correctly?

      I read it as saying there are known issues associated with Solaris builds with gcc. Past that is outside my experience.

      Note that the error you are reporting is that when numifying strings, they are being returned as floats instead of doubles. The specific error referenced above, however, pertains to long doubles. To me, this sounds more like an inconsistent build - 32 bit numification routines interacting with a 64 bit perl - thus my question about missing a line in your modification.