🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #53550

xmalloc called with 0

#53550
From: Christoph Kukulies
Date: Thu, 24 Oct 1991 23:52
12 lines
1247 bytes
I'm not sure if I really posted this or if I typed ^C during mail
preparation because I was thinking my request was stupid. OK, here I repeat
it: During compilation and porting binutils (ld,ar,etc.) to SCO UNIX
compiling with gcc-1.40 I'm observing that ld dies with "Virtual memory
exhausted". This ominous message stems from an xmalloc() in ld.c where
it is called with a size 0 request (?). I have not yet found the time
to trace back from where this call is made, instead I fixed it the brute
force way and returned a 0 in that case.
Are there any comments on this strange behaviour. BTW, this did not occur
on a DecSTation under Ultrix.

--Chris
Technical Details
Message-ID: <9110242352.AA17722@acds.physik.rwth-aachen.de>
Path: arc1-ca.pugleaf.net!gmdzi!zeus.ieee.org!sdd.hp.com!cs.utexas.edu!uunet!cis.ohio-state.edu!acds.physik.rwth-aachen.de!kuku

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,f2a73b08067ab232,start
X-Google-Attributes: gid11318c,public
X-Google-ArrivalTime: 1991-10-25 07:50:00 PST
Path: arc1-ca.pugleaf.net!gmdzi!zeus.ieee.org!sdd.hp.com!cs.utexas.edu!uunet!cis.ohio-state.edu!acds.physik.rwth-aachen.de!kuku
From: kuku@acds.physik.rwth-aachen.de (Christoph Kukulies)
Newsgroups: gnu.gcc.help
Subject: xmalloc called with 0
Message-ID: <9110242352.AA17722@acds.physik.rwth-aachen.de>
Date: 24 Oct 91 23:52:14 GMT
Sender: gnulists@ai.mit.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 12