On Tue, Mar 05, 2019 at 05:45:11PM +0100, O. Hartmann wrote:
> -----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

As a data point, I had no issues with either my laptop or my build
machine going from:

FreeBSD localhost 13.0-CURRENT FreeBSD 13.0-CURRENT #280 r344756M/344756: Mon 
Mar  4 04:33:36 PST 2019     
r...@g1-49.catwhisker.org:/common/S4/obj/usr/src/amd64.amd64/sys/CANARY  amd64

to

FreeBSD localhost 13.0-CURRENT FreeBSD 13.0-CURRENT #281 r344791M/344793: Tue 
Mar  5 05:39:24 PST 2019     
root@localhost:/common/S4/obj/usr/src/amd64.amd64/sys/CANARY  amd64

Peace,
david
-- 
David H. Wolfskill                              da...@catwhisker.org
"I think the President is violating our constitutional system." - Justin Amash

See http://www.catwhisker.org/~david/publickey.gpg for my public key.

Attachment: signature.asc
Description: PGP signature

Reply via email to