Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Dec 2004 22:27:38 -0800
From:      Kris Kennaway <kris@obsecurity.org>
To:        Kris Kennaway <kris@obsecurity.org>
Cc:        freebsd-amd64@FreeBSD.org
Subject:   -O2 compiler bug on amd64? (Re: new TCL vs. current-6)
Message-ID:  <20041214062738.GA78138@xor.obsecurity.org>
In-Reply-To: <20041208171947.GA46271@xor.obsecurity.org>
References:  <200412081205.39354.mi%2Bmx@aldan.algebra.com> <20041208171947.GA46271@xor.obsecurity.org>

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

--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--



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