Summary: | dev-lang/php-7.4.13, to -8.1.12 -- ‘armv7l’ does not support feature ‘nothing’ | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Gary E. Miller <gem> |
Component: | Current packages | Assignee: | PHP Bugs <php-bugs> |
Status: | UNCONFIRMED --- | ||
Severity: | normal | CC: | gem, mjo, sam |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | build log |
Description
Gary E. Miller
2021-01-20 01:56:26 UTC
Created attachment 683800 [details]
build log
build log
``` /bin/sh /var/tmp/portage/dev-lang/php-7.4.13/work/sapis-build/cli/libtool --silent --preserve-dup-deps --mode=compile armv7a-unknown-linux-gnueabihf-gcc -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -Iext/standard/ -I/var/tmp/portage/dev-lang/php-7.4.13/work/sapis-build/cli/ext/standard/ -DPHP_ATOM_INC -I/var/tmp/portage/dev-lang/php-7.4.13/work/sapis-build/cli/include -I/var/tmp/portage/dev-lang/php-7.4.13/work/sapis-build/cli/main -I/var/tmp/portage/dev-lang/php-7.4.13/work/sapis-build/cli -I/var/tmp/portage/dev-lang/php-7.4.13/work/sapis-build/cli/ext/date/lib -I/usr/include/libxml2 -I/var/tmp/portage/dev-lang/php-7.4.13/work/sapis-build/cli/ext/mbstring/libmbfl -I/var/tmp/portage/dev-lang/php-7.4.13/work/sapis-build/cli/ext/mbstring/libmbfl/mbfl -I/var/tmp/portage/dev-lang/php-7.4.13/work/sapis-build/cli/TSRM -I/var/tmp/portage/dev-lang/php-7.4.13/work/sapis-build/cli/Zend -D_REENTRANT -pthread -I/usr/include -march=armv8-a+crc -mtune=cortex-a53 -mfpu=crypto-neon-fp-armv8 -mfloat-abi=hard -O2 -pipe -fvisibility=hidden -pthread -Wall -Wno-strict-aliasing -DZTS -DZEND_SIGNALS -c /var/tmp/portage/dev-lang/php-7.4.13/work/sapis-build/cli/ext/standard/crc32.c -o ext/standard/crc32.lo /var/tmp/portage/dev-lang/php-7.4.13/work/sapis-build/cli/ext/standard/crc32.c:48:10: error: ‘armv8-a’ does not support feature ‘nothing’ 48 | # pragma GCC target ("+nothing+crc") | ^~~ /var/tmp/portage/dev-lang/php-7.4.13/work/sapis-build/cli/ext/standard/crc32.c:48:10: note: valid feature names are: crc simd crypto nocrypto nofp sb predres ``` Out of interest, why are you running a 32 bit profile (arm/armv7) instead of arm64 on a Pi 4? "pi4" is the host name. It was my 4th Raspberry Pi in service. It is a Raspberry Pi 3B with 32-bit kernel. I also have RasPi 3 with 64-bit kernel and a new Raspberry Pi 4B. pi4 ~ # uname -a Linux pi4.rellim.com 4.19.89-v7+ #1 SMP Fri Jan 3 20:39:06 PST 2020 armv7l ARMv7 Processor rev 4 (v7l) BCM2835 GNU/Linux pi4 ~ # eselect profile list Available profile symlink targets: [1] default/linux/arm/17.0 (stable) * pi4 ~ # arch armv7l From /etc/portage/make.conf: CFLAGS="-march=armv8-a+crc -mtune=cortex-a53 -mfpu=crypto-neon-fp-armv8 -mfloat-abi=hard -O2 -pipe" CHOST="armv7a-unknown-linux-gnueabihf" php 7.4.16 still has the same problem for me on arm32 (arm7l) I still have the same problem on php-8.1.12: /var/tmp/portage/dev-lang/php-8.1.12/work/sapis-build/cli/ext/standard/crc32.c:66:17: error: ‘armv8-a’ does not support feature ‘nothing’ 66 | static uint32_t crc32_aarch64(uint32_t crc, const char *p, size_t nr) { | ^~~~~~~~~~~~~ /var/tmp/portage/dev-lang/php-8.1.12/work/sapis-build/cli/ext/standard/crc32.c:66:17: note: valid feature names are: crc simd crypto nocrypto nofp sb predres make: *** [Makefile:1148: ext/standard/crc32.lo] Error 1 /bin/sh /var/tmp/portage/dev-lang/php-8.1.12/work/sapis-build/cli/libtool --silent --preserve-dup-deps --tag CC --mode=compile armv7a-unknown-linux-gnueabihf-cc -Iext/standard/ -I/var/tmp/portage/dev-lang/php-8.1.12/work/sapis-build/cli/ext/standard/ -I/var/tmp/portage/dev-lang/php-8.1.12/work/sapis-build/cli/include -I/var/tmp/portage/dev-lang/php-8.1.12/work/sapis-build/cli/main -I/var/tmp/portage/dev-lang/php-8.1.12/work/sapis-build/cli -I/var/tmp/portage/dev-lang/php-8.1.12/work/sapis-build/cli/ext/date/lib -I/usr/include/libxml2 -I/var/tmp/portage/dev-lang/php-8.1.12/work/sapis-build/cli/ext/mbstring/libmbfl -I/var/tmp/portage/dev-lang/php-8.1.12/work/sapis-build/cli/ext/mbstring/libmbfl/mbfl -I/var/tmp/portage/dev-lang/php-8.1.12/work/sapis-build/cli/TSRM -I/var/tmp/portage/dev-lang/php-8.1.12/work/sapis-build/cli/Zend -D_REENTRANT -pthread -fno-common -Wstrict-prototypes -Wformat-truncation -Wlogical-op -Wduplicated-cond -Wno-clobbered -Wall -Wextra -Wno-strict-aliasing -Wno-unused-parameter -Wno-sign-compare -march=armv8-a+crc -mtune=cortex-a53 -mfpu=crypto-neon-fp-armv8 -mfloat-abi=hard -O2 -pipe -fvisibility=hidden -pthread -Wimplicit-fallthrough=1 -DZTS -DZEND_SIGNALS -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -c /var/tmp/portage/dev-lang/php-8.1.12/work/sapis-build/cli/ext/standard/crc32.c -o ext/standard/crc32.lo -MMD -MF ext/standard/crc32.dep -MT ext/standard/crc32.lo /var/tmp/portage/dev-lang/php-8.1.12/work/sapis-build/cli/ext/standard/crc32.c:40:19: warning: function declaration isn’t a prototype [-Wstrict-prototypes] 40 | static inline int has_crc32_insn() { | ^~~~~~~~~~~~~~ /var/tmp/portage/dev-lang/php-8.1.12/work/sapis-build/cli/ext/standard/crc32.c:64:11: error: ‘armv8-a’ does not support feature ‘nothing’ 64 | # pragma GCC target ("+nothing+crc") | ^~~ /var/tmp/portage/dev-lang/php-8.1.12/work/sapis-build/cli/ext/standard/crc32.c:64:11: note: valid feature names are: crc simd crypto nocrypto nofp sb predres Note that dev-lang/php-8.2.3 builds fine for me on arm8a/aarch64. So an arm7l/gcc conflict. |