diff options
-rw-r--r-- | 4.6.4/gentoo/45_all_linux-pthread-reentrant.patch | 64 | ||||
-rw-r--r-- | 4.6.4/gentoo/README.history | 3 | ||||
-rw-r--r-- | 4.7.4/gentoo/45_all_linux-pthread-reentrant.patch | 64 | ||||
-rw-r--r-- | 4.7.4/gentoo/README.history | 3 | ||||
-rw-r--r-- | 4.8.4/gentoo/45_all_linux-pthread-reentrant.patch | 64 | ||||
-rw-r--r-- | 4.8.4/gentoo/README.history | 3 | ||||
-rw-r--r-- | 4.9.2/gentoo/45_all_linux-pthread-reentrant.patch | 97 | ||||
-rw-r--r-- | 4.9.2/gentoo/README.history | 3 | ||||
-rw-r--r-- | 5.1.0/gentoo/45_all_linux-pthread-reentrant.patch | 97 | ||||
-rw-r--r-- | 5.1.0/gentoo/README.history | 3 |
10 files changed, 399 insertions, 2 deletions
diff --git a/4.6.4/gentoo/45_all_linux-pthread-reentrant.patch b/4.6.4/gentoo/45_all_linux-pthread-reentrant.patch new file mode 100644 index 0000000..2fc4cca --- /dev/null +++ b/4.6.4/gentoo/45_all_linux-pthread-reentrant.patch @@ -0,0 +1,64 @@ +https://bugs.gentoo.org/543114 + +From 446368efafb0139b7aac29c383cdf0ae2e349ca4 Mon Sep 17 00:00:00 2001 +From: Mike Frysinger <vapier@gentoo.org> +Date: Wed, 27 May 2015 10:21:35 -0400 +Subject: [PATCH] hppa-linux: add missing cpp specs + +Define CPP_SPEC for parisc linux targets so that -posix & -pthread work +like on all other linux targets. + +2015-05-27 Mike Frysinger <vapier@gentoo.org> + + * config/pa/pa-linux.h (CPP_SPEC): Define. +--- + gcc/config/pa/pa-linux.h | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/gcc/config/pa/pa-linux.h b/gcc/config/pa/pa-linux.h +index 396d321..f8da185 100644 +--- a/gcc/config/pa/pa-linux.h ++++ b/gcc/config/pa/pa-linux.h +@@ -28,7 +28,7 @@ along with GCC; see the file COPYING3. If not see + while (0) + + #undef CPP_SPEC +-#define CPP_SPEC "%{posix:-D_POSIX_SOURCE}" ++#define CPP_SPEC "%{posix:-D_POSIX_SOURCE} %{pthread:-D_REENTRANT}" + + #undef ASM_SPEC + #define ASM_SPEC \ +-- +2.4.1 + +From 7c5e214f79c1ac8ab3f49bf4560d66e654966143 Mon Sep 17 00:00:00 2001 +From: Mike Frysinger <vapier@gentoo.org> +Date: Wed, 27 May 2015 10:22:25 -0400 +Subject: [PATCH] microblaze-linux: add missing cpp specs + +Define CPP_SPEC for microblaze linux targets so that -posix & -pthread +work like on all other linux targets. + +2015-05-27 Mike Frysinger <vapier@gentoo.org> + + * config/microblaze/linux.h (CPP_SPEC): Define. +--- + gcc/config/microblaze/linux.h | 3 +++ + 1 file changed, 3 insertions(+) + +diff --git a/gcc/config/microblaze/linux.h b/gcc/config/microblaze/linux.h +index a7faa7d..655a70f 100644 +--- a/gcc/config/microblaze/linux.h ++++ b/gcc/config/microblaze/linux.h +@@ -22,6 +22,9 @@ + <http://www.gnu.org/licenses/>. */ + + ++#undef CPP_SPEC ++#define CPP_SPEC "%{posix:-D_POSIX_SOURCE} %{pthread:-D_REENTRANT}" ++ + #define DYNAMIC_LINKER "/lib/ld.so.1" + #undef SUBTARGET_EXTRA_SPECS + #define SUBTARGET_EXTRA_SPECS \ +-- +2.4.1 diff --git a/4.6.4/gentoo/README.history b/4.6.4/gentoo/README.history index 572600d..39ed8b2 100644 --- a/4.6.4/gentoo/README.history +++ b/4.6.4/gentoo/README.history @@ -1,4 +1,5 @@ -1.3 [pending] +1.3 27 May 2015 + + 45_all_linux-pthread-reentrant.patch - 74_all_gcc46_cloog-dl.patch 1.2 29 Mar 2014 diff --git a/4.7.4/gentoo/45_all_linux-pthread-reentrant.patch b/4.7.4/gentoo/45_all_linux-pthread-reentrant.patch new file mode 100644 index 0000000..2fc4cca --- /dev/null +++ b/4.7.4/gentoo/45_all_linux-pthread-reentrant.patch @@ -0,0 +1,64 @@ +https://bugs.gentoo.org/543114 + +From 446368efafb0139b7aac29c383cdf0ae2e349ca4 Mon Sep 17 00:00:00 2001 +From: Mike Frysinger <vapier@gentoo.org> +Date: Wed, 27 May 2015 10:21:35 -0400 +Subject: [PATCH] hppa-linux: add missing cpp specs + +Define CPP_SPEC for parisc linux targets so that -posix & -pthread work +like on all other linux targets. + +2015-05-27 Mike Frysinger <vapier@gentoo.org> + + * config/pa/pa-linux.h (CPP_SPEC): Define. +--- + gcc/config/pa/pa-linux.h | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/gcc/config/pa/pa-linux.h b/gcc/config/pa/pa-linux.h +index 396d321..f8da185 100644 +--- a/gcc/config/pa/pa-linux.h ++++ b/gcc/config/pa/pa-linux.h +@@ -28,7 +28,7 @@ along with GCC; see the file COPYING3. If not see + while (0) + + #undef CPP_SPEC +-#define CPP_SPEC "%{posix:-D_POSIX_SOURCE}" ++#define CPP_SPEC "%{posix:-D_POSIX_SOURCE} %{pthread:-D_REENTRANT}" + + #undef ASM_SPEC + #define ASM_SPEC \ +-- +2.4.1 + +From 7c5e214f79c1ac8ab3f49bf4560d66e654966143 Mon Sep 17 00:00:00 2001 +From: Mike Frysinger <vapier@gentoo.org> +Date: Wed, 27 May 2015 10:22:25 -0400 +Subject: [PATCH] microblaze-linux: add missing cpp specs + +Define CPP_SPEC for microblaze linux targets so that -posix & -pthread +work like on all other linux targets. + +2015-05-27 Mike Frysinger <vapier@gentoo.org> + + * config/microblaze/linux.h (CPP_SPEC): Define. +--- + gcc/config/microblaze/linux.h | 3 +++ + 1 file changed, 3 insertions(+) + +diff --git a/gcc/config/microblaze/linux.h b/gcc/config/microblaze/linux.h +index a7faa7d..655a70f 100644 +--- a/gcc/config/microblaze/linux.h ++++ b/gcc/config/microblaze/linux.h +@@ -22,6 +22,9 @@ + <http://www.gnu.org/licenses/>. */ + + ++#undef CPP_SPEC ++#define CPP_SPEC "%{posix:-D_POSIX_SOURCE} %{pthread:-D_REENTRANT}" ++ + #define DYNAMIC_LINKER "/lib/ld.so.1" + #undef SUBTARGET_EXTRA_SPECS + #define SUBTARGET_EXTRA_SPECS \ +-- +2.4.1 diff --git a/4.7.4/gentoo/README.history b/4.7.4/gentoo/README.history index 1825f89..7da31fe 100644 --- a/4.7.4/gentoo/README.history +++ b/4.7.4/gentoo/README.history @@ -1,4 +1,5 @@ -1.3 [pending] +1.3 27 May 2015 + + 45_all_linux-pthread-reentrant.patch - 74_all_gcc46_cloog-dl.patch - 90_all_gcc-4.7-x32.patch diff --git a/4.8.4/gentoo/45_all_linux-pthread-reentrant.patch b/4.8.4/gentoo/45_all_linux-pthread-reentrant.patch new file mode 100644 index 0000000..6b15570 --- /dev/null +++ b/4.8.4/gentoo/45_all_linux-pthread-reentrant.patch @@ -0,0 +1,64 @@ +https://bugs.gentoo.org/543114 + +From 446368efafb0139b7aac29c383cdf0ae2e349ca4 Mon Sep 17 00:00:00 2001 +From: Mike Frysinger <vapier@gentoo.org> +Date: Wed, 27 May 2015 10:21:35 -0400 +Subject: [PATCH] hppa-linux: add missing cpp specs + +Define CPP_SPEC for parisc linux targets so that -posix & -pthread work +like on all other linux targets. + +2015-05-27 Mike Frysinger <vapier@gentoo.org> + + * config/pa/pa-linux.h (CPP_SPEC): Define. +--- + gcc/config/pa/pa-linux.h | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/gcc/config/pa/pa-linux.h b/gcc/config/pa/pa-linux.h +index 396d321..f8da185 100644 +--- a/gcc/config/pa/pa-linux.h ++++ b/gcc/config/pa/pa-linux.h +@@ -28,7 +28,7 @@ along with GCC; see the file COPYING3. If not see + while (0) + + #undef CPP_SPEC +-#define CPP_SPEC "%{posix:-D_POSIX_SOURCE}" ++#define CPP_SPEC "%{posix:-D_POSIX_SOURCE} %{pthread:-D_REENTRANT}" + + #undef ASM_SPEC + #define ASM_SPEC \ +-- +2.4.1 + +From 7c5e214f79c1ac8ab3f49bf4560d66e654966143 Mon Sep 17 00:00:00 2001 +From: Mike Frysinger <vapier@gentoo.org> +Date: Wed, 27 May 2015 10:22:25 -0400 +Subject: [PATCH] microblaze-linux: add missing cpp specs + +Define CPP_SPEC for microblaze linux targets so that -posix & -pthread +work like on all other linux targets. + +2015-05-27 Mike Frysinger <vapier@gentoo.org> + + * config/microblaze/linux.h (CPP_SPEC): Define. +--- + gcc/config/microblaze/linux.h | 3 +++ + 1 file changed, 3 insertions(+) + +diff --git a/gcc/config/microblaze/linux.h b/gcc/config/microblaze/linux.h +index a7faa7d..655a70f 100644 +--- a/gcc/config/microblaze/linux.h ++++ b/gcc/config/microblaze/linux.h +@@ -22,6 +22,9 @@ + #undef TARGET_SUPPORTS_PIC + #define TARGET_SUPPORTS_PIC 1 + ++#undef CPP_SPEC ++#define CPP_SPEC "%{posix:-D_POSIX_SOURCE} %{pthread:-D_REENTRANT}" ++ + #undef TLS_NEEDS_GOT + #define TLS_NEEDS_GOT 1 + +-- +2.4.1 diff --git a/4.8.4/gentoo/README.history b/4.8.4/gentoo/README.history index 75fa92b..e7d815f 100644 --- a/4.8.4/gentoo/README.history +++ b/4.8.4/gentoo/README.history @@ -1,3 +1,6 @@ +1.6 27 May 2015 + + 45_all_linux-pthread-reentrant.patch + 1.5 23 Apr 2015 U 74_all_gcc49_cloog-dl.patch diff --git a/4.9.2/gentoo/45_all_linux-pthread-reentrant.patch b/4.9.2/gentoo/45_all_linux-pthread-reentrant.patch new file mode 100644 index 0000000..4fed5f0 --- /dev/null +++ b/4.9.2/gentoo/45_all_linux-pthread-reentrant.patch @@ -0,0 +1,97 @@ +https://bugs.gentoo.org/543114 + +From 446368efafb0139b7aac29c383cdf0ae2e349ca4 Mon Sep 17 00:00:00 2001 +From: Mike Frysinger <vapier@gentoo.org> +Date: Wed, 27 May 2015 10:21:35 -0400 +Subject: [PATCH] hppa-linux: add missing cpp specs + +Define CPP_SPEC for parisc linux targets so that -posix & -pthread work +like on all other linux targets. + +2015-05-27 Mike Frysinger <vapier@gentoo.org> + + * config/pa/pa-linux.h (CPP_SPEC): Define. +--- + gcc/config/pa/pa-linux.h | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/gcc/config/pa/pa-linux.h b/gcc/config/pa/pa-linux.h +index 396d321..f8da185 100644 +--- a/gcc/config/pa/pa-linux.h ++++ b/gcc/config/pa/pa-linux.h +@@ -28,7 +28,7 @@ along with GCC; see the file COPYING3. If not see + while (0) + + #undef CPP_SPEC +-#define CPP_SPEC "%{posix:-D_POSIX_SOURCE}" ++#define CPP_SPEC "%{posix:-D_POSIX_SOURCE} %{pthread:-D_REENTRANT}" + + #undef ASM_SPEC + #define ASM_SPEC \ +-- +2.4.1 + +From 7c5e214f79c1ac8ab3f49bf4560d66e654966143 Mon Sep 17 00:00:00 2001 +From: Mike Frysinger <vapier@gentoo.org> +Date: Wed, 27 May 2015 10:22:25 -0400 +Subject: [PATCH] microblaze-linux: add missing cpp specs + +Define CPP_SPEC for microblaze linux targets so that -posix & -pthread +work like on all other linux targets. + +2015-05-27 Mike Frysinger <vapier@gentoo.org> + + * config/microblaze/linux.h (CPP_SPEC): Define. +--- + gcc/config/microblaze/linux.h | 3 +++ + 1 file changed, 3 insertions(+) + +diff --git a/gcc/config/microblaze/linux.h b/gcc/config/microblaze/linux.h +index a7faa7d..655a70f 100644 +--- a/gcc/config/microblaze/linux.h ++++ b/gcc/config/microblaze/linux.h +@@ -22,6 +22,9 @@ + #undef TARGET_SUPPORTS_PIC + #define TARGET_SUPPORTS_PIC 1 + ++#undef CPP_SPEC ++#define CPP_SPEC "%{posix:-D_POSIX_SOURCE} %{pthread:-D_REENTRANT}" ++ + #undef TLS_NEEDS_GOT + #define TLS_NEEDS_GOT 1 + +-- +2.4.1 + +From fc6815582d84faac24bfa39f7dbfccf34e68de33 Mon Sep 17 00:00:00 2001 +From: Mike Frysinger <vapier@gentoo.org> +Date: Wed, 27 May 2015 10:22:49 -0400 +Subject: [PATCH] nios2-linux: add missing cpp specs + +Define CPP_SPEC for nios2 linux targets so that -posix & -pthread work +like on all other linux targets. + +2015-05-27 Mike Frysinger <vapier@gentoo.org> + + * config/nios2/linux.h (CPP_SPEC): Define. +--- + gcc/config/nios2/linux.h | 3 +++ + 1 file changed, 3 insertions(+) + +diff --git a/gcc/config/nios2/linux.h b/gcc/config/nios2/linux.h +index 41cad94..f43f655 100644 +--- a/gcc/config/nios2/linux.h ++++ b/gcc/config/nios2/linux.h +@@ -26,6 +26,9 @@ + } \ + while (0) + ++#undef CPP_SPEC ++#define CPP_SPEC "%{posix:-D_POSIX_SOURCE} %{pthread:-D_REENTRANT}" ++ + #define GLIBC_DYNAMIC_LINKER "/lib/ld-linux-nios2.so.1" + + #undef LINK_SPEC +-- +2.4.1 + diff --git a/4.9.2/gentoo/README.history b/4.9.2/gentoo/README.history index 0c825ae..b747ad9 100644 --- a/4.9.2/gentoo/README.history +++ b/4.9.2/gentoo/README.history @@ -1,3 +1,6 @@ +1.5 27 May 2015 + + 45_all_linux-pthread-reentrant.patch + 1.4 23 Apr 2015 + 73_all_gcc49-isl-0.13.patch U 74_all_gcc49_cloog-dl.patch diff --git a/5.1.0/gentoo/45_all_linux-pthread-reentrant.patch b/5.1.0/gentoo/45_all_linux-pthread-reentrant.patch new file mode 100644 index 0000000..4fed5f0 --- /dev/null +++ b/5.1.0/gentoo/45_all_linux-pthread-reentrant.patch @@ -0,0 +1,97 @@ +https://bugs.gentoo.org/543114 + +From 446368efafb0139b7aac29c383cdf0ae2e349ca4 Mon Sep 17 00:00:00 2001 +From: Mike Frysinger <vapier@gentoo.org> +Date: Wed, 27 May 2015 10:21:35 -0400 +Subject: [PATCH] hppa-linux: add missing cpp specs + +Define CPP_SPEC for parisc linux targets so that -posix & -pthread work +like on all other linux targets. + +2015-05-27 Mike Frysinger <vapier@gentoo.org> + + * config/pa/pa-linux.h (CPP_SPEC): Define. +--- + gcc/config/pa/pa-linux.h | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/gcc/config/pa/pa-linux.h b/gcc/config/pa/pa-linux.h +index 396d321..f8da185 100644 +--- a/gcc/config/pa/pa-linux.h ++++ b/gcc/config/pa/pa-linux.h +@@ -28,7 +28,7 @@ along with GCC; see the file COPYING3. If not see + while (0) + + #undef CPP_SPEC +-#define CPP_SPEC "%{posix:-D_POSIX_SOURCE}" ++#define CPP_SPEC "%{posix:-D_POSIX_SOURCE} %{pthread:-D_REENTRANT}" + + #undef ASM_SPEC + #define ASM_SPEC \ +-- +2.4.1 + +From 7c5e214f79c1ac8ab3f49bf4560d66e654966143 Mon Sep 17 00:00:00 2001 +From: Mike Frysinger <vapier@gentoo.org> +Date: Wed, 27 May 2015 10:22:25 -0400 +Subject: [PATCH] microblaze-linux: add missing cpp specs + +Define CPP_SPEC for microblaze linux targets so that -posix & -pthread +work like on all other linux targets. + +2015-05-27 Mike Frysinger <vapier@gentoo.org> + + * config/microblaze/linux.h (CPP_SPEC): Define. +--- + gcc/config/microblaze/linux.h | 3 +++ + 1 file changed, 3 insertions(+) + +diff --git a/gcc/config/microblaze/linux.h b/gcc/config/microblaze/linux.h +index a7faa7d..655a70f 100644 +--- a/gcc/config/microblaze/linux.h ++++ b/gcc/config/microblaze/linux.h +@@ -22,6 +22,9 @@ + #undef TARGET_SUPPORTS_PIC + #define TARGET_SUPPORTS_PIC 1 + ++#undef CPP_SPEC ++#define CPP_SPEC "%{posix:-D_POSIX_SOURCE} %{pthread:-D_REENTRANT}" ++ + #undef TLS_NEEDS_GOT + #define TLS_NEEDS_GOT 1 + +-- +2.4.1 + +From fc6815582d84faac24bfa39f7dbfccf34e68de33 Mon Sep 17 00:00:00 2001 +From: Mike Frysinger <vapier@gentoo.org> +Date: Wed, 27 May 2015 10:22:49 -0400 +Subject: [PATCH] nios2-linux: add missing cpp specs + +Define CPP_SPEC for nios2 linux targets so that -posix & -pthread work +like on all other linux targets. + +2015-05-27 Mike Frysinger <vapier@gentoo.org> + + * config/nios2/linux.h (CPP_SPEC): Define. +--- + gcc/config/nios2/linux.h | 3 +++ + 1 file changed, 3 insertions(+) + +diff --git a/gcc/config/nios2/linux.h b/gcc/config/nios2/linux.h +index 41cad94..f43f655 100644 +--- a/gcc/config/nios2/linux.h ++++ b/gcc/config/nios2/linux.h +@@ -26,6 +26,9 @@ + } \ + while (0) + ++#undef CPP_SPEC ++#define CPP_SPEC "%{posix:-D_POSIX_SOURCE} %{pthread:-D_REENTRANT}" ++ + #define GLIBC_DYNAMIC_LINKER "/lib/ld-linux-nios2.so.1" + + #undef LINK_SPEC +-- +2.4.1 + diff --git a/5.1.0/gentoo/README.history b/5.1.0/gentoo/README.history index 24761ab..01166bb 100644 --- a/5.1.0/gentoo/README.history +++ b/5.1.0/gentoo/README.history @@ -1,3 +1,6 @@ +1.1 27 May 2015 + + 45_all_linux-pthread-reentrant.patch + 1.0 23 Apr 2015 + 05_all_gcc-spec-env.patch + 09_all_default-ssp.patch |