Re: [build fail] v6.11-rc2 from "ARM: 9404/1: arm32: enable HAVE_LD_DEAD_CODE_DATA_ELIMINATION"

From: liuyuntao (F)
Date: Wed Aug 07 2024 - 11:23:51 EST


Thanks, I reproduce the link error with toolchain
gcc version 9.3.0
GNU ld (GNU Binutils) 2.33.1

with same gcc version, just upgrading ld version to 2.36.1, it does not segfault and build completes. there should be bugs in low version of ld,
and the ".reloc .text, R_ARM_NONE, ." triggers that.


On 2024/8/7 19:51, Harith George wrote:


On 07-08-2024 15:19, liuyuntao (F) wrote:
It seems to be ok with vexpress_defconfig in mainline tree v6.11-rc2,
I may need your .config/code file for further testing.

Please find attached minimal patches just for your testing. "make ARCH=arm e7_defconfig; make ARCH=arm xipImage"

Thanks,
Warm Regards,
Harith