From owner-freebsd-current@FreeBSD.ORG Tue Dec 14 13:24:56 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 DCBEB16A4CE; Tue, 14 Dec 2004 13:24:56 +0000 (GMT) Received: from renaissance.homeip.net (m197.net81-67-151.noos.fr [81.67.151.197]) by mx1.FreeBSD.org (Postfix) with ESMTP id DBC1943D54; Tue, 14 Dec 2004 13:24:55 +0000 (GMT) (envelope-from anthony.ginepro@laposte.net) Received: by renaissance.homeip.net (Postfix, from userid 1001) id 656B32054; Tue, 14 Dec 2004 14:24:54 +0100 (CET) From: Anthony Ginepro To: Alexander Leidinger In-Reply-To: <1103027998.41bedf1e46fa1@netchild.homeip.net> References: <200412081205.39354.mi+mx@aldan.algebra.com> <20041208171947.GA46271@xor.obsecurity.org> <20041214062738.GA78138@xor.obsecurity.org> <1103027998.41bedf1e46fa1@netchild.homeip.net> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Tue, 14 Dec 2004 14:24:53 +0100 Message-Id: <1103030693.40763.10.camel@renaissance.homeip.net> Mime-Version: 1.0 X-Mailer: Evolution 2.0.3 FreeBSD GNOME Team Port cc: Mikhail Teterin cc: freebsd-current@freebsd.org cc: ade@freebsd.org cc: freebsd-amd64@freebsd.org cc: Kris Kennaway Subject: Re: -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 13:24:57 -0000 Le Mardi 14 d=C3=A9cembre 2004 =C3=A0 13:39 +0100, Alexander Leidinger a = =C3=A9crit : > Zitat von Kris Kennaway : >=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 b= y > > > 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. >=20 > I "hope" this is the case, not only on amd64. Background: I see coredumps > of gst-register on my system (x86). I've recompiled all ports, with and > without -Os, with and without -fno-strict-aliasing, but it still > segfaults. I also recompiled world with "-Os -fno-strict-aliasing" instea= d > of my usual "-Os". I haven't tested plain "-O" for the world yet, but I > think the problem is somewhere in the system libs... >=20 > Bye, > Alexander. Some more information : gst-register coredumps if gstreamer-plugins is compiled with CPUTYPE=3Dp4. eclipse also coredumps if gtk2 is compiled with CPUTYPE=3Dp4. Both ports don't depend on optimization level (-O2 or -O). Anthony.