[MacPorts] #67585: nss @3.90: error: "AES/PCLMUL instructions not enabled"

MacPorts noreply at macports.org
Wed Jun 7 16:41:48 UTC 2023


#67585: nss @3.90: error: "AES/PCLMUL instructions not enabled"
-------------------------+----------------------
  Reporter:  ryandesign  |      Owner:  mascguy
      Type:  defect      |     Status:  assigned
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.8.1
Resolution:              |   Keywords:
      Port:  nss         |
-------------------------+----------------------

Comment (by mascguy):

 While `-maes` is being passed when compiling several other source files,
 it isn't being passed for `Hacl_Poly1305_256.c`:

 {{{
 /usr/bin/clang -Os -std=c99 -arch x86_64 -o
 Output.OBJD/Darwin_SINGLE_SHLIB/Hacl_Poly1305_256.o -c -std=c99 -Os -fPIC
 -Dppc -fno-common -pipe
 -DDARWIN -DHAVE_STRERROR -DHAVE_BSD_FLOCK  -Wall -Wshadow -Qunused-
 arguments -Wno-parentheses-equality -Wno-array-bounds  -DNSS_NO_GCC48
 -DXP_UNIX
 -DSHLIB_SUFFIX=\"dylib\" -DSHLIB_PREFIX=\"lib\" -DSHLIB_VERSION=\"3\"
 -DSOFTOKEN_SHLIB_VERSION=\"3\" -DRIJNDAEL_INCLUDE_TABLES -UDEBUG -DNDEBUG
 -DNSS_DISABLE_SSE3 -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
 -DHACL_CAN_COMPILE_VEC256 -DMP_API_COMPATIBLE -I/opt/local/include/nspr
 -I../../../dist/Output.OBJD/include -I../../../dist/public/nss
 -I../../../dist/private/nss -Impi -Iecl -Iverified -Iverified/internal
 -Iverified/karamel/include -Iverified/karamel/krmllib/dist/minimal
 -Ideprecated  -mssse3 -msse4.1 -msse4.2 -mavx -mavx2
 verified/Hacl_Poly1305_256.c
 }}}

 It should be easy enough to patch the build, but still quite annoying...

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


More information about the macports-tickets mailing list