Re: Solaris 10 compile of php-5.6.x fails during make, using Oracle Studio 12

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



I can confirm that compiling PHP under Sun Studio fails, although I'm not sure why.  I tried to compile PHP 5.6.17 on Solaris 10 x86 with Sun Studio 12 (CC version 5.9) just using:

    ./configure
    make

With no options other that a prefix.  It failed in a different spot:

http://pastebin.com/dyNaURpe

    - Dave

On Fri, Jan 22, 2016 at 12:56 PM, Christine <Christine.Ross@xxxxxxxxxxxxxxxx> wrote:
J <mm_half3 <at> live.com> writes:

>
> Hello,
> Have tried to compile two versions of the php-5.6.x tree on Solaris
10, and both failed in the make process throwing out in
target Zend/zend_language_scanner.lo.    The first attempt was tried in
March with 5.6.7.    Tried with 5.6.9 with similar results.  
Environment is:  Solaris 10 x86, cc: Sun C 5.12 SunOS_i386, httpd-
2.4.12, apr-1.5.2, apr-util-1.5.4.   The configure command used is:
 ../php-5.6.9/configure --prefix=/apache -with-apxs2=/apache/bin/apxs --
enable-opcache=no .     The make output before the fatal error are
below.     After the failure of 5.6.7 tried the 5.5 source tree and
5.5.23 built without errors.   Going to try 5.5.41 shortly...however
would like to be able to build the 5.6.x tree.   Any suggestions?
>
> Thanks,
>
>
>
> /bin/bash /tmp/objdir_php/libtool --silent --preserve-dup-deps --
mode=compile cc  -IZend/ -I/tmp/php-5.6.9/Zend/ -DPHP_ATOM_INC -
I/tmp/objdir_php/include -I/tmp/objdir_php/main -I/tmp/php-5.6.9 -
I/tmp/objdir_php/ext/date/lib -I/tmp/php-5.6.9/ext/date/lib -I/tmp/php-
5.6.9/ext/ereg/regex -I/usr/local/include/libxml2 -I/tmp/php-
5..6.9/ext/sqlite3/libsqlite -I/tmp/objdir_php/TSRM -
I/tmp/objdir_php/Zend -I/tmp/php-5.6.9/main -I/tmp/php-5.6.9/Zend -
I/tmp/php-5.6.9/TSRM -I/tmp/objdir_php/  -D_POSIX_PTHREAD_SEMANTICS -
D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT  -I/usr/local/include -xO4 -
xchip=generic -DZTS  -c /tmp/php-5.6.9/Zend/zend_language_scanner.c -o
Zend/zend_language_scanner.lo 
> "/tmp/php-5.6.9/Zend/zend_language_scanner.c", line 2: warning:
invalid white space character in directive
> "Zend/zend_language_scanner.l", line 26: warning: invalid white space
character in directive
> "Zend/zend_language_scanner.l", line 28: warning: invalid white space
character in directive
> "Zend/zend_language_scanner.l", line 29: warning: invalid white space
character in directive
> "Zend/zend_language_scanner.l", line 30: warning: invalid white space
character in directive
> "Zend/zend_language_scanner.l", line 32: warning: invalid white space
character in directive
> "/tmp/php-5.6.9/Zend/zend_language_scanner_defs.h", line 2: warning:
invalid white space character in directive
> "Zend/zend_language_scanner.l", line 34: warning: invalid white space
character in directive
> "Zend/zend_language_scanner.l", line 35: warning: invalid white space
character in directive
> "/tmp/php-5.6.9/Zend/zend_operators.h", line 653: warning: integer
overflow detected: op "<<"
> "/tmp/php-5.6.9/Zend/zend_operators.h", line 653: warning: integer
overflow detected: op "<<"
> "/tmp/php-5.6.9/Zend/zend_operators.h", line 653: warning: integer
overflow detected: op "<<"
> "/tmp/php-5.6.9/Zend/zend_operators.h", line 653: warning: integer
overflow detected: op "<<"
> "/tmp/php-5.6.9/Zend/zend_operators.h", line 743: warning: integer
overflow detected: op "<<"
> "/tmp/php-5.6.9/Zend/zend_operators.h", line 743: warning: integer
overflow detected: op "<<"
> "/tmp/php-5.6.9/Zend/zend_operators.h", line 743: warning: integer
overflow detected: op "<<"
> "/tmp/php-5.6.9/Zend/zend_operators.h", line 743: warning: integer
overflow detected: op "<<"
> "Zend/zend_language_scanner.l", line 36: warning: invalid white space
character in directive
> "Zend/zend_language_scanner.l", line 38: warning: invalid white space
character in directive
> "Zend/zend_language_scanner.l", line 39: warning: invalid white space
character in directive
> "Zend/zend_language_scanner.l", line 40: warning: invalid white space
character in directive
> "Zend/zend_language_scanner.l", line 41: warning: invalid white space
character in directive
> "Zend/zend_language_scanner.l", line 42: warning: invalid white space
character in directive
> "Zend/zend_language_scanner.l", line 43: warning: invalid white space
character in directive
> "Zend/zend_language_scanner.l", line 44: warning: invalid white space
character in directive
> "Zend/zend_language_scanner.l", line 45: warning: invalid white space
character in directive
> "Zend/zend_language_scanner.l", line 46: warning: invalid white space
character in directive
> "Zend/zend_language_scanner.l", line 47: warning: invalid white space
character in directive
> "Zend/zend_language_scanner.l", line 48: warning: invalid white space
character in directive
> "Zend/zend_language_scanner.l", line 49: warning: invalid white space
character in directive
> "Zend/zend_language_scanner.l", line 50: warning: invalid white space
character in directive
> "Zend/zend_language_scanner.l", line 51: warning: invalid white space
character in directive
> "Zend/zend_language_scanner.l", line 53: warning: invalid white space
character in directive
> "Zend/zend_language_scanner.l", line 54: warning: invalid white space
character in directive
> "Zend/zend_language_scanner.l", line 55: warning: invalid white space
character in directive
> "Zend/zend_language_scanner.l", line 56: warning: invalid white space
character in directive
> "Zend/zend_language_scanner.l", line 57: warning: invalid white space
character in directive
> "Zend/zend_language_scanner.l", line 59: warning: invalid white space
character in directive
> "Zend/zend_language_scanner.l", line 60: warning: invalid white space
character in directive
> "Zend/zend_language_scanner.l", line 62: warning: invalid white space
character in directive
> "Zend/zend_language_scanner.l", line 65: warning: invalid white space
character in directive
> "Zend/zend_language_scanner.l", line 66: warning: invalid white space
character in directive
> "Zend/zend_language_scanner.l", line 67: warning: invalid white space
character in directive
> "Zend/zend_language_scanner.l", line 68: warning: invalid white space
character in directive
> "Zend/zend_language_scanner.l", line 69: warning: invalid white space
character in directive
> "Zend/zend_language_scanner.l", line 70: warning: function prototype
parameters must have types
> "Zend/zend_language_scanner.l", line 70: warning: old-style
declaration or incorrect type for: SCNG
> "Zend/zend_language_scanner.l", line 70: cannot initialize function:
SCNG
> "Zend/zend_language_scanner.l", line 70: undefined symbol: x
> "Zend/zend_language_scanner.l", line 70: cannot recover from previous
errors
> cc: acomp failed for /tmp/php-5.6.9/Zend/zend_language_scanner.c
> *** Error code 1
> make: Fatal error: Command failed for target
`Zend/zend_language_scanner.lo'
>
>
>
>
>
Hello.

I am working very hard at trying to fine a fix for this as I am
experiencing it when trying 5.6.10 and 5.6.17.  I get the many lines of
'invalid white space' and then the failure for zend_language_scanner.
I'm running Sparc Solaris 10, Sun CC 12.3.

Any help would be appreciated.

THnak you

...
"Zend/zend_language_scanner.l", line 69: warning: invalid white space
character in directive
"Zend/zend_language_scanner.l", line 70: warning: function prototype
parameters must have types
"Zend/zend_language_scanner.l", line 70: warning: old-style declaration
or incorrect type for: SCNG
"Zend/zend_language_scanner.l", line 70: cannot initialize function:
SCNG
"Zend/zend_language_scanner.l", line 70: undefined symbol: x
"Zend/zend_language_scanner.l", line 70: cannot recover from previous
errors
cc: acomp failed for /tmp/php-5.6.9/Zend/zend_language_scanner.c
*** Error code 1
make: Fatal error: Command failed for target
`Zend/zend_language_scanner.lo'





--
Dave Parker
Systems Administrator
Utica College
Integrated Information Technology Services
(315) 792-3229
Registered Linux User #408177

[Index of Archives]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [Postgresql]     [PHP Books]     [PHP Databases]     [PHP SOAP]
  Powered by Linux