[MacPorts] #61766: nss @3.59: "Compiler option is invalid"

MacPorts noreply at macports.org
Mon Dec 7 03:14:26 UTC 2020


#61766: nss @3.59: "Compiler option is invalid"
-------------------------+--------------------
 Reporter:  MaddTheSane  |      Owner:  (none)
     Type:  defect       |     Status:  new
 Priority:  Normal       |  Milestone:
Component:  ports        |    Version:  2.6.4
 Keywords:  arm64        |       Port:  nss
-------------------------+--------------------
 nss fails to build on Apple Silicon:


 {{{
 :info:build aes-armv8.c:14:2: error: "Compiler option is invalid"
 }}}

 It looks like whatever build settings that the nss project sets for arm64,
 specifically `-march=armv8-a`, disables the `__ARM_FEATURE_CRYPTO` macro,
 which then causes compilation to fail.

 And yes, Clang by itself does define the macro.

-- 
Ticket URL: <https://trac.macports.org/ticket/61766>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list