From owner-freebsd-stable@FreeBSD.ORG Tue Feb 12 18:54:19 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 60BD816A419 for ; Tue, 12 Feb 2008 18:54:19 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from mail18.syd.optusnet.com.au (mail18.syd.optusnet.com.au [211.29.132.199]) by mx1.freebsd.org (Postfix) with ESMTP id ED34F13C442 for ; Tue, 12 Feb 2008 18:54:18 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from server.vk2pj.dyndns.org (c220-239-20-82.belrs4.nsw.optusnet.com.au [220.239.20.82]) by mail18.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id m1CIsGkY011212 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 13 Feb 2008 05:54:17 +1100 Received: from server.vk2pj.dyndns.org (localhost.vk2pj.dyndns.org [127.0.0.1]) by server.vk2pj.dyndns.org (8.14.2/8.14.1) with ESMTP id m1CIsG10048146; Wed, 13 Feb 2008 05:54:16 +1100 (EST) (envelope-from peter@server.vk2pj.dyndns.org) Received: (from peter@localhost) by server.vk2pj.dyndns.org (8.14.2/8.14.2/Submit) id m1CIsG5a048145; Wed, 13 Feb 2008 05:54:16 +1100 (EST) (envelope-from peter) Date: Wed, 13 Feb 2008 05:54:16 +1100 From: Peter Jeremy To: Tom Evans Message-ID: <20080212185416.GK64299@server.vk2pj.dyndns.org> References: <1202840599.2126.86.camel@localhost> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="juZjCTNxrMaZdGZC" Content-Disposition: inline In-Reply-To: <1202840599.2126.86.camel@localhost> X-PGP-Key: http://members.optusnet.com.au/peterjeremy/pubkey.asc User-Agent: Mutt/1.5.17 (2007-11-01) Cc: freebsd-stable@freebsd.org Subject: Re: Formatting bug in C++ iostreams when running i386 binary on amd64 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Feb 2008 18:54:19 -0000 --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--