#50513 [NEW]: failure while running make test
| From: | pushpender007 at gmail dot co, | Date: | Fri, 18 Dec 2009 09:51:26 +0000 |
| Subject: | #50513 [NEW]: failure while running make test | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-145878@lists.php.net to get a copy of this message | ||
From: pushpender007 at gmail dot co,
Operating system: SUSE Enterprise Server s390x
PHP version: 5.2SVN-2009-12-18 (snap)
PHP Bug Type: Compile Failure
Bug description: failure while running make test
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 bug report at http://bugs.php.net/?id=50513&edit=1
--
Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=50513&r=trysnapshot52
Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=50513&r=trysnapshot53
Try a snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=50513&r=trysnapshot60
Fixed in SVN: http://bugs.php.net/fix.php?id=50513&r=fixed
Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=50513&r=needdocs
Fixed in release: http://bugs.php.net/fix.php?id=50513&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=50513&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=50513&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=50513&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=50513&r=support
Expected behavior: http://bugs.php.net/fix.php?id=50513&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=50513&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=50513&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=50513&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=50513&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=50513&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=50513&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=50513&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=50513&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=50513&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=50513&r=mysqlcfg