vapier 15/05/27 15:58:01 Modified: README.history Added: 45_all_linux-pthread-reentrant.patch Log: fix -pthread/_REENTRANT handling for hppa/nios2/microblaze #543114 by Jeroen Roovers
Revision Changes Path 1.11 src/patchsets/gcc/4.6.4/gentoo/README.history file : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/gcc/4.6.4/gentoo/README.history?rev=1.11&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/gcc/4.6.4/gentoo/README.history?rev=1.11&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/gcc/4.6.4/gentoo/README.history?r1=1.10&r2=1.11 Index: README.history =================================================================== RCS file: /var/cvsroot/gentoo/src/patchsets/gcc/4.6.4/gentoo/README.history,v retrieving revision 1.10 retrieving revision 1.11 diff -u -r1.10 -r1.11 --- README.history 23 Apr 2015 15:30:32 -0000 1.10 +++ README.history 27 May 2015 15:58:00 -0000 1.11 @@ -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 1.1 src/patchsets/gcc/4.6.4/gentoo/45_all_linux-pthread-reentrant.patch file : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/gcc/4.6.4/gentoo/45_all_linux-pthread-reentrant.patch?rev=1.1&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/gcc/4.6.4/gentoo/45_all_linux-pthread-reentrant.patch?rev=1.1&content-type=text/plain Index: 45_all_linux-pthread-reentrant.patch =================================================================== https://bugs.gentoo.org/543114 >From 446368efafb0139b7aac29c383cdf0ae2e349ca4 Mon Sep 17 00:00:00 2001 From: Mike Frysinger <[email protected]> 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 <[email protected]> * 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 <[email protected]> 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 <[email protected]> * 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
