r344798: c++: error: linker command failed with exit code
Shawn Webb
shawn.webb at hardenedbsd.org
Tue Mar 5 18:17:04 UTC 2019
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.
Do you have a custom src.conf and make.conf?
Thanks,
--
Shawn Webb
Cofounder and Security Engineer
HardenedBSD
Tor-ified Signal: +1 443-546-8752
Tor+XMPP+OTR: lattera at is.a.hacker.sx
GPG Key ID: 0x6A84658F52456EEE
GPG Key Fingerprint: 2ABA B6BD EF6A F486 BE89 3D9E 6A84 658F 5245 6EEE
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-current/attachments/20190305/26a630cb/attachment.sig>
More information about the freebsd-current
mailing list