php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #2478 gcc takes ages and hogs memory compiling zend_execute.c
Submitted: 1999-10-10 07:28 UTC Modified: 1999-10-14 18:31 UTC
From: Danny dot Heijl at cevi dot be Assigned:
Status: Closed Package: Other
PHP Version: 4.0 Latest CVS (10/10/1999) OS: Red Hat 6.0
Private report: No CVE-ID: None
 [1999-10-10 07:28 UTC] Danny dot Heijl at cevi dot be
I don't know when I first noticed it, but since about a week zend_execute.c
takes more than 5 minutes to compile on my Red Hat 6.0 Linux 
(P166 64MB UW-SCSI), and gcc (cc1 actually) grows to more than 40 MB 
at some point.

Is this a gcc problem ?
gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release).
Compiler options : -O2 -mpentium -g -Wall.

Just curious.

Danny.
---

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-10-14 11:14 UTC] danny at cvs dot php dot net
NCR's C compiler (MP-RAS 3.02 = SVR4.0), a Metaware High C 
derivate,  takes less than 10 seconds on a PPRO 200 to
compile zend_execute.c.


Danny.
---
 [1999-10-14 18:31 UTC] sas at cvs dot php dot net
If you want to save compile time, configure with --disable-inline. Of course, the resulting binary will be slower.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Jun 07 17:01:37 2024 UTC