Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 766234 - dev-lang/php-7.4.13 -- ‘armv8-a’ does not support feature ‘nothing’
Summary: dev-lang/php-7.4.13 -- ‘armv8-a’ does not support feature ‘nothing’
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-01-20 01:56 UTC by Gary E. Miller
Modified: 2021-04-24 19:39 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build log (build.log,409.34 KB, text/plain)
2021-01-20 01:57 UTC, Gary E. Miller
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gary E. Miller 2021-01-20 01:56:26 UTC
Fails to emerge

Reproducible: Always

Steps to Reproduce:
1. emerge =dev-lang/php-7.4.13
2.
3.
Actual Results:  
Fails

Expected Results:  
Success.

pi4 /etc/nginx # emerge -pqv '=dev-lang/php-7.4.13::gentoo'
[ebuild     U ] dev-lang/php-7.4.13 [7.4.6] USE="acl bzip2 cli ctype fileinfo filter flatfile fpm gdbm iconv ipv6 json nls opcache phar posix readline session simplexml sqlite ssl threads tokenizer unicode xml zlib -apache2 -argon2 -bcmath -berkdb -calendar -cdb -cgi -cjk (-coverage) -curl -debug -embed -enchant -exif -ffi (-firebird) -ftp -gd -gmp -imap -inifile -intl -iodbc -kerberos -ldap -ldap-sasl -libedit -libressl -lmdb -mhash (-mssql) -mysql -mysqli (-oci8-instant-client) -odbc -pcntl -pdo -phpdbg -postgres -qdbm (-selinux) -session-mm -sharedmem -snmp -soap -sockets -sodium -spell -systemd -sysvipc -test -tidy -tokyocabinet -truetype -webp -xmlreader -xmlrpc -xmlwriter -xpm -xslt -zip" 
pi4 /etc/nginx # emerge --info '=dev-lang/php-7.4.13::gentoo'
Portage 3.0.13 (python 3.8.6-final-0, default/linux/arm/17.0, gcc-9.3.0, glibc-2.32-r5, 4.19.89-v7+ armv7l)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.19.89-v7+-armv7l-ARMv7_Processor_rev_4_-v7l-with-glibc2.4
KiB Mem:      996964 total,    534288 free
KiB Swap:    2097148 total,   2082044 free
Timestamp of repository gentoo: Tue, 19 Jan 2021 20:15:01 +0000
Head commit of repository gentoo: 0105fadff6eca0c3d95d2da3ec69ddeebcf15f05
sh bash 5.0_p18
ld GNU ld (Gentoo 2.33.1 p2) 2.33.1
app-shells/bash:          5.0_p18::gentoo
dev-lang/perl:            5.30.3::gentoo
dev-lang/python:          2.7.18-r5::gentoo, 3.6.12-r1::gentoo, 3.7.9::gentoo, 3.8.6-r1::gentoo, 3.9.0-r1::gentoo
dev-util/cmake:           3.17.4-r1::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.7::gentoo
sys-apps/openrc:          0.42.1::gentoo
sys-apps/sandbox:         2.20::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r5::gentoo
sys-devel/automake:       1.15.1-r2::gentoo, 1.16.2-r1::gentoo
sys-devel/binutils:       2.33.1-r1::gentoo, 2.34-r2::gentoo
sys-devel/gcc:            9.3.0-r2::gentoo
sys-devel/gcc-config:     2.3.2-r1::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.3::gentoo
sys-kernel/linux-headers: 5.4-r1::gentoo (virtual/os-headers)
sys-libs/glibc:           2.32-r5::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.namerica.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-jobs: 1
    sync-rsync-extra-opts: --exclude ChangeLog* --delete-excluded
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-max-age: 24

ACCEPT_KEYWORDS="arm"
ACCEPT_LICENSE="*"
CBUILD="armv7a-unknown-linux-gnueabihf"
CFLAGS="-march=armv8-a+crc -mtune=cortex-a53 -mfpu=crypto-neon-fp-armv8 -mfloat-abi=hard -O2 -pipe"
CHOST="armv7a-unknown-linux-gnueabihf"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php7.4/ext-active/ /etc/php/cgi-php7.4/ext-active/ /etc/php/cli-php7.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=armv8-a+crc -mtune=cortex-a53 -mfpu=crypto-neon-fp-armv8 -mfloat-abi=hard -O2 -pipe"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--keep-going --with-bdeps=y --backtrack=20"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2"
GENTOO_MIRRORS="http://gentoo.gossamerhost.com rsync://gentoo.gossamerhost.com/gentoo-distfiles/ http://gentoo.mirrors.tds.net/gentoo ftp://gentoo.netnitco.net/pub/mirrors/gentoo/source/ rsync://mirror.leaseweb.com/gentoo/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en en_US"
MAKEOPTS="-j2 -l3"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude ChangeLog* --delete-excluded"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="acl adns aio apm arm bash-completion berkdb bzip2 caps cli cpudetection crypt dane dri fontconfig fortran gdbm gzip hddtemp http2 iconv ipv6 jpeg kmod ldns libglvnd lm_sensors lz4 ncurses nfsv4 nfsv41 nls nptl openmp pam pcre png readline sctp seccomp smp split-usr sqlite ssh ssl tcpd threads tools truetype tty-helpers udev unicode urandom usb vim-syntax wifi xattr zlib zstd" ADA_TARGET="gnat_2018" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput" KERNEL="linux" L10N="en en-US" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" NGINX_MODULES_HTTP="access auth_basic autoindex browser charset empty_gif fastcgi geo gzip limit_conn limit_req map memcached proxy referer rewrite scgi spdy split_clients ssi upstream_hash upstream_ip_hash upstream_keepalive upstream_least_conn upstream_zone userid uwsgi" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-3 php7-4" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_8" PYTHON_TARGETS="python2_7 python3_8" RUBY_TARGETS="ruby26" USERLAND="GNU" VIDEO_CARDS="exynos fbdev omap dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
Comment 1 Gary E. Miller 2021-01-20 01:57:05 UTC
Created attachment 683800 [details]
build log

build log
Comment 2 Gary E. Miller 2021-01-20 01:57:42 UTC
```
/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
```
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-01-20 01:59:17 UTC
Out of interest, why are you running a 32 bit profile (arm/armv7) instead of arm64 on a Pi 4?
Comment 4 Gary E. Miller 2021-01-20 02:08:18 UTC
"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"
Comment 5 Gary E. Miller 2021-04-24 19:39:11 UTC
php 7.4.16 still has the same problem for me on arm32 (arm7l)