[MacPorts] #37846: cctools as does not support AVX, consider using llvm

MacPorts noreply at macports.org
Mon Jan 28 12:52:11 UTC 2019


#37846: cctools as does not support AVX, consider using llvm
--------------------------+--------------------------------
  Reporter:  wd11@…       |      Owner:  macports-tickets@…
      Type:  defect       |     Status:  closed
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:  2.1.2
Resolution:  fixed        |   Keywords:
      Port:  cctools gcc  |
--------------------------+--------------------------------
Changes (by jmroot):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"7aa2ff679e61f923475b6c2a56958da61205430b/macports-ports"
 7aa2ff679e61f923475b6c2a56958da61205430b/macports-ports] (master):
 {{{
 #!ConfigurableCommitTicketReference repository="macports-ports"
 revision="7aa2ff679e61f923475b6c2a56958da61205430b"
 cctools: try to use clang in as

 The clang integrated assembler is way more up-to-date than the ancient
 pre-GPLv3 version of gas that is the alternative. The latter doesn't
 know about newer instructions such as AVX. The as(1) shipped with
 recent Xcode versions will just run clang behind the scenes under most
 circumstances for this reason.

 Our cctools can't actually depend on clang because that would create a
 circular dependency. So we'll try to run the clang corresponding to the
 LLVM being used by cctools, and if that isn't present, try the system
 clang in /usr/bin if we're on an OS version that has a clang with a
 working integrated assembler. (The ancient gas is still used as a final
 fallback.)

 Fixes: https://trac.macports.org/ticket/37846
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/37846#comment:26>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list