Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Feb 2018 11:32:36 +0100
From:      Willem Jan Withagen <wjw@digiware.nl>
To:        FreeBSD Toolchain <freebsd-toolchain@freebsd.org>
Subject:   BFD Linker does like a generated file...
Message-ID:  <05c07941-9978-c195-2edd-e71b8cf39bf8@digiware.nl>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?05c07941-9978-c195-2edd-e71b8cf39bf8>