[MacPorts] #38271: gsl @1.15_2: AVX should be disabled for variant +optimize
MacPorts
noreply at macports.org
Sun Mar 3 17:03:38 PST 2013
#38271: gsl @1.15_2: AVX should be disabled for variant +optimize
----------------------------+--------------------------------
Reporter: dtakahashi42@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.1.3
Keywords: | Port: gsl
----------------------------+--------------------------------
Because an assembler provided by ccutils has not supported AVX
instructions, all versions of gcc cannot compile a binary with AVX
enabled. As a result, gsl cannot be build on Sandy-bridge or Ivy-bridge
systems when the variant optimize and one of the gcc variants are enabled.
Here is a patch that disables AVX for variants +gcc44, +gcc45, gcc46 and
gcc47. The AVX support was implemented from gcc 4.4
([http://gcc.gnu.org/gcc-4.4/changes.html release note of gcc 4.4]), so I
suppose it does not affect gcc43 variant.
--
Ticket URL: <https://trac.macports.org/ticket/38271>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list