Bug #71619 [Fbk->NoF]: thread-local storage not supported for this target
| From: | php-bugs at lists dot php dot net | Date: | Sun, 28 Feb 2016 04:22:27 +0000 |
| Subject: | Bug #71619 [Fbk->NoF]: thread-local storage not supported for this target | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-199512@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
Updated by: php-bugs@lists.php.net
Reported by: dreddy at spectraenergy dot com
Summary: thread-local storage not supported for this target
-Status: Feedback
+Status: No Feedback
Type: Bug
Package: Compile Failure
Operating System: AIX 6.1
PHP Version: 5.5.32
Private report: N
New Comment:
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.
Previous Comments:
------------------------------------------------------------------------
[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.
------------------------------------------------------------------------
[2016-02-17 21:01:54] dreddy at spectraenergy dot com
Description:
------------
This problem was first introduced in 5.5.28
In main/php_open_temporary_file.c, the following code does not look correct, I suspect it should be
testing the value of __GNUC__ rather than just seeing if it's defined.
/* Cache the chosen temporary directory. */
static
#ifdef ZTS
#ifdef PHP_WIN32
__declspec(thread)
#elif defined(__GNUC__)
__thread
#endif
#endif
char* temporary_directory;
With GNU C++ compiler, version 4.2.0, the following error results:
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
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=71619&edit=1