diff mbox

cc/gcc: add patch for 4.7.2

Message ID 20121126105642.GA12098@mail.sceen.net
State Accepted
Commit be7a7e33bdf0
Headers show

Commit Message

Richard Braun Nov. 26, 2012, 10:56 a.m. UTC
None

Comments

Yann E. MORIN Nov. 27, 2012, 6:53 p.m. UTC | #1
Richard, All,

Your patch:
    cc/gcc: add patch for 4.7.2

has been applied as: #be7a7e33bdf0
    http://crosstool-ng.org/hg/crosstool-ng/rev/be7a7e33bdf0

Thank you!

Regards,
Yann E. MORIN.



--
For unsubscribe information see http://sourceware.org/lists.html#faq
diff mbox

Patch

# HG changeset patch
# User Richard Braun <rbraun@sceen.net>
# Date 1353926641 -3600
# Node ID 6a668157b475752c52b5e1b2ac059b16607575d3
# Parent  bd172b161ff8bbb375119de22bdf1009a8480d0f
cc/gcc: add patch for 4.7.2

This patch fixes compilation of gcc when C++ is enabled and MMX is
available, but not SSE/SSE2/AVX.

Signed-off-by: Richard Braun <rbraun@sceen.net>

diff -r bd172b161ff8 -r 6a668157b475 patches/gcc/4.7.2/000-libitm-fix-definition-of-__m64.patch
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/patches/gcc/4.7.2/000-libitm-fix-definition-of-__m64.patch	Mon Nov 26 11:44:01 2012 +0100
@@ -0,0 +1,27 @@ 
+From 3d27d47fbebdb1be3d35e398a7c042a930f64aa6 Mon Sep 17 00:00:00 2001
+From: Richard Braun <rbraun@sceen.net>
+Date: Mon, 26 Nov 2012 11:36:17 +0100
+Subject: [PATCH] libitm: fix definition of __m64
+
+See http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52695 for details.
+---
+ libitm/config/x86/target.h |    3 +++
+ 1 files changed, 3 insertions(+), 0 deletions(-)
+
+diff --git a/libitm/config/x86/target.h b/libitm/config/x86/target.h
+index 5c7e6fb..6254d8a 100644
+--- a/libitm/config/x86/target.h
++++ b/libitm/config/x86/target.h
+@@ -73,6 +73,9 @@ cpu_relax (void)
+ /* ??? It's broken for C++. */
+ #include <x86intrin.h>
+ #else
++# ifdef __MMX__
++#  include <mmintrin.h>
++# endif
+ # ifdef __SSE2__
+ #  include <emmintrin.h>
+ # elif defined(__SSE__)
+-- 
+1.7.2.5
+

--
For unsubscribe information see http://sourceware.org/lists.html#faq