openssl/openssl

Assembly compilation error with openssl master for ios 8

Open

#26,510 opened on Jan 22, 2025

View on GitHub
 (2 comments) (1 reaction) (0 assignees)C (11,262 forks)batch import
branch: masterhelp wantedtriaged: bug

Repository metrics

Stars
 (30,157 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

Discussed in https://github.com/openssl/openssl/discussions/26508

Originally posted by theoparis January 22, 2025 The Error:

/var/folders/
f1/dnhnm9p92m7djh9zydtx21s00000gn/T/armv4-gf2m-9049f1.s:229:1: error: symbol 'OPENSSL_armcap_P' can not be undefined in a subtraction expression
.word OPENSSL_armcap_P-.
^
make[1]: *** [crypto/bn/libcrypto-lib-armv4-gf2m.o] Error 1
make[1]: *** Waiting for unfinished jobs....
/var/folders/f1/dnhnm9p92m7djh9zydtx21s00000gn/T/armv4-mont-a0d413.s:26:1: error: symbol 'OPENSSL_armcap_P' can not be undefined in a subtraction expression
.word OPENSSL_armcap_P-Lbn_mul_mont
^

The command I used to build openssl was: ./Configure ios-xcrun no-shared --prefix=$HOME/armv7s-apple-darwin -mios-version-min=8.0 Adding no-asm seems to fix it temporarily 🤔 Any ideas?

Contributor guide