Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 Jul 2018 13:26:14 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 214864] [exp-run] test build with lld as /usr/bin/ld
Message-ID:  <bug-214864-7788-9OKYyhUJTr@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-214864-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-214864-7788@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 #139 from Ed Maste <emaste@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 it=
self
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 sug=
gest
we just add to the affected ports:

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

--=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-7788-9OKYyhUJTr>