From owner-freebsd-arch@freebsd.org Wed May 16 09:49:26 2018 Return-Path: Delivered-To: freebsd-arch@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 A1B26EC8AFE for ; Wed, 16 May 2018 09:49:26 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mail.turbocat.net (turbocat.net [IPv6:2a01:4f8:c17:6c4b::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 405DA80D02 for ; Wed, 16 May 2018 09:49:26 +0000 (UTC) (envelope-from hps@selasky.org) Received: from hps2016.home.selasky.org (unknown [62.141.128.70]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id 3C89C26011B; Wed, 16 May 2018 11:49:24 +0200 (CEST) Subject: Re: Can't build kernel anymore: amd64 kernel requires linker ifunc support To: Emeric POUPON , Oliver Pinter Cc: freebsd-arch References: <1427128516.12874490.1526456240718.JavaMail.zimbra@stormshield.eu> <793855837.12916849.1526461655128.JavaMail.zimbra@stormshield.eu> <470629758.12930429.1526463753682.JavaMail.zimbra@stormshield.eu> From: Hans Petter Selasky Message-ID: <115a98db-8cb0-93e9-8f4f-1080ea79ae73@selasky.org> Date: Wed, 16 May 2018 11:49:15 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: <470629758.12930429.1526463753682.JavaMail.zimbra@stormshield.eu> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 May 2018 09:49:26 -0000 On 05/16/18 11:42, Emeric POUPON wrote: > >>> Thanks for your help. >>> >>> Actually, I already did all the steps described here: >>> https://www.freebsd.org/doc/handbook/makeworld.html with success. >>> After step 10, I now get this error. >>> I tried to put WITHOUT_LLD_BOOTSTRAP=yes in /etc/src.conf + rebuild >>> everything with no luck. >>> >>> >> Please remove this line from your src.conf, lld is required for building >> kernel since the ifunc support. >> > > I already did all the steps of the handbook without this line, and I finally had the issue I described. > What I told is that adding this line + make buildworld does not solve the kernel building issue. Try adding: -m $PWD/share/mk After make. Not sure if it helps. --HPS