The SPEC CPU 2000 benchmarks 186.crafty and 300.twolf have symbols defined in multiple source file. Add the -zmultidef option to the linker for compatibility with older linkers.
Details
Details
Diff Detail
Diff Detail
- Repository
- rT test-suite
Event Timeline
External/SPEC/CINT2000/186.crafty/CMakeLists.txt | ||
---|---|---|
29 | Do we need to set this conditionally? I think this breaks builds in macOS with newer versions of ld, which does not support -zmuldefs |
External/SPEC/CINT2000/186.crafty/CMakeLists.txt | ||
---|---|---|
29 | This is probably not because it a new version, but because it is not GNU ld. Does the macOS linker (I assume lld?) just ignore multiple definitions by default? |
External/SPEC/CINT2000/186.crafty/CMakeLists.txt | ||
---|---|---|
29 | I am not sure I am afraid, but the benchmarks work fine without the flag and the flag causes an unsupported option error |
Do we need to set this conditionally? I think this breaks builds in macOS with newer versions of ld, which does not support -zmuldefs