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

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Jul 31 13:26:18 UTC 2018


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

--- Comment #139 from Ed Maste <emaste at freebsd.org> ---
(In reply to Antoine Brodin from comment #138)

Thanks. The affected ports all seem to be relocations against symbols in
readonly segments, which is broadly indicative of an issue with the port itself
and the ports should most likely be fixed to avoid these relocations (-fPIC,
rewriting bespoke asm), or as a workaround specifying -znotext (allowing
relocations against ro segments). However, as an expedient workaround I suggest
we just add to the affected ports:

.if ${ARCH}=="i386"
# relocation against symbol in readonly segment
LLD_UNSAFE= yes
.endif

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


More information about the freebsd-ports-bugs mailing list