This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.
See crosstool-NG for lots more information.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
exporting patch: # HG changeset patch # User Richard Braun <rbraun@sceen.net> # Date 1353500353 -3600 # Node ID c777aafa8c093c723ee317fdd5ca0c35ebe29790 # Parent e097000b5420234168203460dae6ee13560e565e 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. diff -r e097000b5420 -r c777aafa8c09 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 Wed Nov 21 13:19:13 2012 +0100 @@ -0,0 +1,26 @@ +From fd81a24e5a46badfaca606be0781e097aa3cb2e6 Mon Sep 17 00:00:00 2001 +From: Richard Braun <rbraun@sceen.net> +Date: Wed, 21 Nov 2012 11:58:16 +0100 +Subject: [PATCH] libitm: fix definition of __m64 + +--- + 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
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |