php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #78769 BREAKAGE: Remove configure checks for supported instruction sets
Submitted: 2019-11-01 02:44 UTC Modified: 2019-11-04 10:34 UTC
From: bugreports1 at gmail dot com Assigned: nikic (profile)
Status: Closed Package: Compile Failure
PHP Version: 7.4Git-2019-11-01 (Git) OS: Linux
Private report: No CVE-ID: None
 [2019-11-01 02:44 UTC] bugreports1 at gmail dot com
Description:
------------
https://git.php.net/?p=php-src.git;a=commitdiff;h=edccf32f7f36a8bc759b9482737e0c3efcb3a005

breaks build on sandybridge (export 'CFLAGS=-m64 -O3 -mfpmath=sse -msse2avx -mavx -march=sandybridge -mtune=sandybridge..')

--------------------

the last working 7.4 commit:

Fix bug #77930: Remove mmap limit 	commit | commitdiff | tree | snapshot (zip tar.gz)

--------------------

smells like the binary contains AVX2 code which is called at runtime

+ /usr/bin/bash /rpmbuild/PHP-PGO/profile.sh --php_build /home/builduser/rpmbuild/BUILD/php-7.4.0
-----------------------------------------------------------------------------------------
COLLECT DATA FOR PROFILE-GUIDED-OPTIMIZATION

HTTPD-BINARY:   /usr/sbin/httpd
PHP-MODULE:     /home/builduser/rpmbuild/BUILD/php-7.4.0/libs/libphp7.so
PHP-EXTENSIONS: /home/builduser/rpmbuild/BUILD/php-7.4.0/modules
PHP-CLI:        /home/builduser/rpmbuild/BUILD/php-7.4.0/sapi/cli/php
-----------------------------------------------------------------------------------------
/rpmbuild/PHP-PGO/profile.sh: line 174: 750493 Segmentation fault      (core dumped) $HTTPD_BINARY -X -f "$PROFILE_ROOT/httpd.conf"
NO WEBSERVER PID-FILE
/rpmbuild/PHP-PGO/profile.sh: line 240: 750596 Segmentation fault      (core dumped) $HTTPD_BINARY -X -f "$PROFILE_ROOT/httpd.conf" -k stop 2> '/dev/null'
PROFILING ERROR
error: Bad exit status from /var/tmp/rpm-tmp.RfcsMd (%build)


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2019-11-01 09:42 UTC] nikic@php.net
Before reverting this, I'd like to understand why it causes a problem, because I really don't see it based on code inspection alone...

Could you please provide your configure output, or at least what the result for these four queries are?

checking for __builtin_cpu_init... yes
checking for __builtin_cpu_supports... yes
...
checking for __attribute__((ifunc))... yes
checking for __attribute__((target))... yes
 [2019-11-01 10:56 UTC] bugreports1 at gmail dot com
the change itself is completly justified, it don't change limit runtime instructions at configure time but as it looks now without doing so the runtime checks are acting wrong while before AVX2 likely was filtered out completly

----------------------

[Fri Nov  1 11:52:08 2019] httpd[890748]: segfault at 0 ip 00007f1edbb87f91 sp 00007ffd65bfba90 error 4 in libphp7.so[7f1edb8d8000+577000]
[Fri Nov  1 11:52:08 2019] Code: 34 0e 45 88 75 02 49 89 d5 e9 77 ff ff ff 66 66 2e 0f 1f 84 00 00 00 00 00 53 66 48 8d 3d 3f 16 47 00 66 66 48 e8 4f 26 d5 ff <48> 83 38 00 74 11 48 8d 35 e2 ff ff ff bf fe 69 31 2c e8 48 32 d5
[Fri Nov  1 11:52:18 2019] httpd[890851]: segfault at 0 ip 00007f034c0f9f91 sp 00007ffc5809fed0 error 4 in libphp7.so[7f034be4a000+577000]
[Fri Nov  1 11:52:18 2019] Code: 34 0e 45 88 75 02 49 89 d5 e9 77 ff ff ff 66 66 2e 0f 1f 84 00 00 00 00 00 53 66 48 8d 3d 3f 16 47 00 66 66 48 e8 4f 26 d5 ff <48> 83 38 00 74 11 48 8d 35 e2 ff ff ff bf fe 69 31 2c e8 48 32 d5

----------------------

+ ./configure --host=x86_64-redhat-linux --build=x86_64-redhat-linux --target=x86_64-redhat-linux --prefix=/usr --program-prefix= --libdir=/usr/lib64/php --disable-all --enable-apcu=shared --enable-bcmath=shared --enable-calendar=shared --enable-cli --enable-ctype=shared --enable-dom=shared --enable-exif=shared --enable-fileinfo=shared --enable-filter --enable-gcc-global-regs --enable-gd=shared --enable-hash --enable-huge-code-pages --enable-inline-optimization --enable-intl=shared --enable-json=shared --enable-libxml --enable-mbregex --enable-mbstring=shared --enable-mysqlnd=shared --enable-opcache=shared --disable-opcache-jit --enable-pcntl=shared --enable-pdo=shared --enable-phar=shared --enable-posix=shared --enable-re2c-cgoto --enable-rtld-now --enable-session=shared --enable-shared --enable-simplexml=shared --enable-soap=shared --enable-sockets=shared --enable-tokenizer=shared --enable-xml=shared --enable-xmlreader=shared --enable-xmlwriter=shared --enable-zip=shared --with-apxs2=/usr/bin/apxs --with-bz2=shared,/usr --with-config-file-path=/etc --with-config-file-scan-dir=/etc/php.lounge.d --with-curl=shared,/usr --with-freetype --with-freetype-dir=/usr --with-gd=shared --with-iconv=shared --with-imap=shared,/usr --with-jpeg --with-jpeg-dir=/usr --with-layout=GNU --with-libdir=lib64 --with-libedit=shared,/usr --with-libxml --with-libxml-dir=/usr --with-libzip=/usr --with-mysql-sock=/var/lib/mysql/mysql.sock --with-mysqli=shared,mysqlnd --with-openssl=/usr --with-pcre-jit --with-pcre-regex --with-pdo-mysql=shared,mysqlnd --with-pic --with-png-dir=/usr --with-system-ciphers --with-system-tzdata --with-tidy=shared,/usr --with-zip=shared --with-zlib-dir=/usr --with-zlib=shared --without-ffi --without-kerberos --without-sodium --without-webp --without-webp-dir --without-xpm --disable-cgi --disable-debug-assertions --disable-dmalloc --disable-dtrace --disable-fuzzer --disable-gcov --disable-gd-jis-conv --disable-mysqlnd-compression-support --disable-opcache-file --disable-phpdbg --disable-rpath --disable-short-tags --disable-static --disable-zts --disable-debug --without-valgrind
configure: WARNING: unrecognized options: --enable-hash, --enable-libxml, --disable-opcache-jit, --enable-zip, --with-freetype-dir, --with-gd, --with-jpeg-dir, --with-libxml-dir, --with-libzip, --with-pcre-regex, --with-png-dir, --without-webp-dir, --disable-debug-assertions, --disable-fuzzer, --disable-opcache-file, --disable-zts
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for a sed that does not truncate output... /usr/bin/sed
checking build system type... x86_64-redhat-linux-gnu
checking host system type... x86_64-redhat-linux-gnu
checking target system type... x86_64-redhat-linux-gnu
checking for x86_64-redhat-linux-pkg-config... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for x86_64-redhat-linux-cc... gcc -m64 -O3 -mfpmath=sse -msse2avx -mavx -march=sandybridge -mtune=sandybridge -D_FORTIFY_SOURCE=2 -g0 -pipe -fstack-protector-strong --param=ssp-buffer-size=8 -falign-functions -falign-jumps -falign-loops -falign-labels -flimit-function-alignment -fdce -fdse -fexpensive-optimizations -fgraphite-identity -fipa-cp-clone -floop-unroll-and-jam -fmove-loop-invariants -fomit-frame-pointer -fopt-info-vec-optimized -foptimize-strlen -fpeel-loops -fsemantic-interposition -fsplit-loops -fsplit-paths -fstrict-aliasing -ftree-ch -ftree-dce -ftree-dse -ftree-loop-distribution -ftree-loop-if-convert -ftree-loop-if-convert-stores -ftree-loop-im -ftree-loop-ivcanon -ftree-pre -ftree-partial-pre -ftree-vectorize -ftree-loop-vectorize -ftree-slp-vectorize -funroll-loops -funswitch-loops -fvariable-expansion-in-unroller -fsimd-cost-model=unlimited -fvect-cost-model=unlimited -fwrapv -fno-exceptions -fno-gcse -fno-math-errno -Wformat -Werror=format-security -Wno-stack-protector -Wno-deprecated-declarations -Wno-missing-profile -Wno-unused-result -Wstrict-aliasing -Wa,--noexecstack
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc -m64 -O3 -mfpmath=sse -msse2avx -mavx -march=sandybridge -mtune=sandybridge -D_FORTIFY_SOURCE=2 -g0 -pipe -fstack-protector-strong --param=ssp-buffer-size=8 -falign-functions -falign-jumps -falign-loops -falign-labels -flimit-function-alignment -fdce -fdse -fexpensive-optimizations -fgraphite-identity -fipa-cp-clone -floop-unroll-and-jam -fmove-loop-invariants -fomit-frame-pointer -fopt-info-vec-optimized -foptimize-strlen -fpeel-loops -fsemantic-interposition -fsplit-loops -fsplit-paths -fstrict-aliasing -ftree-ch -ftree-dce -ftree-dse -ftree-loop-distribution -ftree-loop-if-convert -ftree-loop-if-convert-stores -ftree-loop-im -ftree-loop-ivcanon -ftree-pre -ftree-partial-pre -ftree-vectorize -ftree-loop-vectorize -ftree-slp-vectorize -funroll-loops -funswitch-loops -fvariable-expansion-in-unroller -fsimd-cost-model=unlimited -fvect-cost-model=unlimited -fwrapv -fno-exceptions -fno-gcse -fno-math-errno -Wformat -Werror=format-security -Wno-stack-protector -Wno-deprecated-declarations -Wno-missing-profile -Wno-unused-result -Wstrict-aliasing -Wa,--noexecstack accepts -g... yes
checking for gcc -m64 -O3 -mfpmath=sse -msse2avx -mavx -march=sandybridge -mtune=sandybridge -D_FORTIFY_SOURCE=2 -g0 -pipe -fstack-protector-strong --param=ssp-buffer-size=8 -falign-functions -falign-jumps -falign-loops -falign-labels -flimit-function-alignment -fdce -fdse -fexpensive-optimizations -fgraphite-identity -fipa-cp-clone -floop-unroll-and-jam -fmove-loop-invariants -fomit-frame-pointer -fopt-info-vec-optimized -foptimize-strlen -fpeel-loops -fsemantic-interposition -fsplit-loops -fsplit-paths -fstrict-aliasing -ftree-ch -ftree-dce -ftree-dse -ftree-loop-distribution -ftree-loop-if-convert -ftree-loop-if-convert-stores -ftree-loop-im -ftree-loop-ivcanon -ftree-pre -ftree-partial-pre -ftree-vectorize -ftree-loop-vectorize -ftree-slp-vectorize -funroll-loops -funswitch-loops -fvariable-expansion-in-unroller -fsimd-cost-model=unlimited -fvect-cost-model=unlimited -fwrapv -fno-exceptions -fno-gcse -fno-math-errno -Wformat -Werror=format-security -Wno-stack-protector -Wno-deprecated-declarations -Wno-missing-profile -Wno-unused-result -Wstrict-aliasing -Wa,--noexecstack option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -m64 -O3 -mfpmath=sse -msse2avx -mavx -march=sandybridge -mtune=sandybridge -D_FORTIFY_SOURCE=2 -g0 -pipe -fstack-protector-strong --param=ssp-buffer-size=8 -falign-functions -falign-jumps -falign-loops -falign-labels -flimit-function-alignment -fdce -fdse -fexpensive-optimizations -fgraphite-identity -fipa-cp-clone -floop-unroll-and-jam -fmove-loop-invariants -fomit-frame-pointer -fopt-info-vec-optimized -foptimize-strlen -fpeel-loops -fsemantic-interposition -fsplit-loops -fsplit-paths -fstrict-aliasing -ftree-ch -ftree-dce -ftree-dse -ftree-loop-distribution -ftree-loop-if-convert -ftree-loop-if-convert-stores -ftree-loop-im -ftree-loop-ivcanon -ftree-pre -ftree-partial-pre -ftree-vectorize -ftree-loop-vectorize -ftree-slp-vectorize -funroll-loops -funswitch-loops -fvariable-expansion-in-unroller -fsimd-cost-model=unlimited -fvect-cost-model=unlimited -fwrapv -fno-exceptions -fno-gcse -fno-math-errno -Wformat -Werror=format-security -Wno-stack-protector -Wno-deprecated-declarations -Wno-missing-profile -Wno-unused-result -Wstrict-aliasing -Wa,--noexecstack -E
checking for icc... no
checking for suncc... no
checking how to run the C preprocessor... gcc -m64 -O3 -mfpmath=sse -msse2avx -mavx -march=sandybridge -mtune=sandybridge -D_FORTIFY_SOURCE=2 -g0 -pipe -fstack-protector-strong --param=ssp-buffer-size=8 -falign-functions -falign-jumps -falign-loops -falign-labels -flimit-function-alignment -fdce -fdse -fexpensive-optimizations -fgraphite-identity -fipa-cp-clone -floop-unroll-and-jam -fmove-loop-invariants -fomit-frame-pointer -fopt-info-vec-optimized -foptimize-strlen -fpeel-loops -fsemantic-interposition -fsplit-loops -fsplit-paths -fstrict-aliasing -ftree-ch -ftree-dce -ftree-dse -ftree-loop-distribution -ftree-loop-if-convert -ftree-loop-if-convert-stores -ftree-loop-im -ftree-loop-ivcanon -ftree-pre -ftree-partial-pre -ftree-vectorize -ftree-loop-vectorize -ftree-slp-vectorize -funroll-loops -funswitch-loops -fvariable-expansion-in-unroller -fsimd-cost-model=unlimited -fvect-cost-model=unlimited -fwrapv -fno-exceptions -fno-gcse -fno-math-errno -Wformat -Werror=format-security -Wno-stack-protector -Wno-deprecated-declarations -Wno-missing-profile -Wno-unused-result -Wstrict-aliasing -Wa,--noexecstack -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking whether ln -s works... yes
checking for system library directory... lib64
checking whether to enable runpaths... no
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking for gawk... gawk
checking for bison... bison
checking for bison version... 3.0.5 (ok)
checking for re2c... re2c
checking for re2c version... 1.1.1 (ok)
checking whether to enable computed goto gcc extension with re2c... yes
checking whether re2c -g works... yes
checking whether C compiler accepts -fvisibility=hidden... yes
checking whether to force non-PIC code in shared modules... no
checking whether /dev/urandom exists... yes
checking for global register variables support... yes
checking whether atof() accepts NAN... no
checking whether atof() accepts INF... no
checking whether HUGE_VAL == INF... yes
checking whether HUGE_VAL + -HUGEVAL == NAN... no
checking whether __cpuid_count is available... yes
checking for pthreads_cflags... -pthread
checking for pthreads_lib... pthread

Configuring SAPI modules
checking for Apache 2 handler module support via DSO through APXS... yes
checking for setproctitle... no
checking sys/pstat.h usability... no
checking sys/pstat.h presence... no
checking for sys/pstat.h... no
checking for PS_STRINGS... no
checking for CLI build... yes
checking for embedded SAPI library support... no
checking for FPM build... no
checking for LiteSpeed support... no
checking for phpdbg support... no
checking for phpdbg web SAPI support... no
checking for phpdbg debug build... no
checking for phpdbg readline support... no
checking for CGI build... no
checking for chosen SAPI module... apache2handler
checking for executable SAPI binaries...  cli

Running system checks
checking for sendmail... /usr/sbin/sendmail
checking whether system uses EBCDIC... no
checking whether byte ordering is bigendian... no
checking whether writing to stdout works... This is the test message -- yes
checking for socket... yes
checking for socketpair... yes
checking for htonl... yes
checking for gethostname... yes
checking for gethostbyaddr... yes
checking for dlopen... no
checking for __dlopen... no
checking for dlopen in -ldl... yes
checking for dlsym... yes
checking for sin in -lm... yes
checking for inet_aton... yes
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking for dirent.h... yes
checking for sys/param.h... yes
checking for sys/types.h... (cached) yes
checking for sys/time.h... yes
checking for netinet/in.h... yes
checking for alloca.h... yes
checking for arpa/inet.h... yes
checking for arpa/nameser.h... yes
checking for crypt.h... yes
checking for dns.h... no
checking for fcntl.h... yes
checking for grp.h... yes
checking for ieeefp.h... no
checking for langinfo.h... yes
checking for locale.h... yes
checking for malloc.h... yes
checking for monetary.h... yes
checking for netdb.h... yes
checking for poll.h... yes
checking for pwd.h... yes
checking for resolv.h... yes
checking for strings.h... (cached) yes
checking for syslog.h... yes
checking for sysexits.h... yes
checking for sys/ioctl.h... yes
checking for sys/file.h... yes
checking for sys/mman.h... yes
checking for sys/mount.h... yes
checking for sys/poll.h... yes
checking for sys/resource.h... yes
checking for sys/select.h... yes
checking for sys/socket.h... yes
checking for sys/stat.h... (cached) yes
checking for sys/statfs.h... yes
checking for sys/statvfs.h... yes
checking for sys/vfs.h... yes
checking for sys/sysexits.h... no
checking for sys/uio.h... yes
checking for sys/wait.h... yes
checking for sys/loadavg.h... no
checking for termios.h... yes
checking for unistd.h... (cached) yes
checking for unix.h... no
checking for utime.h... yes
checking for sys/utsname.h... yes
checking for sys/ipc.h... yes
checking for dlfcn.h... yes
checking for tmmintrin.h... yes
checking for nmmintrin.h... yes
checking for immintrin.h... yes
checking for fopencookie... yes
checking for broken getcwd... no
checking for broken gcc optimize-strlen... no
checking whether struct tm is in sys/time.h or time.h... time.h
checking for struct tm.tm_zone... yes
checking for missing declarations of reentrant functions... done
checking for fclose declaration... ok
checking for struct flock... yes
checking for socklen_t... yes
checking size of intmax_t... 8
checking size of ssize_t... 8
checking size of ptrdiff_t... 8
checking size of short... 2
checking size of int... 4
checking size of long... 8
checking size of long long... 8
checking size of size_t... 8
checking for int8... no
checking for int16... no
checking for int32... no
checking for int64... no
checking for int8_t... yes
checking for int16_t... yes
checking for int32_t... yes
checking for int64_t... yes
checking for uint8... no
checking for uint16... no
checking for uint32... no
checking for uint64... no
checking for uint8_t... yes
checking for uint16_t... yes
checking for uint32_t... yes
checking for uint64_t... yes
checking for u_int8_t... yes
checking for u_int16_t... yes
checking for u_int32_t... yes
checking for u_int64_t... yes
checking for __builtin_expect... yes
checking for __builtin_clz... yes
checking for __builtin_ctzl... yes
checking for __builtin_ctzll... yes
checking for __builtin_smull_overflow... yes
checking for __builtin_smulll_overflow... yes
checking for __builtin_saddl_overflow... yes
checking for __builtin_saddll_overflow... yes
checking for __builtin_ssubl_overflow... yes
checking for __builtin_ssubll_overflow... yes
checking for __builtin_cpu_init... yes
checking for __builtin_cpu_supports... yes
checking for struct tm.tm_gmtoff... yes
checking for struct stat.st_blksize... yes
checking for struct stat.st_rdev... yes
checking for struct stat.st_blocks... yes
checking for size_t... yes
checking for uid_t in sys/types.h... yes
checking for struct sockaddr_storage... yes
checking for field sa_len in struct sockaddr... no
checking for __attribute__((ifunc))... yes
checking for __attribute__((target))... yes
checking for IPv6 support... yes
checking for alphasort... yes
checking for asctime_r... yes
checking for chroot... yes
checking for ctime_r... yes
checking for crypt... no
checking for explicit_memset... no
checking for flock... yes
checking for fpclass... no
checking for ftok... yes
checking for funopen... no
checking for gai_strerror... yes
checking for getcwd... yes
checking for getloadavg... yes
checking for getlogin... yes
checking for getprotobyname... yes
checking for getprotobynumber... yes
checking for getservbyname... yes
checking for getservbyport... yes
checking for getrusage... yes
checking for gettimeofday... yes
checking for gmtime_r... yes
checking for getpwnam_r... yes
checking for getgrnam_r... yes
checking for getpwuid_r... yes
checking for getwd... yes
checking for glob... yes
checking for grantpt... yes
checking for inet_ntoa... yes
checking for inet_ntop... yes
checking for inet_pton... yes
checking for localtime_r... yes
checking for lchown... yes
checking for mbrlen... yes
checking for memmove... yes
checking for mkstemp... yes
checking for mmap... yes
checking for nice... yes
checking for nl_langinfo... yes
checking for poll... yes
checking for ptsname... yes
checking for putenv... yes
checking for realpath... yes
checking for rand_r... yes
checking for scandir... yes
checking for setitimer... yes
checking for setenv... yes
checking for shutdown... yes
checking for sigprocmask... yes
checking for statfs... yes
checking for statvfs... yes
checking for std_syslog... no
checking for strcasecmp... yes
checking for strfmon... yes
checking for strnlen... yes
checking for strptime... yes
checking for strtok_r... yes
checking for symlink... yes
checking for tzset... yes
checking for unlockpt... yes
checking for unsetenv... yes
checking for usleep... yes
checking for utime... yes
checking for vasprintf... yes
checking for asprintf... yes
checking for nanosleep... yes
checking for memmem... yes
checking how many arguments gethostbyname_r() takes... six
checking for nanosleep in -lrt... yes
checking for getaddrinfo... yes
checking for __sync_fetch_and_add... yes
checking for strlcat... no
checking for strlcpy... no
checking for explicit_bzero... yes
checking for getopt... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for type of reentrant time-related functions... POSIX
checking for in_addr_t... yes
checking for crypt_r... no
checking for asm goto... yes
checking whether compiler supports VLA... yes
checking whether to enable valgrind support... no

General settings
checking whether to include gcov symbols... no
checking whether to include debugging symbols... no
checking whether to dlopen extensions with RTLD_NOW instead of RTLD_LAZY... yes
checking layout of installed files... GNU
checking path to configuration file... /etc
checking where to scan for configuration files... /etc/php.lounge.d
checking whether to enable PHP's own SIGCHLD handler... no
checking whether to explicitly link against libgcc... no
checking whether to enable short tags by default... no
checking whether to enable dmalloc... no
checking whether to enable IPv6 support... yes
checking whether to enable DTrace support... no
checking how big to make fd sets... using system default

Configuring extensions
checking io.h usability... no
checking io.h presence... no
checking for io.h... no
checking for strtoll... yes
checking for atoll... yes
checking for use of system timezone data... yes
checking whether to build with LIBXML support... yes
checking for libxml-2.0 >= 2.7.6... yes
checking for OpenSSL support... yes
checking for Kerberos support... no
checking whether to use system default cipher list instead of hardcoded value... yes
checking for RAND_egd... no
checking for openssl >= 1.0.1... yes
checking for PCRE library to use... bundled
checking whether to enable PCRE JIT functionality... yes
checking whether to enable the SQLite3 extension... no
checking for ZLIB support... yes, shared
checking for zlib >= 1.2.0.4... yes
checking whether to enable APCu support... yes, shared
checking if APCu should be allowed to use rwlocks... yes
checking if APCu should be built in debug mode... no
checking if APCu should clear on SIGUSR1... no
checking if APCu will use mmap (or shm)... yes
checking if APCu should utilize spinlocks before flocks... no
checking whether the target compiler supports builtin atomics... yes
checking for pthread rwlocks... yes
checking for pthread mutexes... yes
checking for sigaction... yes
checking for union semun... no
checking valgrind/memcheck.h usability... yes
checking valgrind/memcheck.h presence... yes
checking for valgrind/memcheck.h... yes
checking for shm_open in -lrt... yes
checking whether to include code coverage symbols... no
checking whether to enable bc style precision math functions... yes, shared
checking for BZip2 support... yes, shared
checking for BZ2_bzerror in -lbz2... yes
checking whether to enable calendar conversion support... yes, shared
checking whether to enable ctype functions... yes, shared
checking for cURL support... yes, shared
checking for libcurl >= 7.15.5... yes
checking for SSL support in libcurl... yes
checking for openssl support in libcurl... no
checking for curl_easy_perform in -lcurl... yes
checking for QDBM support... no
checking for GDBM support... no
checking for NDBM support... no
checking for TCADB support... no
checking for LMDB support... no
checking for Berkeley DB4 support... no
checking for Berkeley DB3 support... no
checking for Berkeley DB2 support... no
checking for DB1 support... no
checking for DBM support... no
checking for CDB support... no
checking for INI File support... no
checking for FlatFile support... no
checking whether to enable DBA interface... no
checking whether to enable DOM support... yes, shared
checking for libxml-2.0 >= 2.7.6... yes
checking whether to build with Enchant support... no
checking whether to enable EXIF (metadata from images) support... yes, shared
checking for FFI support... no
checking for fileinfo support... yes, shared
checking for strcasestr... yes
checking for utimes... yes
checking for strndup... yes
checking whether to enable input filter support... yes
checking whether to enable FTP support... no
checking OpenSSL dir for FTP... no
checking for GD support... yes, shared
checking for external libgd... no
checking for libwebp... no
checking for libjpeg... yes
checking for libXpm... no
checking for FreeType 2... yes
checking whether to enable JIS-mapped Japanese font support in GD... no
checking for fabsf... yes
checking for floorf... yes
checking for zlib... yes
checking for libpng... yes
checking for libjpeg... yes
checking for freetype2... yes
checking for GNU gettext support... no
checking for GNU MP support... no
checking for mhash support... no
checking size of long... (cached) 8
checking if we're at 64-bit platform... yes
checking for iconv support... yes, shared
checking for iconv... yes
checking if iconv is glibc's... yes
checking if iconv supports errno... yes
checking if iconv supports //IGNORE... no
checking if your cpp allows macro usage in include lines... yes
checking for IMAP support... yes, shared
checking for IMAP Kerberos support... no
checking for IMAP SSL support... no
checking for utf8_mime2text signature... new
checking for U8T_DECOMPOSE... yes
checking for pam_start in -lpam... yes
checking for crypt in -lcrypt... yes
checking whether rfc822_output_address_list function present... yes
checking whether build with IMAP works... yes
checking whether to enable internationalization support... yes, shared
checking for icu-uc >= 50.1 icu-io icu-i18n... yes
checking whether we are using the GNU C++ compiler... yes
checking whether gcc -m64 -O3 -mfpmath=sse -msse2avx -mavx -march=sandybridge -mtune=sandybridge -D_FORTIFY_SOURCE=2 -g0 -pipe -fstack-protector-strong --param=ssp-buffer-size=8 -falign-functions -falign-jumps -falign-loops -falign-labels -flimit-function-alignment -fdce -fdse -fexpensive-optimizations -fgraphite-identity -fipa-cp-clone -floop-unroll-and-jam -fmove-loop-invariants -fomit-frame-pointer -fopt-info-vec-optimized -foptimize-strlen -fpeel-loops -fsemantic-interposition -fsplit-loops -fsplit-paths -fstrict-aliasing -ftree-ch -ftree-dce -ftree-dse -ftree-loop-distribution -ftree-loop-if-convert -ftree-loop-if-convert-stores -ftree-loop-im -ftree-loop-ivcanon -ftree-pre -ftree-partial-pre -ftree-vectorize -ftree-loop-vectorize -ftree-slp-vectorize -funroll-loops -funswitch-loops -fvariable-expansion-in-unroller -fsimd-cost-model=unlimited -fvect-cost-model=unlimited -fwrapv -fno-exceptions -fno-gcse -fno-math-errno -Wformat -Werror=format-security -Wno-stack-protector -Wno-deprecated-declarations -Wno-missing-profile -Wno-unused-result -Wstrict-aliasing -Wa,--noexecstack accepts -g... yes
checking how to run the C++ preprocessor... gcc -m64 -O3 -mfpmath=sse -msse2avx -mavx -march=sandybridge -mtune=sandybridge -D_FORTIFY_SOURCE=2 -g0 -pipe -fstack-protector-strong --param=ssp-buffer-size=8 -falign-functions -falign-jumps -falign-loops -falign-labels -flimit-function-alignment -fdce -fdse -fexpensive-optimizations -fgraphite-identity -fipa-cp-clone -floop-unroll-and-jam -fmove-loop-invariants -fomit-frame-pointer -fopt-info-vec-optimized -foptimize-strlen -fpeel-loops -fsemantic-interposition -fsplit-loops -fsplit-paths -fstrict-aliasing -ftree-ch -ftree-dce -ftree-dse -ftree-loop-distribution -ftree-loop-if-convert -ftree-loop-if-convert-stores -ftree-loop-im -ftree-loop-ivcanon -ftree-pre -ftree-partial-pre -ftree-vectorize -ftree-loop-vectorize -ftree-slp-vectorize -funroll-loops -funswitch-loops -fvariable-expansion-in-unroller -fsimd-cost-model=unlimited -fvect-cost-model=unlimited -fwrapv -fno-exceptions -fno-gcse -fno-math-errno -Wformat -Werror=format-security -Wno-stack-protector -Wno-deprecated-declarations -Wno-missing-profile -Wno-unused-result -Wstrict-aliasing -Wa,--noexecstack -E
checking whether gcc -m64 -O3 -mfpmath=sse -msse2avx -mavx -march=sandybridge -mtune=sandybridge -D_FORTIFY_SOURCE=2 -g0 -pipe -fstack-protector-strong --param=ssp-buffer-size=8 -falign-functions -falign-jumps -falign-loops -falign-labels -flimit-function-alignment -fdce -fdse -fexpensive-optimizations -fgraphite-identity -fipa-cp-clone -floop-unroll-and-jam -fmove-loop-invariants -fomit-frame-pointer -fopt-info-vec-optimized -foptimize-strlen -fpeel-loops -fsemantic-interposition -fsplit-loops -fsplit-paths -fstrict-aliasing -ftree-ch -ftree-dce -ftree-dse -ftree-loop-distribution -ftree-loop-if-convert -ftree-loop-if-convert-stores -ftree-loop-im -ftree-loop-ivcanon -ftree-pre -ftree-partial-pre -ftree-vectorize -ftree-loop-vectorize -ftree-slp-vectorize -funroll-loops -funswitch-loops -fvariable-expansion-in-unroller -fsimd-cost-model=unlimited -fvect-cost-model=unlimited -fwrapv -fno-exceptions -fno-gcse -fno-math-errno -Wformat -Werror=format-security -Wno-stack-protector -Wno-deprecated-declarations -Wno-missing-profile -Wno-unused-result -Wstrict-aliasing -Wa,--noexecstack supports C++11 features with -std=c++11... yes
checking whether to enable JavaScript Object Serialization support... yes, shared
checking for LDAP support... no
checking whether to build with LDAP Cyrus SASL support... no
checking whether to enable multibyte string support... yes, shared
checking whether to enable multibyte regex support (requires oniguruma)... yes
checking for oniguruma... yes
checking if oniguruma has an invalid entry for KOI8 encoding... yes
checking for MySQLi support... yes, shared
checking for specified location of the MySQL UNIX socket... /var/lib/mysql/mysql.sock
checking for MySQL UNIX socket location... /var/lib/mysql/mysql.sock
checking for Oracle Database OCI8 support... no
checking for Adabas support... no
checking for SAP DB support... no
checking for Solid support... no
checking for IBM DB2 support... no
checking for Empress support... no
checking for Empress local access support... no
checking for a custom ODBC support... no
checking whether to build with iODBC support... no
checking for Easysoft ODBC-ODBC Bridge support... no
checking whether to build with unixODBC support... no
checking for DBMaker support... no
checking for any ODBC driver support... no
checking whether to enable Zend OPcache support... yes, shared
checking whether to enable copying PHP CODE pages into HUGE PAGES... yes
checking for mprotect... yes
checking for sysvipc shared memory support... yes
checking for mmap() using MAP_ANON shared memory support... yes
checking for shm_open in -lrt... yes
checking for mmap() using shm_open() shared memory support... yes
checking for shm_unlink in -lrt... yes
checking whether to enable pcntl support... yes, shared
checking for fork... yes
checking for waitpid... yes
checking for sigaction... (cached) yes
checking for getpriority... yes
checking for setpriority... yes
checking for wait3... yes
checking for wait4... yes
checking for sigwaitinfo... yes
checking for sigtimedwait... yes
checking for unshare... yes
checking for siginfo_t... yes
checking whether to enable PDO support... yes, shared
checking for PDO_DBLIB support via FreeTDS... no
checking for Firebird support for PDO... no
checking for MySQL support for PDO... yes, shared
checking for the location of libz... /usr
checking for MySQL UNIX socket location... /var/lib/mysql/mysql.sock
checking for PDO includes... /home/builduser/rpmbuild/BUILD/php-7.4.0/ext
checking Oracle OCI support for PDO... no
checking for ODBC v3 support for PDO... no
checking for PostgreSQL support for PDO... no
checking for sqlite 3 support for PDO... no
checking for PostgreSQL support... no
checking for phar archive support... yes, shared
checking for phar openssl support... no
checking whether to enable POSIX-like functions... yes, shared
checking sys/mkdev.h usability... no
checking sys/mkdev.h presence... no
checking for sys/mkdev.h... no
checking sys/sysmacros.h usability... yes
checking sys/sysmacros.h presence... yes
checking for sys/sysmacros.h... yes
checking for seteuid... yes
checking for setegid... yes
checking for setsid... yes
checking for getsid... yes
checking for getpgid... yes
checking for ctermid... yes
checking for mkfifo... yes
checking for mknod... yes
checking for setrlimit... yes
checking for getrlimit... yes
checking for getgroups... yes
checking for makedev... no
checking for initgroups... yes
checking for getgrgid_r... yes
checking for working ttyname_r() implementation... yes
checking for utsname.domainname... yes
checking for PSPELL support... no
checking for libedit readline replacement... yes, shared
configure: WARNING: libedit directory ignored, rely on pkg-config
checking for libedit... yes
checking for tgetent in -lncurses... yes
checking for readline in -ledit... yes
checking for rl_callback_read_char in -ledit... yes
checking for rl_on_new_line in -ledit... yes
checking for rl_completion_matches in -ledit... yes
checking for history_list in -ledit... yes
checking whether to enable PHP sessions... yes, shared
checking for mm support... no
checking whether pwrite works... yes
checking whether pread works... yes
checking whether to enable shmop support... no
checking whether to enable SimpleXML support... yes, shared
checking for libxml-2.0 >= 2.7.6... yes
checking for SNMP support... no
checking OpenSSL dir for SNMP... no
checking whether to enable SOAP support... yes, shared
checking for libxml-2.0 >= 2.7.6... yes
checking whether to enable sockets support... yes, shared
checking for hstrerror... yes
checking for if_nametoindex... yes
checking for if_indextoname... yes
checking netinet/tcp.h usability... yes
checking netinet/tcp.h presence... yes
checking for netinet/tcp.h... yes
checking sys/un.h usability... yes
checking sys/un.h presence... yes
checking for sys/un.h... yes
checking sys/sockio.h usability... no
checking sys/sockio.h presence... no
checking for sys/sockio.h... no
checking for field ss_family in struct sockaddr_storage... yes
checking if getaddrinfo supports AI_V4MAPPED... yes
checking if getaddrinfo supports AI_ALL... yes
checking if getaddrinfo supports AI_IDN... yes
checking for sodium support... no
checking whether flush should be called explicitly after a buffered io... no
checking for crypt in -lcrypt... (cached) yes
checking for standard DES crypt... yes
checking for extended DES crypt... yes
checking for MD5 crypt... yes
checking for Blowfish crypt... yes
checking for SHA512 crypt... yes
checking for SHA256 crypt... yes
checking whether the compiler supports __alignof__... yes
checking whether the compiler supports aligned attribute... yes
checking for asinh... yes
checking for acosh... yes
checking for atanh... yes
checking for log1p... yes
checking for hypot... yes
checking for working POSIX fnmatch... yes
checking for fork... (cached) yes
checking if your OS can spawn processes with inherited handles... yes
checking for res_nsearch... no
checking for __res_nsearch... no
checking for res_nsearch in -lresolv... no
checking for __res_nsearch in -lresolv... yes
checking for res_ndestroy... no
checking for __res_ndestroy... no
checking for res_ndestroy in -lresolv... no
checking for __res_ndestroy in -lresolv... no
checking for res_ndestroy in -lbind... no
checking for __res_ndestroy in -lbind... no
checking for res_ndestroy in -lsocket... no
checking for __res_ndestroy in -lsocket... no
checking for dns_search... no
checking for __dns_search... no
checking for dns_search in -lresolv... no
checking for __dns_search in -lresolv... no
checking for dns_search in -lbind... no
checking for __dns_search in -lbind... no
checking for dns_search in -lsocket... no
checking for __dns_search in -lsocket... no
checking for dn_expand... no
checking for __dn_expand... yes
checking for dn_skipname... no
checking for __dn_skipname... yes
checking for res_search... no
checking for __res_search... yes
checking whether strptime() declaration fails... yes
checking wchar.h usability... yes
checking wchar.h presence... yes
checking for wchar.h... yes
checking for mblen... yes
checking for mbstate_t... yes
checking atomic.h usability... no
checking atomic.h presence... no
checking for atomic.h... no
checking whether arc4random_buf is declared... no
checking for Argon2 support... no
checking for net/if.h... yes
checking for usable getifaddrs... yes
checking whether to enable System V IPC support... no
checking whether to enable System V semaphore support... no
checking whether to enable System V shared memory support... no
checking for TIDY support... yes, shared
checking for tidyOptGetDoc in -ltidy... yes
checking for tidyReleaseDate in -ltidy... yes
checking whether to enable tokenizer support... yes, shared
checking whether to enable XML support... yes, shared
checking whether to build with expat support... no
checking for libxml-2.0 >= 2.7.6... yes
checking whether to enable XMLReader support... yes, shared
checking for libxml-2.0 >= 2.7.6... yes
checking whether to build with XMLRPC-EPI support... no
checking whether to build with expat support... no
checking iconv dir for XMLRPC-EPI... no
checking whether to enable XMLWriter support... yes, shared
checking for libxml-2.0 >= 2.7.6... yes
checking whether to build with XSL support... no
checking whether to enable zend-test extension... no
checking for zip archive read/write support... yes, shared
checking for libzip >= 0.11... yes
checking for zip_file_set_encryption in -lzip... yes
checking for zip_libzip_version in -lzip... yes
checking whether to enable mysqlnd... yes, shared
checking whether to disable compressed protocol support in mysqlnd... no
checking for openssl >= 1.0.1... yes

Configuring PEAR
checking whether to install PEAR... no

Configuring Zend
checking cpuid.h usability... yes
checking cpuid.h presence... yes
checking for cpuid.h... yes
checking for getpid... yes
checking for kill... yes
checking for finite... yes
checking for sigsetjmp... no
checking whether isfinite is declared... yes
checking whether isnan is declared... yes
checking whether isinf is declared... yes
checking for usable _FPU_SETCW... yes
checking for usable fpsetprec... no
checking for usable _controlfp... no
checking for usable _controlfp_s... no
checking whether FPU control word can be manipulated by inline assembler... yes
checking whether double cast to long preserves least significant bits... no
checking whether dlsym() requires a leading underscore in symbol names... checking whether to enable thread-safety... no
checking whether to enable inline optimization for GCC... yes
checking whether to enable Zend debugging... no
checking for inline... inline
checking target system is Darwin... no
checking for MM alignment and log values... done
checking for mremap... yes
checking for sigaction... (cached) yes
checking whether to enable zend signal handling... yes

Configuring TSRM

Configuring libtool
checking how to print strings... printf
checking for a sed that does not truncate output... (cached) /usr/bin/sed
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc -m64 -O3 -mfpmath=sse -msse2avx -mavx -march=sandybridge -mtune=sandybridge -D_FORTIFY_SOURCE=2 -g0 -pipe -fstack-protector-strong --param=ssp-buffer-size=8 -falign-functions -falign-jumps -falign-loops -falign-labels -flimit-function-alignment -fdce -fdse -fexpensive-optimizations -fgraphite-identity -fipa-cp-clone -floop-unroll-and-jam -fmove-loop-invariants -fomit-frame-pointer -fopt-info-vec-optimized -foptimize-strlen -fpeel-loops -fsemantic-interposition -fsplit-loops -fsplit-paths -fstrict-aliasing -ftree-ch -ftree-dce -ftree-dse -ftree-loop-distribution -ftree-loop-if-convert -ftree-loop-if-convert-stores -ftree-loop-im -ftree-loop-ivcanon -ftree-pre -ftree-partial-pre -ftree-vectorize -ftree-loop-vectorize -ftree-slp-vectorize -funroll-loops -funswitch-loops -fvariable-expansion-in-unroller -fsimd-cost-model=unlimited -fvect-cost-model=unlimited -fwrapv -fno-exceptions -fno-gcse -fno-math-errno -Wformat -Werror=format-security -Wno-stack-protector -Wno-deprecated-declarations -Wno-missing-profile -Wno-unused-result -Wstrict-aliasing -Wa,--noexecstack... ld.lld
checking if the linker (ld.lld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-redhat-linux-gnu file names to x86_64-redhat-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-redhat-linux-gnu file names to toolchain format... func_convert_file_noop
checking for ld.lld option to reload object files... -r
checking for x86_64-redhat-linux-objdump... no
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for x86_64-redhat-linux-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for x86_64-redhat-linux-ar... no
checking for ar... ar
checking for archiver @FILE support... @
checking for x86_64-redhat-linux-strip... no
checking for strip... strip
checking for x86_64-redhat-linux-ranlib... no
checking for ranlib... ranlib
checking for gawk... (cached) gawk
checking command to parse /usr/bin/nm -B output from gcc -m64 -O3 -mfpmath=sse -msse2avx -mavx -march=sandybridge -mtune=sandybridge -D_FORTIFY_SOURCE=2 -g0 -pipe -fstack-protector-strong --param=ssp-buffer-size=8 -falign-functions -falign-jumps -falign-loops -falign-labels -flimit-function-alignment -fdce -fdse -fexpensive-optimizations -fgraphite-identity -fipa-cp-clone -floop-unroll-and-jam -fmove-loop-invariants -fomit-frame-pointer -fopt-info-vec-optimized -foptimize-strlen -fpeel-loops -fsemantic-interposition -fsplit-loops -fsplit-paths -fstrict-aliasing -ftree-ch -ftree-dce -ftree-dse -ftree-loop-distribution -ftree-loop-if-convert -ftree-loop-if-convert-stores -ftree-loop-im -ftree-loop-ivcanon -ftree-pre -ftree-partial-pre -ftree-vectorize -ftree-loop-vectorize -ftree-slp-vectorize -funroll-loops -funswitch-loops -fvariable-expansion-in-unroller -fsimd-cost-model=unlimited -fvect-cost-model=unlimited -fwrapv -fno-exceptions -fno-gcse -fno-math-errno -Wformat -Werror=format-security -Wno-stack-protector -Wno-deprecated-declarations -Wno-missing-profile -Wno-unused-result -Wstrict-aliasing -Wa,--noexecstack object... ok
checking for sysroot... no
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for x86_64-redhat-linux-mt... no
checking for mt... no
checking if : is a manifest tool... no
checking for dlfcn.h... (cached) yes
checking for objdir... .libs
checking if gcc -m64 -O3 -mfpmath=sse -msse2avx -mavx -march=sandybridge -mtune=sandybridge -D_FORTIFY_SOURCE=2 -g0 -pipe -fstack-protector-strong --param=ssp-buffer-size=8 -falign-functions -falign-jumps -falign-loops -falign-labels -flimit-function-alignment -fdce -fdse -fexpensive-optimizations -fgraphite-identity -fipa-cp-clone -floop-unroll-and-jam -fmove-loop-invariants -fomit-frame-pointer -fopt-info-vec-optimized -foptimize-strlen -fpeel-loops -fsemantic-interposition -fsplit-loops -fsplit-paths -fstrict-aliasing -ftree-ch -ftree-dce -ftree-dse -ftree-loop-distribution -ftree-loop-if-convert -ftree-loop-if-convert-stores -ftree-loop-im -ftree-loop-ivcanon -ftree-pre -ftree-partial-pre -ftree-vectorize -ftree-loop-vectorize -ftree-slp-vectorize -funroll-loops -funswitch-loops -fvariable-expansion-in-unroller -fsimd-cost-model=unlimited -fvect-cost-model=unlimited -fwrapv -fno-exceptions -fno-gcse -fno-math-errno -Wformat -Werror=format-security -Wno-stack-protector -Wno-deprecated-declarations -Wno-missing-profile -Wno-unused-result -Wstrict-aliasing -Wa,--noexecstack supports -fno-rtti -fno-exceptions... no
checking for gcc -m64 -O3 -mfpmath=sse -msse2avx -mavx -march=sandybridge -mtune=sandybridge -D_FORTIFY_SOURCE=2 -g0 -pipe -fstack-protector-strong --param=ssp-buffer-size=8 -falign-functions -falign-jumps -falign-loops -falign-labels -flimit-function-alignment -fdce -fdse -fexpensive-optimizations -fgraphite-identity -fipa-cp-clone -floop-unroll-and-jam -fmove-loop-invariants -fomit-frame-pointer -fopt-info-vec-optimized -foptimize-strlen -fpeel-loops -fsemantic-interposition -fsplit-loops -fsplit-paths -fstrict-aliasing -ftree-ch -ftree-dce -ftree-dse -ftree-loop-distribution -ftree-loop-if-convert -ftree-loop-if-convert-stores -ftree-loop-im -ftree-loop-ivcanon -ftree-pre -ftree-partial-pre -ftree-vectorize -ftree-loop-vectorize -ftree-slp-vectorize -funroll-loops -funswitch-loops -fvariable-expansion-in-unroller -fsimd-cost-model=unlimited -fvect-cost-model=unlimited -fwrapv -fno-exceptions -fno-gcse -fno-math-errno -Wformat -Werror=format-security -Wno-stack-protector -Wno-deprecated-declarations -Wno-missing-profile -Wno-unused-result -Wstrict-aliasing -Wa,--noexecstack option to produce PIC... -fPIC -DPIC
checking if gcc -m64 -O3 -mfpmath=sse -msse2avx -mavx -march=sandybridge -mtune=sandybridge -D_FORTIFY_SOURCE=2 -g0 -pipe -fstack-protector-strong --param=ssp-buffer-size=8 -falign-functions -falign-jumps -falign-loops -falign-labels -flimit-function-alignment -fdce -fdse -fexpensive-optimizations -fgraphite-identity -fipa-cp-clone -floop-unroll-and-jam -fmove-loop-invariants -fomit-frame-pointer -fopt-info-vec-optimized -foptimize-strlen -fpeel-loops -fsemantic-interposition -fsplit-loops -fsplit-paths -fstrict-aliasing -ftree-ch -ftree-dce -ftree-dse -ftree-loop-distribution -ftree-loop-if-convert -ftree-loop-if-convert-stores -ftree-loop-im -ftree-loop-ivcanon -ftree-pre -ftree-partial-pre -ftree-vectorize -ftree-loop-vectorize -ftree-slp-vectorize -funroll-loops -funswitch-loops -fvariable-expansion-in-unroller -fsimd-cost-model=unlimited -fvect-cost-model=unlimited -fwrapv -fno-exceptions -fno-gcse -fno-math-errno -Wformat -Werror=format-security -Wno-stack-protector -Wno-deprecated-declarations -Wno-missing-profile -Wno-unused-result -Wstrict-aliasing -Wa,--noexecstack PIC flag -fPIC -DPIC works... yes
checking if gcc -m64 -O3 -mfpmath=sse -msse2avx -mavx -march=sandybridge -mtune=sandybridge -D_FORTIFY_SOURCE=2 -g0 -pipe -fstack-protector-strong --param=ssp-buffer-size=8 -falign-functions -falign-jumps -falign-loops -falign-labels -flimit-function-alignment -fdce -fdse -fexpensive-optimizations -fgraphite-identity -fipa-cp-clone -floop-unroll-and-jam -fmove-loop-invariants -fomit-frame-pointer -fopt-info-vec-optimized -foptimize-strlen -fpeel-loops -fsemantic-interposition -fsplit-loops -fsplit-paths -fstrict-aliasing -ftree-ch -ftree-dce -ftree-dse -ftree-loop-distribution -ftree-loop-if-convert -ftree-loop-if-convert-stores -ftree-loop-im -ftree-loop-ivcanon -ftree-pre -ftree-partial-pre -ftree-vectorize -ftree-loop-vectorize -ftree-slp-vectorize -funroll-loops -funswitch-loops -fvariable-expansion-in-unroller -fsimd-cost-model=unlimited -fvect-cost-model=unlimited -fwrapv -fno-exceptions -fno-gcse -fno-math-errno -Wformat -Werror=format-security -Wno-stack-protector -Wno-deprecated-declarations -Wno-missing-profile -Wno-unused-result -Wstrict-aliasing -Wa,--noexecstack static flag -static works... yes
checking if gcc -m64 -O3 -mfpmath=sse -msse2avx -mavx -march=sandybridge -mtune=sandybridge -D_FORTIFY_SOURCE=2 -g0 -pipe -fstack-protector-strong --param=ssp-buffer-size=8 -falign-functions -falign-jumps -falign-loops -falign-labels -flimit-function-alignment -fdce -fdse -fexpensive-optimizations -fgraphite-identity -fipa-cp-clone -floop-unroll-and-jam -fmove-loop-invariants -fomit-frame-pointer -fopt-info-vec-optimized -foptimize-strlen -fpeel-loops -fsemantic-interposition -fsplit-loops -fsplit-paths -fstrict-aliasing -ftree-ch -ftree-dce -ftree-dse -ftree-loop-distribution -ftree-loop-if-convert -ftree-loop-if-convert-stores -ftree-loop-im -ftree-loop-ivcanon -ftree-pre -ftree-partial-pre -ftree-vectorize -ftree-loop-vectorize -ftree-slp-vectorize -funroll-loops -funswitch-loops -fvariable-expansion-in-unroller -fsimd-cost-model=unlimited -fvect-cost-model=unlimited -fwrapv -fno-exceptions -fno-gcse -fno-math-errno -Wformat -Werror=format-security -Wno-stack-protector -Wno-deprecated-declarations -Wno-missing-profile -Wno-unused-result -Wstrict-aliasing -Wa,--noexecstack supports -c -o file.o... yes
checking if gcc -m64 -O3 -mfpmath=sse -msse2avx -mavx -march=sandybridge -mtune=sandybridge -D_FORTIFY_SOURCE=2 -g0 -pipe -fstack-protector-strong --param=ssp-buffer-size=8 -falign-functions -falign-jumps -falign-loops -falign-labels -flimit-function-alignment -fdce -fdse -fexpensive-optimizations -fgraphite-identity -fipa-cp-clone -floop-unroll-and-jam -fmove-loop-invariants -fomit-frame-pointer -fopt-info-vec-optimized -foptimize-strlen -fpeel-loops -fsemantic-interposition -fsplit-loops -fsplit-paths -fstrict-aliasing -ftree-ch -ftree-dce -ftree-dse -ftree-loop-distribution -ftree-loop-if-convert -ftree-loop-if-convert-stores -ftree-loop-im -ftree-loop-ivcanon -ftree-pre -ftree-partial-pre -ftree-vectorize -ftree-loop-vectorize -ftree-slp-vectorize -funroll-loops -funswitch-loops -fvariable-expansion-in-unroller -fsimd-cost-model=unlimited -fvect-cost-model=unlimited -fwrapv -fno-exceptions -fno-gcse -fno-math-errno -Wformat -Werror=format-security -Wno-stack-protector -Wno-deprecated-declarations -Wno-missing-profile -Wno-unused-result -Wstrict-aliasing -Wa,--noexecstack supports -c -o file.o... (cached) yes
checking whether the gcc -m64 -O3 -mfpmath=sse -msse2avx -mavx -march=sandybridge -mtune=sandybridge -D_FORTIFY_SOURCE=2 -g0 -pipe -fstack-protector-strong --param=ssp-buffer-size=8 -falign-functions -falign-jumps -falign-loops -falign-labels -flimit-function-alignment -fdce -fdse -fexpensive-optimizations -fgraphite-identity -fipa-cp-clone -floop-unroll-and-jam -fmove-loop-invariants -fomit-frame-pointer -fopt-info-vec-optimized -foptimize-strlen -fpeel-loops -fsemantic-interposition -fsplit-loops -fsplit-paths -fstrict-aliasing -ftree-ch -ftree-dce -ftree-dse -ftree-loop-distribution -ftree-loop-if-convert -ftree-loop-if-convert-stores -ftree-loop-im -ftree-loop-ivcanon -ftree-pre -ftree-partial-pre -ftree-vectorize -ftree-loop-vectorize -ftree-slp-vectorize -funroll-loops -funswitch-loops -fvariable-expansion-in-unroller -fsimd-cost-model=unlimited -fvect-cost-model=unlimited -fwrapv -fno-exceptions -fno-gcse -fno-math-errno -Wformat -Werror=format-security -Wno-stack-protector -Wno-deprecated-declarations -Wno-missing-profile -Wno-unused-result -Wstrict-aliasing -Wa,--noexecstack linker (ld.lld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking how to run the C++ preprocessor... gcc -m64 -O3 -mfpmath=sse -msse2avx -mavx -march=sandybridge -mtune=sandybridge -D_FORTIFY_SOURCE=2 -g0 -pipe -fstack-protector-strong --param=ssp-buffer-size=8 -falign-functions -falign-jumps -falign-loops -falign-labels -flimit-function-alignment -fdce -fdse -fexpensive-optimizations -fgraphite-identity -fipa-cp-clone -floop-unroll-and-jam -fmove-loop-invariants -fomit-frame-pointer -fopt-info-vec-optimized -foptimize-strlen -fpeel-loops -fsemantic-interposition -fsplit-loops -fsplit-paths -fstrict-aliasing -ftree-ch -ftree-dce -ftree-dse -ftree-loop-distribution -ftree-loop-if-convert -ftree-loop-if-convert-stores -ftree-loop-im -ftree-loop-ivcanon -ftree-pre -ftree-partial-pre -ftree-vectorize -ftree-loop-vectorize -ftree-slp-vectorize -funroll-loops -funswitch-loops -fvariable-expansion-in-unroller -fsimd-cost-model=unlimited -fvect-cost-model=unlimited -fwrapv -fno-exceptions -fno-gcse -fno-math-errno -Wformat -Werror=format-security -Wno-stack-protector -Wno-deprecated-declarations -Wno-missing-profile -Wno-unused-result -Wstrict-aliasing -Wa,--noexecstack -E
checking for ld used by gcc -m64 -O3 -mfpmath=sse -msse2avx -mavx -march=sandybridge -mtune=sandybridge -D_FORTIFY_SOURCE=2 -g0 -pipe -fstack-protector-strong --param=ssp-buffer-size=8 -falign-functions -falign-jumps -falign-loops -falign-labels -flimit-function-alignment -fdce -fdse -fexpensive-optimizations -fgraphite-identity -fipa-cp-clone -floop-unroll-and-jam -fmove-loop-invariants -fomit-frame-pointer -fopt-info-vec-optimized -foptimize-strlen -fpeel-loops -fsemantic-interposition -fsplit-loops -fsplit-paths -fstrict-aliasing -ftree-ch -ftree-dce -ftree-dse -ftree-loop-distribution -ftree-loop-if-convert -ftree-loop-if-convert-stores -ftree-loop-im -ftree-loop-ivcanon -ftree-pre -ftree-partial-pre -ftree-vectorize -ftree-loop-vectorize -ftree-slp-vectorize -funroll-loops -funswitch-loops -fvariable-expansion-in-unroller -fsimd-cost-model=unlimited -fvect-cost-model=unlimited -fwrapv -fno-exceptions -fno-gcse -fno-math-errno -Wformat -Werror=format-security -Wno-stack-protector -Wno-deprecated-declarations -Wno-missing-profile -Wno-unused-result -Wstrict-aliasing -Wa,--noexecstack... ld.lld -m elf_x86_64
checking if the linker (ld.lld -m elf_x86_64) is GNU ld... yes
checking whether the gcc -m64 -O3 -mfpmath=sse -msse2avx -mavx -march=sandybridge -mtune=sandybridge -D_FORTIFY_SOURCE=2 -g0 -pipe -fstack-protector-strong --param=ssp-buffer-size=8 -falign-functions -falign-jumps -falign-loops -falign-labels -flimit-function-alignment -fdce -fdse -fexpensive-optimizations -fgraphite-identity -fipa-cp-clone -floop-unroll-and-jam -fmove-loop-invariants -fomit-frame-pointer -fopt-info-vec-optimized -foptimize-strlen -fpeel-loops -fsemantic-interposition -fsplit-loops -fsplit-paths -fstrict-aliasing -ftree-ch -ftree-dce -ftree-dse -ftree-loop-distribution -ftree-loop-if-convert -ftree-loop-if-convert-stores -ftree-loop-im -ftree-loop-ivcanon -ftree-pre -ftree-partial-pre -ftree-vectorize -ftree-loop-vectorize -ftree-slp-vectorize -funroll-loops -funswitch-loops -fvariable-expansion-in-unroller -fsimd-cost-model=unlimited -fvect-cost-model=unlimited -fwrapv -fno-exceptions -fno-gcse -fno-math-errno -Wformat -Werror=format-security -Wno-stack-protector -Wno-deprecated-declarations -Wno-missing-profile -Wno-unused-result -Wstrict-aliasing -Wa,--noexecstack linker (ld.lld -m elf_x86_64) supports shared libraries... yes
checking for gcc -m64 -O3 -mfpmath=sse -msse2avx -mavx -march=sandybridge -mtune=sandybridge -D_FORTIFY_SOURCE=2 -g0 -pipe -fstack-protector-strong --param=ssp-buffer-size=8 -falign-functions -falign-jumps -falign-loops -falign-labels -flimit-function-alignment -fdce -fdse -fexpensive-optimizations -fgraphite-identity -fipa-cp-clone -floop-unroll-and-jam -fmove-loop-invariants -fomit-frame-pointer -fopt-info-vec-optimized -foptimize-strlen -fpeel-loops -fsemantic-interposition -fsplit-loops -fsplit-paths -fstrict-aliasing -ftree-ch -ftree-dce -ftree-dse -ftree-loop-distribution -ftree-loop-if-convert -ftree-loop-if-convert-stores -ftree-loop-im -ftree-loop-ivcanon -ftree-pre -ftree-partial-pre -ftree-vectorize -ftree-loop-vectorize -ftree-slp-vectorize -funroll-loops -funswitch-loops -fvariable-expansion-in-unroller -fsimd-cost-model=unlimited -fvect-cost-model=unlimited -fwrapv -fno-exceptions -fno-gcse -fno-math-errno -Wformat -Werror=format-security -Wno-stack-protector -Wno-deprecated-declarations -Wno-missing-profile -Wno-unused-result -Wstrict-aliasing -Wa,--noexecstack option to produce PIC... -fPIC -DPIC
checking if gcc -m64 -O3 -mfpmath=sse -msse2avx -mavx -march=sandybridge -mtune=sandybridge -D_FORTIFY_SOURCE=2 -g0 -pipe -fstack-protector-strong --param=ssp-buffer-size=8 -falign-functions -falign-jumps -falign-loops -falign-labels -flimit-function-alignment -fdce -fdse -fexpensive-optimizations -fgraphite-identity -fipa-cp-clone -floop-unroll-and-jam -fmove-loop-invariants -fomit-frame-pointer -fopt-info-vec-optimized -foptimize-strlen -fpeel-loops -fsemantic-interposition -fsplit-loops -fsplit-paths -fstrict-aliasing -ftree-ch -ftree-dce -ftree-dse -ftree-loop-distribution -ftree-loop-if-convert -ftree-loop-if-convert-stores -ftree-loop-im -ftree-loop-ivcanon -ftree-pre -ftree-partial-pre -ftree-vectorize -ftree-loop-vectorize -ftree-slp-vectorize -funroll-loops -funswitch-loops -fvariable-expansion-in-unroller -fsimd-cost-model=unlimited -fvect-cost-model=unlimited -fwrapv -fno-exceptions -fno-gcse -fno-math-errno -Wformat -Werror=format-security -Wno-stack-protector -Wno-deprecated-declarations -Wno-missing-profile -Wno-unused-result -Wstrict-aliasing -Wa,--noexecstack PIC flag -fPIC -DPIC works... yes
checking if gcc -m64 -O3 -mfpmath=sse -msse2avx -mavx -march=sandybridge -mtune=sandybridge -D_FORTIFY_SOURCE=2 -g0 -pipe -fstack-protector-strong --param=ssp-buffer-size=8 -falign-functions -falign-jumps -falign-loops -falign-labels -flimit-function-alignment -fdce -fdse -fexpensive-optimizations -fgraphite-identity -fipa-cp-clone -floop-unroll-and-jam -fmove-loop-invariants -fomit-frame-pointer -fopt-info-vec-optimized -foptimize-strlen -fpeel-loops -fsemantic-interposition -fsplit-loops -fsplit-paths -fstrict-aliasing -ftree-ch -ftree-dce -ftree-dse -ftree-loop-distribution -ftree-loop-if-convert -ftree-loop-if-convert-stores -ftree-loop-im -ftree-loop-ivcanon -ftree-pre -ftree-partial-pre -ftree-vectorize -ftree-loop-vectorize -ftree-slp-vectorize -funroll-loops -funswitch-loops -fvariable-expansion-in-unroller -fsimd-cost-model=unlimited -fvect-cost-model=unlimited -fwrapv -fno-exceptions -fno-gcse -fno-math-errno -Wformat -Werror=format-security -Wno-stack-protector -Wno-deprecated-declarations -Wno-missing-profile -Wno-unused-result -Wstrict-aliasing -Wa,--noexecstack static flag -static works... yes
checking if gcc -m64 -O3 -mfpmath=sse -msse2avx -mavx -march=sandybridge -mtune=sandybridge -D_FORTIFY_SOURCE=2 -g0 -pipe -fstack-protector-strong --param=ssp-buffer-size=8 -falign-functions -falign-jumps -falign-loops -falign-labels -flimit-function-alignment -fdce -fdse -fexpensive-optimizations -fgraphite-identity -fipa-cp-clone -floop-unroll-and-jam -fmove-loop-invariants -fomit-frame-pointer -fopt-info-vec-optimized -foptimize-strlen -fpeel-loops -fsemantic-interposition -fsplit-loops -fsplit-paths -fstrict-aliasing -ftree-ch -ftree-dce -ftree-dse -ftree-loop-distribution -ftree-loop-if-convert -ftree-loop-if-convert-stores -ftree-loop-im -ftree-loop-ivcanon -ftree-pre -ftree-partial-pre -ftree-vectorize -ftree-loop-vectorize -ftree-slp-vectorize -funroll-loops -funswitch-loops -fvariable-expansion-in-unroller -fsimd-cost-model=unlimited -fvect-cost-model=unlimited -fwrapv -fno-exceptions -fno-gcse -fno-math-errno -Wformat -Werror=format-security -Wno-stack-protector -Wno-deprecated-declarations -Wno-missing-profile -Wno-unused-result -Wstrict-aliasing -Wa,--noexecstack supports -c -o file.o... yes
checking if gcc -m64 -O3 -mfpmath=sse -msse2avx -mavx -march=sandybridge -mtune=sandybridge -D_FORTIFY_SOURCE=2 -g0 -pipe -fstack-protector-strong --param=ssp-buffer-size=8 -falign-functions -falign-jumps -falign-loops -falign-labels -flimit-function-alignment -fdce -fdse -fexpensive-optimizations -fgraphite-identity -fipa-cp-clone -floop-unroll-and-jam -fmove-loop-invariants -fomit-frame-pointer -fopt-info-vec-optimized -foptimize-strlen -fpeel-loops -fsemantic-interposition -fsplit-loops -fsplit-paths -fstrict-aliasing -ftree-ch -ftree-dce -ftree-dse -ftree-loop-distribution -ftree-loop-if-convert -ftree-loop-if-convert-stores -ftree-loop-im -ftree-loop-ivcanon -ftree-pre -ftree-partial-pre -ftree-vectorize -ftree-loop-vectorize -ftree-slp-vectorize -funroll-loops -funswitch-loops -fvariable-expansion-in-unroller -fsimd-cost-model=unlimited -fvect-cost-model=unlimited -fwrapv -fno-exceptions -fno-gcse -fno-math-errno -Wformat -Werror=format-security -Wno-stack-protector -Wno-deprecated-declarations -Wno-missing-profile -Wno-unused-result -Wstrict-aliasing -Wa,--noexecstack supports -c -o file.o... (cached) yes
checking whether the gcc -m64 -O3 -mfpmath=sse -msse2avx -mavx -march=sandybridge -mtune=sandybridge -D_FORTIFY_SOURCE=2 -g0 -pipe -fstack-protector-strong --param=ssp-buffer-size=8 -falign-functions -falign-jumps -falign-loops -falign-labels -flimit-function-alignment -fdce -fdse -fexpensive-optimizations -fgraphite-identity -fipa-cp-clone -floop-unroll-and-jam -fmove-loop-invariants -fomit-frame-pointer -fopt-info-vec-optimized -foptimize-strlen -fpeel-loops -fsemantic-interposition -fsplit-loops -fsplit-paths -fstrict-aliasing -ftree-ch -ftree-dce -ftree-dse -ftree-loop-distribution -ftree-loop-if-convert -ftree-loop-if-convert-stores -ftree-loop-im -ftree-loop-ivcanon -ftree-pre -ftree-partial-pre -ftree-vectorize -ftree-loop-vectorize -ftree-slp-vectorize -funroll-loops -funswitch-loops -fvariable-expansion-in-unroller -fsimd-cost-model=unlimited -fvect-cost-model=unlimited -fwrapv -fno-exceptions -fno-gcse -fno-math-errno -Wformat -Werror=format-security -Wno-stack-protector -Wno-deprecated-declarations -Wno-missing-profile -Wno-unused-result -Wstrict-aliasing -Wa,--noexecstack linker (ld.lld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate

Generating files
configure: patching main/php_config.h.in
configure: creating ./config.status
creating main/internal_functions.c
creating main/internal_functions_cli.c
+--------------------------------------------------------------------+
|                        *** WARNING ***                             |
|                                                                    |
| You have built PHP for Apache's current non-threaded MPM.          |
| If you change Apache to use a threaded MPM you must reconfigure    |
| PHP with --enable-maintainer-zts                                   |
config.status: creating main/build-defs.h
config.status: creating scripts/phpize
config.status: creating scripts/man1/phpize.1
config.status: creating scripts/php-config
config.status: creating scripts/man1/php-config.1
config.status: creating sapi/cli/php.1
config.status: creating ext/phar/phar.1
config.status: creating ext/phar/phar.phar.1
config.status: creating main/php_config.h
config.status: executing libtool commands
config.status: executing default commands
 [2019-11-01 11:18 UTC] nikic@php.net
Looks like you have both ifunc resolvers and cpu builtins, so that's pretty standard.

The machine code at the segfault location also doesn't look like it's using AVX2, so possibly the crash is in the detection code itself.

Would it be possible to run PHP under gdb (or by loading the coredump in gdb) and get the "backtrace" and "disassemble" results?
 [2019-11-04 10:34 UTC] nikic@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: nikic
 [2019-11-04 10:34 UTC] nikic@php.net
I've reverted this change for now.
 
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Thu Apr 09 21:01:23 2020 UTC