[MacPorts] #36389: /var/folders/.../T//ccD2wTc5.s:63:no such instruction: `vmovss 0(%rbp), %xmm0'

MacPorts noreply at macports.org
Mon Oct 9 09:32:58 UTC 2017


#36389: /var/folders/.../T//ccD2wTc5.s:63:no such instruction: `vmovss 0(%rbp),
%xmm0'
-----------------------------+--------------------------------
  Reporter:  nikos.yiotis@…  |      Owner:  macports-tickets@…
      Type:  defect          |     Status:  assigned
  Priority:  Normal          |  Milestone:
 Component:  ports           |    Version:  2.1.2
Resolution:                  |   Keywords:
      Port:  gcc47           |
-----------------------------+--------------------------------

Comment (by colinhowell):

 This is a problem with MacPorts' GCC configurations, the same problem as
 described in tickets #51642 and #54771. In this case either the user or,
 more likely, the library itself specified that it should be built using
 the AVX extension to the x86 instruction set (or possibly just those
 instructions available on the user's own machine, which on any Intel-based
 Mac from around 2011 or later would have the same result). GCC dutifully
 tried to compile the library using the instruction set asked for. It
 output an assembly-language file, and then invoked the assembler it had
 been configured with to assemble that file into binary object code. But
 the assembler didn't recognize the new instructions and choked.

 That's because the GCC port was configured to use the cctools port's
 assembler, which is horribly obsolete, dating from before those
 instructions existed.

 This problem still exists in current MacPorts and affects every GCC port
 from gcc44 on up. A recent comment in ticket #51642 gave a couple of
 workarounds: either pass the option "-Wa,-q" to the compiler, or invoke it
 with AS_INTEGRATED_ASSEMBLER=1 set in the environment, either of which
 would tell the cctools assembler to defer to the assembler integrated in
 Clang. (See that ticket for the details.)

 But the proper solution would be to fix the GCC port configurations to use
 an updated assembler version.

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


More information about the macports-tickets mailing list