[php-src] Issue #12774: 8.3.0 build fails on centos 8 with mbstring related error

From: Date: Fri, 24 Nov 2023 18:45:22 +0000
Subject: [php-src] Issue #12774: 8.3.0 build fails on centos 8 with mbstring related error
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-245888@lists.php.net to get a copy of this message
Issue: https://github.com/php/php-src/issues/12774 Author: Xerkus ### Description PHP 8.3.0 build fails on centos 8 with the error: ``` /usr/bin/ld: dynamic STT_GNU_IFUNC symbol mb_utf16be_to_wchar' with pointer equality in ext/mbstring/libmbfl/filters/mbfilter_utf16.o' can not be used when making an executable; recompile with -fPIE and relink with -pie collect2: error: ld returned 1 exit status ``` Original failure discovered during 8.3.0 build at https://github.com/php-build/php-build/pull/759 Recreated locally in centos:8 docker image running configure and make directly. Full build log output available here https://gist.github.com/Xerkus/185b0a566abe8acee620b9a0ae84468d Used configure as follows, no env variables used: ``` ./configure --with-config-file-path=/tmp/php-build-test-20231124174343/8.3.0/etc \ --with-config-file-scan-dir=/tmp/php-build-test-20231124174343/8.3.0/etc/conf.d \ --prefix=/tmp/php-build-test-20231124174343/8.3.0 \ --libexecdir=/tmp/php-build-test-20231124174343/8.3.0/libexec \ --datadir=/tmp/php-build-test-20231124174343/8.3.0/share/php \ --mandir=/tmp/php-build-test-20231124174343/8.3.0/share/man \ --enable-sockets \ --enable-exif \ --with-zlib \ --with-zlib-dir=/usr \ --with-bz2 \ --enable-intl \ --with-openssl \ --enable-soap \ --enable-xmlreader \ --with-xsl --enable-ftp \ --enable-cgi \ --with-curl=/usr \ --with-tidy \ --enable-sysvsem \ --enable-sysvshm \ --enable-shmop \ --with-mysqli=mysqlnd \ --with-pdo-mysql=mysqlnd \ --with-pdo-sqlite \ --enable-pcntl \ --with-readline \ --enable-mbstring \ --disable-debug \ --enable-fpm \ --enable-bcmath \ --enable-phpdbg \ --enable-gd \ --with-jpeg \ --with-zip \ --with-mhash \ --with-libdir=lib64 ``` This issue looks similar to me https://github.com/php/php-src/issues/11603 ### PHP Version 8.3.0 ### Operating System Centos 8

« previous php.bugs (#245888) next »