Bug #70920 [Fbk->NoF]: Compiling php 5.6.15 on Solaris 10 x86 error
| From: | php-bugs at lists dot php dot net | Date: | Sun, 29 Nov 2015 04:22:15 +0000 |
| Subject: | Bug #70920 [Fbk->NoF]: Compiling php 5.6.15 on Solaris 10 x86 error | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-197487@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=70920&edit=1
ID: 70920
Updated by: php-bugs@lists.php.net
Reported by: lingyun34567 at outlook dot com
Summary: Compiling php 5.6.15 on Solaris 10 x86 error
-Status: Feedback
+Status: No Feedback
Type: Bug
Package: Compile Failure
Operating System: Solaris 10 x86
PHP Version: 5.6.15
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:
------------------------------------------------------------------------
[2015-11-16 11:09:00] ab@php.net
Yeah, as in the linked ticket, 4.8 should work. I'd expect 4.6 would work, too.
Thanks.
------------------------------------------------------------------------
[2015-11-16 09:45:06] 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 08:42:35] ab@php.net
Please check the gcc version, rel bug #70747.
Thanks.
------------------------------------------------------------------------
[2015-11-16 02:35:47] 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_SEMAN!
TICS -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_SEMAN!
TICS -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_SEMAN!
TICS -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
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=70920&edit=1