From owner-freebsd-current@freebsd.org Mon Jan 15 13:58:43 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 E0B3BE7EA74 for ; Mon, 15 Jan 2018 13:58:43 +0000 (UTC) (envelope-from ohartmann@walstatt.org) Received: from mout.gmx.net (mout.gmx.net [212.227.17.20]) (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 5F03C75F8B; Mon, 15 Jan 2018 13:58:42 +0000 (UTC) (envelope-from ohartmann@walstatt.org) Received: from freyja.zeit4.iv.bundesimmobilien.de ([87.138.105.249]) by mail.gmx.com (mrgmx101 [212.227.17.168]) with ESMTPSA (Nemesis) id 0MWgND-1eMX7B1TT9-00Xt3T; Mon, 15 Jan 2018 14:58:34 +0100 Date: Mon, 15 Jan 2018 14:58:33 +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: <20180115145833.43adfa28@freyja.zeit4.iv.bundesimmobilien.de> In-Reply-To: <20180115132116.0960cdfb@freyja.zeit4.iv.bundesimmobilien.de> References: <20180115074244.72264055@freyja.zeit4.iv.bundesimmobilien.de> <1C404258-502F-43D4-B88A-45BE6A90681F@FreeBSD.org> <20180115132116.0960cdfb@freyja.zeit4.iv.bundesimmobilien.de> Organization: Walstatt MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:wrPa9+YFQhW6nkK1zcuqUZf667wSeDoHbCr0N0a10piFTbfvjZl 1qrp16gMcBpZ9st1EjYZ67s32TlhpxkZndKxGTu5t3h1fyqmCJnGGLHjbXFLXq3NTPLGWzB Mn6E8cR8WKOdvOypHNmvNYL6uxAv6lIRzAhzYr7cw86iUCIekVQepTObKcrgxtKMGCUKo16 OQsVX/RAfnKXUi9kUT0qg== X-UI-Out-Filterresults: notjunk:1;V01:K0:UFUDhiTRtHA=:ssPUiLNnTH+3K7mc1To1N6 WwZLsWHadNDOD5tYJfBgkCqQLq08aOqiql201U/uxHPJjpy3b46CkLhY46G/ZFthttBWmi3YB IN/8MPuWFUprUx9Bbz4K8wFMLN/k89D14uppbq7rZTSqB7xN6QZE6ncwRo1Zw8hysT6PgtoT/ AumWzdVnD7PfZ8yOjD0w/qsokMzZbpVMOQmO+s906qGYptb4HlDYq+bjhAcEonkhnYMWXqcJb LYIzD8UE5/BRY8cUXgc0YZtSQzMkqVdGd/YnTGO3R4BhtGuVofYDH0RNhyYo0/sdNhMxfNSYy X41RaC8f7SDEF5Oqn6Dh5rMfkMe9pXRHSXa2FoSHtiIWy7w2wRFZ5g3J+JmaQb244zWn7WOuP PuLzDXojrQUo3iHnwWVUVdyIuKVnak0wELQSX5BySjtSmz1/QEv4RqgxyQUvWLao69BJG7MLf KQmGPFO3RVOKqdo6WGr1pFRjD+bmSK8IK59OvBzwNMoTuA1NtgZHoi6xl6di4x3dxr7t6rxRK x0z1oB1foCJ+A4BmC/RPLlyOdd9rJvGoOHX4QThe5kajzTsgQ0mOJ8set33Q1OFr29orUV4wj 77gT3E2KJfZob/JUbH40TBOMUrtjFT8CJrRFOqik5gJ52aKfmK1efpBNCf1y4sZMAYbW+tlGp Htvs3vTvSdkj65DfU75yZ3ofMWL6h+cXa7Z/ZXE927zu/O9e+dMBx0PNjespdlOmt+LpAsZI/ N8P6GAchuKUEQLfIZXKC8Q8jdNKSL9vOkMXCUXNqKX+IRosQMSUXcK+uYEqLH3jQ131c1JWZh q0hDjERELXBWS9f6OiAiFDTf9uKam0QUIyslmuSA+NfZMQHFRg= 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 13:58:44 -0000 On Mon, 15 Jan 2018 13:21:22 +0100 "O. Hartmann" wrote: > 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 > _______________________________________________ > freebsd-current@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" Sorry for the hurry (I was in a hurry). As my listing indicates, crt1.o was missing. CURRENT does strange things lately. The same day I've updated the base system, luckily the jail for poudriere, based on the base system, has been updated and so I was able to restore /usr/lib/crt1.o. Oliver