llvm / llvm-project

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

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

Open kraj opened 1 month ago

kraj commented 1 month 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 month ago

@asb @MaskRay any ideas ?