php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #33398 #error ("Unrecognized compiler protocol for variable argument lists")
Submitted: 2005-06-19 13:36 UTC Modified: 2005-10-17 01:00 UTC
Votes:4
Avg. Score:4.2 ± 0.8
Reproduced:4 of 4 (100.0%)
Same Version:0 (0.0%)
Same OS:2 (50.0%)
From: nohn@php.net Assigned:
Status: No Feedback Package: Compile Failure
PHP Version: 5CVS-2005-10-09 (snap) OS: SunOS 5.10
Private report: No CVE-ID: None
 [2005-06-19 13:36 UTC] nohn@php.net
Description:
------------
Compilation of PHP 5.1.0b1 fails on SunOS 5.10, gcc version 2.95.3 20010315 (release)

Reproduce code:
---------------
./configure; make

Expected result:
----------------
PHP gets built

Actual result:
--------------
/bin/sh /home/nohn/php-5.1.0b1/libtool --silent --preserve-dup-deps --mode=compile gcc -I"/usr/include" -Iext/iconv/ -I/home/nohn/php-5.1.0b1/ext/iconv/ -DPHP_ATOM_INC -I/home/nohn/php-5.1.0b1/include -I/home/nohn/php-5.1.0b1/main -I/home/nohn/php-5.1.0b1 -I/usr/include/libxml2 -I/home/nohn/php-5.1.0b1/TSRM -I/home/nohn/php-5.1.0b1/Zend  -D_POSIX_PTHREAD_SEMANTICS  -g -O2  -c /home/nohn/php-5.1.0b1/ext/iconv/iconv.c -o ext/iconv/iconv.lo
In file included from /usr/include/iso/stdarg_iso.h:41,
                 from /usr/include/stdarg.h:32,
                 from /home/nohn/php-5.1.0b1/Zend/zend.h:76,
                 from /home/nohn/php-5.1.0b1/main/php.h:34,
                 from /home/nohn/php-5.1.0b1/ext/iconv/iconv.c:27:
/usr/include/sys/va_impl.h:150: #error ("Unrecognized compiler protocol for variable argument lists")
make: *** [ext/iconv/iconv.lo] Error 1

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-06-19 13:42 UTC] sniper@php.net
Please try using this CVS snapshot:

  http://snaps.php.net/php5-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php5-win32-latest.zip


 [2005-06-19 14:12 UTC] nohn@php.net
The problem persits:


/bin/sh /home/nohn/php5-200506191030/libtool --silent --preserve-dup-deps --mode=compile gcc -I"/usr/include" -Iext/iconv/ -I/home/nohn/php5-200506191030/ext/iconv/ -DPHP_ATOM_INC -I/home/nohn/php5-200506191030/include -I/home/nohn/php5-200506191030/main -I/home/nohn/php5-200506191030 -I/usr/include/libxml2 -I/home/nohn/php5-200506191030/TSRM -I/home/nohn/php5-200506191030/Zend  -D_POSIX_PTHREAD_SEMANTICS  -g -O2  -c /home/nohn/php5-200506191030/ext/iconv/iconv.c -o ext/iconv/iconv.lo
In file included from /usr/include/iso/stdarg_iso.h:41,
                 from /usr/include/stdarg.h:32,
                 from /home/nohn/php5-200506191030/Zend/zend.h:76,
                 from /home/nohn/php5-200506191030/main/php.h:34,
                 from /home/nohn/php5-200506191030/ext/iconv/iconv.c:27:
/usr/include/sys/va_impl.h:150: #error ("Unrecognized compiler protocol for variable argument lists")
make: *** [ext/iconv/iconv.lo] Error 1
 [2005-06-19 14:19 UTC] sniper@php.net
And what platform is it? Sparc or x86?

 [2005-06-19 15:05 UTC] nohn@php.net
It's sparc:

$ /usr/sbin/prtdiag
System Configuration:  Sun Microsystems  sun4u Sun Ultra 5/10 UPA/PCI (UltraSPARC-IIi 440MHz)
System clock frequency: 110 MHz
Memory size: 1024 Megabytes

PHP5-stable fails:

gcc -I"/usr/include" -Iext/iconv/ -I/home/nohn/php5-STABLE-200506191033/ext/iconv/ -DPHP_ATOM_INC -I/home/nohn/php5-STABLE-200506191033/include -I/home/nohn/php5-STABLE-200506191033/main -I/home/nohn/php5-STABLE-200506191033 -I/usr/include/libxml2 -I/home/nohn/php5-STABLE-200506191033/TSRM -I/home/nohn/php5-STABLE-200506191033/Zend  -D_POSIX_PTHREAD_SEMANTICS  -g -O2  -c /home/nohn/php5-STABLE-200506191033/ext/iconv/iconv.c -o ext/iconv/iconv.o  && echo > ext/iconv/iconv.lo
In file included from /usr/include/iso/stdarg_iso.h:41,
                 from /usr/include/stdarg.h:32,
                 from /home/nohn/php5-STABLE-200506191033/Zend/zend.h:76,
                 from /home/nohn/php5-STABLE-200506191033/main/php.h:34,
                 from /home/nohn/php5-STABLE-200506191033/ext/iconv/iconv.c:27:
/usr/include/sys/va_impl.h:150: #error ("Unrecognized compiler protocol for variable argument lists")
make: *** [ext/iconv/iconv.lo] Error 1


PHP4-stable-latest compiles fine; make test works
 [2005-10-09 11:06 UTC] nohn@php.net
The same with 5.1-CVS:

bin/sh /tmp/php5-200510090630/libtool --silent --preserve-dup-deps --mode=compile gcc -I"/usr/include" -Iext/iconv/ -I/tmp/php5-200510090630/ext/iconv/ -DPHP_ATOM_INC -I/tmp/php5-200510090630/include -I/tmp/php5-200510090630/main -I/tmp/php5-200510090630 -I/usr/include/libxml2 -I/tmp/php5-200510090630/ext/date/lib -I/tmp/php5-200510090630/TSRM -I/tmp/php5-200510090630/Zend  -D_POSIX_PTHREAD_SEMANTICS  -g -O2  -c /tmp/php5-200510090630/ext/iconv/iconv.c -o ext/iconv/iconv.lo
In file included from /usr/include/iso/stdarg_iso.h:41,
                 from /usr/include/stdarg.h:32,
                 from /tmp/php5-200510090630/Zend/zend.h:76,
                 from /tmp/php5-200510090630/main/php.h:34,
                 from /tmp/php5-200510090630/ext/iconv/iconv.c:27:
/usr/include/sys/va_impl.h:150: #error ("Unrecognized compiler protocol for variable argument lists")
make: *** [ext/iconv/iconv.lo] Error 1
/bin/sh /tmp/php5-200510090630/libtool --silent --preserve-dup-deps --mode=compile gcc -I"/usr/include" -Iext/iconv/ -I/tmp/php5-200510090630/ext/iconv/ -DPHP_ATOM_INC -I/tmp/php5-200510090630/include -I/tmp/php5-200510090630/main -I/tmp/php5-200510090630 -I/usr/include/libxml2 -I/tmp/php5-200510090630/ext/date/lib -I/tmp/php5-200510090630/TSRM -I/tmp/php5-200510090630/Zend  -D_POSIX_PTHREAD_SEMANTICS  -g -O2  -c /tmp/php5-200510090630/ext/iconv/iconv.c -o ext/iconv/iconv.lo
In file included from /usr/include/iso/stdarg_iso.h:41,
                 from /usr/include/stdarg.h:32,
                 from /tmp/php5-200510090630/Zend/zend.h:76,
                 from /tmp/php5-200510090630/main/php.h:34,
                 from /tmp/php5-200510090630/ext/iconv/iconv.c:27:
/usr/include/sys/va_impl.h:150: #error ("Unrecognized compiler protocol for variable argument lists")
make: *** [ext/iconv/iconv.lo] Error 1

 [2005-10-09 13:10 UTC] sniper@php.net
Aren't there any newer versions or "fixpacks" for this obviously buggy OS available?
 [2005-10-17 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 12:01:31 2024 UTC