Bug #71429 [Opn->Csd]: Compile fail Sun CC 12.3

From: Date: Wed, 11 Oct 2017 17:23:18 +0000
Subject: Bug #71429 [Opn->Csd]: Compile fail Sun CC 12.3
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-211630@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=71429&edit=1 ID: 71429 Updated by: ab@php.net Reported by: cross at hccs dot com Summary: Compile fail Sun CC 12.3 -Status: Open +Status: Closed Type: Bug Package: Compile Failure Operating System: Sparc Solaris 10 PHP Version: 7.0.2 -Assigned To: +Assigned To: ab Block user comment: N Private report: N New Comment: Fixed in the core, see bug #74379. Thanks. Previous Comments: ------------------------------------------------------------------------ [2016-05-03 15:27:13] roger dot collins at us dot af dot mil Having the same issue with 7.0.6 on Sparc Solaris 11. ------------------------------------------------------------------------ [2016-04-16 07:06:37] 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-01-21 21:22:35] 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 ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=71429&edit=1

« previous php.bugs (#211630) next »