Yesterday, 06:33 AM
Hi Team. Trying compile for ARM but facing issue with libs.
Leading to "arm-linux-gnueabi/lib/libc.a(malloc.o)(.text+0x6060): R_ARM_TLS_LE32 relocation not permitted in shared object"
Leading to "arm-openwrt-linux-muslgnueabi/lib/libc.a(vdso.o): relocation R_ARM_MOVW_ABS_NC against `__libc' can not be used when making a shared object; recompile with -fPIC"
Any ideas?
Code:
make CC=arm-linux-gnueabi-gcc CXX=arm-linux-gnueabi-g++ PLATFORM=generic SHARED=0
Leading to "arm-linux-gnueabi/lib/libc.a(malloc.o)(.text+0x6060): R_ARM_TLS_LE32 relocation not permitted in shared object"
Code:
make CC=/root/openwrt-sdk-23.05.5-ipq40xx-chromium_gcc-12.3.0_musl_eabi.Linux-x86_64/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-12.3.0_musl_eabi/bin/arm-openwrt-linux-muslgnueabi-gcc BUILD_SHARED=no SHARED=no
Leading to "arm-openwrt-linux-muslgnueabi/lib/libc.a(vdso.o): relocation R_ARM_MOVW_ABS_NC against `__libc' can not be used when making a shared object; recompile with -fPIC"
Any ideas?