Article View: gnu.gcc.bug
Article #613__builtin_alloca returns bogus value
From: Hal Peterson
Date: Thu, 21 Sep 1989 19:21
Date: Thu, 21 Sep 1989 19:21
31 lines
1734 bytes
1734 bytes
I am using GCC version 1.35 with this configuration:
./config.h: symbolic link to config/xm-m68k.h
./tm.h: symbolic link to config/tm-sun3-nfp.h
./md: symbolic link to config/m68k.md
./aux-output.c: symbolic link to config/out-m68k.c
I am running on a Sun-3/280 under SunOS 3.5.
The symptoms are complex: I built GNU Make versions 3.54 and 3.55
using gcc, and then used GNU Make to build TeXPS, a TeX PostScript
software package. During the TeXPS build, make dumped core. Gdb told
me that the cause of the SIGSEGV that killed make was a bad pointer.
From reading the Make code I could see that only a few lines before
the SIGSEGV the pointer had been set from an alloca.
I rebuilt Make with Sun's alloca and a similar crash happened, but
much earlier in the TeXPS build.
I rebuilt Make with the alloca.c from Emacs 18.54 and the build of
TeXPS ran to completion.
I realize that this is an inadequate bug report, but an adequate one
would include a TeXPS distribution. I welcome any suggestions for
smoking out this serious bug.
--
Hal Peterson Domain: hrp@cray.com
Cray Research Old style: hrp%cray.com@uc.msc.umn.edu
1440 Northland Dr. UUCP: uunet!cray!hrp
Mendota Hts, MN 55120 USA Telephone: +1 612 681 3145
Technical Details
Message-ID:
<8909211921.AA06639@rothko.cray.com>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!watmath!uunet!wuarchive!gem.mps.ohio-state.edu!pacific.mps.ohio-state.edu!tut.cis.ohio-state.edu!boring.cray.com!hrpShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!watmath!uunet!wuarchive!gem.mps.ohio-state.edu!pacific.mps.ohio-state.edu!tut.cis.ohio-state.edu!boring.cray.com!hrp From: hrp@boring.cray.com (Hal Peterson) Newsgroups: gnu.gcc.bug Subject: __builtin_alloca returns bogus value Message-ID: <8909211921.AA06639@rothko.cray.com> Date: 21 Sep 89 19:21:25 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 31