Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 May 2018 14:11:11 +0200 (CEST)
From:      Emeric POUPON <emeric.poupon@stormshield.eu>
To:        Warner Losh <imp@bsdimp.com>
Cc:        Hans Petter Selasky <hps@selasky.org>,  Oliver Pinter <oliver.pinter@hardenedbsd.org>,  freebsd-arch <freebsd-arch@freebsd.org>
Subject:   Re: Can't build kernel anymore: amd64 kernel requires linker ifunc support
Message-ID:  <10524809.13188920.1526559071011.JavaMail.zimbra@stormshield.eu>
In-Reply-To: <CANCZdfq_V7CO8v%2BjXu0hQG1-k3-7a%2BjPK_abDoe_9V3p4Lk8DA@mail.gmail.com>
References:  <1427128516.12874490.1526456240718.JavaMail.zimbra@stormshield.eu> <CAPQ4fftBd1YQ0_VGk5iRPAYA11fGbajYZ4-3t=RSrW1tOKzftw@mail.gmail.com> <793855837.12916849.1526461655128.JavaMail.zimbra@stormshield.eu> <CAPQ4ffspTD1Y5Bw%2B%2BOKSErzAsp0NWybG6bLPGiTA2MOdCWcyPg@mail.gmail.com> <470629758.12930429.1526463753682.JavaMail.zimbra@stormshield.eu> <115a98db-8cb0-93e9-8f4f-1080ea79ae73@selasky.org> <CANCZdfq_V7CO8v%2BjXu0hQG1-k3-7a%2BjPK_abDoe_9V3p4Lk8DA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

> LD=ld.lld make
> 
> is the magic here. The kernel needs a new linker to properly link in the
> ifunc, and that's not our ancient ld. lld does it, as does the latter-day
> binutils.
> 
> Warner

Thanks a lot, that works fine!

Emeric



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?10524809.13188920.1526559071011.JavaMail.zimbra>