Date: Thu, 10 May 2018 19:14:16 -0400 From: Ed Maste <emaste@freebsd.org> To: Andrew Gallatin <gallatin@cs.duke.edu> Cc: src-committers <src-committers@freebsd.org>, svn-src-all@freebsd.org, svn-src-head@freebsd.org, Konstantin Belousov <kib@freebsd.org> Subject: Re: svn commit: r333470 - in head: share/mk sys/conf Message-ID: <CAPyFy2Bpm4pcfHGMbSyL8yroBACtgsxc2wJi9jxWbq%2BNEE2wsQ@mail.gmail.com> In-Reply-To: <788634f4-7a63-36c9-2ebd-5842d464f324@cs.duke.edu> References: <201805102010.w4AKA3Ww094768@repo.freebsd.org> <788634f4-7a63-36c9-2ebd-5842d464f324@cs.duke.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
On 10 May 2018 at 18:24, Andrew Gallatin <gallatin@cs.duke.edu> wrote: > Rather than erroring out, we please just use the appropriate linker? That's my goal, but it's a bit of an involved change and will take some time to make sure we don't introduce new corner cases. I'm sorry that I didn't catch this before the first ifunc use went in -- lld has been the default bootstrap linker (via buildworld or kernel-toolchain) since mid-Jan and this problem slipped my mind. I added the error in the meantime to avoid the silently broken kernel case that you unfortunately encountered. The low-friction method of getting past this in the interim is to just use ld.lld as the system linker: # ln -fs ld.lld /usr/bin/ld I'm just waiting on an update to the lang/ghc port and another exp-run before that becomes the default.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAPyFy2Bpm4pcfHGMbSyL8yroBACtgsxc2wJi9jxWbq%2BNEE2wsQ>