From: [EMAIL PROTECTED] Operating system: Linux PHP version: 5CVS-2006-04-16 (CVS) PHP Bug Type: Compile Failure Bug description: ext/standard/http_fopen_wrapper.c: program cc1 got fatal signal 11
Description: ------------ ilia's fix of /php-src/ext/standard/http_fopen_wrapper.c (Fixed bug #37045 (Fixed check for special chars for http redirects).) Seems to have introduced this problem; If I go to the previous version of that file, everything compiles fine Reproduce code: --------------- $ gcc -v Reading specs from /usr/lib/gcc-lib/i386-linux/2.95.4/specs gcc version 2.95.4 20011002 (Debian prerelease) ./configure; make Expected result: ---------------- Compiles fine. Actual result: -------------- /bin/sh /opt/cruisecontrol/projects/PHP_5_1/php5/libtool --silent --preserve-dup-deps --mode=compile gcc -Iext/standard/ -I/opt/cruisecontrol/projects/PHP_5_1/php5/ext/standard/ -DPHP_ATOM_INC -I/opt/cruisecontrol/projects/PHP_5_1/php5/include -I/opt/cruisecontrol/projects/PHP_5_1/php5/main -I/opt/cruisecontrol/projects/PHP_5_1/php5 -I/opt/libxml2/include/libxml2 -I/opt/curl/include -I/opt/cruisecontrol/projects/PHP_5_1/php5/ext/date/lib -I/usr/include/freetype2 -I/usr/include/c-client -I/usr/include/mysql -I/opt/postgres/include -I/opt/tidy/include -I/opt/libxslt/include -I/opt/cruisecontrol/projects/PHP_5_1/php5/TSRM -I/opt/cruisecontrol/projects/PHP_5_1/php5/Zend -I/usr/include -g -O2 -c /opt/cruisecontrol/projects/PHP_5_1/php5/ext/standard/http_fopen_wrapper.c -o ext/standard/http_fopen_wrapper.lo /opt/cruisecontrol/projects/PHP_5_1/php5/ext/standard/http_fopen_wrapper.c: In function `php_stream_url_wrap_http_ex': /opt/cruisecontrol/projects/PHP_5_1/php5/ext/standard/http_fopen_wrapper.c:642: `newpath' undeclared (first use in this function) /opt/cruisecontrol/projects/PHP_5_1/php5/ext/standard/http_fopen_wrapper.c:642: (Each undeclared identifier is reported only once /opt/cruisecontrol/projects/PHP_5_1/php5/ext/standard/http_fopen_wrapper.c:642: for each function it appears in.) /opt/cruisecontrol/projects/PHP_5_1/php5/ext/standard/http_fopen_wrapper.c:642: parse error before `{' /opt/cruisecontrol/projects/PHP_5_1/php5/ext/standard/http_fopen_wrapper.c:643: `l' undeclared (first use in this function) /opt/cruisecontrol/projects/PHP_5_1/php5/ext/standard/http_fopen_wrapper.c:643: `s' undeclared (first use in this function) /opt/cruisecontrol/projects/PHP_5_1/php5/ext/standard/http_fopen_wrapper.c:643: `e' undeclared (first use in this function) /opt/cruisecontrol/projects/PHP_5_1/php5/ext/standard/http_fopen_wrapper.c:644: `new_path' undeclared (first use in this function) /opt/cruisecontrol/projects/PHP_5_1/php5/ext/standard/http_fopen_wrapper.c:214: label `out' used but not defined gcc: Internal compiler error: program cc1 got fatal signal 11 make: *** [ext/standard/http_fopen_wrapper.lo] Error 1 -- Edit bug report at http://bugs.php.net/?id=37098&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=37098&r=trysnapshot44 Try a CVS snapshot (PHP 5.1): http://bugs.php.net/fix.php?id=37098&r=trysnapshot51 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=37098&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=37098&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=37098&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=37098&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=37098&r=needscript Try newer version: http://bugs.php.net/fix.php?id=37098&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=37098&r=support Expected behavior: http://bugs.php.net/fix.php?id=37098&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=37098&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=37098&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=37098&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=37098&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=37098&r=dst IIS Stability: http://bugs.php.net/fix.php?id=37098&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=37098&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=37098&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=37098&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=37098&r=mysqlcfg