#39446 [Opn->Bgs]: "make test" fails Error 138

From: Date: Mon, 20 Nov 2006 16:38:55 +0000
Subject: #39446 [Opn->Bgs]: "make test" fails Error 138
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-105206@lists.php.net to get a copy of this message
ID: 39446 Updated by: tony2001@php.net Reported By: hakkarainen at cs dot joensuu dot fi -Status: Open +Status: Bogus Bug Type: Compile Failure Operating System: Solaris 9 (sparc) PHP Version: 5.2.0 New Comment: It works just fine with GCC 3.4.5, so I suspect the problem is somewhere in GCC 4.x. Please reopen the report as soon as you have any additional information. Previous Comments: ------------------------------------------------------------------------ [2006-11-20 06:22:52] hakkarainen at cs dot joensuu dot fi Unfortunately I don't have GCC 3.x installed anymore. A colleque tried to compile php5.2-200611171130 with gcc version 3.0.4 on Solaris 8 machine but failed: configure --disable-libxml --disable-dom --disable-simplexml --disable-xml --disable-xmlreader --disable-xmlwriter --without-pear /mix2/src/php5.2-200611171130/ext/pdo_sqlite/sqlite/src/btree.c: In function `checkAppendMsg': /mix2/src/php5.2-200611171130/ext/pdo_sqlite/sqlite/src/btree.c:6075: `__builtin_va_alist' undeclared (first use in this function) /mix2/src/php5.2-200611171130/ext/pdo_sqlite/sqlite/src/btree.c:6075: (Each undeclared identifier is reported only once /mix2/src/php5.2-200611171130/ext/pdo_sqlite/sqlite/src/btree.c:6075: for each function it appears in.) *** Error code 1 make: Fatal error: Command failed for target `ext/pdo_sqlite/sqlite/src/btree.lo ------------------------------------------------------------------------ [2006-11-17 10:45:44] tony2001@php.net Sorry, I meant GCC 3.x. ------------------------------------------------------------------------ [2006-11-17 06:11:10] hakkarainen at cs dot joensuu dot fi I tested with gcc 4.1.1 (latest of current release) and php5.2-200611161130 but still got the same error: Program received signal SIGSEGV, Segmentation fault. 0x00386b24 in _zend_mm_alloc_int (heap=0x545ec0, size=5, __zend_filename=0x503e48 "/usr/local/src/php-5.2.0TEST/php5.2-200611161130/Zend/zend_constants.c", __zend_lineno=322, __zend_orig_filename=0x0, __zend_orig_lineno=0) at /usr/local/src/php-5.2.0TEST/php5.2-200611161130/Zend/zend_alloc.c:1269 1269 ZEND_MM_SET_END_MAGIC(best_fit); ------------------------------------------------------------------------ [2006-11-16 09:30:14] tony2001@php.net Could you plz also try less exotic GCC version? Thanks. ------------------------------------------------------------------------ [2006-11-16 06:20:11] hakkarainen at cs dot joensuu dot fi It seems that problem is compiler related. I got same error when compiling with gcc version 4.1.0. However, the problem disappeared when I compiled with Sun C 5.5. ------------------------------------------------------------------------ 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/39446 -- Edit this bug report at http://bugs.php.net/?id=39446&edit=1

« previous php.bugs (#105206) next »