php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #50513 failure while running make test
Submitted: 2009-12-18 09:51 UTC Modified: 2009-12-18 10:09 UTC
From: pushpender007 at gmail dot co, Assigned:
Status: Not a bug Package: Compile Failure
PHP Version: 5.2SVN-2009-12-18 (snap) OS: SUSE Enterprise Server s390x
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: pushpender007 at gmail dot co,
New email:
PHP Version: OS:

 

 [2009-12-18 09:51 UTC] 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)


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-12-18 10:09 UTC] jani@php.net
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
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Jun 03 14:01:30 2024 UTC