remove system-compiled binutils dirs from $LDFLAGS in binutils easyblock#2712
Conversation
Various binutils binaries were linked with both libiberty from binutils compiled with the system toolchain and libiberty from binutils compiled with a compiler toolchain. The gold linker allows this but ld.bfd does not, and it's not a good thing to do in any case. Removing -L$EBROOTBINUTILS/lib* from LDFLAGS fixes this issue.
|
Test report by @casparvl Overview of tested easyconfigs (in order)
Build succeeded for 1 out of 1 (1 easyconfigs in total) |
|
Test report by @boegel Overview of tested easyconfigs (in order)
Build succeeded for 13 out of 13 (13 easyconfigs in total) |
|
Test report by @boegel Overview of tested easyconfigs (in order)
Build succeeded for 10 out of 10 (10 easyconfigs in total) |
Various binutils binaries were linked with both libiberty from
binutils compiled with the system toolchain and libiberty from
binutils compiled with a compiler toolchain.
The gold linker allows this but ld.bfd does not, and it's not
a good thing to do in any case. Removing -L$EBROOTBINUTILS/lib*
from LDFLAGS fixes this issue.
edit (by @boegel): just to make this PR easy to find in case people hit the problem this is causing, here's the error message you get without this change (harvested from a test report in easybuilders/easybuild-easyconfigs#15311 (comment)):