ID: 47230 Comment by: lepage at grm dot polymtl dot ca Reported By: lneve at mail dot nih dot gov Status: No Feedback Bug Type: Reproducible crash Operating System: Solaris 10 (completely patched) PHP Version: 5.3.0-beta2-dev New Comment:
same problem here with php-5.3.0. on Solaris 10 and gcc 4.3.2 Previous Comments: ------------------------------------------------------------------------ [2009-05-05 01:00:02] 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". ------------------------------------------------------------------------ [2009-04-27 15:56:35] j...@php.net Please try using this CVS snapshot: http://snaps.php.net/php5.3-latest.tar.gz For Windows: http://windows.php.net/snapshots/ ------------------------------------------------------------------------ [2009-01-28 17:16:25] scott...@php.net This is a gcc optimizer bug, if you do CFLAGS="-O0" prior to compiling it you don't get a problem. I've been told SunCC works fine. ------------------------------------------------------------------------ [2009-01-28 13:40:16] lneve at mail dot nih dot gov If I build with --disable-phar it builds successfully but "make test" fails with: -bash-3.00# make test Build complete. Don't forget to run 'make test'. Bus Error - core dumped *** Error code 138 (ignored) The following command caused the error: if test ! -z "" && test -x ""; then \ TEST_PHP_EXECUTABLE= \ TEST_PHP_SRCDIR=/opt/php-5.3.0alpha3 \ CC="gcc" \ -d 'open_basedir=' -d 'output_buffering=0' -d 'memory_limit=-1' /opt/php-5.3.0alpha3/run-tests.php -d extension_dir=modules/ ` if test "x" != "x"; then for i in ""; do . $i; /opt/php-5.3.0alpha3/build/shtool echo -n -- " -d extension=$dlname"; done; fi; if test "x" != "x"; then for i in ""; do . $i; /opt/php-5.3.0alpha3/build/shtool echo -n -- " -d zend_extension=/opt/php-5.3.0alpha3/modules/$dlname"; done; fi` tests/; \ elif test ! -z "sapi/cli/php" && test -x "sapi/cli/php"; then \ INI_FILE=`/opt/php-5.3.0alpha3/sapi/cli/php -d 'display_errors=stderr' -r 'echo php_ini_loaded_file();' 2> /dev/null`; \ if test "$INI_FILE"; then \ egrep -v '^(zend_)?extension(_debug)?(_ts)?[\t\ ]*=' "$INI_FILE" > /opt/php-5.3.0alpha3/tmp-php.ini; \ else \ echo > /opt/php-5.3.0alpha3/tmp-php.ini; \ fi; \ INI_SCANNED_PATH=`/opt/php-5.3.0alpha3/sapi/cli/php -d 'display_errors=stderr' -r '$a = explode(",\n", trim(php_ini_scanned_files())); echo $a[0];' 2> /dev/null`; \ if test "$INI_SCANNED_PATH"; then \ INI_SCANNED_PATH=`/opt/php-5.3.0alpha3/build/shtool path -d $INI_SCANNED_PATH`; \ egrep -h -v '^(zend_)?extension(_debug)?(_ts)?[\t\ ]*=' "$INI_SCANNED_PATH"/*.ini >> /opt/php-5.3.0alpha3/tmp-php.ini; \ fi; \ TEST_PHP_EXECUTABLE=/opt/php-5.3.0alpha3/sapi/cli/php \ TEST_PHP_SRCDIR=/opt/php-5.3.0alpha3 \ CC="gcc" \ /opt/php-5.3.0alpha3/sapi/cli/php -n -c /opt/php-5.3.0alpha3/tmp-php.ini -d 'open_basedir=' -d 'output_buffering=0' -d 'memory_limit=-1' /opt/php-5.3.0alpha3/run-tests.php -n -c /opt/php-5.3.0alpha3/tmp-php.ini -d extension_dir=/opt/php-5.3.0alpha3/modules/ ` if test "x" != "x"; then for i in ""; do . $i; /opt/php-5.3.0alpha3/build/shtool echo -n -- " -d extension=$dlname"; done; fi; if test "x" != "x"; then for i in ""; do . $i; /opt/php-5.3.0alpha3/build/shtool echo -n -- " -d zend_extension=/opt/php-5.3.0alpha3/modules/$dlname"; done; fi` ; \ else \ echo "ERROR: Cannot run tests without CLI sapi."; \ fi ------------------------------------------------------------------------ [2009-01-28 13:32:49] lneve at mail dot nih dot gov It's a sparc system. Is there a workaround since I don't need phar? If I add --disable-phar it builds successfully, but experiences a bus error during "make test". ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/47230 -- Edit this bug report at http://bugs.php.net/?id=47230&edit=1