Date: Fri, 16 Nov 2018 21:58:26 +0100 From: Jan Beich <jbeich@FreeBSD.org> To: Mark Millard <marklmi@yahoo.com> Cc: ports-list freebsd <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: <a7m8-loy5-wny@FreeBSD.org> In-Reply-To: <A76D7D49-E36E-4665-AA4B-D083CCF7D57B@yahoo.com> (Mark Millard's message of "Fri, 16 Nov 2018 11:39:55 -0800") References: <A76D7D49-E36E-4665-AA4B-D083CCF7D57B@yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Mark Millard <marklmi@yahoo.com> writes: > Jan Beich jbeich at FreeBSD.org wrote on > Fri Nov 16 02:15:57 UTC 2018 : > >> Mark Millard via freebsd-x11 <freebsd-x11 at 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. [...] > Do you have a log that would show the commands that were used to produce > the things that were listed in my original report for the "R_ARM_V4BX > against local in readonly segment": Build logs: - clang/lld 6.0: https://ptpb.pw/5dip (via devel/llvm60) - clang/lld 7.0: https://ptpb.pw/wwi9 (via native-xtools) - -mcpu=cortex-a7: https://ptpb.pw/_zAP
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?a7m8-loy5-wny>