cc -m32 (was Re: critical floating point incompatibility

2009-01-29 Thread Bakul Shah
On Fri, 30 Jan 2009 05:44:00 +1100 Peter Jeremy wrote: > > On 2009-Jan-28 11:24:21 -0800, Bakul Shah wrote: > >On a mac, cc -m64 builds 64 bit binaries and cc -m32 builds > >32 bit binaries. The following script makes it as easy to do > >so on a 64 bit FreeBSD -- at least on the few programs

Re: critical floating point incompatibility

2009-01-29 Thread Peter Jeremy
On 2009-Jan-28 11:24:21 -0800, Bakul Shah wrote: >On a mac, cc -m64 builds 64 bit binaries and cc -m32 builds >32 bit binaries. The following script makes it as easy to do >so on a 64 bit FreeBSD -- at least on the few programs I >tried. Ideally the right magic needs to be folded in gcc's >built

Re: critical floating point incompatibility

2009-01-28 Thread John Baldwin
On Wednesday 28 January 2009 2:24:21 pm Bakul Shah wrote: > On Mon, 26 Jan 2009 16:51:28 EST John Baldwin wrote: > > On Friday 21 December 2007 3:16:33 pm Kostik Belousov wrote: > > > On Fri, Dec 21, 2007 at 10:11:24AM -0800, Bakul Shah wrote: > > > > Peter Jeremy wrote: > > > > > On Wed, Dec 19

Re: critical floating point incompatibility

2009-01-28 Thread Bakul Shah
On Mon, 26 Jan 2009 16:51:28 EST John Baldwin wrote: > On Friday 21 December 2007 3:16:33 pm Kostik Belousov wrote: > > On Fri, Dec 21, 2007 at 10:11:24AM -0800, Bakul Shah wrote: > > > Peter Jeremy wrote: > > > > On Wed, Dec 19, 2007 at 09:40:34PM -0800, Carl Shapiro wrote: > > > > >The default

Re: critical floating point incompatibility

2009-01-26 Thread John Baldwin
On Friday 21 December 2007 3:16:33 pm Kostik Belousov wrote: > On Fri, Dec 21, 2007 at 10:11:24AM -0800, Bakul Shah wrote: > > Peter Jeremy wrote: > > > On Wed, Dec 19, 2007 at 09:40:34PM -0800, Carl Shapiro wrote: > > > >The default setting of the x87 floating point control word on the i386 > > >

Re: critical floating point incompatibility

2007-12-21 Thread Kostik Belousov
On Fri, Dec 21, 2007 at 10:11:24AM -0800, Bakul Shah wrote: > Peter Jeremy <[EMAIL PROTECTED]> wrote: > > On Wed, Dec 19, 2007 at 09:40:34PM -0800, Carl Shapiro wrote: > > >The default setting of the x87 floating point control word on the i386 > > >port is 0x127F. Among other things, this value se

Re: critical floating point incompatibility

2007-12-21 Thread Julian Elischer
Carl Shapiro wrote: On 12/20/07, Peter Jeremy <[EMAIL PROTECTED]> wrote: I believe this is an oversight. See the thread beginning http://lists.freebsd.org/pipermail/freebsd-stable/2007-November/037947.html Thanks for the pointer into the -stable mailing list. The incorrect precision control

Re: critical floating point incompatibility

2007-12-21 Thread Bakul Shah
Peter Jeremy <[EMAIL PROTECTED]> wrote: > On Wed, Dec 19, 2007 at 09:40:34PM -0800, Carl Shapiro wrote: > >The default setting of the x87 floating point control word on the i386 > >port is 0x127F. Among other things, this value sets the precision > >control to double precision. The default settin

Re: critical floating point incompatibility

2007-12-21 Thread Erik Trulsson
On Fri, Dec 21, 2007 at 03:09:33AM -0800, Carl Shapiro wrote: > On 12/20/07, Peter Jeremy <[EMAIL PROTECTED]> wrote: > > I believe this is an oversight. See the thread beginning > > http://lists.freebsd.org/pipermail/freebsd-stable/2007-November/037947.html > > Thanks for the pointer into the -st

Re: critical floating point incompatibility

2007-12-21 Thread Carl Shapiro
On 12/20/07, Peter Jeremy <[EMAIL PROTECTED]> wrote: > I believe this is an oversight. See the thread beginning > http://lists.freebsd.org/pipermail/freebsd-stable/2007-November/037947.html Thanks for the pointer into the -stable mailing list. The incorrect precision control bits is a serious qu

Re: critical floating point incompatibility

2007-12-20 Thread Peter Jeremy
On Wed, Dec 19, 2007 at 09:40:34PM -0800, Carl Shapiro wrote: >The default setting of the x87 floating point control word on the i386 >port is 0x127F. Among other things, this value sets the precision >control to double precision. The default setting of the x87 floating >point control word on the

critical floating point incompatibility

2007-12-19 Thread Carl Shapiro
Developers, There is a critical incompatibility between the floating point environment of the 32-bit compatibility environment of AMD64 systems and a genuine i386 system. The default setting of the x87 floating point control word on the i386 port is 0x127F. Among other things, this value sets th