Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Nov 2018 03:15:51 +0100
From:      Jan Beich <jbeich@FreeBSD.org>
To:        Mark Millard via freebsd-x11 <freebsd-x11@freebsd.org>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: ports head -r487783: on armv7 x11/pixman fails to build: /usr/bin/ld: error: can't create dynamic relocation R_ARM_V4BX against local symbol in readonly segment; recompile object files with -fPIC
Message-ID:  <va4x-ix7s-wny@FreeBSD.org>
In-Reply-To: <5FF705ED-B019-4CB1-B516-796C2E7A6FF9@yahoo.com> (Mark Millard via freebsd-x's message of "Wed, 14 Nov 2018 13:05:27 -0800")
References:  <56BE95DD-61E5-43CB-923D-10E968003FE3@yahoo.com> <5FF705ED-B019-4CB1-B516-796C2E7A6FF9@yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Mark Millard via freebsd-x11 <freebsd-x11@freebsd.org> writes:

> [Added: The original cross-build via poudriere-devel and qemu-user-static
> did not get this problem. I give details later. Sumamry: Looks like -O2
> was used for the cross build and -O was used for armv7 native. The
> difference is likely(?) from my materials but not supporting both ways of
> building is likely a problem with the port(?).]

x11/pixman builds fine on armv7 even with -O. Tested both Clang/LLD 6.0
and 7.0 after forcing MACHINE_CPUARCH=arm on command line.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?va4x-ix7s-wny>