php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #71429 Compile fail Sun CC 12.3
Submitted: 2016-01-21 21:22 UTC Modified: 2017-10-11 17:23 UTC
Votes:2
Avg. Score:4.5 ± 0.5
Reproduced:2 of 2 (100.0%)
Same Version:1 (50.0%)
Same OS:1 (50.0%)
From: cross at hccs dot com Assigned: ab (profile)
Status: Closed Package: Compile Failure
PHP Version: 7.0.2 OS: Sparc Solaris 10
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: cross at hccs dot com
New email:
PHP Version: OS:

 

 [2016-01-21 21:22 UTC] cross at hccs dot com
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



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2016-04-16 07:06 UTC] ed dot heal at yahoo dot co dot uk
I added:

    #define offsetof(STRUCTURE,FIELD) ((int)((char*)&((STRUCTURE*)0)->FIELD))

what I got from sqllite3.c
 [2016-05-03 15:27 UTC] roger dot collins at us dot af dot mil
Having the same issue with 7.0.6 on Sparc Solaris 11.
 [2017-10-11 17:23 UTC] ab@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: ab
 [2017-10-11 17:23 UTC] ab@php.net
Fixed in the core, see bug #74379.

Thanks.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Nov 21 18:01:29 2024 UTC