aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--4.5.2/gentoo/99_all_testsuite-03-check-lto.patch22
-rw-r--r--4.5.2/gentoo/README.history1
2 files changed, 23 insertions, 0 deletions
diff --git a/4.5.2/gentoo/99_all_testsuite-03-check-lto.patch b/4.5.2/gentoo/99_all_testsuite-03-check-lto.patch
new file mode 100644
index 0000000..42a55b6
--- /dev/null
+++ b/4.5.2/gentoo/99_all_testsuite-03-check-lto.patch
@@ -0,0 +1,22 @@
+Backport from 4.6.0.
+
+http://gcc.gnu.org/PR45638
+http://gcc.gnu.org/viewcvs?view=revision&revision=165638
+
+make[3]: [check-parallel-g++] Error 1 (ignored)
+make[3]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.5.2/work/build/gcc'
+make[2]: *** No rule to make target `check-lto', needed by `check'.
+make[2]: Target `check' not remade because of errors.
+make[2]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.5.2/work/build/gcc'
+make[1]: *** [check-gcc] Error 2
+
+
+--- a/gcc/lto/Make-lang.in
++++ b/gcc/lto/Make-lang.in
+@@ -94,3 +94,6 @@ lto/lto-coff.o: lto/lto-coff.c $(CONFIG_H) coretypes.h $(SYSTEM_H) \
+ lto/lto-macho.o: lto/lto-macho.c $(CONFIG_H) coretypes.h $(SYSTEM_H) \
+ toplev.h $(LTO_H) $(TM_H) $(LIBIBERTY_H) $(GGC_H) $(LTO_STREAMER_H) \
+ lto/lto-macho.h lto/lto-endian.h
++
++# LTO testing is done as part of C/C++/Fortran etc. testing.
++check-lto:
diff --git a/4.5.2/gentoo/README.history b/4.5.2/gentoo/README.history
index 9ecb2ef..56a2f14 100644
--- a/4.5.2/gentoo/README.history
+++ b/4.5.2/gentoo/README.history
@@ -2,6 +2,7 @@
+ 22_all_4.6_arm_pr45094-dword-move.patch
+ 99_all_testsuite-01-Wformat.patch
+ 99_all_testsuite-02-Wtrampolines.patch
+ + 99_all_testsuite-03-check-lto.patch
1.0 27.12.2010
+ 00_all_gcc-4.1-alpha-mieee-default.patch