Edit report at http://bugs.php.net/bug.php?id=51302&edit=1
ID: 51302 Updated by: [email protected] Reported by: jachym dot tousek at gmail dot com Summary: wierd error with latest snapshot -Status: Open +Status: Feedback Type: Bug Package: Compile Failure Operating System: Debian etch PHP Version: 5.3SVN-2010-03-15 (snap) New Comment: Yes, can you try on different server? Sounds more like your system has some issues.. Previous Comments: ------------------------------------------------------------------------ [2010-03-16 15:38:55] jachym dot tousek at gmail dot com Thats the problem. I have some issue with PHP 5.3.2 (different) which causes that I can compile it but only if i don't use --with-mysql. PHP 5.3.1 compiled, but I couldn't run tests and if I run for example "php -v", I get the response but the command does NOT exit until i kill it myself. With that, every request on the server runs new apache2 process, but all those "apache2" processes don't exit even when the page is completely loaded. So I have to every few hours run some commands to kill those processes (or the memory will run out). This means I have some problem with every version but every time it's different... Any Ideas? ------------------------------------------------------------------------ [2010-03-16 10:05:27] [email protected] What is the last 5.3 version you CAN build? 5.3.2? 5.3.1? ------------------------------------------------------------------------ [2010-03-15 17:13:48] jachym dot tousek at gmail dot com Yeah I know, it actually happened few times that memory was not enough. But when that happened, I the error report was different so that's not it. ------------------------------------------------------------------------ [2010-03-15 17:08:33] [email protected] How much free memory does your system have while compiling that file? - It is rather large and might cause the commpiler to need more memory than having available. ------------------------------------------------------------------------ [2010-03-15 16:15:48] jachym dot tousek at gmail dot com Description: ------------ This error shows with snapshot "php5.3-201003151330.tar.gz". I haven't tried another yet. Test script: --------------- # ./configure --with-apxs2=/usr/bin/apxs2 --with-config-file-path=/etc/php5/apache2 --with-config-file-scan-dir=/etc/php5/apache2/conf.d --with-gd --with-freetype-dir --with-xpm-dir --with-jpeg-dir --with-png-dir --with-t1lib --enable-gd-native-ttf --enable-gd-jis-conv --with-zlib --enable-mbstring --with-mcrypt --with-mhash --with-pcre-regex --disable-short-tags --with-bz2 --enable-zip --with-openssl --enable-bcmath --enable-calendar --enable-exif --enable-ftp --with-gettext --with-ldap --with-pspell --enable-soap --enable-sockets --with-tidy --enable-wddx --with-xmlrpc --with-xsl --with-kerberos --enable-sqlite-utf8 --with-pgsql --with-pdo-pgsql --with-mysqli --with-mysql --with-pdo-mysql --disable-phar --without-pear # make clean # make Expected result: ---------------- PHP compiled Actual result: -------------- /bin/sh /trash/php5.3-201003151330/libtool --silent --preserve-dup-deps --mode=compile /trash/php5.3-201003151330/meta_ccld -I/trash/php5.3-201003151330/ext/fileinfo/libmagic -Iext/fileinfo/ -I/trash/php5.3-201003151330/ext/fileinfo/ -DPHP_ATOM_INC -I/trash/php5.3-201003151330/include -I/trash/php5.3-201003151330/main -I/trash/php5.3-201003151330 -I/trash/php5.3-201003151330/ext/date/lib -I/trash/php5.3-201003151330/ext/ereg/regex -I/usr/include/libxml2 -I/usr/include/freetype2 -I/trash/php5.3-201003151330/ext/mbstring/oniguruma -I/trash/php5.3-201003151330/ext/mbstring/libmbfl -I/trash/php5.3-201003151330/ext/mbstring/libmbfl/mbfl -I/usr/include/mysql -I/usr/include/postgresql -I/trash/php5.3-201003151330/ext/sqlite3/libsqlite -I/usr/include/pspell -I/usr/include/tidy -I/trash/php5.3-201003151330/TSRM -I/trash/php5.3-201003151330/Zend -D_REENTRANT -DTHREAD=1 -I/usr/include -g -O2 -fvisibility=hidden -pthread -DZTS -c /trash/php5.3-201003151330/ext/fileinfo/libmagic/apprentice.c -o ext/fileinfo/libmagic/apprentice.lo gcc: Internal error: Terminated (program cc1) Please submit a full bug report. See <URL:http://gcc.gnu.org/bugs.html> for instructions. For Debian GNU/Linux specific bug reporting instructions, see <URL:file:///usr/share/doc/gcc-4.1/README.Bugs>. make: *** [ext/fileinfo/libmagic/apprentice.lo] Error 1 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/bug.php?id=51302&edit=1
