This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Bootstrap failure on darwin 7.4.0 due to memory exhaution
- From: Andrew Pinski <pinskia at physics dot uc dot edu>
- To: christov at mac dot com (Chris Douty)
- Cc: gcc at gcc dot gnu dot org
- Date: Mon, 12 Jul 2004 01:08:10 -0400 (EDT)
- Subject: Re: Bootstrap failure on darwin 7.4.0 due to memory exhaution
>
> I have been unable to bootstrap mainline on darwin building just the C
> and Ada frontends. The stage1 Ada compiler seems to use memory without
> bound (generally crashing my machine too).
>
> I'm not sure if bootstrapping ada is supposed to work on any particular
> platform yet. I did have to manually add "ada" to the BOOT_LANGUAGES
> variable in gcc/Makefile after configuration. Is there some special
> incantation needed?
I think Ada is not able to build yet on any target yet so this is known
bug really, see PR 15416.
I think you really need to keep up with the mailing list if you are
going to try the mainline.
Andrew Pinski
>
> Platform: powerpc-apple-darwin7.4.0
> Bootstrap compiler: gcc 3.3 with gnat enabled by these guys
> <http://www.macada.org/>
> Memory: 1GB RAM and ~ 900MB free space for vm
> configured with: /Volumes/UnixSource/gnu/gcc-stuff/gcc-HEAD/configure
> --prefix=/opt/test/gcc-3.5 --enable-libada --disable-nls
> --enable-languages=c,ada
>
> Here's the end of last night's log:
>
> gcc-HEAD/gcc/ada/a-charac.ads -o ada/a-charac.o
> stage1/xgcc -Bstage1/
> -B/opt/test/gcc-3.5/powerpc-apple-darwin7.4.0/bin/ -c -g -O2
> -gnatpg -gnata -I- -I. -Iada
> -I/Volumes/UnixSource/gnu/gcc-stuff/gcc-HEAD/gcc/ada
> /Volumes/UnixSource/gnu/gcc-stuff/gcc-HEAD/gcc/ada/a-chlat1.ads -o
> ada/a-chlat1.o
> stage1/xgcc -Bstage1/
> -B/opt/test/gcc-3.5/powerpc-apple-darwin7.4.0/bin/ -c -g -O2
> -gnatpg -gnata -g -O1 -fno-inline \
> -I- -I. -Iada -I/Volumes/UnixSource/gnu/gcc-stuff/gcc-HEAD/gcc/ada
> /Volumes/UnixSource/gnu/gcc-stuff/gcc-HEAD/gcc/ada/a-except.adb -o
> ada/a-except.o
> *** malloc: vm_allocate(size=1277136896) failed (error code=3)
> *** malloc[10096]: error: Can't allocate region
>
> gnat1: out of memory allocating 1277132840 bytes after a total of 0
> bytes
> make[2]: *** [ada/a-except.o] Error 1
> make[1]: *** [stage2_build] Error 2
> make: *** [bootstrap] Error 2
>
>
>
> --
> Chris Douty <christov@mac.com>
> "This is not a quotation."
>
>
>