[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
Mon Nov 7 01:11:54 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):

 For the record, same failure with `gcc12`:
 {{{
 /opt/x86_64/bin/gcc-mp-12 -Os -std=c99 -arch x86_64 -o
 Output.OBJD/Darwin_SINGLE_SHLIB/gcm-x86.o -c -std=c99 -Os -fPIC -Dppc
 -fno-common -pipe -DDARWIN -DHAVE_STRERROR -DHAVE_BSD_FLOCK  -Wall
 -Wshadow -DNSS_NO_GCC48 -DXP_UNIX -DSHLIB_SUFFIX=\"dylib\"
 -DSHLIB_PREFIX=\"lib\" -DSHLIB_VERSION=\"3\"
 -DSOFTOKEN_SHLIB_VERSION=\"3\" -DRIJNDAEL_INCLUDE_TABLES -UDEBUG -DNDEBUG
 -DNSS_NO_INIT_SUPPORT -DUSE_UTIL_DIRECTLY -DNO_NSPR_10_SUPPORT
 -DSSL_DISABLE_DEPRECATED_CIPHER_SUITE_NAMES -DNSS_USE_64 -DNSS_X86_OR_X64
 -DNSS_X64 -DUSE_HW_SHA2 -DMPI_AMD64 -DMP_IS_LITTLE_ENDIAN
 -DMP_ASSEMBLY_MULTIPLY -DNSS_USE_COMBA -DHAVE_INT128_SUPPORT
 -DMP_API_COMPATIBLE -I/opt/x86_64/include/nspr
 -I../../../dist/Output.OBJD/include -I../../../dist/public/nss
 -I../../../dist/private/nss -Impi -Iecl -Iverified
 -Iverified/kremlin/include -Iverified/kremlin/kremlib/dist/minimal
 -Ideprecated  -mpclmul -maes gcm-x86.c
 {standard input}:55:no such instruction: `pclmulqdq $16, %xmm2,%xmm0'
 {standard input}:56:no such instruction: `pclmulqdq $17, %xmm2,%xmm4'
 {standard input}:57:no such instruction: `pclmulqdq $1, %xmm2,%xmm1'
 {standard input}:61:no such instruction: `pclmulqdq $0, %xmm2,%xmm3'
 make[4]: *** [Output.OBJD/Darwin_SINGLE_SHLIB/gcm-x86.o] Error 1
 make[4]: Leaving directory
 `/opt/x86_64/var/macports/build/_opt_x86_64_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_nss/nss/work/nss-3.84/nss/lib/freebl'
 make[3]: *** [freebl_FREEBL_BUILD_SINGLE_SHLIB] Error 2
 make[3]: Leaving directory
 `/opt/x86_64/var/macports/build/_opt_x86_64_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_nss/nss/work/nss-3.84/nss/lib/freebl'
 make[2]: *** [freebl] Error 2
 make[2]: Leaving directory
 `/opt/x86_64/var/macports/build/_opt_x86_64_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_nss/nss/work/nss-3.84/nss/lib'
 make[1]: *** [lib] Error 2
 make[1]: Leaving directory
 `/opt/x86_64/var/macports/build/_opt_x86_64_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_nss/nss/work/nss-3.84/nss'
 make: *** [all] Error 2
 }}}

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


More information about the macports-tickets mailing list