aboutsummaryrefslogtreecommitdiff
path: root/4.9.2
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2015-08-10 11:08:02 +0000
committerMike Frysinger <vapier@gentoo.org>2015-08-10 11:08:02 +0000
commit2cd0c288de2e2f6c9b0004a995231b3611924876 (patch)
tree315b5208ead740e7bd0ad21a468641fa7e4f8e43 /4.9.2
parentfix building w/gcc-5+ due to mismatch in gnu_inline attributes (diff)
downloadgcc-patches-2cd0c288de2e2f6c9b0004a995231b3611924876.tar.gz
gcc-patches-2cd0c288de2e2f6c9b0004a995231b3611924876.tar.bz2
gcc-patches-2cd0c288de2e2f6c9b0004a995231b3611924876.zip
fix parallel build issue w/bconfig.h and gengtype-lex.c
Diffstat (limited to '4.9.2')
-rw-r--r--4.9.2/gentoo/93_all_gcc-4.9-config.h-bconfig.h-parallel-PR57125-PR61899.patch16
-rw-r--r--4.9.2/gentoo/README.history3
2 files changed, 19 insertions, 0 deletions
diff --git a/4.9.2/gentoo/93_all_gcc-4.9-config.h-bconfig.h-parallel-PR57125-PR61899.patch b/4.9.2/gentoo/93_all_gcc-4.9-config.h-bconfig.h-parallel-PR57125-PR61899.patch
index 09fe47a..9469652 100644
--- a/4.9.2/gentoo/93_all_gcc-4.9-config.h-bconfig.h-parallel-PR57125-PR61899.patch
+++ b/4.9.2/gentoo/93_all_gcc-4.9-config.h-bconfig.h-parallel-PR57125-PR61899.patch
@@ -7,6 +7,9 @@ https://bugs.gentoo.org/545010
fix parallel build issues around config.h/bconfig.h inclusion
+note: this also includes a small change to the flex command:
+https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57125#c9
+
From ed89620f0e3de714864805f5d29dbab0341a1746 Mon Sep 17 00:00:00 2001
From: jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Date: Wed, 3 Dec 2014 16:44:27 +0000
@@ -119,6 +122,19 @@ index 204bd85..3820d0b 100644
build/genmddeps.o: genmddeps.c $(BCONFIG_H) $(SYSTEM_H) coretypes.h \
errors.h $(READ_MD_H)
build/genmodes.o : genmodes.c $(BCONFIG_H) $(SYSTEM_H) errors.h \
+@@ -2623,11 +2623,7 @@
+ # bconfig.h because AIX requires _LARGE_FILES to be defined before
+ # any system header is included.
+ gengtype-lex.c : gengtype-lex.l
+- -$(FLEX) $(FLEXFLAGS) -o$@ $< && { \
+- echo '#include "bconfig.h"' > $@.tmp; \
+- cat $@ >> $@.tmp; \
+- mv $@.tmp $@; \
+- }
++ $(FLEX) $(FLEXFLAGS) -o$@ $<
+
+ #
+ # Remake internationalization support.
diff --git a/gcc/errors.c b/gcc/errors.c
index be38b1f..a6a30fe 100644
--- a/gcc/errors.c
diff --git a/4.9.2/gentoo/README.history b/4.9.2/gentoo/README.history
index b747ad9..11298fe 100644
--- a/4.9.2/gentoo/README.history
+++ b/4.9.2/gentoo/README.history
@@ -1,3 +1,6 @@
+1.6 10 Aug 2015
+ U 93_all_gcc-4.9-config.h-bconfig.h-parallel-PR57125-PR61899.patch
+
1.5 27 May 2015
+ 45_all_linux-pthread-reentrant.patch