Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:44435 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 41451 invoked from network); 23 Jun 2009 15:19:40 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 23 Jun 2009 15:19:40 -0000 X-Host-Fingerprint: 85.21.236.169 xdmitri.static.corbina.ru Received: from [85.21.236.169] ([85.21.236.169:26565] helo=localhost.localdomain) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 35/59-36467-A82F04A4 for ; Tue, 23 Jun 2009 11:19:39 -0400 Message-ID: <35.59.36467.A82F04A4@pb1.pair.com> To: internals@lists.php.net References: <688E0CB7-742C-4861-B636-0C89DC4D8B9A@pooteeweet.org> <06.D1.20019.45C1F3A4@pb1.pair.com> <7f3ed2c30906220017j6fcea76do2190af3f3ff2d763@mail.gmail.com> <4A4076BB.7080307@lerdorf.com> Date: Tue, 23 Jun 2009 19:19:31 +0400 Lines: 34 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.5512 X-RFC2646: Format=Flowed; Original X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 X-Posted-By: 85.21.236.169 Subject: Re: [PHP-DEV] Re: 5.3.0 stable release From: dmda@yandex.ru ("jvlad") >> 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 for instructions. *** Error code 1 Stop. make: stopped in /home/jvlad/php/php5.3-200906221030