|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2004-03-17 19:45 UTC] sroussey at network54 dot com
Description: ------------ PHP 4.3.5RC3 crashes with illegal instruction Reproduce code: --------------- CC=gcc CFLAGS="-O3 -march=$CPU " CXX=gcc \ ./configure \ --with-mysql=/usr \ --with-gd \ --with-dom \ --with-zlib \ --with-xml \ --with-openssl=/usr/local/ssl \ --with-apache=../apache-1.3.29\ --enable-inline-optimization \ --enable-shmop \ --enable-memory-limit make make install Expected result: ---------------- noraml installation... Actual result: -------------- Installing PHP SAPI module: apache Installing PHP CLI binary: /usr/local/bin/ Installing PHP CLI man page: /usr/local/man/man1/ Installing PEAR environment: /usr/local/lib/php/ make[1]: *** [install-pear-installer] Illegal instruction make: *** [install-pear] Error 2 I can confirm that php crashes in the make when the php cli is used in install-pear-installer Same config on php 4.3.4 has no issues. PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Nov 30 07:00:01 2025 UTC |
BTW: I have an strace (from the version that crashes -- that is, without the debug option) # tail trace_file -n 50 lstat64("/root/webserver_software_tmp", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 lstat64("/root/webserver_software_tmp/php-4.3.5RC3", {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0 lstat64("/root/webserver_software_tmp/php-4.3.5RC3/pear", {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0 lstat64("/root/webserver_software_tmp/php-4.3.5RC3/pear/PEAR", {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0 lstat64("/root/webserver_software_tmp/php-4.3.5RC3/pear/PEAR/Registry.php", {st_mode=S_IFREG|0664, st_size=15079, ...}) = 0 open("/root/webserver_software_tmp/php-4.3.5RC3/pear/PEAR/Registry.php", O_RDONLY) = 3 fstat64(3, {st_mode=S_IFREG|0664, st_size=15079, ...}) = 0 fstat64(3, {st_mode=S_IFREG|0664, st_size=15079, ...}) = 0 lseek(3, 0, SEEK_CUR) = 0 lseek(3, 0, SEEK_SET) = 0 read(3, "<?php\n//\n// +-------------------"..., 8192) = 8192 read(3, " return $err;\n "..., 8192) = 6887 brk(0) = 0x847e000 brk(0x8482000) = 0x8482000 brk(0) = 0x8482000 brk(0x8485000) = 0x8485000 brk(0) = 0x8485000 brk(0x8487000) = 0x8487000 brk(0) = 0x8487000 brk(0x8488000) = 0x8488000 read(3, "", 8192) = 0 close(3) = 0 stat64("/root/webserver_software_tmp/php-4.3.5RC3/pear/System.php", {st_mode=S_IFREG|0664, st_size=17972, ...}) = 0 getcwd("/root/webserver_software_tmp/php-4.3.5RC3", 4096) = 42 lstat64("/root", {st_mode=S_IFDIR|0750, st_size=4096, ...}) = 0 lstat64("/root/webserver_software_tmp", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 lstat64("/root/webserver_software_tmp/php-4.3.5RC3", {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0 lstat64("/root/webserver_software_tmp/php-4.3.5RC3/pear", {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0 lstat64("/root/webserver_software_tmp/php-4.3.5RC3/pear/System.php", {st_mode=S_IFREG|0664, st_size=17972, ...}) = 0 open("/root/webserver_software_tmp/php-4.3.5RC3/pear/System.php", O_RDONLY) = 3 fstat64(3, {st_mode=S_IFREG|0664, st_size=17972, ...}) = 0 fstat64(3, {st_mode=S_IFREG|0664, st_size=17972, ...}) = 0 lseek(3, 0, SEEK_CUR) = 0 lseek(3, 0, SEEK_SET) = 0 close(3) = 0 stat64("/root/webserver_software_tmp/php-4.3.5RC3/pear/PEAR.php", {st_mode=S_IFREG|0664, st_size=29746, ...}) = 0 getcwd("/root/webserver_software_tmp/php-4.3.5RC3", 4096) = 42 lstat64("/root", {st_mode=S_IFDIR|0750, st_size=4096, ...}) = 0 lstat64("/root/webserver_software_tmp", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 lstat64("/root/webserver_software_tmp/php-4.3.5RC3", {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0 lstat64("/root/webserver_software_tmp/php-4.3.5RC3/pear", {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0 lstat64("/root/webserver_software_tmp/php-4.3.5RC3/pear/PEAR.php", {st_mode=S_IFREG|0664, st_size=29746, ...}) = 0 open("/root/webserver_software_tmp/php-4.3.5RC3/pear/PEAR.php", O_RDONLY) = 3 fstat64(3, {st_mode=S_IFREG|0664, st_size=29746, ...}) = 0 fstat64(3, {st_mode=S_IFREG|0664, st_size=29746, ...}) = 0 lseek(3, 0, SEEK_CUR) = 0 lseek(3, 0, SEEK_SET) = 0 close(3) = 0 --- SIGILL (Illegal instruction) --- +++ killed by SIGILL +++