diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2012-09-10 07:35:03 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2012-09-10 09:05:39 +0000 |
commit | 63cbdb27e349a4dce9d6c51fdcf86df802e9d6c6 (patch) | |
tree | 685d0a9af700c5a541a1e6444f25d2d60e300bba /main/gcc/49_all_gcc-4.7-x86-libitm-pr52695.patch | |
parent | 75339e69c19646dedb30dd7f72806b477ead32cf (diff) | |
download | aports-63cbdb27e349a4dce9d6c51fdcf86df802e9d6c6.tar.bz2 aports-63cbdb27e349a4dce9d6c51fdcf86df802e9d6c6.tar.xz |
main/gcc: upgrade to 4.7.1
Disable gcc-go for now. It needs ucontext which we don't have.
Diffstat (limited to 'main/gcc/49_all_gcc-4.7-x86-libitm-pr52695.patch')
-rw-r--r-- | main/gcc/49_all_gcc-4.7-x86-libitm-pr52695.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/main/gcc/49_all_gcc-4.7-x86-libitm-pr52695.patch b/main/gcc/49_all_gcc-4.7-x86-libitm-pr52695.patch new file mode 100644 index 0000000000..e1eb2e6ab1 --- /dev/null +++ b/main/gcc/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 |