Date: Tue, 26 Dec 2017 17:20:42 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 214864] [exp-run] test build with lld as /usr/bin/ld Message-ID: <bug-214864-13-7e9KN3Lzd7@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-214864-13@https.bugs.freebsd.org/bugzilla/> References: <bug-214864-13@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D214864 --- Comment #62 from commit-hook@freebsd.org --- A commit references this bug: Author: emaste Date: Tue Dec 26 17:20:16 UTC 2017 New revision: 457295 URL: https://svnweb.freebsd.org/changeset/ports/457295 Log: libtool.mk: pass through LDFLAGS -fuse-ld=3D* Some ports depend on permissive or broken behaviour from the GNU BFD linker, ld.bfd. Clang and GCC support a -fuse-ld=3D flag to choose a specific linker, and as we migrate to installing lld as the base system /usr/bin/ld we'll want to make use of -fuse-ld=3Dbfd to use bfd for ports that fail to link, or fail to run when linked with lld. An upstream libtool change[1] from Feb 2016 supports passing through -fuse-ld=3D, but it has not yet made it into a release. Patch an equivalent change into ltmain.sh via Mk/Uses/libtool.mk. Original proposal just patched ltmain.sh in devel/libtool. That would address ports that run libtoolize via autoreconf, including lang/mono which is one of the ports that fails to link with lld and responsible for many downstream skipped ports. Patching ltmain.sh via libtool.mk (tijl's suggestion) handles that case as well as ports that include their own copy of ltmain.sh. A later change may patch devel/libtool so that -fuse-ld works if using a ports-installed libtool to build software outside of the ports tree; the change in this commit is intended to address building in the ports tree. [1] http://git.savannah.gnu.org/cgit/libtool.git/commit/?id=3Df9970d99293faf908= fdc153a653fa5781095fb7a PR: 214864, 224514 Reviewed by: tijl Approved by: portmgr (antoine) Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D13589 Changes: head/Mk/Uses/libtool.mk --=20 You are receiving this mail because: You are on the CC list for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-214864-13-7e9KN3Lzd7>