🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.unix.sys5.r4
3 messages
3 total messages Started by Willem van Biljon Mon, 21 Feb 1994 12:20
ld dies on ncr3000 svr4
#848
Author: Willem van Biljon
Date: Mon, 21 Feb 1994 12:20
14 lines
1078 bytes
During compilation with gcc 2.5.7 the system linker
/usr/bin/ld dies with the message "unable to allocate 
memory".

This is the first time the linker has died in this manner,
usually compilation works perfectly. I've checked that there
is enough swop space and memory. Raising MAXUMEM has no effect.

Any ideas? Help would be appreciated.


Willem van Biljon
Jigsaw Software
Re: ld dies on ncr3000 svr4
#849
Author: paulz
Date: Tue, 22 Feb 1994 13:58
27 lines
1517 bytes
In article <2ka8va$pe7@itu1.sun.ac.za>,
Willem van Biljon <wvb@cs.sun.ac.za> wrote:
>
>During compilation with gcc 2.5.7 the system linker
>/usr/bin/ld dies with the message "unable to allocate 
>memory".
>
>This is the first time the linker has died in this manner,
>usually compilation works perfectly. I've checked that there
>is enough swop space and memory. Raising MAXUMEM has no effect.
>
>Any ideas? Help would be appreciated.

To avoid this I have the following entries in my 
/etc/conf/cf.d/stune :
HDATLIM 0x7fffffff
SDATLIM 0x7fffffff
HSTKLIM 0x7fffffff
SSTKLIM 0x7fffffff
HVMMLIM 0x7fffffff
SVMMLIM 0x7fffffff

This sets all process-size limits to unlimited.

-- 
Paul van der Zwan                     paulz@olivetti.nl
Olivetti Nederland B.V.               paulzn@olivetti.nl (NeXT-mail)
Re: ld dies on ncr3000 svr4
#850
Author: Lars_Tunkrans
Date: Tue, 22 Feb 1994 22:13
27 lines
1791 bytes
wvb@cs.sun.ac.za (Willem van Biljon) writes:


>During compilation with gcc 2.5.7 the system linker
>/usr/bin/ld dies with the message "unable to allocate 
>memory".

>This is the first time the linker has died in this manner,
>usually compilation works perfectly. I've checked that there
>is enough swop space and memory. Raising MAXUMEM has no effect.

>Any ideas? Help would be appreciated.

  What about SVMMLIM, HVMMLIM, SDATLIM and HDATLIM  ?

I had a similar problem once when trying to link very large binaries
 ( typically generated with 4GL stuff )  and the process Vertiual 
Memmory Limit was set to 16 Mb.  When it was changed to 32 Mb
and the Data size limit also was increased somewhat the linking 
worked ok.

//Lars.
--
_______________________________________________________________________________
Lars Tunkrans DRS Product Centre  Phone: +46 (0)87937419  FAX: +46 (0)87938109
DOMAIN Address: ltu@icl.se  X400 Gateway:  l.tunkrans@swe2007.wins.icl.co.uk 
X400:    I=L;S=Tunkrans;OU1=SWE2007;ORG=ICL;PRMD=ICL;ADMD=400NET;C=SE
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads