#50513 [Opn->Bgs]: failure while running make test
| From: | jani@php.net | Date: | Fri, 18 Dec 2009 10:09:16 +0000 |
| Subject: | #50513 [Opn->Bgs]: failure while running make test | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-145880@lists.php.net to get a copy of this message | ||
ID: 50513
Updated by: jani@php.net
Reported By: pushpender007 at gmail dot co,
-Status: Open
+Status: Bogus
Bug Type: Compile Failure
Operating System: SUSE Enterprise Server s390x
PHP Version: 5.2SVN-2009-12-18 (snap)
New Comment:
Please do not submit the same bug more than once. An existing
bug report already describes this very problem. Even if you feel
that your issue is somewhat different, the resolution is likely
to be the same.
Thank you for your interest in PHP.
See bug #50514
Previous Comments:
------------------------------------------------------------------------
[2009-12-18 09:51:25] pushpender007 at gmail dot co,
Description:
------------
php make test fails with below error.
/bin/sh: line 1: 9257 Segmentation fault
TEST_PHP_EXECUTABLE=/usr/src/php5.2-200912180730/sapi/cli/php
TEST_PHP_SRCDIR=/usr/src/php5.2-200912180730 CC="gcc"
/usr/src/php5.2-200912180730/sapi/cli/php -n -c
/usr/src/php5.2-200912180730/tmp-php.ini -d 'open_basedir=' -d
'output_buffering=0' -d 'memory_limit=-1'
/usr/src/php5.2-200912180730/run-tests.php -n -c
/usr/src/php5.2-200912180730/tmp-php.ini -d
extension_dir=/usr/src/php5.2-200912180730/modules/ ` if test
"x/usr/src/php5.2-200912180730/modules/wddx.la" != "x"; then for i in
/usr/src/php5.2-200912180730/modules/wddx.la""; do . $i;
/usr/src/php5.2-200912180730/build/shtool echo -n -- " -d
extension=$dlname"; done; fi; if test "x" != "x"; then for i in
""; do .
$i; /usr/src/php5.2-200912180730/build/shtool echo -n -- " -d
zend_extension=/usr/src/php5.2-200912180730/modules/$dlname"; done; fi`
make: [test] Error 139 (ignored)
Reproduce code:
---------------
complied with following options
./configure \
--with-apxs2=/usr/local/apache/bin/apxs \
--disable-debug \
--enable-ftp \
--libdir=lib64 \
--enable-inline-optimization \
--enable-magic-quotes \
--enable-mbstring \
--enable-wddx=shared \
--enable-xml \
--with-gd \
--with-gettext \
--with-mysql=/usr/local/mysql \
--with-regex=system \
--with-zlib-dir=/usr/local/lib \
--with-jpeg-dir=/usr/local/lib
Expected result:
----------------
make install should not give any error.
Actual result:
--------------
make test failing with following output.
/bin/sh: line 1: 9257 Segmentation fault
TEST_PHP_EXECUTABLE=/usr/src/php5.2-200912180730/sapi/cli/php
TEST_PHP_SRCDIR=/usr/src/php5.2-200912180730 CC="gcc"
/usr/src/php5.2-200912180730/sapi/cli/php -n -c
/usr/src/php5.2-200912180730/tmp-php.ini -d 'open_basedir=' -d
'output_buffering=0' -d 'memory_limit=-1'
/usr/src/php5.2-200912180730/run-tests.php -n -c
/usr/src/php5.2-200912180730/tmp-php.ini -d
extension_dir=/usr/src/php5.2-200912180730/modules/ ` if test
"x/usr/src/php5.2-200912180730/modules/wddx.la" != "x"; then for i in
/usr/src/php5.2-200912180730/modules/wddx.la""; do . $i;
/usr/src/php5.2-200912180730/build/shtool echo -n -- " -d
extension=$dlname"; done; fi; if test "x" != "x"; then for i in
""; do .
$i; /usr/src/php5.2-200912180730/build/shtool echo -n -- " -d
zend_extension=/usr/src/php5.2-200912180730/modules/$dlname"; done; fi`
make: [test] Error 139 (ignored)
Though php -version comes fines.
adeonline:/usr/src/php5.2-200912180730 #
/usr/src/php5.2-200912180730/sapi/cli/php -version
PHP 5.2.13-dev (cli) (built: Dec 18 2009 04:34:06)
Copyright (c) 1997-2009 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2009 Zend Technologies
my gcc version to compile php is
adeonline:/usr/src/php5.2-200912180730 # gcc -v
Using built-in specs.
Target: s390x-suse-linux
Configured with: ../configure --enable-threads=posix --prefix=/usr
--with-local-prefix=/usr/local --infodir=/usr/share/info
--mandir=/usr/share/man --libdir=/usr/lib64 --libexecdir=/usr/lib64
--enable-languages=c,c++,objc,fortran,obj-c++,java
--enable-checking=release --with-gxx-include-dir=/usr/include/c++/4.1.2
--enable-ssp --disable-libssp --disable-libgcj --with-slibdir=/lib64
--with-system-zlib --enable-shared --enable-__cxa_atexit
--enable-libstdcxx-allocator=new --program-suffix=
--enable-version-specific-runtime-libs --without-system-libunwind
--with-tune=z9-109 --with-arch=z900 --with-long-double-128
--host=s390x-suse-linux
Thread model: posix
gcc version 4.1.2 20070115 (SUSE Linux)
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=50513&edit=1