From owner-freebsd-current@freebsd.org Tue Mar 5 16:56:53 2019 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BB8C91508C4C for ; Tue, 5 Mar 2019 16:56:53 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from mx.catwhisker.org (mx.catwhisker.org [198.144.209.73]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4BA56739B9 for ; Tue, 5 Mar 2019 16:56:52 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from albert.catwhisker.org (localhost [127.0.0.1]) by albert.catwhisker.org (8.15.2/8.15.2) with ESMTP id x25Gunu4039358; Tue, 5 Mar 2019 16:56:49 GMT (envelope-from david@albert.catwhisker.org) Received: (from david@localhost) by albert.catwhisker.org (8.15.2/8.15.2/Submit) id x25GunAt039357; Tue, 5 Mar 2019 08:56:49 -0800 (PST) (envelope-from david) Date: Tue, 5 Mar 2019 08:56:49 -0800 From: David Wolfskill To: "O. Hartmann" Cc: FreeBSD CURRENT Subject: Re: r344798: c++: error: linker command failed with exit code Message-ID: <20190305165649.GM1201@albert.catwhisker.org> Reply-To: current@freebsd.org Mail-Followup-To: current@freebsd.org, "O. Hartmann" , FreeBSD CURRENT References: <20190305174538.5fa6670f@thor.intern.walstatt.dynvpn.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="wFsmFZmaatp/x6ak" Content-Disposition: inline In-Reply-To: <20190305174538.5fa6670f@thor.intern.walstatt.dynvpn.de> User-Agent: Mutt/1.11.3 (2019-02-01) X-Rspamd-Queue-Id: 4BA56739B9 X-Spamd-Bar: -------- Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of david@catwhisker.org designates 198.144.209.73 as permitted sender) smtp.mailfrom=david@catwhisker.org X-Spamd-Result: default: False [-8.91 / 15.00]; ARC_NA(0.00)[]; HAS_REPLYTO(0.00)[current@freebsd.org]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:198.144.209.73]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; DMARC_NA(0.00)[catwhisker.org]; REPLYTO_DOM_NEQ_FROM_DOM(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; MX_GOOD(-0.01)[cached: mx.catwhisker.org]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[73.209.144.198.list.dnswl.org : 127.0.10.0]; NEURAL_HAM_SHORT(-0.86)[-0.856,0]; SIGNED_PGP(-2.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+]; ASN(0.00)[asn:7961, ipnet:198.144.192.0/19, country:US]; RCVD_TLS_LAST(0.00)[]; IP_SCORE(-3.65)[ip: (-9.64), ipnet: 198.144.192.0/19(-4.74), asn: 7961(-3.79), country: US(-0.07)] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Mar 2019 16:56:54 -0000 --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--