Date: Sat, 14 Jul 2001 17:50:02 -0700 (PDT) From: Jim Pirzyk <Jim.Pirzyk@disney.com> To: freebsd-bugs@FreeBSD.org Subject: Re: kern/28966: math libraries in linux emulation do not return same results Message-ID: <200107150050.f6F0o1Y07824@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/28966; it has been noted by GNATS. From: Jim Pirzyk <Jim.Pirzyk@disney.com> To: FreeBSD-gnats-submit@FreeBSD.ORG Cc: Subject: Re: kern/28966: math libraries in linux emulation do not return same results Date: Sat, 14 Jul 2001 17:47:34 -0700 On Saturday 14 July 2001 04:30 pm, Jim Pirzyk wrote: > The following reply was made to PR kern/28966; it has been noted by GNATS. > > From: Jim Pirzyk <Jim.Pirzyk@disney.com> > To: FreeBSD-gnats-submit@FreeBSD.ORG > Cc: > Subject: Re: kern/28966: math libraries in linux emulation do not return > same results Date: Sat, 14 Jul 2001 16:21:05 -0700 > > > >Description: > > > > Math libraries under linux emulation do not return the same results > > as under native FreeBSD nor under native Linux. This is independant > > of shared libaries (they are the same under Linux emulation as under > > native linux). > > What I am finding is that the -OX (where X is not 0) optimizes the > exp() call out of the binary, so it does not call exp() in libm.so.6 > This does not happen under FreeBSD's gcc compiler. This is only when I include the exp call in a seperate .o file, not when I use the one in libm.so.6 So the problem stands that using exp() on a linux box works different than it does under linux emulation. - JimP -- --- @(#) $Id: dot.signature,v 1.10 2001/05/17 23:38:49 Jim.Pirzyk Exp $ __o Jim.Pirzyk@disney.com ------------- pirzyk@freebsd.org _'\<,_ Senior Systems Engineer, Walt Disney Feature Animation (*)/ (*) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200107150050.f6F0o1Y07824>