Bug #71429 [NEW]: Compile fail Sun CC 12.3

From: Date: Thu, 21 Jan 2016 21:22:37 +0000
Subject: Bug #71429 [NEW]: Compile fail Sun CC 12.3
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-198826@lists.php.net to get a copy of this message
From:             cross at hccs dot com
Operating system: Sparc Solaris 10
PHP version:      7.0.2
Package:          Compile Failure
Bug Type:         Bug
Bug description:Compile fail Sun CC 12.3 

Description:
------------
I have no problems compiling 5.5.31 with this same script but it fails
with 7.0.2.

Any help would be appreciated.
Thank you

# more ConfigurePHP
#!/bin/sh
#
# Configure PHP
#
 into PHP, restart apache after compile
#
PATH=/usr/bin:/usr/local/bin:/usr/ccs/bin:/opt/SUNWspro/bin:/usr/sbin:/usr/dt/bin;
export PATH

LD_LIBRARY_PATH=/lib:/usr/lib:/usr/local/lib:/usr/local/ssl/lib; export
LD_LIBRARY_PATH

LD_RUN_PATH=/usr/local/ssl/lib:/usr/local/lib; export LD_RUN_PATH
#
env     CC=cc CXX=CC  \
        ./configure \
        --with-apxs2=/usr/local/apache2/bin/apxs \
        --with-pear \
        --with-libxml-dir=/usr \
        --with-mysqli=mysqlnd \
        --with-pdo-mysql=mysqlnd \
        --enable-mbstring \
        --with-curl \
        --with-gd \
        --with-jpeg-dir=/usr/lib \
        --enable-soap \
        --with-openssl=/usr/local/ssl \
        --enable-zip \
        --with-iconv=/opt/local \
        --enable-opcache

#!/end
#

"/home1/users/cross/work/installedPackages/upgradePHPshib/php-7.0.2/main/php_output.h",
line 149: warning: syntax error:  empty declaratio
"/home1/users/cross/work/installedPackages/upgradePHPshib/php-7.0.2/ext/pcre/php_pcre.h",
line 84: warning: syntax error:  empty declarati
"/home1/users/cross/work/installedPackages/upgradePHPshib/php-7.0.2/ext/fileinfo/libmagic/apprentice.c",
line 2195: warning: implicit func declaration: offsetof
"/home1/users/cross/work/installedPackages/upgradePHPshib/php-7.0.2/ext/fileinfo/libmagic/apprentice.c",
line 2195: syntax error before or struct
"/home1/users/cross/work/installedPackages/upgradePHPshib/php-7.0.2/ext/fileinfo/libmagic/apprentice.c",
line 2209: syntax error before or struct
cc: acomp failed for
/home1/users/cross/work/installedPackages/upgradePHPshib/php-7.0.2/ext/fileinfo/libmagic/apprentice.c



-- 
Edit bug report at https://bugs.php.net/bug.php?id=71429&edit=1
-- 
Try a snapshot (PHP 5.4):   https://bugs.php.net/fix.php?id=71429&r=trysnapshot54
Try a snapshot (PHP 5.5):   https://bugs.php.net/fix.php?id=71429&r=trysnapshot55
Try a snapshot (trunk):     https://bugs.php.net/fix.php?id=71429&r=trysnapshottrunk
Fixed in SVN:               https://bugs.php.net/fix.php?id=71429&r=fixed
Fixed in release:           https://bugs.php.net/fix.php?id=71429&r=alreadyfixed
Need backtrace:             https://bugs.php.net/fix.php?id=71429&r=needtrace
Need Reproduce Script:      https://bugs.php.net/fix.php?id=71429&r=needscript
Try newer version:          https://bugs.php.net/fix.php?id=71429&r=oldversion
Not developer issue:        https://bugs.php.net/fix.php?id=71429&r=support
Expected behavior:          https://bugs.php.net/fix.php?id=71429&r=notwrong
Not enough info:            https://bugs.php.net/fix.php?id=71429&r=notenoughinfo
Submitted twice:            https://bugs.php.net/fix.php?id=71429&r=submittedtwice
register_globals:           https://bugs.php.net/fix.php?id=71429&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=71429&r=php4
Daylight Savings:           https://bugs.php.net/fix.php?id=71429&r=dst
IIS Stability:              https://bugs.php.net/fix.php?id=71429&r=isapi
Install GNU Sed:            https://bugs.php.net/fix.php?id=71429&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=71429&r=float
No Zend Extensions:         https://bugs.php.net/fix.php?id=71429&r=nozend
MySQL Configuration Error:  https://bugs.php.net/fix.php?id=71429&r=mysqlcfg



Thread (4 messages)

« previous php.bugs (#198826) next »