From owner-freebsd-current@freebsd.org Mon Jan 15 07:46:04 2018 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DC183EB6388 for ; Mon, 15 Jan 2018 07:46:04 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from tensor.andric.com (tensor.andric.com [87.251.56.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "tensor.andric.com", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9F30FE6B for ; Mon, 15 Jan 2018 07:46:04 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from coleburn.home.andric.com (coleburn.home.andric.com [192.168.0.15]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id 4CBF047335; Mon, 15 Jan 2018 08:45:56 +0100 (CET) From: Dimitry Andric Message-Id: <1C404258-502F-43D4-B88A-45BE6A90681F@FreeBSD.org> Content-Type: multipart/signed; boundary="Apple-Mail=_CFBE0B21-3E5E-4F31-8A19-218C9849668A"; protocol="application/pgp-signature"; micalg=pgp-sha1 Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: CURRENT: can't buildworld; /usr/bin/ld: error: cannot open crt1.o: Date: Mon, 15 Jan 2018 08:45:56 +0100 In-Reply-To: <20180115074244.72264055@freyja.zeit4.iv.bundesimmobilien.de> Cc: freebsd-current To: "O. Hartmann" References: <20180115074244.72264055@freyja.zeit4.iv.bundesimmobilien.de> X-Mailer: Apple Mail (2.3273) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.25 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: Mon, 15 Jan 2018 07:46:05 -0000 --Apple-Mail=_CFBE0B21-3E5E-4F31-8A19-218C9849668A Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii On 15 Jan 2018, at 07:42, O. Hartmann wrote: >=20 > One of our CURRENT boxes is repeateadly disobeying to build = "buildworld" (make > buildkernel seems to work as I did several kernels right now). >=20 > The hosts's world is as of Wednesday, 10th January, the kernel's = revison is >=20 > FreeBSD 12.0-CURRENT #0 r327871: Fri Jan 12 12:18:19 CET 2018 amd64. >=20 > I did, as a test, Friday, 12th Jan, as you can see, the last kernel = build. >=20 > The host in question also carries a variety of release, package an = jail builds > in separate source trees (CURRENT in most cases, to keep them away = from the > host's source tree). Those separate source trees also reject to build. >=20 > After performing a "make cleanworld" to startover (even this morning, = when I > watched LLVM/CLANG 6.0.0 has slipped in), I face still the same error: ... > -------------------------------------------------------------- >>>> stage 1.2: bootstrap tools > -------------------------------------------------------------- ... > Building = /usr/obj/usr/src/amd64.amd64/tmp/obj-tools/usr.bin/clang/llvm-tblgen/llvm-= tblgen > /usr/bin/ld: error: cannot open crt1.o: No such file or directory > c++: error: linker command failed with exit code 1 (use -v to see = invocation) If this happens during bootstrap-tools, the toolchain on your host system is busted. Do you have the following .o files in /usr/lib? Scrt1.o crt1.o crtbegin.o crtbeginS.o crtbeginT.o crtend.o crtendS.o crti.o crtn.o gcrt1.o If these are missing, restore them from a backup, or extract them from an installation image. -Dimitry --Apple-Mail=_CFBE0B21-3E5E-4F31-8A19-218C9849668A Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.2 iF0EARECAB0WIQR6tGLSzjX8bUI5T82wXqMKLiCWowUCWlxcNAAKCRCwXqMKLiCW o0FjAJ98e6HFFZq31m0f7Ju9JXl9xHy9kQCePTPeioMdCEb3h41jQnet57MljVk= =yJQR -----END PGP SIGNATURE----- --Apple-Mail=_CFBE0B21-3E5E-4F31-8A19-218C9849668A--