Re: [PHP4BETA] re: Details of Linux / PHP4B3 compile error
| From: | David Hedbor | Date: | Thu, 02 Dec 1999 21:41:00 +0000 |
| Subject: | Re: [PHP4BETA] re: Details of Linux / PHP4B3 compile error | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-7278@lists.php.net to get a copy of this message | ||
Robert Boeninger <boe@MAILBOX.SLAC.Stanford.EDU> writes:
> Dec 2, 1999
>
> Hello,
>
> I had gotten somewhat similar behavior when 'gmake' got to the
> same file mentioned below, 'zend_execute.c'. The compilation eventually
> aborted on that file, with an error message to the effect that there
> was no more memory left (!). I compiled the file by hand, mimicking what
> was in the Makefile, but leaving out, more or less arbitrarily, the
> flag '-O2'. Anyway, the compile then worked fine, but I sure wasn't
> very comfortable with what had happened.
> This was on a Sun Solaris 2.6 machine, with the Netscape
> Enterprise 4.0 server.
The optimization of that file does require a lot of memory, yes. :-)
Removing -O2 stops the optimization and thus probably makes the memory
usage much lower.
--
[ Below is a random fortune, which is unrelated to the above message. ]
"The first rule of magic is simple. Don't waste your time waving your
hands and hoping when a rock or a club will do."
-- McCloctnik the Lucid