Req #70747 [Com]: Compile failure on OpenBSD 5.8/i386 due "thread-local storage"

From: Date: Tue, 20 Oct 2015 09:08:11 +0000
Subject: Req #70747 [Com]: Compile failure on OpenBSD 5.8/i386 due "thread-local storage"
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-196700@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=70747&edit=1 ID: 70747 Comment by: stolen dot data dot net at gmail dot com Reported by: stolen dot data dot net at gmail dot com Summary: Compile failure on OpenBSD 5.8/i386 due "thread-local storage" Status: Open Type: Feature/Change Request Package: Compile Failure Operating System: OpenBSD 5.8 PHP Version: 5.6.14 Block user comment: N Private report: N New Comment: 5.6.11 builds fine, but 5.6.12 and onwards produce the same failure. Previous Comments: ------------------------------------------------------------------------ [2015-10-19 23:55:23] stolen dot data dot net at gmail dot com I don't know when this problem showed up, but my last working build of PHP 5.6.x - not sure what exact version as the installation is lost - was on OpenBSD 5.6 which is 1 year old, which may help to narrow things down a little bit. I suspect it has to do with ZTS, though I can't find any obvious options in configure for tuning this for a production environment. Output: /bin/sh /usr/opt/php-5.6.14/libtool --silent --preserve-dup-deps --mode=compile /usr/opt/php-5.6.14/meta_ccld -Imain/ -I/usr/opt/php-5.6.14/main/ -DPHP_ATOM_INC -I/usr/opt/php-5.6.14/include -I/usr/opt/php-5.6.14/main -I/usr/opt/php-5.6.14 -I/usr/opt/php-5.6.14/ext/date/lib -I/usr/opt/php-5.6.14/ext/ereg/regex -I/usr/local/include -I/usr/opt/php-5.6.14/ext/mbstring/oniguruma -I/usr/opt/php-5.6.14/ext/mbstring/libmbfl -I/usr/opt/php-5.6.14/ext/mbstring/libmbfl/mbfl -I/usr/opt/php-5.6.14/ext/sqlite3/libsqlite -I/usr/opt/php-5.6.14/TSRM -I/usr/opt/php-5.6.14/Zend -I/usr/local/include -g -O2 -fvisibility=hidden -pthread -DZTS -c /usr/opt/php-5.6.14/main/php_open_temporary_file.c -o main/php_open_temporary_file.lo /usr/opt/php-5.6.14/main/php_open_temporary_file.c:187: error: thread-local storage not supported for this target *** Error 1 in /usr/opt/php-5.6.14 (Makefile:1096 'main/php_open_temporary_file.lo') OpenBSD 5.8 runs GCC 4.2.1. ------------------------------------------------------------------------ [2015-10-19 23:52:49] stolen dot data dot net at gmail dot com Description: ------------ I don't know exactly when this problem showed up - my last working build of PHP 5.6.x (not sure what exact version; installation is lost) was on OpenBSD 5.6 which is exactly 1 year old, which may help to narrow things down a little bit. I suspect it has to do with ZTS, though I can't find any obvious options in configure for tuning this for a production environment. Output: /bin/sh /usr/opt/php-5.6.14/libtool --silent --preserve-dup-deps --mode=compile /usr/opt/php-5.6.14/meta_ccld -Imain/ -I/usr/opt/php-5.6.14/main/ -DPHP_ATOM_INC -I/usr/opt/php-5.6.14/include -I/usr/opt/php-5.6.14/main -I/usr/opt/php-5.6.14 -I/usr/opt/php-5.6.14/ext/date/lib -I/usr/opt/php-5.6.14/ext/ereg/regex -I/usr/local/include -I/usr/opt/php-5.6.14/ext/mbstring/oniguruma -I/usr/opt/php-5.6.14/ext/mbstring/libmbfl -I/usr/opt/php-5.6.14/ext/mbstring/libmbfl/mbfl -I/usr/opt/php-5.6.14/ext/sqlite3/libsqlite -I/usr/opt/php-5.6.14/TSRM -I/usr/opt/php-5.6.14/Zend -I/usr/local/include -g -O2 -fvisibility=hidden -pthread -DZTS -c /usr/opt/php-5.6.14/main/php_open_temporary_file.c -o main/php_open_temporary_file.lo /usr/opt/php-5.6.14/main/php_open_temporary_file.c:187: error: thread-local storage not supported for this target *** Error 1 in /usr/opt/php-5.6.14 (Makefile:1096 'main/php_open_temporary_file.lo') OpenBSD 5.8 runs GCC 4.2.1. ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=70747&edit=1

« previous php.bugs (#196700) next »