From owner-freebsd-stable@freebsd.org Thu Feb 28 13:50:59 2019 Return-Path: Delivered-To: freebsd-stable@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 796A01508155 for ; Thu, 28 Feb 2019 13:50:59 +0000 (UTC) (envelope-from freebsd@pdx.rh.CN85.dnsmgr.net) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id BADB06BB4C for ; Thu, 28 Feb 2019 13:50:58 +0000 (UTC) (envelope-from freebsd@pdx.rh.CN85.dnsmgr.net) Received: by mailman.ysv.freebsd.org (Postfix) id 7993A1508154; Thu, 28 Feb 2019 13:50:58 +0000 (UTC) Delivered-To: stable@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 673FD1508153 for ; Thu, 28 Feb 2019 13:50:58 +0000 (UTC) (envelope-from freebsd@pdx.rh.CN85.dnsmgr.net) Received: from pdx.rh.CN85.dnsmgr.net (br1.CN84in.dnsmgr.net [69.59.192.140]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B30FD6BB47; Thu, 28 Feb 2019 13:50:57 +0000 (UTC) (envelope-from freebsd@pdx.rh.CN85.dnsmgr.net) Received: from pdx.rh.CN85.dnsmgr.net (localhost [127.0.0.1]) by pdx.rh.CN85.dnsmgr.net (8.13.3/8.13.3) with ESMTP id x1SDosU7056595; Thu, 28 Feb 2019 05:50:54 -0800 (PST) (envelope-from freebsd@pdx.rh.CN85.dnsmgr.net) Received: (from freebsd@localhost) by pdx.rh.CN85.dnsmgr.net (8.13.3/8.13.3/Submit) id x1SDoqdF056594; Thu, 28 Feb 2019 05:50:52 -0800 (PST) (envelope-from freebsd) From: "Rodney W. Grimes" Message-Id: <201902281350.x1SDoqdF056594@pdx.rh.CN85.dnsmgr.net> Subject: Re: FreeBSD 12.0 RELEASE i386 can not build a kernel? In-Reply-To: <201902281326.x1SDQ9ds056521@pdx.rh.CN85.dnsmgr.net> To: rgrimes@freebsd.org Date: Thu, 28 Feb 2019 05:50:52 -0800 (PST) CC: Ed Maste , Konstantin Belousov , stable@freebsd.org, Dimitry Andric Reply-To: rgrimes@freebsd.org X-Mailer: ELM [version 2.4ME+ PL121h (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Rspamd-Queue-Id: B30FD6BB47 X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-6.96 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.96)[-0.965,0]; REPLY(-4.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Feb 2019 13:50:59 -0000 > > > > Let me guess. You use 'make' in sys/i386/build/YOUR_KERNEL ? > > > > Then you need to use 'LD=ld.ldd make'. The proper way of > > > > 'make buildkernel' from top-level src handles it automatically. > > > > > > > If you back up in the thread you would also see the output > > > is the same for cd /usr/src; make buildkernel conf=CUSTOM > > > > "make buildworld" or "make kernel-toolchain" needs to be run first. > > Are you really rally expecting a user to rebuild the world that > he just installed that should be exactly the same world he gets > build (reproduceable builds and all??). > > But in your other mail you said the proper toolchain is included, > so this is not really true? > > > Also, there's a typo in kib's command - it should be LD=ld.lld (two > > 'l's, not two 'd's). > > > > There's more information about this issue (when it applied to amd64) > > at https://lists.freebsd.org/pipermail/freebsd-arch/2018-May/018967.html. > > Yes I remeber the issue but we shipped a release with the issue in it? > An issue that was hit 7 months before the release? > Really? > > Isn't this just a mater of fixing the toplevel make at > /usr/src for target buildkernel to include the LD=ld.lld or > fixing the kernel Makefile likewise? I have confirmed that cd /usr/src; LD=ld.lld make buildkernel config=GENERIC does resolve this issue, so can we add LD=ld.lld to the buildkernel target and fix the kernel Makefile on i386 to have this set? (On RELENG/12.0 branch). > Rod Grimes rgrimes@freebsd.org -- Rod Grimes rgrimes@freebsd.org