public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo commit in src/patchsets/grub/0.97: 012_all_grub-0.97-gcc46.patch ChangeLog
@ 2011-09-10  2:29 Ryan Hill (dirtyepic)
  0 siblings, 0 replies; only message in thread
From: Ryan Hill (dirtyepic) @ 2011-09-10  2:29 UTC (permalink / raw
  To: gentoo-commits

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).  Spin 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.97/ChangeLog?rev=1.9&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/grub/0.97/ChangeLog?rev=1.9&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/grub/0.97/ChangeLog?r1=1.8&r2=1.9

Index: ChangeLog
===================================================================
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 2010/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 2011/09/10 02:29:43 dirtyepic Exp $
+
+  10 Sep 2011; Ryan Hill <dirtyepic@gentoo.org> +012_all_grub-0.97-gcc46.patch:
+  Add patch to work around miscompilation with gcc-4.6 (bug #360513).
 
   25 Jun 2010; Robin H. Johnson <robbat2@gentoo.org>
   840_all_grub-0.97_kvm_vda.patch:



1.1                  src/patchsets/grub/0.97/012_all_grub-0.97-gcc46.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/grub/0.97/012_all_grub-0.97-gcc46.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/grub/0.97/012_all_grub-0.97-gcc46.patch?rev=1.1&content-type=text/plain

Index: 012_all_grub-0.97-gcc46.patch
===================================================================
Work around a miscompilation of stage2 with GCC 4.6.
This flag is not the cause of the miscompilation, but disabling it has the 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 =
 endif
 
-STAGE2_COMPILE = $(STAGE2_CFLAGS) -fno-builtin -nostdinc \
+STAGE2_COMPILE = $(STAGE2_CFLAGS) -fno-reorder-functions -fno-builtin -nostdinc \
 	$(NETBOOT_FLAGS) $(SERIAL_FLAGS) $(HERCULES_FLAGS) $(GRAPHICS_FLAGS)
 
 STAGE1_5_LINK = -nostdlib -Wl,-N -Wl,-Ttext -Wl,2000






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-09-10  2:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-10  2:29 [gentoo-commits] gentoo commit in src/patchsets/grub/0.97: 012_all_grub-0.97-gcc46.patch ChangeLog Ryan Hill (dirtyepic)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox