Has anyone had any success in building Gnat from the GCC sources on a
MACOSX 10.5 (Leopard) PowerPC machine?
I'm trying to build GCC 4.4.3 with Ada support, but so far with no
success. I have tried bootstrapping from the GnatPPC-4.3.dmg binary
from macada.org and also from the gnat-gpl-2009-43-powerpc-apple-
darwin8.11.0-bin.tar binary from gnuada.sourceforge.net, but both
result in the same error in stage 2 of the bootstrap process, ending
--- cut here ---
powerpc-apple-darwin9.8.0/bin/ -c -g -O2 -mdynamic-no-pic -gnatpg -
gnata -nostdinc -I- -I. -Iada -I../../gcc-4.4.3/gcc/ada -I../../
gcc-4.4.3/gcc/ada/gcc-interface ../../gcc-4.4.3/gcc/ada/ada.ads -o ada/
| 4.4.3 (powerpc-apple-darwin9.8.0) Bus
| Error detected around (null):
| Please submit a bug report; see http://www.yqcomputer.com/
| Use a subject line meaningful to you and us to track the
| Include the entire contents of this bug box in the
| Include the exact gcc or gnatmake command that you
| Also include sources listed below in gnatchop
| (concatenated together with no headers between
Please include these source files with error report
Note that list may not be accurate in some cases,
so please double check that the problem can still
be reproduced with the set of files listed.
list may be incomplete
make: *** [ada/ada.o] Error 1
make: *** [all-stage2-gcc] Error 2
make: *** [stage2-bubble] Error 2
make: *** [all] Error 2
--- cut here ---
Which looks to me like the first time the newly built compiler is used
to compile an Ada file, it fails completely.
BTW I also get this error when I try to build from MacPorts.
I have used the above mentioned binaries to build simple hello-world
Ada executables, and they seem to work, but both give warnings about
missing symbols. Could this be related to my problems?
Do these problems also occur with Intel machines, or is it restricted
to PPC only? I've googled a lot over the past few days, and the whole
Leopard/Snow-Leopard Intel/PPC scene seems to be very unclear (at
least to my newbie eyes).
Any help greatly appreciated,