Req #70747 [Opn->Fbk]: Compile failure on OpenBSD 5.8/i386 due "thread-local storage"
Edit report at https://bugs.php.net/bug.php?id=70747&edit=1
ID: 70747
Updated by: ab@php.net
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
+Status: Feedback
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:
When looking at the ports here ftp://ftp.iinet.net.au/pub/OpenBSD/5.8/packages/amd64/
- it seems that OpenBSD 5.8 delivers gcc 4.8.4 as lowest. Could you please check that first?
Thanks.
Previous Comments:
------------------------------------------------------------------------
[2015-10-20 09:08:10] stolen dot data dot net at gmail dot com
5.6.11 builds fine, but 5.6.12 and onwards produce the same failure.
------------------------------------------------------------------------
[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
Thread (6 messages)