Bug #71619 [Opn->Fbk]: thread-local storage not supported for this target

From: Date: Thu, 18 Feb 2016 10:59:58 +0000
Subject: Bug #71619 [Opn->Fbk]: thread-local storage not supported for this target
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-199316@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: ab@php.net Reported by: dreddy at spectraenergy dot com Summary: thread-local storage not supported for this target -Status: Open +Status: 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: Please use gcc at least 4.6 as discussed in bug #70747. Thanks. Previous Comments: ------------------------------------------------------------------------ [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

« previous php.bugs (#199316) next »