From owner-freebsd-ports@freebsd.org Wed Nov 14 21:51:32 2018 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 42DE31100E2B for ; Wed, 14 Nov 2018 21:51:32 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic310-21.consmr.mail.gq1.yahoo.com (sonic310-21.consmr.mail.gq1.yahoo.com [98.137.69.147]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 168E96F192 for ; Wed, 14 Nov 2018 21:51:30 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: X6Tlu8YVM1lv5cc9QS6fvMR_LlcvPsoYUXSxLOOWrwI3e3Dvi1TGchHRr0FQoJo cOA_1wYiKLcADBKIO0gQgrRAoY_EqLmC253lkOoGlBQrfUA1QV4ebdyxy4tWgvul48rPiaVVxNY9 Nk1H4xsNVInHohitpZWbcrPGP_kDITTbURhYlPYsQvSIWQBdjgwRMQ4UAXYSJ2w9zB7TWO.1ApFM THlo0QCzrHWQn849sd.AF4wEPkLDjsp3ewMs0z5JpdOIQT3ZtTmz3oTNmBsPhYY8DdoCpfPlPRBh xJhNz_S3eh2mcjhJmmGxnerUQdxAojWHQeX3rb7.gzcx7IP4I76.22IZ.Hr6xPwX60pqjO1Pnv9W q20Svo991_fsVzOwdzJyWdqtbqwvyhCdBR_uSAvF.G2EqqfzHEc1ciS32X0H__khUs52slITizPJ k4kX1l2OMvDWlhvxbq92zqMEd2GtNeOa6avJYuVds0Pi.D5ZwuVMZafd6Lqq28vHCjPKCKbUWMUY z_oH8EjP1SzpioiEA2nw.gVTljxzmUwwXpNMA1Vr2pvItGxT_NASC1nMTYLJZcGA8K0ZJruYHDez O9AttermRpuQumGs.8K6jxBphwB2dNrO0icQmEBt4PGU5uS66bV6jOxeADmT_f8lTUm59UIt7VGr d0_x1K_KioFbhXFvK9gb2gz199kmpdxTAfuP9.ai1ejMAVhbIrw4NzsbM4Ez_WADbVliwPspgfPg Qo26.BK4_Z5HU8v2Ot8_9K8IJhYOWurN7oS6X0vLRhzFQjEjNKg1_wdrY7f6h.HyBKZyfChcfNrd 09NocvPg6UO1tOVKPpodVEyeddCLH_zkklqBnxebr5LqvTwY1G2568o5.2GQ1XXVqaV5LeOu8cDE h0HlfBhefWoCq5yI1yNLcU1SspOy63mZTKOh3HL461YGC3i10.Nvs8AfegFCJ4BPe.r7FR3QS3EE gg2HYYLVitKDN2yy_rFo0_UpeG_wLdQlb_uUY0XpLHERUA0dC.D.iSa9B2C6kfuHCiJ9smXhDmJW GTh7EXcBcgRXlkqH.fqcA8gmxTyC2LZEHUaR2nef0HcgjFrI- Received: from sonic.gate.mail.ne1.yahoo.com by sonic310.consmr.mail.gq1.yahoo.com with HTTP; Wed, 14 Nov 2018 21:51:23 +0000 Received: from c-76-115-7-162.hsd1.or.comcast.net (EHLO [192.168.1.25]) ([76.115.7.162]) by smtp422.mail.gq1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID c4657b5fff3f2cadf8c824179fa4a58f; Wed, 14 Nov 2018 21:51:21 +0000 (UTC) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 12.1 \(3445.101.1\)) 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 Date: Wed, 14 Nov 2018 13:51:20 -0800 References: <56BE95DD-61E5-43CB-923D-10E968003FE3@yahoo.com> <5FF705ED-B019-4CB1-B516-796C2E7A6FF9@yahoo.com> To: ports-list freebsd , freebsd-x11@freebsd.org, Bryan Drewery In-Reply-To: <5FF705ED-B019-4CB1-B516-796C2E7A6FF9@yahoo.com> Message-Id: X-Mailer: Apple Mail (2.3445.101.1) X-Rspamd-Queue-Id: 168E96F192 X-Spamd-Result: default: False [-2.50 / 200.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[yahoo.com]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[text/plain]; FREEMAIL_FROM(0.00)[yahoo.com]; NEURAL_HAM_LONG(-1.00)[-0.997,0]; TO_DN_SOME(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[yahoo.com:+]; MX_GOOD(-0.01)[cached: mta6.am0.yahoodns.net]; RCVD_IN_DNSWL_NONE(0.00)[147.69.137.98.list.dnswl.org : 127.0.5.0]; NEURAL_HAM_SHORT(-0.23)[-0.230,0]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; IP_SCORE(0.24)[ipnet: 98.137.64.0/21(0.72), asn: 36647(0.58), country: US(-0.10)]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/21, country:US]; MID_RHS_MATCH_FROM(0.00)[] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Nov 2018 21:51:32 -0000 [Tracking down -O2 vs. -O lead to share/mk/sys.mk instead of to my materials. It in turn leads back to poudriere-devel with qemu-user-static in use defining MACHINE_ARCH but without it instead not doing so. share/mk/sys.mk behaves differently for with vs. without the definition, leading to -O2 vs -O differences in the two build contexts. Details later below.] On 2018-Nov-14, at 13:05, Mark Millard wrote: > [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(?).] >=20 > On 2018-Nov-14, at 10:10, Mark Millard wrote: >=20 >> I'll first note: >>=20 >> # /usr/bin/ld -v >> LLD 6.0.1 (FreeBSD 335540-1300000) (compatible with GNU linkers) >>=20 >> and that I use: >>=20 >> CFLAGS.clang+=3D -mcpu=3Dcortex-a7 >> CXXFLAGS.clang+=3D -mcpu=3Dcortex-a7 >> CPPFLAGS.clang+=3D -mcpu=3Dcortex-a7 >>=20 >> in the src.conf like = ~/src.configs/src.conf.armv7-clang-bootstrap.armv7-host >> file that I used. >>=20 >> The error reports were: >>=20 >> --- libpixman-1.la --- >> /bin/sh ../libtool --tag=3DCC --mode=3Dlink cc -O -pipe = -mcpu=3Dcortex-a7 -g -fno-strict-aliasing -Wall = -Wdeclaration-after-statement -Wno-unused-local-typedefs = -fno-strict-aliasing -fvisibility=3Dhid >> den -version-info 34:0:34 -no-undefined -pthread -o = libpixman-1.la -rpath /usr/local/lib pixman.lo pixman-access.lo = pixman-access-accessors.lo pixman-bits-image.lo pixman-combine32.lo = pixm >> an-combine-float.lo pixman-conical-gradient.lo pixman-filter.lo = pixman-x86.lo pixman-mips.lo pixman-arm.lo pixman-ppc.lo pixman-edge.lo = pixman-edge-accessors.lo pixman-fast-path.lo pixman-glyph.lo=20 >> pixman-general.lo pixman-gradient-walker.lo pixman-image.lo = pixman-implementation.lo pixman-linear-gradient.lo pixman-matrix.lo = pixman-noop.lo pixman-radial-gradient.lo pixman-region16.lo pixman-r >> egion32.lo pixman-solid-fill.lo pixman-timer.lo pixman-trap.lo = pixman-utils.lo -lm -lm libpixman-arm-simd.la = libpixman-arm-neon.la -lm >> libtool: link: cc -shared -fPIC -DPIC .libs/pixman.o = .libs/pixman-access.o .libs/pixman-access-accessors.o = .libs/pixman-bits-image.o .libs/pixman-combine32.o = .libs/pixman-combine-float.o .libs/pixma >> n-conical-gradient.o .libs/pixman-filter.o .libs/pixman-x86.o = .libs/pixman-mips.o .libs/pixman-arm.o .libs/pixman-ppc.o = .libs/pixman-edge.o .libs/pixman-edge-accessors.o = .libs/pixman-fast-path.o .libs >> /pixman-glyph.o .libs/pixman-general.o .libs/pixman-gradient-walker.o = .libs/pixman-image.o .libs/pixman-implementation.o = .libs/pixman-linear-gradient.o .libs/pixman-matrix.o .libs/pixman-noop.o = .libs/ >> pixman-radial-gradient.o .libs/pixman-region16.o = .libs/pixman-region32.o .libs/pixman-solid-fill.o .libs/pixman-timer.o = .libs/pixman-trap.o .libs/pixman-utils.o -Wl,--whole-archive = ./.libs/libpixman- >> arm-simd.a ./.libs/libpixman-arm-neon.a -Wl,--no-whole-archive -lm = -O -mcpu=3Dcortex-a7 -g -pthread -pthread -Wl,-soname = -Wl,libpixman-1.so.0 -o .libs/libpixman-1.so.0.34.0 >> /usr/bin/ld: error: can't create dynamic relocation R_ARM_V4BX = against local symbol in readonly segment; recompile object files with = -fPIC >>>>> defined in = ./.libs/libpixman-arm-simd.a(pixman-arm-simd-asm-scaled.o) >>>>> referenced by pixman-arm-simd-asm-scaled.o:(.text+0x1B8) in = archive ./.libs/libpixman-arm-simd.a >>=20 >> /usr/bin/ld: error: can't create dynamic relocation R_ARM_V4BX = against local symbol in readonly segment; recompile object files with = -fPIC >>>>> defined in = ./.libs/libpixman-arm-simd.a(pixman-arm-simd-asm-scaled.o) >>>>> referenced by pixman-arm-simd-asm-scaled.o:(.text+0x374) in = archive ./.libs/libpixman-arm-simd.a >>=20 >> /usr/bin/ld: error: can't create dynamic relocation R_ARM_V4BX = against local symbol in readonly segment; recompile object files with = -fPIC >>>>> defined in ./.libs/libpixman-arm-neon.a(pixman-arm-neon-asm.o) >>>>> referenced by pixman-arm-neon-asm.o:(.text+0x17AC) in archive = ./.libs/libpixman-arm-neon.a >>=20 >> /usr/bin/ld: error: can't create dynamic relocation R_ARM_V4BX = against local symbol in readonly segment; recompile object files with = -fPIC >>>>> defined in ./.libs/libpixman-arm-neon.a(pixman-arm-neon-asm.o) >>>>> referenced by pixman-arm-neon-asm.o:(.text+0x1814) in archive = ./.libs/libpixman-arm-neon.a >>=20 >> /usr/bin/ld: error: can't create dynamic relocation R_ARM_V4BX = against local symbol in readonly segment; recompile object files with = -fPIC >>>>> defined in ./.libs/libpixman-arm-neon.a(pixman-arm-neon-asm.o) >>>>> referenced by pixman-arm-neon-asm.o:(.text+0x1A38) in archive = ./.libs/libpixman-arm-neon.a >>=20 >> /usr/bin/ld: error: can't create dynamic relocation R_ARM_V4BX = against local symbol in readonly segment; recompile object files with = -fPIC >>>>> defined in ./.libs/libpixman-arm-neon.a(pixman-arm-neon-asm.o) >>>>> referenced by pixman-arm-neon-asm.o:(.text+0x1AFC) in archive = ./.libs/libpixman-arm-neon.a >>=20 >> /usr/bin/ld: error: can't create dynamic relocation R_ARM_V4BX = against local symbol in readonly segment; recompile object files with = -fPIC >>>>> defined in ./.libs/libpixman-arm-neon.a(pixman-arm-neon-asm.o) >>>>> referenced by pixman-arm-neon-asm.o:(.text+0x21C8) in archive = ./.libs/libpixman-arm-neon.a >>=20 >> /usr/bin/ld: error: can't create dynamic relocation R_ARM_V4BX = against local symbol in readonly segment; recompile object files with = -fPIC >>>>> defined in ./.libs/libpixman-arm-neon.a(pixman-arm-neon-asm.o) >>>>> referenced by pixman-arm-neon-asm.o:(.text+0x2294) in archive = ./.libs/libpixman-arm-neon.a >>=20 >> /usr/bin/ld: error: can't create dynamic relocation R_ARM_V4BX = against local symbol in readonly segment; recompile object files with = -fPIC >>>>> defined in ./.libs/libpixman-arm-neon.a(pixman-arm-neon-asm.o) >>>>> referenced by pixman-arm-neon-asm.o:(.text+0x84E0) in archive = ./.libs/libpixman-arm-neon.a >>=20 >> /usr/bin/ld: error: can't create dynamic relocation R_ARM_V4BX = against local symbol in readonly segment; recompile object files with = -fPIC >>>>> defined in ./.libs/libpixman-arm-neon.a(pixman-arm-neon-asm.o) >>>>> referenced by pixman-arm-neon-asm.o:(.text+0x85C4) in archive = ./.libs/libpixman-arm-neon.a >>=20 >> /usr/bin/ld: error: can't create dynamic relocation R_ARM_V4BX = against local symbol in readonly segment; recompile object files with = -fPIC >>>>> defined in ./.libs/libpixman-arm-neon.a(pixman-arm-neon-asm.o) >>>>> referenced by pixman-arm-neon-asm.o:(.text+0x9720) in archive = ./.libs/libpixman-arm-neon.a >>=20 >> /usr/bin/ld: error: can't create dynamic relocation R_ARM_V4BX = against local symbol in readonly segment; recompile object files with = -fPIC >>>>> defined in ./.libs/libpixman-arm-neon.a(pixman-arm-neon-asm.o) >>>>> referenced by pixman-arm-neon-asm.o:(.text+0x9834) in archive = ./.libs/libpixman-arm-neon.a >>=20 >> /usr/bin/ld: error: can't create dynamic relocation R_ARM_V4BX = against local symbol in readonly segment; recompile object files with = -fPIC >>>>> defined in ./.libs/libpixman-arm-neon.a(pixman-arm-neon-asm.o) >>>>> referenced by pixman-arm-neon-asm.o:(.text+0xA7B0) in archive = ./.libs/libpixman-arm-neon.a >>=20 >> /usr/bin/ld: error: can't create dynamic relocation R_ARM_V4BX = against local symbol in readonly segment; recompile object files with = -fPIC >>>>> defined in ./.libs/libpixman-arm-neon.a(pixman-arm-neon-asm.o) >>>>> referenced by pixman-arm-neon-asm.o:(.text+0xA8CC) in archive = ./.libs/libpixman-arm-neon.a >>=20 >> /usr/bin/ld: error: can't create dynamic relocation R_ARM_V4BX = against local symbol in readonly segment; recompile object files with = -fPIC >>>>> defined in ./.libs/libpixman-arm-neon.a(pixman-arm-neon-asm.o) >>>>> referenced by pixman-arm-neon-asm.o:(.text+0x105A0) in archive = ./.libs/libpixman-arm-neon.a >> /usr/bin/ld: error: can't create dynamic relocation R_ARM_V4BX = against local symbol in readonly segment; recompile object files with = -fPIC >>>>> defined in ./.libs/libpixman-arm-neon.a(pixman-arm-neon-asm.o) >>>>> referenced by pixman-arm-neon-asm.o:(.text+0x10DB8) in archive = ./.libs/libpixman-arm-neon.a >>=20 >> /usr/bin/ld: error: can't create dynamic relocation R_ARM_V4BX = against local symbol in readonly segment; recompile object files with = -fPIC >>>>> defined in ./.libs/libpixman-arm-neon.a(pixman-arm-neon-asm.o) >>>>> referenced by pixman-arm-neon-asm.o:(.text+0x11274) in archive = ./.libs/libpixman-arm-neon.a >> /usr/bin/ld: error: can't create dynamic relocation R_ARM_V4BX = against local symbol in readonly segment; recompile object files with = -fPIC >>>>> defined in ./.libs/libpixman-arm-neon.a(pixman-arm-neon-asm.o) >>>>> referenced by pixman-arm-neon-asm.o:(.text+0x11808) in archive = ./.libs/libpixman-arm-neon.a >> /usr/bin/ld: error: can't create dynamic relocation R_ARM_V4BX = against local symbol in readonly segment; recompile object files with = -fPIC >>>>> defined in = ./.libs/libpixman-arm-neon.a(pixman-arm-neon-asm-bilinear.o) >>>>> referenced by pixman-arm-neon-asm-bilinear.o:(.text+0x4F0) in = archive ./.libs/libpixman-arm-neon.a >>=20 >> /usr/bin/ld: error: can't create dynamic relocation R_ARM_V4BX = against local symbol in readonly segment; recompile object files with = -fPIC >>>>> defined in = ./.libs/libpixman-arm-neon.a(pixman-arm-neon-asm-bilinear.o) >>>>> referenced by pixman-arm-neon-asm-bilinear.o:(.text+0xABC) in = archive ./.libs/libpixman-arm-neon.a >>=20 >> /usr/bin/ld: error: too many errors emitted, stopping now (use = -error-limit=3D0 to see all errors) >> cc: error: linker command failed with exit code 1 (use -v to see = invocation) >> *** [libpixman-1.la] Error code 1 >>=20 >> make[3]: stopped in = /wrkdirs/usr/ports/x11/pixman/work/pixman-0.34.0/pixman >> 1 error >>=20 >> make[3]: stopped in = /wrkdirs/usr/ports/x11/pixman/work/pixman-0.34.0/pixman >> *** [all-recursive] Error code 1 >>=20 >>=20 >> FreeBSD context details: >>=20 >> # uname -apKU >> FreeBSD OPiP2E 13.0-CURRENT FreeBSD 13.0-CURRENT #5 r340287M: Sat Nov = 10 22:40:25 PST 2018 = markmi@FBSDFSSD:/usr/obj/armv7_clang/arm.armv7/usr/src/arm.armv7/sys/GENER= IC-NODBG arm armv7 1300003 1300003 >=20 >=20 > I went back and looked at the amd64 -> armv7 cross-build > ( that used teh poudriere-built /nxb-bin/usr/bin/ ) and it > did not complain: >=20 > --- libpixman-1.la --- > /bin/sh ../libtool --tag=3DCC --mode=3Dlink /nxb-bin/usr/bin/cc = -O2 -pipe -mcpu=3Dcortex-a7 -g -fno-strict-aliasing -Wall = -Wdeclaration-after-statement -Wno-unused-local-typedefs = -fno-strict-aliasing -fvisibility=3Dhidden -version-info 34:0:34 = -no-undefined -Wl,--no-threads -pthread -Wl,--no-threads -o = libpixman-1.la -rpath /usr/local/lib pixman.lo pixman-access.lo = pixman-access-accessors.lo pixman-bits-image.lo pixman-combine32.lo = pixman-combine-float.lo pixman-conical-gradient.lo pixman-filter.lo = pixman-x86.lo pixman-mips.lo pixman-arm.lo pixman-ppc.lo pixman-edge.lo = pixman-edge-accessors.lo pixman-fast-path.lo pixman-glyph.lo = pixman-general.lo pixman-gradient-walker.lo pixman-image.lo = pixman-implementation.lo pixman-linear-gradient.lo pixman-matrix.lo = pixman-noop.lo pixman-radial-gradient.lo pixman-region16.lo = pixman-region32.lo pixman-solid-fill.lo pixman-timer.lo pixman-trap.lo = pixman-utils.lo -lm -lm libpixman-arm-simd.la = libpixman-arm-neon.la -lm > libtool: link: /nxb-bin/usr/bin/cc -shared -fPIC -DPIC = .libs/pixman.o .libs/pixman-access.o .libs/pixman-access-accessors.o = .libs/pixman-bits-image.o .libs/pixman-combine32.o = .libs/pixman-combine-float.o .libs/pixman-conical-gradient.o = .libs/pixman-filter.o .libs/pixman-x86.o .libs/pixman-mips.o = .libs/pixman-arm.o .libs/pixman-ppc.o .libs/pixman-edge.o = .libs/pixman-edge-accessors.o .libs/pixman-fast-path.o = .libs/pixman-glyph.o .libs/pixman-general.o = .libs/pixman-gradient-walker.o .libs/pixman-image.o = .libs/pixman-implementation.o .libs/pixman-linear-gradient.o = .libs/pixman-matrix.o .libs/pixman-noop.o .libs/pixman-radial-gradient.o = .libs/pixman-region16.o .libs/pixman-region32.o = .libs/pixman-solid-fill.o .libs/pixman-timer.o .libs/pixman-trap.o = .libs/pixman-utils.o -Wl,--whole-archive ./.libs/libpixman-arm-simd.a = ./.libs/libpixman-arm-neon.a -Wl,--no-whole-archive -lm -O2 = -mcpu=3Dcortex-a7 -g -Wl,--no-threads -pthread -Wl,--no-threads = -pthread -Wl,-soname -Wl,libpixman-1.so.0 -o .libs/libpixman-1.so.0.34.0 > libtool: link: (cd ".libs" && rm -f "libpixman-1.so.0" && ln -s = "libpixman-1.so.0.34.0" "libpixman-1.so.0") > libtool: link: (cd ".libs" && rm -f "libpixman-1.so" && ln -s = "libpixman-1.so.0.34.0" "libpixman-1.so") > libtool: link: (cd .libs/libpixman-1.lax/libpixman-arm-simd.a && ar x = "/wrkdirs/usr/ports/x11/pixman/work/pixman-0.34.0/pixman/./.libs/libpixman= -arm-simd.a") > libtool: link: (cd .libs/libpixman-1.lax/libpixman-arm-neon.a && ar x = "/wrkdirs/usr/ports/x11/pixman/work/pixman-0.34.0/pixman/./.libs/libpixman= -arm-neon.a") > libtool: link: ar cru .libs/libpixman-1.a pixman.o pixman-access.o = pixman-access-accessors.o pixman-bits-image.o pixman-combine32.o = pixman-combine-float.o pixman-conical-gradient.o pixman-filter.o = pixman-x86.o pixman-mips.o pixman-arm.o pixman-ppc.o pixman-edge.o = pixman-edge-accessors.o pixman-fast-path.o pixman-glyph.o = pixman-general.o pixman-gradient-walker.o pixman-image.o = pixman-implementation.o pixman-linear-gradient.o pixman-matrix.o = pixman-noop.o pixman-radial-gradient.o pixman-region16.o = pixman-region32.o pixman-solid-fill.o pixman-timer.o pixman-trap.o = pixman-utils.o = .libs/libpixman-1.lax/libpixman-arm-simd.a/pixman-arm-simd-asm-scaled.o = .libs/libpixman-1.lax/libpixman-arm-simd.a/pixman-arm-simd-asm.o = .libs/libpixman-1.lax/libpixman-arm-simd.a/pixman-arm-simd.o = .libs/libpixman-1.lax/libpixman-arm-neon.a/pixman-arm-neon-asm-bilinear.o = .libs/libpixman-1.lax/libpixman-arm-neon.a/pixman-arm-neon-asm.o = .libs/libpixman-1.lax/libpixman-arm-neon.a/pixman-arm-neon.o=20 > libtool: link: ranlib .libs/libpixman-1.a > libtool: link: rm -fr .libs/libpixman-1.lax > libtool: link: ( cd ".libs" && rm -f "libpixman-1.la" && ln -s = "../libpixman-1.la" "libpixman-1.la" ) > = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > . . . >=20 >=20 > So I diff'd the logs and found the following (selective extraction): > (- for amd64 -> armv7; + for armv7) >=20 > -Poudriere version: 3.2.99.20180601 > +Poudriere version: 3.2.99.20181024 >=20 > This is was expected but may mean that I need to wait > until the armv7 has 3.2.99.20181024 and I try via > it. >=20 > -SHELL=3D/bin/csh > -UNAME_p=3Darmv7 > -UNAME_m=3Darm > -ABI_FILE=3D/usr/lib/crt1.o > +SHELL=3D/bin/sh >=20 > The SHELL's I expected but the other 3 lines I did not. > But the 3 lines may only occur under qemu-user-static > style use. >=20 > -QEMU_EMULATING=3D1 >=20 > Expected. >=20 > In CONFIGURE_ENV: >=20 > amd64 -> armv7: CCASFLAGS having -O2 > armv7: CCASFLAGS having -O >=20 > In MAKE_ENV: >=20 > amd64 -> armv7: CFLAGS having -O2 > armv7: CFLAGS having -O >=20 >=20 > (The -O2 vs. -O context differences may well be important > to the behavior.) >=20 > (I'll not list /nxb-bin/. . . path use vs. not.) >=20 > Later: >=20 > -MACHINE=3Darm > -MACHINE_ARCH=3Darmv7 > -ARCH=3D${MACHINE_ARCH} >=20 > -.if ${LDFLAGS:M-fuse-ld=3D*lld*} || ${/usr/bin/ld:L:tA} =3D=3D = /usr/bin/ld.lld > -LDFLAGS+=3D -Wl,--no-threads > -.endif >=20 > (That last was part of an experiment with avoiding a > user-arm-static hangup.) >=20 > -_SMP_CPUS=3D28 > +_SMP_CPUS=3D4 >=20 > I'll stop with that. It looks to me like -O2 vs. -O > would be the likely distinction. While my materials > probably caused that difference(?), the port likely > should support both ways of building(?). /usr/src/share/mk/sys.mk has: .if !defined(%POSIX) #=20 # MACHINE_CPUARCH defines a collection of MACHINE_ARCH. Machines with # the same MACHINE_ARCH can run each other's binaries, so it necessarily # has word size and endian swizzled in. However, the source files for # these machines often are shared amongst all combinations of size # and/or endian. This is called MACHINE_CPU in NetBSD, but that's used # for something different in FreeBSD. # = __TO_CPUARCH=3DC/mips(n32|64)?(el)?(hf)?/mips/:C/arm(v[67])?(eb)?/arm/:C/p= owerpc(64|spe)/powerpc/:C/riscv64(sf)?/riscv/ MACHINE_CPUARCH=3D${MACHINE_ARCH:${__TO_CPUARCH}} .endif . . . .if ${MACHINE_CPUARCH} =3D=3D "arm" || ${MACHINE_CPUARCH} =3D=3D "mips" CFLAGS ?=3D -O -pipe .else CFLAGS ?=3D -O2 -pipe .endif . . . So with qemu-user-static involved MACHINE_ARCH was defined as armv7 and MACHINE_CPUARCH was too. (See the earlier "-MACHINE_ARCH=3Darmv7" line of the log differences.) But without qemu-user-static involved MACHINE_ARCH was not defined and MACHINE_CPUARCH was defined as just arm . (No "+" line to match.) Overall result: the two contexts differ for -O2 vs. -O use in CFLAGS. =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar)