[Bug 230239] graphics/mesa-libs: fails to build on i386 with lld as /usr/bin/ld

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Aug 1 12:31:46 UTC 2018


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

Ed Maste <emaste at freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           See Also|                            |https://bugs.freebsd.org/bu
                   |                            |gzilla/show_bug.cgi?id=2257
                   |                            |41

--- Comment #2 from Ed Maste <emaste at freebsd.org> ---
Same issue was fixed in openjdk in PR225741 although it had an additional
complication because the openjdk build does not honour LDFLAGS.

Here I think that this should work:

.if ${ARCH} == i386
# PR230239 Fix the build for i386 when WITH_LLD_IS_LD is set
LDFLAGS+=-Wl,-z,notext
.endif

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-x11 mailing list