On Saturday, July 14, 2001, at 11:19 AM, David O'Brien wrote:

> On Sat, Jul 14, 2001 at 11:09:22AM -0700, [EMAIL PROTECTED] wrote:
>> So I have stumbled across a linux emulation bug in freebsd.  Below
>> is the program that returns different results based on FreeBSD,
>> Linux or Linux emulation under FreeBSD.
> ...
>> Running natively under Linux:
>>
>> x = 53.278500
>> exp(x) = 137581029243568449912832.000000
>
> Which version of Linux from which distributor?  Can you check that you
> have the same libs on the Linux box as we use in
> /usr/ports/emulators/linux_base?

One interesting point I found is if I include the exp() code into the 
program directly
and do not use -O<whatever>, it runs correctly.  So the problem seems to 
be
the optimization that was done with -O on libm, but only under the 
emulator.

- JimP

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to