From owner-freebsd-current@FreeBSD.ORG Tue Dec 14 06:27:39 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BA61C16A4CE; Tue, 14 Dec 2004 06:27:39 +0000 (GMT) Received: from obsecurity.dyndns.org (CPE0050040655c8-CM00111ae02aac.cpe.net.cable.rogers.com [69.194.102.143]) by mx1.FreeBSD.org (Postfix) with ESMTP id 852F243D2F; Tue, 14 Dec 2004 06:27:39 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id D99E551255; Mon, 13 Dec 2004 22:27:38 -0800 (PST) Date: Mon, 13 Dec 2004 22:27:38 -0800 From: Kris Kennaway To: Kris Kennaway Message-ID: <20041214062738.GA78138@xor.obsecurity.org> References: <200412081205.39354.mi+mx@aldan.algebra.com> <20041208171947.GA46271@xor.obsecurity.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="wRRV7LY7NUeQGEoC" Content-Disposition: inline In-Reply-To: <20041208171947.GA46271@xor.obsecurity.org> User-Agent: Mutt/1.4.2.1i cc: obrien@FreeBSD.org cc: Mikhail Teterin cc: freebsd-current@FreeBSD.org cc: ade@FreeBSD.org cc: freebsd-amd64@FreeBSD.org Subject: -O2 compiler bug on amd64? (Re: new TCL vs. current-6) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Dec 2004 06:27:39 -0000 --wRRV7LY7NUeQGEoC Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Dec 08, 2004 at 09:19:47AM -0800, Kris Kennaway wrote: > On Wed, Dec 08, 2004 at 12:05:38PM -0500, Mikhail Teterin wrote: > > Three of my TCL-based ports fail now on amd64 running current-6. All fa= ilures=20 > > occur, when an attempt is made to use the TCL-interpreter -- either to = run=20 > > the port's self-tests, or to generate the manual pages. The failures ar= e=20 > > either "Floating point exceptions" or "Segmentation faults" and appear = to=20 > > only happen on amd64 (may be, on ia64 as well): > >=20 > > http://people.freebsd.org/~fenner/errorlogs/mi%40aldan.algebra.com.html > >=20 > > Can anyone confirm being able to use freshly built TCL on amd64 _at all= _? > >=20 > > My ports did not change in months -- what could be wrong with TCL and/o= r=20 > > amd64? >=20 > Peter speculated a problem when the world is built with -O2 (with or > without -fno-strict-aliasing). I haven't been able to confirm this by > testing with a world built with -O, because I only have one working > amd64 package builder. Looks like building the port against an -O world has fixed the problems. This suggests a compiler bug with -O2 on amd64. Kris --wRRV7LY7NUeQGEoC Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFBvofaWry0BWjoQKURAn1VAKCYP1Nb3LLd/mTW5JCqzKvamB96zwCeOlMP LL3tEvpwETc8dvtPMrs6vMk= =Tcib -----END PGP SIGNATURE----- --wRRV7LY7NUeQGEoC--