aboutsummaryrefslogtreecommitdiff
path: root/4.5.2
diff options
context:
space:
mode:
authorRyan Hill <rhill@gentoo.org>2011-02-13 07:57:44 +0000
committerRyan Hill <rhill@gentoo.org>2011-02-13 07:57:44 +0000
commitefdeb997adf37b8fdf9f92cc9c4dc3114fcf6030 (patch)
treec621c60b69234d2a3e093a0ca3ca580ea55a4557 /4.5.2
parentBackport patch for PR45094 (bug #352064). (diff)
downloadgcc-patches-efdeb997adf37b8fdf9f92cc9c4dc3114fcf6030.tar.gz
gcc-patches-efdeb997adf37b8fdf9f92cc9c4dc3114fcf6030.tar.bz2
gcc-patches-efdeb997adf37b8fdf9f92cc9c4dc3114fcf6030.zip
Add dummy check-lto target.
Diffstat (limited to '4.5.2')
-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