Bug #71619 [NEW]: thread-local storage not supported for this target
From: dreddy at spectraenergy dot com
Operating system: AIX 6.1
PHP version: 5.5.32
Package: Compile Failure
Bug Type: Bug
Bug description:thread-local storage not supported for this target
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 bug report at https://bugs.php.net/bug.php?id=71619&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=71619&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=71619&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=71619&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=71619&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=71619&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=71619&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=71619&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=71619&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=71619&r=support
Expected behavior: https://bugs.php.net/fix.php?id=71619&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=71619&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=71619&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=71619&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=71619&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=71619&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=71619&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=71619&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=71619&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=71619&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=71619&r=mysqlcfg
Thread (7 messages)
- dreddy at spectraenergy dot com