[MacPorts] #65153: nss fails to build for x86_64 on 10.6.8: no such instruction: `pclmulqdq $16, %xmm2, %xmm0'

MacPorts noreply at macports.org
Tue May 10 14:19:38 UTC 2022


#65153: nss fails to build for x86_64 on 10.6.8: no such instruction: `pclmulqdq
$16, %xmm2,%xmm0'
---------------------------+---------------------------------
  Reporter:  barracuda156  |      Owner:  (none)
      Type:  defect        |     Status:  new
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.7.2
Resolution:                |   Keywords:  x86_64, snowleopard
      Port:  nss           |
---------------------------+---------------------------------

Comment (by kencu):

 these newer AVX512 assembly instructions are unknown to the 2004-vintage
 assembler that comes with cctools, or that comes with the system.

 To get around this, MacPorts cctools will use a newish clang to assemble
 instead, if it is available. So we dealt with this error some years ago.

 So to fix this, use MacPorts cctools assembler, and make sure a newish
 clang like clang-11 is installed.

 If that still doesn’tbwork, you’re like not actually using the MacPorts
 assembler, or something has broken the mechanism.

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


More information about the macports-tickets mailing list