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

Docker android: upgrade dependencies #4402

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Malinero
Copy link
Contributor

JIT relocation overflow ?

Don't know exactly what's happening (stg like article), but here's the error without moving librandomx's order in the linker's command :

[ 89%] Linking CXX shared library ../android-build/libs/arm64-v8a/libmonero-wallet-gui_arm64-v8a.so
ld: error: /monero-gui/monero/external/randomx/src/jit_compiler_a64_static.S:370:(.text+0x33C4): relocation R_AARCH64_CONDBR19 out of range: 2747184 is not in [-1048576, 1048575]; references randomx_program_aarch64_main_loop
>>> defined in ../monero/external/randomx/librandomx.a(jit_compiler_a64_static.S.o)

Moving librandomx to the beginning results in bigger offset, it builds (and runs) fine when put at the end

(Didn't find a clean/easy cmake way to put randomx at the end of the linker libraries, hence the 2 sed at the end of CMD)

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