Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Feb 2008 05:54:16 +1100
From:      Peter Jeremy <peterjeremy@optushome.com.au>
To:        Tom Evans <tevans.uk@googlemail.com>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: Formatting bug in C++ iostreams when running i386 binary on amd64
Message-ID:  <20080212185416.GK64299@server.vk2pj.dyndns.org>
In-Reply-To: <1202840599.2126.86.camel@localhost>
References:  <1202840599.2126.86.camel@localhost>

next in thread | previous in thread | raw e-mail | index | archive | help

--juZjCTNxrMaZdGZC
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Feb 12, 2008 at 06:23:18PM +0000, Tom Evans wrote:
>I've encountered a strange bug deploying one of our C++ applications on
>amd64. We tend to build most of our applications on i386, even if the
>deployment box is amd64, as we aren't 100% sure that our code is 64 bit
>clean yet. The boxes in question both run 6.2-RELEASE, at various kernel
>release patchsets:
=2E..
>With an i386 binary running on an amd64 host, when we write a small
>double, with value close to 0.1, to a C++ iostream, it is formatted
>incorrectly.

See kern/102424 and amd64/112222.

--=20
Peter Jeremy
Please excuse any delays as the result of my ISP's inability to implement
an MTA that is either RFC2821-compliant or matches their claimed behaviour.

--juZjCTNxrMaZdGZC
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4 (FreeBSD)

iD8DBQFHsetY/opHv/APuIcRAhBvAKCfm4IZMRZhw6BD7O6eVyZ+O6Ia7QCeMbPE
FcEfuMaq4o1Fgq2fkUAj3oY=
=fzdY
-----END PGP SIGNATURE-----

--juZjCTNxrMaZdGZC--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080212185416.GK64299>