comp.lang.ada
 help / color / mirror / Atom feed
* Trying to build Gnat on MACOSX 10.5 PPC
@ 2010-03-27 15:00 Paul Onions
  2010-03-27 23:48 ` Paul Onions
  0 siblings, 1 reply; 4+ messages in thread
From: Paul Onions @ 2010-03-27 15:00 UTC (permalink / raw)


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
in:

--- cut here ---
/usr/local/src/gcc-4.4/gcc-4.4.3-build/./prev-gcc/xgcc -B/usr/local/
src/gcc-4.4/gcc-4.4.3-build/./prev-gcc/ -B/usr/local/gnat-4.4.3/
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/
ada.o
+===========================GNAT BUG
DETECTED==============================+
| 4.4.3 (powerpc-apple-darwin9.8.0) Bus
error                              |
| Error detected around (null):
0                                           |
| Please submit a bug report; see http://gcc.gnu.org/bugs.html.
|
| Use a subject line meaningful to you and us to track the
bug.            |
| Include the entire contents of this bug box in the
report.               |
| Include the exact gcc or gnatmake command that you
entered.              |
| Also include sources listed below in gnatchop
format                     |
| (concatenated together with no headers between
files).                   |
+==========================================================================
+

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
compilation abandoned
make[3]: *** [ada/ada.o] Error 1
make[2]: *** [all-stage2-gcc] Error 2
make[1]: *** [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,
Paul



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-03-31 13:41 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-03-27 15:00 Trying to build Gnat on MACOSX 10.5 PPC Paul Onions
2010-03-27 23:48 ` Paul Onions
2010-03-31  1:13   ` Jerry
2010-03-31 13:41     ` Warren

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox