Article View: gnu.gcc.help
Article #54229builtin_alloca problem?
From: RANDY S WELCH
Date: Fri, 18 Jan 1991 03:00
Date: Fri, 18 Jan 1991 03:00
35 lines
2307 bytes
2307 bytes
Perhaps someone help me confirm a suspicion of mine...
I had been compiling 1.38 and had gotten everything compiled from the
stage1 compiler. Everything seemed to run correctly. gen* programs ran
fine etc. When it tried to compile gnulib2, cpp would get segmentation
violations. I tried compiling small test programs those went fine. When I
started to include include files > 5-6K the test program would cause cpp
to crash. I remade the cpp using the stage1 compiler, disabling the
builtin_alloca and using the alloca.c w/1.38, cpp ran fine. I remade the
compiler using the alloca.c instead of the builtin_alloca and the stage2
compiler seems to work fine, and I should have an installable compiler in
the am. ( If you own a plexus, keep an eye out! )
My guess is that I must be running into a limit as to how much stack space
is allowed to a process. Is this a reasonable assumption? If so, is
there a way to bypass the limit in the code ( I don't have the calls to do
that as shown in the gcc sources ) or by recompiling the kernel ( not the
best solution since I'm not the sysadmin... ) Your input appreciated.
Configuration: Plexus P/60 68020 ( compiler is gen 68000 code )
Sys V.2
using gas-1.36 w/coff patches
(Thanks to Michael Bloom for the patch posted yesterday,
works great on the plexus!)
gcc-1.38
Thanks in advance, and hoping to add a new machine to the gcc list!
-randy
--
Randy Welch Mail to : ...!ncar!scicom!bldr!randy or rwelch@du.edu
Boulder, CO VOICE : 303-442-6717
"Unfortunately, life contains an unavoidable element of unpredictability"
-David Lynch "The Angriest Dog in the World"
Technical Details
Message-ID:
<1991Jan18.030044.8301@mercury.cair.du.edu>Path:
arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!mnemosyne.cs.du.edu!mercury.cair.du.edu!diana.cair.du.edu!rwelchShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,1b140afa48dbea79,start X-Google-Attributes: gid11318c,public X-Google-ArrivalTime: 1991-01-17 19:00:44 PST Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!mnemosyne.cs.du.edu!mercury.cair.du.edu!diana.cair.du.edu!rwelch From: rwelch@diana.cair.du.edu (RANDY S WELCH) Newsgroups: gnu.gcc.help Subject: builtin_alloca problem? Message-ID: <1991Jan18.030044.8301@mercury.cair.du.edu> Date: 18 Jan 91 03:00:44 GMT Sender: news@mercury.cair.du.edu (netnews) Organization: University of Denver Lines: 35