>> Further investigation shown that compiler takes about 1GB(!) of memory >> when >> it compiles php5.3-200906221030/ext/fileinfo/libmagic/apprentice.c >> On some systems this amount of memory is not available and may lead to >> errors such as hangs or crashes. >> >> Is it a known problem? >> Is this requirement specified somewhere? >> Can it be fixed or improved? > > Try compiling with -O0
unfortunately, it did not help (tried with fresh sources): /bin/sh /home/jvlad/php/php5.3-200906221030/libtool --silent --preserve-dup-deps --mode=compile gcc -I/home/jvlad/php/php5.3-200906221030/ext/fileinfo/libmagic -Iext/fileinfo/ -I/home/jvlad/php/php5.3-200906221030/ext/fileinfo/ -DPHP_ATOM_INC -I/home/jvlad/php/php5.3-200906221030/include -I/home/jvlad/php/php5.3-200906221030/main -I/home/jvlad/php/php5.3-200906221030 -I/home/jvlad/php/php5.3-200906221030/ext/date/lib -I/home/jvlad/php/php5.3-200906221030/ext/ereg/regex -I/home/jvlad/php/install/include/libxml2 -I/home/jvlad/php/php5.3-200906221030/ext/sqlite3/libsqlite -I/home/jvlad/php/php5.3-200906221030/TSRM -I/home/jvlad/php/php5.3-200906221030/Zend -I/usr/pkg/include -I/usr/include -O0 -c /home/jvlad/php/php5.3-200906221030/ext/fileinfo/libmagic/apprentice.c -o ext/fileinfo/libmagic/apprentice.lo gcc: Internal error: Killed (program cc1) Please submit a full bug report. See <URL:http://www.netbsd.org/Misc/send-pr.html> for instructions. *** Error code 1 Stop. make: stopped in /home/jvlad/php/php5.3-200906221030 -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php