From owner-freebsd-questions@freebsd.org Sat Jul 20 03:48:39 2019 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 06311B396D for ; Sat, 20 Jul 2019 03:48:39 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "mout.kundenserver.de", Issuer "TeleSec ServerPass Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D12E26B767 for ; Sat, 20 Jul 2019 03:48:35 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de ([178.12.119.142]) by mrelayeu.kundenserver.de (mreue012 [212.227.15.167]) with ESMTPA (Nemesis) id 1N8EdM-1iSGOb2m5A-014BSx; Sat, 20 Jul 2019 05:48:21 +0200 Date: Sat, 20 Jul 2019 05:48:18 +0200 From: Polytropon To: Eduardo Lemos de Sa Cc: Thomas Mueller , "freebsd-questions@FreeBSD.org" Subject: Re: Cannot build generic kernel Message-Id: <20190720054818.055363f0.freebsd@edvax.de> In-Reply-To: References: <100.908e0e00be82305d.007@88watts.net> <5d30cea3.1c69fb81.db177.dcf9SMTPIN_ADDED_MISSING@mx.google.com> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:JDFMFUtEuxcLXsSUwhyCmWOD6V5beIRZx5z8YYYLAgnRj1+/Pj0 mdd7jAm3PHQ/o6ysY6mbNpR8QSGNrLD3sFH279McQIjf+rDl8U28DEgEHXBDKQyiGExcXUI P23IKP58YPVw6207UH1/roR5j1yoLtjrNGTdJvuWpqYYblMFuNnUbScQjf5H7tamj3/jf3/ AJ564mthGzn2vSm8341yQ== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:9ikEtmzb3Io=:FLocWywU4iygrX5mQEIz5z VwFna568QPx6vn20VJax3gc/TajkzeTMtE/slHxPSGoioYuG1kU5SczVtoUOq5tway8GLx7Cx 7QxjnE6ui7K8pRvXVh9sAUC4k2TxHeeu+F5ClN5806bY6L/r2ZXKTdHn99wxegKgXv/TnHnZL zS5jFR19K29cOLMja+HE0A/j+hxwITqla8xdI0FSjyWrK0ocIdEoL77pPtcHWuyXSvaBID6sv sgCAg5IeQi1PbqDa071jMLsgAo3RYDugL1cGbDHvwkYGrbqfsybVGKC0CXBi5YW2tCgIaCPNA hchv7RpsxyUqoMWQjwsDO//rgDo3aC51pZM9wfBVTsbl/+Y4SXOSrb+LEj3oCegN1RluF92xt XM4kJNJUFP+kFTBIObW9KsU5cBWwtjUghYNbF9iq8leQKeIj1T7oPeVFHd/daEhHYwVBnGTCW inTORO0LawSakusawX7eVu9tc/Ig0oCTHedlJzCJVSw+AJlrdZB7nJ3KKMU6Ytsy07b3/Uy6N OwEtMhxvQmMz8vKf54nWMaW9YQSOTXfbpJnV+2K2oWYQRtqPXgMDcvl1jzo+UByxD0EpcuAfr 8Pu3BQudfqGz1tfPNT3yePyngvjITllPhAFuTBIDg3B3WVDUW4S67MVjCxUjtaNAoycrG+3Iz MGRt0aCfRDHtbH6qdrDcbFYpJXeCsXEDOqNnFNuHcXjBxr6yh4avcGII5Lw0ny5Yt4hwB+eN2 yj8SALNOHg7rizeBvDxIdcYyJ6BugrwpG0qpVemt/TXGSy9zRuI99oyTHgc= X-Rspamd-Queue-Id: D12E26B767 X-Spamd-Bar: +++++ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [5.91 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_REPLYTO(0.00)[freebsd@edvax.de]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; HAS_ORG_HEADER(0.00)[]; MX_GOOD(-0.01)[mx00.schlund.de,mx01.schlund.de]; FREEMAIL_TO(0.00)[gmail.com]; RECEIVED_SPAMHAUS_PBL(0.00)[142.119.12.178.zen.spamhaus.org : 127.0.0.11]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:8560, ipnet:212.227.0.0/16, country:DE]; RCVD_TLS_LAST(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; ARC_NA(0.00)[]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_SPAM_SHORT(0.98)[0.976,0]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[edvax.de]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(0.97)[0.972,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(1.00)[1.000,0]; RCVD_IN_DNSWL_NONE(0.00)[131.126.227.212.list.dnswl.org : 127.0.5.0]; MID_CONTAINS_FROM(1.00)[]; R_SPF_NA(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FREEMAIL_CC(0.00)[twc.com]; IP_SCORE(0.58)[ip: (1.93), ipnet: 212.227.0.0/16(-1.41), asn: 8560(2.38), country: DE(-0.01)] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Jul 2019 03:48:39 -0000 On Fri, 19 Jul 2019 20:53:29 -0300, Eduardo Lemos de Sa wrote: > Dear > > On Thu, Jul 18, 2019 at 4:55 PM Thomas Mueller wrote: > > > from David Azarewicz: > > > > > I downloaded and installed FreeBSD-12.0-RELEASE-i386-memstick.img > > > > > I checked out base/stable/12 r350009 using svnlite > > > > > I followed the directions on > > https://www.freebsd.org/doc/handbook/kernelconfig-building.html > > > for building the kernel. > > > > > I get an error: > > > make[2]: "/usr/src/sys/conf/kern.pre.mk" line 127: amd64/arm64/i386 > > kernel requires linker > > > ifunc support > > > > > both > > > make buildkernel > > > and > > > make buildkernel KERNCONF=GENERIC > > > fail exactly the same way. > > > > > Today I updated to r350112 and the problem persists. > > > > > So I have a fresh unmodified install of FreeBSD 12.0 RELEASE, I have a > > fresh unmodified > > > checkout of FreeBSD 12 stable, I followed the directions for building > > the standard, default, > > > generic kernel and it fails. I tried searching for a solution to this > > problem and could not find a > > > solution. How can I fix this problem? > > > > Did you make buildworld before attempting buildkernel? > > > > I read UPDATING in the top directory of the src tree, and you are supposed > > to "make buildworld" before buildkernel. > > > > That would put updated tools in place for buildkernel. > > > > Tom > > > > > No, I just > > > make kernel-toolchain buildkernel > > make installkernel > > reboot > > make buildworld > > make installworld The step "make buildworld", being required for "make installworld", seems to be missing... > (sometimes, you need to do a mergemaster -Ui - as it is described on > handbook) I suggest you also have a look at /usr/src/Makefile's comment header which contains a nice summary of the procedure you should follow. # For individuals wanting to upgrade their sources (even if only a # delta of a few days): # # 1. `cd /usr/src' (or to the directory containing your source tree). # 2. `make buildworld' # 3. `make buildkernel KERNCONF=YOUR_KERNEL_HERE' (default is GENERIC). # 4. `make installkernel KERNCONF=YOUR_KERNEL_HERE' (default is GENERIC). # [steps 3. & 4. can be combined by using the "kernel" target] # 5. `reboot' (in single user mode: boot -s from the loader prompt). # 6. `mergemaster -p' # 7. `make installworld' # 8. `make delete-old' # 9. `mergemaster' (you may wish to use -i, along with -U or -F). # 10. `reboot' # 11. `make delete-old-libs' (in case no 3rd party program uses them anymore) # # See src/UPDATING `COMMON ITEMS' for more complete information. Compare with the relevant handbook article: https://www.freebsd.org/doc/handbook/makeworld.html Additionally see 23.5.6.2. Checking for Outdated Files and Libraries. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...