[Bug 233740] x11/pixman: LLD relocation errors on armv7

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Dec 3 10:28:36 UTC 2018


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

--- Comment #4 from Jan Beich <jbeich at FreeBSD.org> ---
(In reply to Charlie Li from comment #3)
> It appears that despite having devel/binutils as a build dependency, clang
> -no-integrated-as actually uses the base binutils as.

Indeed. In bug 221814 mmel@ dropped COMPILER_PATH without making sure GNU as(1)
from devel/binutils is actually used.

> the devel/binutils as, which does not emit any assembler messages
> like base binutils as does (lots of register alias redefinitions ignored).

Agree. Those warnings are worth fixing.

> Looks like devel/binutils as is doing something fishy.

I'm not sure. When adding -Wl,-z,notext the error message changes

  /usr/bin/ld: error:
./.libs/libpixman-arm-simd.a(pixman-arm-simd-asm-scaled.o):(.text+0x1B8):
unrecognized reloc 40

which suggests there maybe a bug in LLD.

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


More information about the freebsd-x11 mailing list