Bug #71619 [Com]: thread-local storage not supported for this target
| From: | joeborge at yahoo dot com | Date: | Wed, 04 May 2016 18:19:20 +0000 |
| Subject: | Bug #71619 [Com]: thread-local storage not supported for this target | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-200893@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=71619&edit=1
ID: 71619
Comment by: joeborge at yahoo dot com
Reported by: dreddy at spectraenergy dot com
Summary: thread-local storage not supported for this target
Status: No Feedback
Type: Bug
Package: Compile Failure
Operating System: AIX 6.1
PHP Version: 5.5.32
Block user comment: N
Private report: N
New Comment:
I found the configure script went to find an older cc and that was causing the compiling error.
Previous Comments:
------------------------------------------------------------------------
[2016-04-27 19:44:00] joeborge at yahoo dot com
I have GCC version 4.8.2 but it is still showing error when I tried to compile 5.6.20.
# gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/gcc/4.8/lib/gcc/i386-pc-solaris2.11/4.8.2/lto-wrapper
Target: i386-pc-solaris2.11
Configured with:
/builds/hudson/workspace/nightly-update/build/i386/components/gcc48/gcc-4.8.2/configure
CC=/usr/gcc/4.7/bin/gcc CXX=/usr/gcc/4.7/bin/g++ --prefix=/usr/gcc/4.8
--mandir=/usr/gcc/4.8/share/man --bindir=/usr/gcc/4.8/bin --libdir=/usr/gcc/4.8/lib
--sbindir=/usr/gcc/4.8/sbin --infodir=/usr/gcc/4.8/share/info --libexecdir=/usr/gcc/4.8/lib
--enable-languages=c,c++,fortran,objc --enable-shared --with-gmp-include=/usr/include/gmp
--with-mpfr-include=/usr/include/mpfr --without-gnu-ld --with-ld=/usr/bin/ld --with-gnu-as
--with-as=/usr/gnu/bin/as CFLAGS='-g -O2 -mtune=opteron -march=opteron' CXXFLAGS='-g
-O2 -mtune=opteron -march=opteron'
Thread model: posix
gcc version 4.8.2 (GCC)
# make
/bin/sh /work/applications/php-5.6.20/libtool --silent --preserve-dup-deps --mode=compile cc
-Imain/ -I/work/applications/php-5.6.20/main/ -DPHP_ATOM_INC -I/work/applications/php-5.6.20/include
-I/work/applications/php-5.6.20/main -I/work/applications/php-5.6.20
-I/work/applications/php-5.6.20/ext/date/lib -I/work/applications/php-5.6.20/ext/ereg/regex
-I/usr/include/libxml2 -I/work/applications/php-5.6.20/ext/sqlite3/libsqlite
-I/work/applications/php-5.6.20/TSRM -I/work/applications/php-5.6.20/Zend
-D_POSIX_PTHREAD_SEMANTICS -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -I/usr/local/include -std=gnu99
-DZTS -c /work/applications/php-5.6.20/main/php_open_temporary_file.c -o
main/php_open_temporary_file.lo
/work/applications/php-5.6.20/main/php_open_temporary_file.c:187: error: thread-local storage not
supported for this target
make: *** [main/php_open_temporary_file.lo] Error 1
# %make -v
GNU Make 3.82
Built for i386-pc-solaris2.11
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
------------------------------------------------------------------------
[2016-02-28 04:22:26] php-bugs at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
------------------------------------------------------------------------
[2016-02-20 14:43:15] ab@php.net
Thanks for the followup. From your output, the gcc version is 3.4.6, not 4.6. Please try a newer gcc
version.
Thanks.
------------------------------------------------------------------------
[2016-02-19 15:12:13] ann dot matos dot ctr at us dot af dot mil
187: error: thread-local storage not supported for this target
*** Error code 1
make: Fatal error: Command failed for target `main/php_open_temporary_file.lo'
oraweb@bonjovi.area52.afnoapps.usaf.mil 68: gcc -v
Reading specs from /usr/local/lib/../lib/gcc/i386-pc-solaris2.10/3.4.6/specs
Configured with: ../configure --with-as=/usr/ccs/bin/as --with-ld=/usr/ccs/bin/ld --enable-shared
--enable-languages=c,c++,f77
Thread model: posix
gcc version 3.4.6
Please assist, I am at the version 4.6 for the gcc compiler, yet I still generate this error.
------------------------------------------------------------------------
[2016-02-18 10:59:57] ab@php.net
Please use gcc at least 4.6 as discussed in bug #70747.
Thanks.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=71619
--
Edit this bug report at https://bugs.php.net/bug.php?id=71619&edit=1