Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 325392 Details for
Bug 436676
sys-devel/gcc-4.7.1 build fails in x86_avx.cc if AVX disabled but supported by as
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Correctly detect AVX
avx.patch (text/plain), 728 bytes, created by
Alessandro Di Federico
on 2012-09-30 16:16:10 UTC
(
hide
)
Description:
Correctly detect AVX
Filename:
MIME Type:
Creator:
Alessandro Di Federico
Created:
2012-09-30 16:16:10 UTC
Size:
728 bytes
patch
obsolete
>--- gcc-4.7.1/libitm/config/x86/x86_avx.cc >+++ gcc-4.7.1/libitm/config/x86/x86_avx.cc >@@ -29,7 +29,7 @@ > > extern "C" { > >-#ifndef HAVE_AS_AVX >+#if !defined(HAVE_AS_AVX) || !defined(__AVX__) > // If we don't have an AVX capable assembler, we didn't set -mavx on the > // command-line either, which means that libitm.h defined neither this type > // nor the functions in this file. Define the type and unconditionally >@@ -40,7 +40,7 @@ > // Re-define the memcpy implementations so that we can frob the > // interface to deal with possibly missing AVX instruction set support. > >-#ifdef HAVE_AS_AVX >+#if defined(HAVE_AS_AVX) && defined(__AVX__) > #define RETURN(X) return X > #define STORE(X,Y) X = Y > #define OUTPUT(T) _ITM_TYPE_##T
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 436676
: 325392