OpenWrt Forum Archive

Topic: relocation truncated to fit: Filesystem Size Issue In OpenWrt

The content of this topic has been archived on 18 Mar 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hi Team,

I'm compiling packages in OpenWrt SDK,  When I keeps on adding packages, at particular stage I'm getting the below issue,

#############################################################################

arch/arm/kernel/built-in.o: In function `cpu_resume':
/<path>/openwrt/build_dir/target-arm-linux-gnueabihf/linux-3.19.3/arch/arm/kernel/sleep.S:131:(.data+0x350): relocation truncated to fit: R_ARM_CALL against symbol `__hyp_stub_install_secondary' defined in .text section in arch/arm/kernel/built-in.o
make[5]: *** [vmlinux] Error 1
make[5]: Leaving directory `/<path>/openwrt/build_dir/target-arm-linux-gnueabihf/linux-3.19.3'
make[4]: *** [/<path>/openwrt/build_dir/target-arm-linux-gnueabihf/linux-3.19.3/.image] Error 2
make[4]: Leaving directory `/<path>/openwrt/target/linux/'
make[3]: *** [install] Error 2

###########################################################################

This seems to be filesystem size issue, So I increased the filesystem size through menuconfig in target-images --> ram-disk-size --> from 40 to max size.. Even after that I'm getting same issue during compilation..

What is the solution for this issue.. Can anyone help me on this issue ??

Thanks,
Vigneshwaran R

Do anyone has any idea ??

The discussion might have continued from here.