Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Mar 2018 13:14:25 -0400
From:      Ed Maste <emaste@freebsd.org>
To:        Antoine Brodin <antoine@freebsd.org>
Cc:        "freebsd-toolchain@FreeBSD.org" <freebsd-toolchain@freebsd.org>,  FreeBSD Ports <freebsd-ports@freebsd.org>
Subject:   Re: Heads-up: linker (lld) changes for amd64 coming soon
Message-ID:  <CAPyFy2ChCLDVH5T1mdTvXS%2BS6oojB6K6URtWicPG9J1U0HzfRA@mail.gmail.com>
In-Reply-To: <CAPyFy2D24Qq8gzDYbcz4EXBCBG0MEEd9S7-vYQ0y=y-zRkhjew@mail.gmail.com>
References:  <CAPyFy2AjEJjryjgGCHAo107mkOUnFbKmkcMVFWQEKKbTEuu8AA@mail.gmail.com> <CAALwa8kfdg31-Vt=v78ZHV1Us9_%2BN01PC7cwiKFe81720Hguhw@mail.gmail.com> <CAPyFy2ActcryGsok%2BLiYbG6%2BP_jTaE8L%2BqAh4ZpoVYu%2Bip_O1A@mail.gmail.com> <CAPyFy2D24Qq8gzDYbcz4EXBCBG0MEEd9S7-vYQ0y=y-zRkhjew@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 27 March 2018 at 18:21, Ed Maste <emaste@freebsd.org> wrote:
> (Moved from -current to -ports)
>
> On 27 March 2018 at 13:15, Ed Maste <emaste@freebsd.org> wrote:
>>
>> Fair enough - this was the reason I sent the email. I've now gone
>> through and submitted a PR for for each failure that did not already
>> have one. I've also added LLD_UNSAFE to a few ports where where it was
>> straightforward.
>
> Via tobik's commit to lang/myrddin (r465725) I discovered
> BINARY_ALIAS=ld=ld.bfd, which is a usable workaround for some ports
> which don't honour $LD or -fuse-ld=bfd in CFLAGS.

As of ports r465900 BINARY_ALIAS is now set automatically if LLD_UNSAFE is set.

There are now 14 PRs open for failures when lld is /usr/bin/ld. Thanks
to recent commits from krion@ all unmaintained ports that had issues
have been addressed, except for print/openprinting (PR221809) and some
openal-related failures (PR226980). I'll try to take a look at the
openal issues; it's likely that the interim solution will be just to
set LLD_UNSAFE in all of the dependent ports.

The remaining 12 PRs are all for maintained ports. I believe that now
the only port responsible for a significant number of skipped
dependent ports is lang/ghc (PR226872).



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAPyFy2ChCLDVH5T1mdTvXS%2BS6oojB6K6URtWicPG9J1U0HzfRA>