Date: Wed, 27 Jun 2007 14:11:48 +0400 From: Andrey Chernov <ache@nagual.pp.ru> To: Harti Brandt <harti@FreeBSD.org> Cc: Kostik Belousov <kostikbel@gmail.com>, cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/share/mk sys.mk Message-ID: <20070627101148.GB44554@nagual.pp.ru> In-Reply-To: <20070627113859.N64822@knop-beagle.kn.op.dlr.de> References: <200706261910.l5QJALb8093717@repoman.freebsd.org> <20070627093610.GU2268@deviant.kiev.zoral.com.ua> <20070627113859.N64822@knop-beagle.kn.op.dlr.de>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Jun 27, 2007 at 11:39:34AM +0200, Harti Brandt wrote: > On Wed, 27 Jun 2007, Kostik Belousov wrote: > > KB>On Tue, Jun 26, 2007 at 07:10:21PM +0000, Andrey A. Chernov wrote: > KB>> ache 2007-06-26 19:10:21 UTC > KB>> > KB>> FreeBSD src repository > KB>> > KB>> Modified files: > KB>> share/mk sys.mk > KB>> Log: > KB>> This is temp workaround of nasty gcc 4.2.0 -O2 bug which may skip the rest > KB>> of the loop when arrays used inside. > KB>> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32500 > KB>> > KB>> Approved by: re (kensmith) > KB> > KB>This seems to break cross-build of HEAD on RELENG_6. > > And even building on a pre-gcc-4.2.0 CURRENT. I just sent this cross-building compatible variant to re@ for approve: --- sys.mk.orig 2007-06-27 14:04:15.000000000 +0400 +++ sys.mk 2007-06-27 14:04:33.000000000 +0400 @@ -35,7 +35,7 @@ CFLAGS ?= -O .else CC ?= cc -CFLAGS ?= -O2 -fno-strict-aliasing -fno-tree-vrp -pipe +CFLAGS ?= -O1 -fno-strict-aliasing -pipe .endif CXX ?= c++ -- http://ache.pp.ru/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070627101148.GB44554>