aboutsummaryrefslogtreecommitdiff
path: root/4.7.1
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2012-07-23 15:20:53 +0000
committerMike Frysinger <vapier@gentoo.org>2012-07-23 15:20:53 +0000
commitf730a657b94803394fe7c6a96e5f547b3d80d2b3 (patch)
treed5374f2c8de4a34608ba39c40003e58ad6212ee7 /4.7.1
parentfix from upstream for building with newer glibc #424970 (diff)
downloadgcc-patches-f730a657b94803394fe7c6a96e5f547b3d80d2b3.tar.gz
gcc-patches-f730a657b94803394fe7c6a96e5f547b3d80d2b3.tar.bz2
gcc-patches-f730a657b94803394fe7c6a96e5f547b3d80d2b3.zip
add fix for #421305 and upstream PR52695 for building libitm on x86
Diffstat (limited to '4.7.1')
-rw-r--r--4.7.1/gentoo/49_all_gcc-4.7-x86-libitm-pr52695.patch24
-rw-r--r--4.7.1/gentoo/README.history3
2 files changed, 27 insertions, 0 deletions
diff --git a/4.7.1/gentoo/49_all_gcc-4.7-x86-libitm-pr52695.patch b/4.7.1/gentoo/49_all_gcc-4.7-x86-libitm-pr52695.patch
new file mode 100644
index 0000000..e1eb2e6
--- /dev/null
+++ b/4.7.1/gentoo/49_all_gcc-4.7-x86-libitm-pr52695.patch
@@ -0,0 +1,24 @@
+http://gcc.gnu.org/PR52695
+https://bugs.gentoo.org/421305
+
+fix building on x86 systems
+
+--- a/libitm/config/x86/target.h
++++ b/libitm/config/x86/target.h
+@@ -69,16 +69,4 @@
+ } // namespace GTM
+
+ // We'll be using some of the cpu builtins, and their associated types.
+-#ifndef __cplusplus
+-/* ??? It's broken for C++. */
+ #include <x86intrin.h>
+-#else
+-# ifdef __SSE2__
+-# include <emmintrin.h>
+-# elif defined(__SSE__)
+-# include <xmmintrin.h>
+-# endif
+-# ifdef __AVX__
+-# include <immintrin.h>
+-# endif
+-#endif
diff --git a/4.7.1/gentoo/README.history b/4.7.1/gentoo/README.history
index c6635ba..14aa5e2 100644
--- a/4.7.1/gentoo/README.history
+++ b/4.7.1/gentoo/README.history
@@ -1,3 +1,6 @@
+1.1 23 Jul 2012
+ + 49_all_gcc-4.7-x86-libitm-pr52695.patch
+
1.0 14 Jun 2012
+ 03_all_java-nomulti.patch
+ 10_all_default-fortify-source.patch