Bug #70920 [NEW]: Compiling php 5.6.15 on Solaris 10 x86 error

From: Date: Mon, 16 Nov 2015 02:35:53 +0000
Subject: Bug #70920 [NEW]: Compiling php 5.6.15 on Solaris 10 x86 error
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-197275@lists.php.net to get a copy of this message
From: lingyun34567 at outlook dot com Operating system: Solaris 10 x86 PHP version: 5.6.15 Package: Compile Failure Bug Type: Bug Bug description:Compiling php 5.6.15 on Solaris 10 x86 error 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 -- Edit bug report at https://bugs.php.net/bug.php?id=70920&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=70920&r=trysnapshot54 Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=70920&r=trysnapshot55 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=70920&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=70920&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=70920&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=70920&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=70920&r=needscript Try newer version: https://bugs.php.net/fix.php?id=70920&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=70920&r=support Expected behavior: https://bugs.php.net/fix.php?id=70920&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=70920&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=70920&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=70920&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=70920&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=70920&r=dst IIS Stability: https://bugs.php.net/fix.php?id=70920&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=70920&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=70920&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=70920&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=70920&r=mysqlcfg

« previous php.bugs (#197275) next »