From owner-freebsd-current@freebsd.org Mon Jan 15 12:21:33 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 70E8EE799DE for ; Mon, 15 Jan 2018 12:21:33 +0000 (UTC) (envelope-from o.hartmann@walstatt.org) Received: from mout.gmx.net (mout.gmx.net [212.227.17.22]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "mout.gmx.net", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E1C2771F24; Mon, 15 Jan 2018 12:21:31 +0000 (UTC) (envelope-from o.hartmann@walstatt.org) Received: from freyja.zeit4.iv.bundesimmobilien.de ([87.138.105.249]) by mail.gmx.com (mrgmx103 [212.227.17.168]) with ESMTPSA (Nemesis) id 0LzbXq-1exYfp1xje-014gzL; Mon, 15 Jan 2018 13:21:23 +0100 Date: Mon, 15 Jan 2018 13:21:22 +0100 From: "O. Hartmann" To: Dimitry Andric Cc: "O. Hartmann" , freebsd-current Subject: Re: CURRENT: can't buildworld; /usr/bin/ld: error: cannot open crt1.o: Message-ID: <20180115132116.0960cdfb@freyja.zeit4.iv.bundesimmobilien.de> In-Reply-To: <1C404258-502F-43D4-B88A-45BE6A90681F@FreeBSD.org> References: <20180115074244.72264055@freyja.zeit4.iv.bundesimmobilien.de> <1C404258-502F-43D4-B88A-45BE6A90681F@FreeBSD.org> Organization: Walstatt MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:SQmS6AljoOgrDE9qjGIvp6dvvY2c3Q+Zd+nVb6CIyUfGxNnZXYD MxB1YUedVqoheWv8ZB5v+9XOJSprgHTjuVDmkzK+IsUcjxnkrloSlH3LckJDBvwEBv0Qdga xsgKf65QJlTGr91XKKe9WglSYXEjjHCVWXgucX9K3DC6rp7nu96U6o9zPqWwAiLNrTjjgqr BB5GjNQvG8rdoYpOAH4eg== X-UI-Out-Filterresults: notjunk:1;V01:K0:59l0dV04kOI=:frljoNaG19tsBbagZzuHgC LM59tPincT/HOeFtaqG7BumXLKbue5nl0dwfoUP/nmdLtnuYeBLwnuFYz2uPtO6rGySSsYoFg 2WjRMyO7+B7vJyEd3Wcp+vkZLo6CSWzcBmHJEoAq2tiA9nLaYUUdl6uBppzergMHs6/+T5zWH 5V6qeqKNwU5yEz2VHLEV9k3tMXISbroEJStyemDulmWVqlMq6IMUgPoQEnuKnpzd8kGpHGqsE ZhsaXWgFujfXveDH3UTgqR+yIKIRJe3mNYx+UdIcyVMA56F/3MTlzfNKlfYbxczkNDZ1NsQul 1RjbUGgWhJedV4wreWgYnajNmKyN3/AijdLatrC97T3YBgpFKR1jLtuxP+5VKAP3mUREIqVDG tJsy7EoyME9GO+zUiNneXnHQlpCY3YzaxEOFkBGe3aFKd1AHIJDw9K9R7CVCuJP8Gwb20K4g+ mX197uW/qhbGCVkATZ0tghWzGklB756MPmwNrsZ1ceF4KeESQtCET4VmE7RgjutNfL5BMc8IP NBNURLvChY0q7FcRXjZvGnuvn5AZtt9ZBOE06YlrAAxHDQQpggA/miB2QTrHm/dIiKl8/BqCV nXC0GXWScKehqbVJLoUT+NqtXAda+CjDWh097sNvze+5Ce/Q1t2gKoQ/alv62fe1VA7KXwkCa McP71uteWgAFz48VMy3kzQKTIUb36Lz3a75wAXZGBUQQzgD+WIOFnkDpouf4bMfU3sLCs6pce b3RMkK6srbd0otm2/pZgrcVpZJVPb54Rlv8pEn5WvkirX1zNw8IcwlSne79r1GLphlXgHi1K1 uqBgrMPlpY2Ba8qNblk31pTGzScg32I2bPt9uh4Vdw0tRhahkY= X-Mailman-Approved-At: Mon, 15 Jan 2018 12:27:13 +0000 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 12:21:33 -0000 On Mon, 15 Jan 2018 08:45:56 +0100 Dimitry Andric wrote: > On 15 Jan 2018, at 07:42, O. Hartmann wrote: > > > > One of our CURRENT boxes is repeateadly disobeying to build > > "buildworld" (make buildkernel seems to work as I did several kernels right > > now). > > > > The hosts's world is as of Wednesday, 10th January, the kernel's revison is > > > > FreeBSD 12.0-CURRENT #0 r327871: Fri Jan 12 12:18:19 CET 2018 amd64. > > > > I did, as a test, Friday, 12th Jan, as you can see, the last kernel build. > > > > 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. > > > > 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 > # ll /usr/lib/Scrt1* /usr/lib/crt* /usr/lib/gcrt1.* 160561 -r--r--r-- 1 root wheel - 3.2K 10 Jan. 16:14 /usr/lib/Scrt1.o 161693 -r--r--r-- 1 root wheel - 2.2K 10 Jan. 16:14 /usr/lib/crtbegin.o 161696 -r--r--r-- 1 root wheel - 2.3K 10 Jan. 16:14 /usr/lib/crtbeginS.o 161695 -r--r--r-- 1 root wheel - 2.7K 10 Jan. 16:14 /usr/lib/crtbeginT.o 161694 -r--r--r-- 1 root wheel - 1.5K 10 Jan. 16:14 /usr/lib/crtend.o 161697 -r--r--r-- 1 root wheel - 1.5K 10 Jan. 16:14 /usr/lib/crtendS.o 160518 -r--r--r-- 1 root wheel - 800B 10 Jan. 16:14 /usr/lib/crti.o 160526 -r--r--r-- 1 root wheel - 896B 10 Jan. 16:14 /usr/lib/crtn.o 160565 -r--r--r-- 1 root wheel - 3.7K 10 Jan. 16:14 /usr/lib/gcrt1.o Something went wrong :-( Thank you for the hint, I try to recover from backup/image. Oliver