Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Dec 2017 09:53:11 -0500
From:      Ed Maste <emaste@freebsd.org>
To:        FreeBSD Ports <freebsd-ports@freebsd.org>, freebsd-toolchain@freebsd.org
Subject:   Re: Ports and LLVM's lld linker
Message-ID:  <CAPyFy2Dt%2BQOfLoqNvyztRTacnNgDO6ijKkaTYHWY8V931n3Ccg@mail.gmail.com>
In-Reply-To: <CAPyFy2BhAmrAJDWY26Ax0aiVMcdJdT3NPsnOC0ch22VXgtLeJQ@mail.gmail.com>
References:  <CAPyFy2A6nbR%2BKpp=WpJ45xsUHEE0PhN1%2B7KRQfZ1U68wrr0E=A@mail.gmail.com> <CAPyFy2BhAmrAJDWY26Ax0aiVMcdJdT3NPsnOC0ch22VXgtLeJQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 18 December 2017 at 22:10, Ed Maste <emaste@freebsd.org> wrote:
>
> With a couple of recent changes in src head (r326831 and r326897) lld
> is now suitable for use as the base system /usr/bin/ld on amd64 and
> i386. We're working through ports failures, starting with those
> responsible for the largest number of skipped ports.
>
> The top four, on amd64:
>
> port                            # skipped
> devel/libunwind                 7994
> databases/postgresql*-client    230

These two are now addressed by setting LLD_UNSAFE=yes so that they'll
still link with ld.bfd once ld.lld is installed as /usr/bin/ld.

The issue with libunwind was already reported upstream (from someone
trying to use ld.gold, which fails in the same way), and libunwind's
developers will address it in a new version.

The postgresql*-client issues need more investigation, but now will
not prevent the migration to lld.

> lang/fpc                        76

This one's a little tricky, because it's a (Pascal) tool chain that
doesn't support usual environment variables like LD to specify a
linker explicitly.

> lang/mono                       22

I'll mark this one LLD_UNSAFE after a libtool dependency is sorted out
(PR224514).

After setting LLD_UNSAFE=yes for libunwind some previously-skipped
ports attempt to build, and some of those now fail with lld. I'm
working through that list and may have a dozen or so more that will
become LLD_UNSAFE.



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