This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: bootstrap failure for Ada gcc 4.1 Revision 110108 on


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

John David Anglin schrieb:
>>> gnat1: out of memory allocating 19028192 bytes after a total of 92324 bytes
>>> gmake[2]: *** [ada/ada.o] Error 1
> 
> My guess is that this is a problem with the bootstrap compiler.  There
> is a known issue with all 3.3 releases that require compiling stage 1
> with -O1.  I think there's also a problem with the 4.0 releases.  See
> for example http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24822.  3.4.4
> and 3.4.5 seem to be ok based on my testing.   The above error is likely
> a garbage collection problem.
> 
> Dave

I found the cause for the bootstrap failure.

Normally I pass "-mpa-risc-2-0" to the boostrap compiler. This produces
PA-RISC2.0 optimized executables. As you can see:

file gcc
gcc:            PA-RISC2.0 shared executable dynamically linked -not stripped

This option prevents a successful bootstrap of ada in this case. I wonder why.

Rainer

- --
Rainer Emrich
TECOSIM GmbH
Im Eichsfeld 3
65428 Rüsselsheim

Phone: +49(0)6142/8272 12
Mobile: +49(0)163/56 949 20
Fax.:   +49(0)6142/8272 49
Web: www.tecosim.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFD1gfA3s6elE6CYeURAs2gAKCJl/AVK73ZzWEJoDOEUYcGo/D+9QCgjp/I
URadvB06+rsiTMhW9j7PLCo=
=JBMn
-----END PGP SIGNATURE-----


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]