Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fails to build on arm32 Darwin, missing aes_*_internal symbols #1113

Open
Un1q32 opened this issue Oct 15, 2024 · 3 comments
Open

Fails to build on arm32 Darwin, missing aes_*_internal symbols #1113

Un1q32 opened this issue Oct 15, 2024 · 3 comments

Comments

@Un1q32
Copy link

Un1q32 commented Oct 15, 2024

crypto/arch/arm/crypto_arch.h defines the macros indicating that the platform supports assembly implementations of those functions, but those assembly files are only built on ELF platforms. Those macros should either be behind an #ifdef __ELF__, or the assembly functions should be made to build for other binary formats.

@botovq
Copy link
Contributor

botovq commented Oct 15, 2024

This is with cmake, right?

If I understand correctly, the autoconf build disables assembly by passing -DOPENSSL_NO_ASM and this is an issue with CMake's ENABLE_ASM logic on this platform. As a workaround using cmake -DENABLE_ASM=OFF ... should do the trick.

@Un1q32
Copy link
Author

Un1q32 commented Oct 16, 2024

Yes, passing -DENABLE_ASM=OFF works, but this should be done by default, the build shouldn't fail when it isn't passed.

@botovq
Copy link
Contributor

botovq commented Oct 16, 2024

Agreed. Hence "issue", "workaround". It will be fixed soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants