[Bug 214864] [exp-run] test build with lld as /usr/bin/ld

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Nov 26 21:07:50 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=214864

--- Comment #185 from Ed Maste <emaste at freebsd.org> ---
(In reply to Antoine Brodin from comment #184)
Thanks Antoine,

audio/mplayer doesn't look like a typical lld failure:
> Error: The GUI requires either FreeType or bitmap font support.
Of course it could be some secondary failure (e.g. a configure test that breaks
because of a linker problem.)

math/p5-Math-Pari has a patch waiting in PR230213

audio/deadbeef tracked in 233412

multimedia/transcode and multimedia/mencoder look like typical i386 ports
issues (non-PIC code in shared object):
> /usr/bin/ld: error: can't create dynamic relocation R_386_32 against local symbol in readonly segment; recompile object files with -fPIC

> /usr/bin/ld: error: can't create dynamic relocation R_386_32 against symbol: vo_sub in readonly segment; recompile object files with -fPIC
> >>> defined in sub/sub.o
> >>> referenced by mencoder.c
> >>>               mencoder.o:(set_osd_subtitle)

I will try to look at these last three (they probably just need
LDFLAGS=-Wl,-znotext, LLD_UNSAFE=yes, or CFLAGS=-fPIC).

What would you suggest as the threshold gating lld as /usr/bin/ld on i386 by
default?  Some port maintainers have expressed a willingness to address issues
with lld in their ports, but planned to wait until the issue is reproducible on
HEAD with default options.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the freebsd-ports-bugs mailing list