[Bug optimization/15230] [3.5 Regression] Building xnmake using a 3.5.0 GNAT results in STORAGE_ERROR

manfred dot h at gmx dot net gcc-bugzilla@gcc.gnu.org
Tue May 4 07:25:00 GMT 2004


------- Additional Comments From manfred dot h at gmx dot net  2004-05-04 07:25 -------
OK, restarting at zero... Built and installed a new tool chain still from the
same sources, but this time using the default flags only, ie.

  BOOT_CFLAGS="-O2"
  CFLAGS="-O2"
  CXXFLAGS="-O2 -g"
  GCJFLAGS="-O2 -g"

Using this tool chain still crashes the same way as before. Running gdb-6.1 on
the crashed executable doesn't show much other than the call chain (see
attachment "gdb.log"). Here's again the excerpt from the build logs:

  mkdir -p ada/bldtools
  cp -p ../../gcc-20040503/gcc/ada/sinfo.ads
../../gcc-20040503/gcc/ada/nmake.adt ../../gcc-20040503/gcc/ada/xnmake.adb
ada/bldtools
  (cd ada/bldtools; gnatmake -q xnmake ; ./xnmake -b ../nmake.adb )

  raised STORAGE_ERROR : stack overflow (or erroneous memory access)
  gmake[2]: *** [ada/nmake.adb] Error 1
  gmake[2]: Leaving directory
`/home/gnu/work/GNU/gcc-20040503-i686-suse9-linux-gnu/gcc'
  gmake[1]: *** [stage1_build] Error 2
  gmake[1]: Leaving directory
`/home/gnu/work/GNU/gcc-20040503-i686-suse9-linux-gnu/gcc'
  gmake: *** [bootstrap] Error 2
  gmake: Leaving directory `/home/gnu/work/GNU/gcc-20040503-i686-suse9-linux-gnu'

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15230



More information about the Gcc-bugs mailing list