From owner-freebsd-bugs Sat Jul 14 17:50: 6 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 0D67D37B401 for ; Sat, 14 Jul 2001 17:50:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f6F0o1Y07824; Sat, 14 Jul 2001 17:50:02 -0700 (PDT) (envelope-from gnats) Date: Sat, 14 Jul 2001 17:50:02 -0700 (PDT) Message-Id: <200107150050.f6F0o1Y07824@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Jim Pirzyk Subject: Re: kern/28966: math libraries in linux emulation do not return same results Reply-To: Jim Pirzyk Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR kern/28966; it has been noted by GNATS. From: Jim Pirzyk 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 > 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