We have moved to a new Sailfish OS Forum. Please start new discussions there.
4

unresolvable R_AARCH64_CONDBR19 relocation

asked 2016-05-27 20:06:11 +0300

divis1969 gravatar image

Hi,

I'm trying to follow HA Development Kit Documentation and stuck with Android compilation for my device. This device uses ARM 64 architecture and build fails with the following error:

mer/android/droid/prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9/bin/../lib/gcc/aarch64-linux-android/4.9.x-google/../../../../aarch64-linux-android/bin/ld: mer/android/droid/out/target/product/meilan2/obj/STATIC_LIBRARIES/libc_common_intermediates/libc_common.a(__bionic_clone.o)(.text+0x18): unresolvable R_AARCH64_CONDBR19 relocation against symbol `__set_errno_internal'
mer/android/droid/prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9/bin/../lib/gcc/aarch64-linux-android/4.9.x-google/../../../../aarch64-linux-android/bin/ld: final link failed: Nonrepresentable section on output
collect2: error: ld returned 1 exit status

Is there any way to fix it?

edit retag flag offensive close delete

Comments

1

afaik 64 arch is not supported by mer yet.

coderus ( 2016-05-27 23:21:19 +0300 )edit
1

@coderus someone (sorry, dont recall who but someone very active) just finalized a port of it during Christmas time IIRC

tortoisedoc ( 2017-01-05 23:14:10 +0300 )edit

1 Answer

Sort by » oldest newest most voted
2

answered 2017-01-05 22:47:04 +0300

Nokius gravatar image

I run into the same issue.

The porters logs mention to get rid of the set_errno stuff

So apply this patch

Worked for me well

edit flag offensive delete publish link more
Login/Signup to Answer

Question tools

Follow
2 followers

Stats

Asked: 2016-05-27 20:06:11 +0300

Seen: 755 times

Last updated: Jan 05 '17