Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Mar 2019 08:56:49 -0800
From:      David Wolfskill <david@catwhisker.org>
To:        "O. Hartmann" <ohartmann@walstatt.org>
Cc:        FreeBSD CURRENT <freebsd-current@freebsd.org>
Subject:   Re: r344798: c++: error: linker command failed with exit code
Message-ID:  <20190305165649.GM1201@albert.catwhisker.org>
In-Reply-To: <20190305174538.5fa6670f@thor.intern.walstatt.dynvpn.de>
References:  <20190305174538.5fa6670f@thor.intern.walstatt.dynvpn.de>

next in thread | previous in thread | raw e-mail | index | archive | help

--wFsmFZmaatp/x6ak
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Mar 05, 2019 at 05:45:11PM +0100, O. Hartmann wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
>=20
> Hello,
>=20
> recent buildworld on a CURRENT box (FreeBSD 13.0-CURRENT #246 r344742: Su=
n Mar  3 21:26:44 CET
> 2019 amd64) fails to build due to:
>=20
> [...]
>=20
> Building /usr/obj/usr/src/amd64.amd64/tmp/obj-tools/usr.bin/clang/clang/c=
lang
> - --- clang ---
> ld: error: undefined symbol: llvm::createBPFMIPreEmitCheckingPass()
> >>> referenced by BPFTargetMachine.cpp
> >>>               BPFTargetMachine.o:((anonymous namespace)::BPFPassConfi=
g::addPreEmitPass())
> >>> in archive /usr/obj/usr/src/amd64.amd64/tmp/obj-tools/lib/clang/libll=
vm/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 invocat=
ion)
> *** [clang] Error code 1
>=20
> make[4]: stopped in /usr/src/usr.bin/clang/clang
> [...]
>=20
> I tried to rebuild world from a fresh /usr/src and /usr/obj but the host =
gets always stuck at
> the same error.
>=20
> Kind regards,
>=20
> 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: M=
on Mar  4 04:33:36 PST 2019     root@g1-49.catwhisker.org:/common/S4/obj/us=
r/src/amd64.amd64/sys/CANARY  amd64

to

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

Peace,
david
--=20
David H. Wolfskill				david@catwhisker.org
"I think the President is violating our constitutional system." - Justin Am=
ash

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

--wFsmFZmaatp/x6ak
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQGTBAEBCgB9FiEE4owz2QxMJyaxAefyQLJg+bY2PckFAlx+qlBfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEUy
OEMzM0Q5MEM0QzI3MjZCMTAxRTdGMjQwQjI2MEY5QjYzNjNEQzkACgkQQLJg+bY2
Pcmu/Qf/Q5dmdhsmCI/SFxSzUnpVNVZxFJhsdxvRyOXEDVqTwmOhHaDtLFptD4H/
tzFOSblpkkZ7dNWvNmNPZlJNWIqoGxlNtdBKKi7OtWOzNzbbaVMHA30zNa3eKjNY
w4CuW/f2M8OBHLcBUGHXALkbYZLc1s4EVXeo2x1eM21XBx4o9e/knFuVmDjBAmfA
MiYtScwqB9/PiFCEE29ByU8LnJilEwia9jfvPc0UCHktYNO0KjwiAThrvtioR7Gs
fXjO2xh50rc4zhEquD4oxJ4CSCJx03Mvgp431dNofMhLLE73t07N69wPuU9iQPXh
Ge9hjqcrbo1gYjXxNhACxra6eYgZcw==
=mn5t
-----END PGP SIGNATURE-----

--wFsmFZmaatp/x6ak--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20190305165649.GM1201>