[Note: My armv7 context builds ports with -mcpu=cortex-a7 via a make.conf
like file. The in-use world also was built with -mcpu=cortex-a7 .]

In order to avoid the likes of:

.  . .
as -meabi=5 --defsym ARCHITECTURE=7 -march=armv7-a -mfloat-abi=hard -mfpu=neon 
-I./ -I"/wrkdirs/usr/ports/multimedia/libvpx/work/libvpx-1.7.0"/ -o 
vpx_dsp/arm/intrapred_neon_asm.asm.S.o vpx_dsp/arm/intrapred_neon_asm.asm.S
/bin/sh: as: not found
gmake[2]: *** [Makefile:199: vpx_dsp/arm/intrapred_neon_asm.asm.S.o] Error 127
gmake[1]: *** [Makefile:17: .DEFAULT] Error 2
gmake[1]: Leaving directory 
'/wrkdirs/usr/ports/multimedia/libvpx/work/libvpx-1.7.0'
*** Error code 1

Stop.
make: stopped in /usr/ports/multimedia/libvpx
. . .

in a context where FreeBSD world was built using WITHOUT_BINUTILS=
and then installed as the context for building ports, I made a change
to multimedia/libvpx/Makefile . I used:

# svnlite diff /usr/ports/multimedia/libvpx/Makefile 
Index: /usr/ports/multimedia/libvpx/Makefile
===================================================================
--- /usr/ports/multimedia/libvpx/Makefile       (revision 488859)
+++ /usr/ports/multimedia/libvpx/Makefile       (working copy)
@@ -14,7 +14,9 @@
 LICENSE_FILE=  ${WRKSRC}/LICENSE
 
 BUILD_DEPENDS= nasm:devel/nasm
+BUILD_DEPENDS+= as:devel/binutils
 
+
 USE_GITHUB=    yes
 GH_ACCOUNT=    webmproject
 

After which the reattempted build via poudriere-devel got:

[00:02:35] [02] [00:00:00] Building multimedia/libvpx | libvpx-1.7.0_3
. . .
[00:05:49] [02] [00:03:14] Finished multimedia/libvpx | libvpx-1.7.0_3: Success



(That text was actually taken from a amd64->armv7 cross-build environment
output.)


===
Mark Millard
marklmi at yahoo.com
( dsl-only.net went
away in early 2018-Mar)

_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[email protected]"

Reply via email to