php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #2836 Compile fails due to exhausted vitual memory
Submitted: 1999-11-26 16:29 UTC Modified: 1999-11-26 16:50 UTC
From: bmacaula at nortelnetworks dot com Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.0 Beta 3 OS: HP-UX 10.20
Private report: No CVE-ID: None
 [1999-11-26 16:29 UTC] bmacaula at nortelnetworks dot com
I am using gcc 2.95.2 on HP-UX 10.20

I get the following error when I compile...

Strangely I did not have this problem with php4b2

Bri


# make
        make  all-recursive
Making all in libzend
        /bin/sh ./libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I/opt/brianm/php-4.0b3/./libzend -I.     -g -O2 -g -c -o zend-scanner.lo zend-scanner.c
        /bin/sh ./libtool --silent --mode=link gcc  -g -O2 -g   -o libzend_c.la   zend-scanner.lo  
        /bin/sh ./libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I/opt/brianm/php-4.0b3/./libzend -I.     -g -O2 -g -c -o zend-parser.lo zend-parser.c
        /bin/sh ./libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I/opt/brianm/php-4.0b3/./libzend -I.     -g -O2 -g -c -o zend_alloc.lo zend_alloc.c
        /bin/sh ./libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I/opt/brianm/php-4.0b3/./libzend -I.     -g -O2 -g -c -o zend_compile.lo zend_compile.c
        /bin/sh ./libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I/opt/brianm/php-4.0b3/./libzend -I.     -g -O2 -g -c -o zend_constants.lo zend_constants.c
        /bin/sh ./libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I/opt/brianm/php-4.0b3/./libzend -I.     -g -O2 -g -c -o zend_execute.lo zend_execute.c
zend_execute.c: In function `execute':
zend_execute.c:2118: virtual memory exhausted
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.
# 

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-11-26 16:50 UTC] rasmus at cvs dot php dot net
Add --disable-inline  to your PHP confiugre flags and try again.  gcc needs all sorts of memory to compile the inlines.
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Tue Oct 13 23:00:01 2026 UTC