From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1R2DKO-0006p7-Km for garchives@archives.gentoo.org; Sat, 10 Sep 2011 02:29:56 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A50C221C040; Sat, 10 Sep 2011 02:29:46 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 7106321C040 for ; Sat, 10 Sep 2011 02:29:46 +0000 (UTC) Received: from flycatcher.gentoo.org (flycatcher.gentoo.org [81.93.255.6]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 9FB9E1B401C for ; Sat, 10 Sep 2011 02:29:45 +0000 (UTC) Received: by flycatcher.gentoo.org (Postfix, from userid 2145) id 17F9720051; Sat, 10 Sep 2011 02:29:44 +0000 (UTC) From: "Ryan Hill (dirtyepic)" To: gentoo-commits@lists.gentoo.org Reply-To: gentoo-dev@lists.gentoo.org, dirtyepic@gentoo.org Subject: [gentoo-commits] gentoo commit in src/patchsets/grub/0.97: 012_all_grub-0.97-gcc46.patch ChangeLog X-VCS-Repository: gentoo X-VCS-Files: 012_all_grub-0.97-gcc46.patch ChangeLog X-VCS-Directories: src/patchsets/grub/0.97 X-VCS-Committer: dirtyepic X-VCS-Committer-Name: Ryan Hill Content-Type: text/plain; charset=utf8 Message-Id: <20110910022944.17F9720051@flycatcher.gentoo.org> Date: Sat, 10 Sep 2011 02:29:44 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: af334c68db4ed855ad1ae5291086b253 dirtyepic 11/09/10 02:29:44 Modified: ChangeLog Added: 012_all_grub-0.97-gcc46.patch Log: Add patch to work around miscompilation with gcc-4.6 (bug #360513). Sp= in patchset 1.11. Revision Changes Path 1.9 src/patchsets/grub/0.97/ChangeLog file : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/grub/0.9= 7/ChangeLog?rev=3D1.9&view=3Dmarkup plain: http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/grub/0.9= 7/ChangeLog?rev=3D1.9&content-type=3Dtext/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/grub/0.9= 7/ChangeLog?r1=3D1.8&r2=3D1.9 Index: ChangeLog =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /var/cvsroot/gentoo/src/patchsets/grub/0.97/ChangeLog,v retrieving revision 1.8 retrieving revision 1.9 diff -u -r1.8 -r1.9 --- ChangeLog 25 Jun 2010 04:24:26 -0000 1.8 +++ ChangeLog 10 Sep 2011 02:29:43 -0000 1.9 @@ -1,6 +1,9 @@ # ChangeLog for grub patchset -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo/src/patchsets/grub/0.97/ChangeLog,v 1.8 2= 010/06/25 04:24:26 robbat2 Exp $ +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo/src/patchsets/grub/0.97/ChangeLog,v 1.9 2= 011/09/10 02:29:43 dirtyepic Exp $ + + 10 Sep 2011; Ryan Hill +012_all_grub-0.97-gcc46= .patch: + Add patch to work around miscompilation with gcc-4.6 (bug #360513). =20 25 Jun 2010; Robin H. Johnson 840_all_grub-0.97_kvm_vda.patch: 1.1 src/patchsets/grub/0.97/012_all_grub-0.97-gcc46.patc= h file : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/grub/0.9= 7/012_all_grub-0.97-gcc46.patch?rev=3D1.1&view=3Dmarkup plain: http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/grub/0.9= 7/012_all_grub-0.97-gcc46.patch?rev=3D1.1&content-type=3Dtext/plain Index: 012_all_grub-0.97-gcc46.patch =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Work around a miscompilation of stage2 with GCC 4.6. This flag is not the cause of the miscompilation, but disabling it has th= e side-effect of making it work at both -Os and -O2. Vague upstream bug: http://gcc.gnu.org/PR39333 https://bugs.gentoo.org/360513 --- a/stage2/Makefile.am +++ b/stage2/Makefile.am @@ -85,7 +85,7 @@ else GRAPHICS_FLAGS =3D endif =20 -STAGE2_COMPILE =3D $(STAGE2_CFLAGS) -fno-builtin -nostdinc \ +STAGE2_COMPILE =3D $(STAGE2_CFLAGS) -fno-reorder-functions -fno-builtin = -nostdinc \ $(NETBOOT_FLAGS) $(SERIAL_FLAGS) $(HERCULES_FLAGS) $(GRAPHICS_FLAGS) =20 STAGE1_5_LINK =3D -nostdlib -Wl,-N -Wl,-Ttext -Wl,2000