[Bug 214864] [exp-run] test build with lld as /usr/bin/ld
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Mon Sep 4 12:30:59 UTC 2017
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=214864
--- Comment #44 from Ed Maste <emaste at freebsd.org> ---
For libffi it seems we're again thwarted by libtool. libtool strips flags that
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=* Portland pgcc target processor selection
# --sysroot=* for sysroot support
# -O*, -flto*, -fwhopr*, -fuse-linker-plugin GCC link-time optimization
+ # -fuse-ld= select linker
-64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \
-t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-tp=*|--sysroot=*| \
- -O*|-flto*|-fwhopr*|-fuse-linker-plugin)
+ -O*|-flto*|-fwhopr*|-fuse-linker-plugin|-fuse-ld=*)
func_quote_for_eval "$arg"
arg="$func_quote_for_eval_result"
func_append compile_command " $arg"
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the freebsd-ports-bugs
mailing list