Skip to content

Update jit_compiler_a64_static.S#322

Open
coffnix wants to merge 3 commits intotevador:masterfrom
coffnix:patch-1
Open

Update jit_compiler_a64_static.S#322
coffnix wants to merge 3 commits intotevador:masterfrom
coffnix:patch-1

Conversation

@coffnix
Copy link
Copy Markdown

@coffnix coffnix commented Apr 7, 2026

Fix RandomX fails to build as shared library on AArch64 due to non-PIC assembly symbol (ADR relocation error)

#321

Fix RandomX fails to build as shared library on AArch64 due to non-PIC assembly symbol (ADR relocation error)

tevador#321
@coffnix
Copy link
Copy Markdown
Author

coffnix commented Apr 7, 2026

best idea change to:

#ifndef __APPLE__
.hidden _randomx_program_aarch64_aes_lut_pointers
#endif

Fixed macOS build failure by conditionally excluding the .hidden directive in AArch64 assembly using #ifndef __APPLE__, ensuring compatibility with the Apple assembler while preserving Linux/windows behavior.
Copy link
Copy Markdown
Author

@coffnix coffnix left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed macOS

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

Successfully merging this pull request may close these issues.

2 participants