BFD Linker does like a generated file...
Willem Jan Withagen
wjw at digiware.nl
Wed Feb 28 10:32:42 UTC 2018
Whilest building Ceph:
[100%] Linking CXX executable ../../bin/unittest_log
CMakeFiles/unittest_log.dir/__/log/test.cc.o: file not recognized: File
format not recognized
c++: error: linker command failed with exit code 1 (use -v to see
invocation)
Which is buildable after I've replaced the ld link with a link to ld.lld
2 questions:
- How do I get clang (and ld) to default use ld.lld without replacing
the hardlink?
- Is there interest in the object-file to look at?
--WjW
More information about the freebsd-toolchain
mailing list