[MacPorts] #65153: nss fails to build for x86_64 on 10.6.8 when forcing the build to use gcc11 instead of the default clang compiler: no such instruction: `pclmulqdq $16, %xmm2, %xmm0'

MacPorts noreply at macports.org
Tue May 10 15:08:33 UTC 2022


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

Comment (by barracuda156):

 `nss` is horribly designed though. It should be quite obvious that cpu-
 specific stuff should have a setting to disable it (and it is obvious to
 most other developers, as other ports has such options), and compilers
 should not be hard-wired. Not only `nss` fails this, it also disregards
 its own settings and `gcc` flags. This problem should have been a matter
 of a trivial fix in the portfile.
 Besides, as you have seen in another ticket, it also failed for `ppc64`,
 where there is no `clang` at all. It is just a bad design IMO.

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


More information about the macports-tickets mailing list