Date: Mon, 04 Sep 2017 12:30:59 +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-5DK9csn4co@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 #44 from Ed Maste <emaste@freebsd.org> --- For libffi it seems we're again thwarted by libtool. libtool strips flags t= hat it does not recognize, including -fuse-ld. Likely need a patch like the following (which I'll also attach): --- ltmain.sh.orig 2017-09-04 08:24:02.091949000 -0400 +++ ltmain.sh 2017-09-04 08:27:30.993223000 -0400 @@ -5851,9 +5851,10 @@ # -tp=3D* Portland pgcc target processor selection # --sysroot=3D* for sysroot support # -O*, -flto*, -fwhopr*, -fuse-linker-plugin GCC link-time optimizat= ion + # -fuse-ld=3D select linker -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=3D*|-xtarget=3D*|+DA*|+DD*|-q*|-= m*| \ =20=20=20=20=20=20 -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-tp=3D*|--sysroot=3D= *| \ - -O*|-flto*|-fwhopr*|-fuse-linker-plugin) + -O*|-flto*|-fwhopr*|-fuse-linker-plugin|-fuse-ld=3D*) func_quote_for_eval "$arg" arg=3D"$func_quote_for_eval_result" func_append compile_command " $arg" --=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-5DK9csn4co>