From ripley@brief.mind.de  Tue Nov  3 13:55:38 1998
Received: from frieda.mind.de (frieda.mind.de [193.101.72.2])
          by hub.freebsd.org (8.8.8/8.8.8) with SMTP id NAA17530
          for <FreeBSD-gnats-submit@freebsd.org>; Tue, 3 Nov 1998 13:55:36 -0800 (PST)
          (envelope-from ripley@brief.mind.de)
Received: from w3.beng.org [195.35.40.19] by frieda.mind.de with smtp
	(/\oo/\ Smail3.1.29.1 #29.10)  on Tue, 3 Nov 98 22:51 MET
	id <m0zaoMo-000PoTC>
Received: from brief.mind.de [193.101.72.6] by w3.beng.org with esmtp
	(Smail-3.2.0.97 1997-Aug-19 #1)  on Tue, 3 Nov 1998 22:55:16 +0100 (CET)
	id <m0zaoQ0-00001WC>
Received: (from ripley@localhost)
	by brief.mind.de (8.8.8/8.8.8) id WAA09652;
	Tue, 3 Nov 1998 22:55:09 +0100 (CET)
	(envelope-from ripley)
Message-Id: <199811032155.WAA09652@brief.mind.de>
Date: Tue, 3 Nov 1998 22:55:09 +0100 (CET)
From: ripley@beng.org
Reply-To: ripley@beng.org
To: FreeBSD-gnats-submit@freebsd.org
Subject: GCC virtual memory exhausted
X-Send-Pr-Version: 3.2

>Number:         8563
>Category:       ports
>Synopsis:       gcc breaks on source file
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Nov  3 14:00:01 PST 1998
>Closed-Date:    Wed Nov 18 15:33:46 PST 1998
>Last-Modified:  Wed Nov 18 15:35:21 PST 1998
>Originator:     H. Eckert
>Release:        FreeBSD 2.2.7-STABLE i386
>Organization:
>Environment:

System is a K6-2 300MHz with 128MB running 2.2.7-STABLE (1998-11-02)
# swapinfo 
Device      1K-blocks     Used    Avail Capacity  Type
/dev/wd0s1b    196608     4700   191844     2%    Interleaved

>Description:

While making imlib-1.8.1 as a dependency to enlightenment:

cc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I. -I../gdk_imlib -I../gdk_imlib -I/usr/X11R6/include/gtk11 -I/usr/X11R6/include -I/usr/local/include/glib -I/usr/local/include -I/usr/X11R6/include/gtk11 -I/usr/X11R6/include -I/usr/local/include/glib -O -c testimg.c
testimg.c:13217: virtual memory exhausted
gmake[2]: *** [testimg.o] Error 1
gmake[2]: Leaving directory `/usr/ports/graphics/imlib/work/imlib-1.8.1/utils'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/graphics/imlib/work/imlib-1.8.1'
gmake: *** [all-recursive-am] Error 2
*** Error code 2

Stop.


>How-To-Repeat:

cd /usr/ports/graphics/imlib && make

>Fix:
>Release-Note:
>Audit-Trail:

From: "Daniel O'Connor" <doconnor@gsoft.com.au>
To: ripley@beng.org
Cc: FreeBSD-gnats-submit@FreeBSD.ORG
Subject: RE: ports/8563: GCC virtual memory exhausted
Date: Wed, 04 Nov 1998 11:08:53 +1030 (CST)

 On 03-Nov-98 ripley@beng.org wrote:
 >  cc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I. -I../gdk_imlib -I../gdk_imlib
 >  -I/usr/X11R6/include/gtk11 -I/usr/X11R6/include -I/usr/local/include/glib
 >  -I/usr/local/include -I/usr/X11R6/include/gtk11 -I/usr/X11R6/include
 >  -I/usr/local/include/glib -O -c testimg.c
 >  testimg.c:13217: virtual memory exhausted
 >  gmake[2]: *** [testimg.o] Error 1
 >  gmake[2]: Leaving directory
 >  `/usr/ports/graphics/imlib/work/imlib-1.8.1/utils'
 >  gmake[1]: *** [all-recursive] Error 1
 >  gmake[1]: Leaving directory `/usr/ports/graphics/imlib/work/imlib-1.8.1'
 >  gmake: *** [all-recursive-am] Error 2
 >  *** Error code 2
 Trying running it as root and typing unlimit..
 gcc is a pig :)
 
 ---
 Daniel O'Connor software and network engineer
 for Genesis Software - http://www.gsoft.com.au
 "The nice thing about standards is that there
 are so many of them to choose from."
   -- Andrew Tanenbaum

From: Bill Fumerola <billf@chc-chimes.com>
To: ripley@beng.org
Cc: FreeBSD-gnats-submit@FreeBSD.ORG
Subject: Re: ports/8563: GCC virtual memory exhausted
Date: Wed, 4 Nov 1998 09:46:18 -0500 (EST)

 On Tue, 3 Nov 1998 ripley@beng.org wrote:
 
 > 
 > >Number:         8563
 > >Category:       ports
 > >Synopsis:       gcc breaks on source file
 
 > >Description:
 > 
 > While making imlib-1.8.1 as a dependency to enlightenment:
 > 
 > cc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I. -I../gdk_imlib -I../gdk_imlib -I/usr/X11R6/include/gtk11 -I/usr/X11R6/include -I/usr/local/include/glib -I/usr/local/include -I/usr/X11R6/include/gtk11 -I/usr/X11R6/include -I/usr/local/include/glib -O -c testimg .c
 > testimg.c:13217: virtual memory exhausted
 > gmake[2]: *** [testimg.o] Error 1
 > gmake[2]: Leaving directory `/usr/ports/graphics/imlib/work/imlib-1.8.1/utils'
 > gmake[1]: *** [all-recursive] Error 1
 > gmake[1]: Leaving directory `/usr/ports/graphics/imlib/work/imlib-1.8.1'
 > gmake: *** [all-recursive-am] Error 2
 > *** Error code 2
 > 
 > Stop.
 
 Normally I use 'sudo' to install ports, but for this port, I had to `su
 -'' for it to work. ``ulimit'' also helped.
 
 - bill fumerola [root/billf]@chc-chimes.com - computer horizons corp -
 -  ph:(800)252.2421 x128 / bfumerol@computerhorizons.com - BF1560  -
 
 	"Logic, like whiskey, loses its beneficial effect 
 	when taken in too large quantities" -Lord Dunsany
 
 
 
 
 
State-Changed-From-To: open->feedback 
State-Changed-By: nectar 
State-Changed-When: Fri Nov 13 15:06:48 PST 1998 
State-Changed-Why:  
Looks like a pilot error.  Read login.conf(5), and the documentation 
for your shell (look for limit or ulimit). 
State-Changed-From-To: feedback->closed 
State-Changed-By: nectar 
State-Changed-When: Wed Nov 18 15:33:46 PST 1998 
State-Changed-Why:  
User error -- just needed to adjust process limits. 
>Unformatted:
