Open aytey opened 3 years ago
Doing 2 (i.e., updating to CMake 3.21.3) resolves the issue (i.e., CMAKE_LINKER
is set to /usr/bin/ld
not CMAKE_LINKER-NOTFOUND
).
Seems pretty conclusive:
CMake 3.21.1, no lld
: CMAKE_LINKER:FILEPATH=CMAKE_LINKER-NOTFOUND
CMake 3.21.2, no lld
: CMAKE_LINKER:FILEPATH=/usr/bin/ld
CMake 3.21.3, no lld
: CMAKE_LINKER:FILEPATH=/usr/bin/ld
CMake 3.21.1, with lld
: CMAKE_LINKER:FILEPATH=/usr/bin/ld.lld
I'm trying to build
infer
@ 23a915e (well, #1532) but my build fails with:I'm yet to try it, but it seems there's two causes:
lld
installed: https://gitlab.kitware.com/cmake/cmake/-/issues/22500#note_993575This is more of an FYI if other people hit the same issue.