Date: Thu, 05 Apr 2018 18:05:13 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 227302] lang/gcc: import Debian patch to support -fuse-ld=lld Message-ID: <bug-227302-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D227302 Bug ID: 227302 Summary: lang/gcc: import Debian patch to support -fuse-ld=3Dlld Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: gerald@FreeBSD.org Reporter: emaste@freebsd.org Flags: maintainer-feedback?(gerald@FreeBSD.org) Assignee: gerald@FreeBSD.org We're migrating to lld as the base system linker in FreeBSD, and for testing and development it's useful to be able to explicitly choose a linker for testing via -fuse-ld=3D<linker> flag, regardless of what the system linker = is. Clang supports arbitrary linkers, and -fuse-ld=3Dbfd, -fuse-ld=3Dlld, and -fuse-ld=3Dgold all work. GCC supports only -fuse-ld=3Dbfd and -fuse-ld=3Dg= old. Upstream support for -fuse-ld=3Dlld did not go anywhere: https://gcc.gnu.org/ml/gcc-patches/2016-07/msg00155.html. Debian has patched GCC to add -fuse-ld=3Dlld: https://anonscm.debian.org/viewvc/gcccvs/branches/sid/gcc-6/debian/patches/= gcc-fuse-ld-lld.diff?revision=3D9366&view=3Dmarkup Can we apply the patch to FreeBSD's GCC as well? --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-227302-13>