llvm / llvm-project

The LLVM Project is a collection of modular and reusable compiler and toolchain technologies.
http://llvm.org
Other
28.86k stars 11.92k forks source link

[RISCV] ld.lld: error: relaxation not converged with openssl #113838

Open kraj opened 1 week ago

kraj commented 1 week ago

With master as of e33aec89ef1378d80e8df2e965ac5e6e6aa2e3de, LLD is unable to link openSSL test binary on RISCV32

Ends up with

riscv32-yoe-linux-musl-ld.lld: error: relaxation not converged

The reproducer is here - https://uclibc.org/~kraj/reproduce.tar

If I use -Wl,--no-relax then it works.

kraj commented 1 week ago

@asb @MaskRay any ideas ?