Re: Re: 5.3.0 stable release
| From: | Rasmus Lerdorf | Date: | Tue, 23 Jun 2009 15:27:13 +0000 |
| Subject: | Re: Re: 5.3.0 stable release | ||
| References: | 1 2 3 4 5 6 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-44436@lists.php.net to get a copy of this message | ||
jvlad wrote:
>>> 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):
There really isn't much we can do about this. Restructuring perfectly
valid code because certain old versions of gcc use a lot of memory
compiling it isn't something I am very keen on. Compile on a box with
more memory or move to gcc4.
-Rasmus