Date: Wed, 12 Jun 2019 10:54:44 +0000 From: bugzilla-noreply@freebsd.org To: toolchain@FreeBSD.org Subject: [Bug 238514] Adding -flto into compilation/link lines causes the error: /usr/bin/ld: unrecognized option '-plugin' Message-ID: <bug-238514-29464-tUVCVr7cYx@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-238514-29464@https.bugs.freebsd.org/bugzilla/> References: <bug-238514-29464@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=3D238514 Dimitry Andric <dim@FreeBSD.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dim@FreeBSD.org --- Comment #2 from Dimitry Andric <dim@FreeBSD.org> --- This is because 11.2 and 12.0 i386 are still on BFD ld 2.17.50, which neith= er supports LTO, nor plugins. It's probably best to leave off -flto for these platforms, otherwise use lld or the binutils port. --=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-238514-29464-tUVCVr7cYx>