#47230 [Com]: Bug with gcc Optimizer on Sparc systems
| From: | sriram dot natarajan at gmail dot com | Date: | Wed, 15 Jul 2009 08:05:37 +0000 |
| Subject: | #47230 [Com]: Bug with gcc Optimizer on Sparc systems | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-139749@lists.php.net to get a copy of this message | ||
ID: 47230
Comment by: sriram dot natarajan at gmail dot com
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:
hi
please see related bug - http://bugs.php.net/bug.php?id=48668 .
if you compile with sun studio 12 (which is available for free from
http://www.sun.com/sunstudio , you should not have this
problem.
future releases of php 5.3 should address this issue
Previous Comments:
------------------------------------------------------------------------
[2009-07-14 22:22:03] lepage at grm dot polymtl dot ca
same problem here with php-5.3.0.
on Solaris 10 and gcc 4.3.2
------------------------------------------------------------------------
[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] jani@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] scottmac@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
------------------------------------------------------------------------
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