php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #70920 Compiling php 5.6.15 on Solaris 10 x86 error
Submitted: 2015-11-16 02:35 UTC Modified: 2015-11-29 04:22 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: lingyun34567 at outlook dot com Assigned:
Status: No Feedback Package: Compile Failure
PHP Version: 5.6.15 OS: Solaris 10 x86
Private report: No CVE-ID: None
 [2015-11-16 02:35 UTC] lingyun34567 at outlook dot com
Description:
------------
I am trying to install php 5.6.15 on to solaris 10 x86. This is Platform:

## --------- ##
## Platform. ##
## --------- ##

hostname = g2
uname -m = i86pc
uname -r = 5.10
uname -s = SunOS
uname -v = Generic_150401-28

/usr/bin/uname -p = i386
/bin/uname -X     = System = SunOS
Node = g2
Release = 5.10
KernelID = Generic_150401-28
Machine = i86pc
BusType = <unknown>
Serial = <unknown>
Users = <unknown>
OEM# = 0
Origin# = 1
NumCPU = 2

/bin/arch              = i86pc
/usr/bin/arch -k       = i86pc
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo      = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /usr/local/bin
PATH: /usr/sfw/bin
PATH: /usr/ccs/bin
PATH: /usr/sbin
PATH: /usr/bin

# CC='gcc -std=gnu99' 
# export CC

# ./configure \
--with-apxs2=/usr/local/apache2/bin/apxs \
--disable-debug \
--disable-short-tags \
--enable-inline-optimization \
--enable-calendar \
--with-mysql=/usr/local/mysql \
--with-mysqli=/usr/local/mysql/bin/mysql_config \
--with-pdo-mysql=/usr/local/mysql \
--with-gd \
--with-openssl-dir=/usr/local/ssl \
--with-jpeg-dir=/usr/local \
--with-png-dir \
--with-zlib=/usr/local \
--with-png-dir=/usr/local \
--with-freetype-dir=/usr/local \
--with-libxml-dir=/usr/local \
--with-iconv=/usr/local \
--enable-mbstring \
--enable-soap \
--enable-ftp \
--enable-exif \
--enable-zip \


But I get this error when running make/gmake:

# make
......
/bin/bash /export/home/hdz/software/php-5.6.15/libtool --silent --preserve-dup-deps --mode=compile gcc -std=gnu99  -Imain/ -I/export/home/hdz/software/php-5.6.15/main/ -DPHP_ATOM_INC -I/export/home/hdz/software/php-5.6.15/include -I/export/home/hdz/software/php-5.6.15/main -I/export/home/hdz/software/php-5.6.15 -I/export/home/hdz/software/php-5.6.15/ext/date/lib -I/export/home/hdz/software/php-5.6.15/ext/ereg/regex -I/usr/local/include/libxml2 -I/usr/local/include -I/usr/local/ssl/include -I/usr/local/include/freetype2 -I/export/home/hdz/software/php-5.6.15/ext/mbstring/oniguruma -I/export/home/hdz/software/php-5.6.15/ext/mbstring/libmbfl -I/export/home/hdz/software/php-5.6.15/ext/mbstring/libmbfl/mbfl -I/usr/local/mysql/include -I/export/home/hdz/software/php-5.6.15/ext/sqlite3/libsqlite -I/export/home/hdz/software/php-5.6.15/ext/zip/lib -I/export/home/hdz/software/php-5.6.15/TSRM -I/export/home/hdz/software/php-5.6.15/Zend  -D_POSIX_PTHREAD_SEMANTICS -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT  -I/usr/local/include -g -O2 -DZTS  -c /export/home/hdz/software/php-5.6.15/main/network.c -o main/network.lo
/bin/bash /export/home/hdz/software/php-5.6.15/libtool --silent --preserve-dup-deps --mode=compile gcc -std=gnu99  -Imain/ -I/export/home/hdz/software/php-5.6.15/main/ -DPHP_ATOM_INC -I/export/home/hdz/software/php-5.6.15/include -I/export/home/hdz/software/php-5.6.15/main -I/export/home/hdz/software/php-5.6.15 -I/export/home/hdz/software/php-5.6.15/ext/date/lib -I/export/home/hdz/software/php-5.6.15/ext/ereg/regex -I/usr/local/include/libxml2 -I/usr/local/include -I/usr/local/ssl/include -I/usr/local/include/freetype2 -I/export/home/hdz/software/php-5.6.15/ext/mbstring/oniguruma -I/export/home/hdz/software/php-5.6.15/ext/mbstring/libmbfl -I/export/home/hdz/software/php-5.6.15/ext/mbstring/libmbfl/mbfl -I/usr/local/mysql/include -I/export/home/hdz/software/php-5.6.15/ext/sqlite3/libsqlite -I/export/home/hdz/software/php-5.6.15/ext/zip/lib -I/export/home/hdz/software/php-5.6.15/TSRM -I/export/home/hdz/software/php-5.6.15/Zend  -D_POSIX_PTHREAD_SEMANTICS -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT  -I/usr/local/include -g -O2 -DZTS  -c /export/home/hdz/software/php-5.6.15/main/php_open_temporary_file.c -o main/php_open_temporary_file.lo 
/export/home/hdz/software/php-5.6.15/main/php_open_temporary_file.c: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'


# gmake
/bin/bash /export/home/hdz/software/php-5.6.15/libtool --silent --preserve-dup-deps --mode=compile gcc -std=gnu99  -Imain/ -I/export/home/hdz/software/php-5.6.15/main/ -DPHP_ATOM_INC -I/export/home/hdz/software/php-5.6.15/include -I/export/home/hdz/software/php-5.6.15/main -I/export/home/hdz/software/php-5.6.15 -I/export/home/hdz/software/php-5.6.15/ext/date/lib -I/export/home/hdz/software/php-5.6.15/ext/ereg/regex -I/usr/local/include/libxml2 -I/usr/local/include -I/usr/local/ssl/include -I/usr/local/include/freetype2 -I/export/home/hdz/software/php-5.6.15/ext/mbstring/oniguruma -I/export/home/hdz/software/php-5.6.15/ext/mbstring/libmbfl -I/export/home/hdz/software/php-5.6.15/ext/mbstring/libmbfl/mbfl -I/usr/local/mysql/include -I/export/home/hdz/software/php-5.6.15/ext/sqlite3/libsqlite -I/export/home/hdz/software/php-5.6.15/ext/zip/lib -I/export/home/hdz/software/php-5.6.15/TSRM -I/export/home/hdz/software/php-5.6.15/Zend  -D_POSIX_PTHREAD_SEMANTICS -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT  -I/usr/local/include -g -O2 -DZTS  -c /export/home/hdz/software/php-5.6.15/main/php_open_temporary_file.c -o main/php_open_temporary_file.lo 
/export/home/hdz/software/php-5.6.15/main/php_open_temporary_file.c:187: error: thread-local storage not supported for this target
gmake: *** [main/php_open_temporary_file.lo] Error 1



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2015-11-16 08:42 UTC] ab@php.net
-Status: Open +Status: Feedback
 [2015-11-16 08:42 UTC] ab@php.net
Please check the gcc version, rel bug #70747.

Thanks.
 [2015-11-16 09:45 UTC] lingyun34567 at outlook dot com
-Status: Feedback +Status: Open
 [2015-11-16 09:45 UTC] lingyun34567 at outlook dot com
# /usr/local/bin/gcc -v
Reading specs from /usr/local/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
 [2015-11-16 11:09 UTC] ab@php.net
-Status: Open +Status: Feedback
 [2015-11-16 11:09 UTC] ab@php.net
Yeah, as in the linked ticket, 4.8 should work. I'd expect 4.6 would work, too.

Thanks.
 [2015-11-29 04:22 UTC] 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.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Dec 22 06:01:30 2024 UTC