A small utility to modify the dynamic linker and RPATH of ELF executables
GNU General Public License v3.0
3.57k
stars
486
forks
source link
[RISCV] Error on 'make check' - relocation truncated to fit: R_RISCV_RVC_LUI against `__TMC_LIST__' #553
Open
intx82 opened 5 months ago
Describe the bug
Short description
When i try to build the
patchelf
onriscv
architecture - got the error on stepmake check
:Due to this build starts from 'pip' i can't avoid these tests.
The bug is very similar to the https://github.com/riscvarchive/riscv-binutils-gdb/issues/144
Steps To Reproduce
Just try to build on RiscV or do
pip install patchelf
Versions:
Patch-elf: master 7c2f768
Possible fix
To fix it i have added
-Wl,--no-relax.
intests/Makefile.in:681
. But i'm not sure what about other architectures.