r344798: c++: error: linker command failed with exit code

From: O. Hartmann <ohartmann_at_walstatt.org>
Date: Tue, 5 Mar 2019 17:45:11 +0100
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Hello,

recent buildworld on a CURRENT box (FreeBSD 13.0-CURRENT #246 r344742: Sun Mar  3 21:26:44 CET
2019 amd64) fails to build due to:

[...]

Building /usr/obj/usr/src/amd64.amd64/tmp/obj-tools/usr.bin/clang/clang/clang
- --- clang ---
ld: error: undefined symbol: llvm::createBPFMIPreEmitCheckingPass()
>>> referenced by BPFTargetMachine.cpp
>>>               BPFTargetMachine.o:((anonymous namespace)::BPFPassConfig::addPreEmitPass())
>>> in archive /usr/obj/usr/src/amd64.amd64/tmp/obj-tools/lib/clang/libllvm/libllvm.a
ld: error: undefined symbol: llvm::BTFDebug::BTFDebug(llvm::AsmPrinter*)
>>> referenced by BPFAsmPrinter.cpp
>>>               BPFAsmPrinter.o:((anonymous
>>> namespace)::BPFAsmPrinter::doInitialization(llvm::Module&)) in
>>> archive /usr/obj/usr/src/amd64.amd64/tmp/obj-tools/lib/clang/libllvm/libllvm.a
c++: error: linker command failed with exit code 1 (use -v to see invocation)
*** [clang] Error code 1

make[4]: stopped in /usr/src/usr.bin/clang/clang
[...]

I tried to rebuild world from a fresh /usr/src and /usr/obj but the host gets always stuck at
the same error.

Kind regards,

oh

- -- 
O. Hartmann

Ich widerspreche der Nutzung oder Übermittlung meiner Daten für
Werbezwecke oder für die Markt- oder Meinungsforschung (§ 28 Abs. 4 BDSG).
-----BEGIN PGP SIGNATURE-----

iHUEARYIAB0WIQSy8IBxAPDkqVBaTJ44N1ZZPba5RwUCXH6nsgAKCRA4N1ZZPba5
R6s4AQDAoPWt0u6Sv7NsgZB078/3F9mCFKWZUTV19/sR+vK5CQD+MIVFZCm839jx
k0DtPjrL0JQ1HkqcqLlm+pD8o/E3zQs=
=gq9u
-----END PGP SIGNATURE-----
Received on Tue Mar 05 2019 - 15:45:55 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:20 UTC