I’m working on updating a system from using PHP 7.2 to PHP 7.4, but I ran into a compiling error that I haven’t seen before and I’m not entirely understanding why it isn’t working.
In file included from /home/derek/php-7.4.11/ext/standard/base64.c:369: /home/derek/php-7.4.11/Zend/zend_cpuinfo.h:143:9: error: invalid cpu feature string for builtin return __builtin_cpu_supports("ssse3"); ^ ~~~~~~~ 1 error generated. Makefile:1286: recipe for target 'ext/standard/base64.lo' failed make: *** (ext/standard/base64.lo) Error 1 make: *** Waiting for unfinished jobs....
And this is the configure command I used:
./configure –with-openssl –with-system-ciphers –without-sqlite3
–enable-exif –enable-fpm –with-fpm-systemd –with-mysqli –with-sodium –enable-mbstring –with-pdo-mysql –without-pdo-sqlite –with-config-file-path=/etc/php –with-libdir=/lib/x86_64-linux-gnu
It doesn’t report any issues with configure, only when it comes to compile.
configure does correctly identify that ssse3 is not supported on the system.