From owner-freebsd-stable@freebsd.org Thu Feb 28 08:49:31 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 160E31521EDC for ; Thu, 28 Feb 2019 08:49:31 +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 71B0887007 for ; Thu, 28 Feb 2019 08:49:30 +0000 (UTC) (envelope-from freebsd@pdx.rh.CN85.dnsmgr.net) Received: by mailman.ysv.freebsd.org (Postfix) id 3050C1521ED9; Thu, 28 Feb 2019 08:49:30 +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 1D7351521ED8 for ; Thu, 28 Feb 2019 08:49:30 +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 6A1C286FFF; Thu, 28 Feb 2019 08:49:29 +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 x1S8nPpI055317; Thu, 28 Feb 2019 00:49:25 -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 x1S8nPwR055316; Thu, 28 Feb 2019 00:49:25 -0800 (PST) (envelope-from freebsd) From: "Rodney W. Grimes" Message-Id: <201902280849.x1S8nPwR055316@pdx.rh.CN85.dnsmgr.net> Subject: Re: FreeBSD 12.0 RELEASE i386 can not build a kernel? In-Reply-To: <201902280720.x1S7Kewb054942@pdx.rh.CN85.dnsmgr.net> To: rgrimes@FreeBSD.org Date: Thu, 28 Feb 2019 00:49:25 -0800 (PST) CC: Dimitry Andric , stable@FreeBSD.org 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: 6A1C286FFF X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-6.97 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.97)[-0.968,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 08:49:31 -0000 > -- Start of PGP signed section. > > On 28 Feb 2019, at 00:37, Rodney W. Grimes wrote: > > > > > > config CUSTOM > > > Kernel build directory is ../compile/CUSTOM > > > Don't forget to do ``make cleandepend && make depend'' > > > fb-bld-120-i386.dnsmgr.net:root {200}# cd ../compile/CUSTOM > > > fb-bld-120-i386.dnsmgr.net:root {201}# (make cleandepend && make depend && make -j4 && make install) >&make.OUT > > > fb-bld-120-i386.dnsmgr.net:root {202}# more make.OUT > > > make: "../../../conf/../../../conf/kern.pre.mk" line 127: amd64/arm64/i386 kernel requires linker ifunc support > > > > After ifunc support was introduced, you have to run at least > > "make kernel-toolchain" before "make buildkernel", or otherwise just run > > "make buildworld" first. That will build the linker which supports the > > required functionality. > > This is the -RELEASE, why is the release not built with the > proper toolchain in place? This is not some upgrade or anything > odd, download 12.0-RELEASE i386 iso, install it with sources, > try to build a kernel. > > I am running your suggested make kernel-toolchain now > to see if that fixes the problem (it shouid not, or > if it does we have a major issue with our release > building procedures.) Sadly I have confirmed that "make kernel-toolchain" does infact fix the above error. Now the begging question, why isnt the toolchain as shipped already properly built? This is a stock FreeBSD-12.0=RELEASE-i386-disc1.iso install, with stock sources from the iso. I was simply configuring a custom kernel, I should not need to build a took chain to build a kernel when nothing has changed from the RELEASE, it should already be the correct toolchain. > > -Dimitry > -- > Rod Grimes rgrimes@freebsd.org -- Rod Grimes rgrimes@freebsd.org