Bug #73601 [NEW]: strict c99 compile fails during configure stage

From: Date: Thu, 24 Nov 2016 14:35:47 +0000
Subject: Bug #73601 [NEW]: strict c99 compile fails during configure stage
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-205604@lists.php.net to get a copy of this message
From: dclarke at blastwave dot org Operating system: Solaris 10 Update 11 PHP version: 7.0.14RC1 Package: *General Issues Bug Type: Bug Bug description:strict c99 compile fails during configure stage Description: ------------ First pass instantly fails in the configure stage when using a c99 compiler. configure:3852: /opt/developerstudio12.5/bin/c99 -V >&5 c99: Studio 12.5 Sun C 5.14 SunOS_sparc 2016/05/31 configure:3863: $? = 0 . . . configure:3883: checking whether the C compiler works configure:3905: /opt/developerstudio12.5/bin/c99 -errfmt=error -erroff=%none -errshort=full -xstrconst -xildoff -m64 -xmemalign=8s - xnolibmil -Xc -xcode=pic32 -xregs=no%appl -xlibmieee -ftrap=%none -xtarget=ultraT2 -xcache=8/16/4:4096/64/16 -fast -D_TS_ERRNO -D_PO SIX_PTHREAD_SEMANTICS -D_LARGEFILE64_SOURCE -D_XOPEN_SOURCE=600 -lsocket -lnsl -I/usr/local/include -I/usr/local/ssl/include -I/opt/ mysql/mysql/include -DOPENSSL_NO_SSL2 -D_EXTENSIONS_ -D__EXTENSIONS__ -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED=1 -D_TS_ERRNO -D_POSI X_PTHREAD_SEMANTICS -D_LARGEFILE64_SOURCE -D_XOPEN_SOURCE=600 conftest.c >&5 "command line:", warning: macro redefined: _XOPEN_SOURCE "command line:", warning: macro redefined: _XOPEN_SOURCE ld: warning: option -Q appears more than once, first setting taken configure:3909: $? = 0 configure:3957: result: yes configure:3960: checking for C compiler default output file name configure:3962: result: a.out configure:3968: checking for suffix of executables configure:3975: /opt/developerstudio12.5/bin/c99 -o conftest -errfmt=error -erroff=%none -errshort=full -xstrconst -xildoff -m64 -xm emalign=8s -xnolibmil -Xc -xcode=pic32 -xregs=no%appl -xlibmieee -ftrap=%none -xtarget=ultraT2 -xcache=8/16/4:4096/64/16 -fast -D_TS _ERRNO -D_POSIX_PTHREAD_SEMANTICS -D_LARGEFILE64_SOURCE -D_XOPEN_SOURCE=600 -lsocket -lnsl -I/usr/local/include -I/usr/local/ssl/inc lude -I/opt/mysql/mysql/include -DOPENSSL_NO_SSL2 -D_EXTENSIONS_ -D__EXTENSIONS__ -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED=1 -D_TS_E RRNO -D_POSIX_PTHREAD_SEMANTICS -D_LARGEFILE64_SOURCE -D_XOPEN_SOURCE=600 conftest.c >&5 "command line:", warning: macro redefined: _XOPEN_SOURCE "command line:", warning: macro redefined: _XOPEN_SOURCE ld: warning: option -Q appears more than once, first setting taken configure:3979: $? = 0 configure:4001: result: configure:4023: checking whether we are cross compiling configure:4031: /opt/developerstudio12.5/bin/c99 -o conftest -errfmt=error -erroff=%none -errshort=full -xstrconst -xildoff -m64 -xm emalign=8s -xnolibmil -Xc -xcode=pic32 -xregs=no%appl -xlibmieee -ftrap=%none -xtarget=ultraT2 -xcache=8/16/4:4096/64/16 -fast -D_TS _ERRNO -D_POSIX_PTHREAD_SEMANTICS -D_LARGEFILE64_SOURCE -D_XOPEN_SOURCE=600 -lsocket -lnsl -I/usr/local/include -I/usr/local/ssl/inc lude -I/opt/mysql/mysql/include -DOPENSSL_NO_SSL2 -D_EXTENSIONS_ -D__EXTENSIONS__ -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED=1 -D_TS_E RRNO -D_POSIX_PTHREAD_SEMANTICS -D_LARGEFILE64_SOURCE -D_XOPEN_SOURCE=600 conftest.c >&5 "command line:", warning: macro redefined: _XOPEN_SOURCE "command line:", warning: macro redefined: _XOPEN_SOURCE "/usr/include/sys/feature_tests.h", line 337: #error: "Compiler or options invalid for pre-UNIX 03 X/Open applications and pre-2001 POSIX applications" c99: acomp failed for conftest.c configure:4035: $? = 2 configure:4042: ./conftest ./configure: line 4044: ./conftest: No such file or directory configure:4046: $? = 127 configure:4053: error: in `/usr/local/build/php-7.0.14RC1_SunOS5.10_sparcv9.001': configure:4055: error: cannot run C compiled programs. If you meant to cross compile, use `--host'. See `config.log' for more details So I will most likely need to specify --host and that is fine. What I do need is a trivial configure set of options where --disable-all is most likely the first option. :-\ Expected result: ---------------- Expected a clean compile or at least configure. -- Edit bug report at https://bugs.php.net/bug.php?id=73601&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=73601&r=trysnapshot54 Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=73601&r=trysnapshot55 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=73601&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=73601&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=73601&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=73601&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=73601&r=needscript Try newer version: https://bugs.php.net/fix.php?id=73601&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=73601&r=support Expected behavior: https://bugs.php.net/fix.php?id=73601&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=73601&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=73601&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=73601&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=73601&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=73601&r=dst IIS Stability: https://bugs.php.net/fix.php?id=73601&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=73601&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=73601&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=73601&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=73601&r=mysqlcfg

« previous php.bugs (#205604) next »