🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.nsc.32k
Article #577

Need help compiling gcc.

#577
From: Sverre Froyen
Date: Mon, 31 Dec 1990 22:23
29 lines
1668 bytes
Dear All,

For the past couple of days I have been trying to compile gcc on the
pc532 under Minix.  I am trying to compile gcc-1.38 using a set of
patches from Finland (which installed without a hitch) and with
Bruce's as and ld.  The Minix is pretty much straight out of the box
(Bruce's that is).  The pc532 has 4MB memory installed.

The first problem I ran into was that bison core dumped immediately.
Undefining alloca and using the malloc version of alloca (from emacs
or gcc) fixed that problem (but should not builtin_alloca work even
under gcc-1.35???).  Anyway I turned off builtin_alloca in my attempts
to compile gcc.

I have gotten as far as having everything link together and produce
running copies of gcc, cc1, and cpp.  These work fine on simple test
programs.  However when compiling gnulib2 or when trying to recompile
gcc-1.38 I get fatal signal 6 (out of memory).  Given 4MB of memory
this somehow does not seem right.  To test this further I wrote a
small loop that allocates chunks of space.  Depending on the chunksize
I was able to malloc about 1.4MB before malloc returned 0.  Can this
be right and could this be the cause of my problems with gcc.

Ideas anyone???

Sverre
-- 
Sverre Froyen
sverre@seri.gov, sunpeaks!seri!sverre
Technical Details
Message-ID: <9012312223.AA15916@lars.seri.gov>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!mips!daver!bungi.com!news

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!mips!daver!bungi.com!news
From: sverre@lars.Seri.GOV (Sverre Froyen)
Newsgroups: comp.sys.nsc.32k
Subject: Need help compiling gcc.
Message-ID: <9012312223.AA15916@lars.seri.gov>
Date: 31 Dec 90 22:23:03 GMT
Sender: news@daver.bungi.com
Lines: 29
Approved: news@daver.bungi.com