ID: 26642 Updated by: [EMAIL PROTECTED] Reported By: eero at ping-viini dot org -Status: Open +Status: Feedback Bug Type: Compile Failure Operating System: Linux 2.6 PHP Version: 5CVS-2003-12-17 (dev) New Comment:
Try compiling PHP without -march=athlon & -fomit-frame-pointer in certain versions of GCC overoptimizations can result in invalid code. Previous Comments: ------------------------------------------------------------------------ [2003-12-17 02:51:15] eero at ping-viini dot org Description: ------------ Make install crashes with following: You may want to add: /usr/local/lib/php to your php.ini include_path [PEAR] DB - already installed: 1.5.0RC1 [PEAR] HTTP - already installed: 1.2.1 make[1]: *** [install-pear-packages] Segmentation fault make: *** [install-pear] Error 2 and my configure lines: #!/bin/sh export CFLAGS="-march=athlon -O3 -pipe -fomit-frame-pointer" ./configure --with-mysql --with-bz2 --with-gd --with-jpeg-dir=/usr/lib --with-png-dir=/usr/lib --with-gettext --enable-inline-optimization \ --with-apxs=/home/apache/bin/apxs --with-pgsql --with-zlib-dir=/usr/lib --enable-ftp --enable-sockets --with-ming --with-mm --with-pdflib \ --enable-mime-magic --enable-dio --enable-calendar --enable-bcmath --enable-wddx --with-xmlrpc --with-expat --with-dom --with-unixODBC \ --with-freetype --enable-gd-native-ttf --with-gettext --with-gmp --enable-mbstring --enable-mbregex --enable-xslt --with-xslt-sablot \ --with-sablot-js --enable-shmop Reproduce code: --------------- [EMAIL PROTECTED] php5-200312170630]# make install Installing PHP SAPI module: apache [activating module `php5' in /home/apache/conf/httpd.conf] cp libs/libphp5.so /home/apache/libexec/libphp5.so chmod 755 /home/apache/libexec/libphp5.so cp /home/apache/conf/httpd.conf /home/apache/conf/httpd.conf.bak cp /home/apache/conf/httpd.conf.new /home/apache/conf/httpd.conf rm /home/apache/conf/httpd.conf.new Installing PHP CLI binary: /usr/local/bin/ Installing PHP CLI man page: /usr/local/man/man1/ Installing PEAR environment: /usr/local/lib/php/ [PEAR] Archive_Tar - already installed: 1.1 [PEAR] Console_Getopt - already installed: 2.0 [PEAR] PEAR - already installed: 1.3b4 Wrote PEAR system config file at: /usr/local/etc/pear.conf You may want to add: /usr/local/lib/php to your php.ini include_path [PEAR] DB - already installed: 1.5.0RC1 [PEAR] HTTP - already installed: 1.2.1 make[1]: *** [install-pear-packages] Segmentation fault make: *** [install-pear] Error 2 [EMAIL PROTECTED] php5-200312170630]# ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=26642&edit=1
