Opened 11 months ago

#61766 new defect

nss @3.59: "Compiler option is invalid"

Reported by: MaddTheSane (C.W. Betts) Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.6.4
Keywords: arm64 Cc:
Port: nss

Description

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.

Attachments (1)

main.log (423.1 KB) - added by MaddTheSane (C.W. Betts) 11 months ago.
Build log

Download all attachments as: .zip

Change History (1)

Changed 11 months ago by MaddTheSane (C.W. Betts)

Attachment: main.log added

Build log

Note: See TracTickets for help on using tickets.