From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,6341d0945be71bab,start X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!postnews.google.com!k13g2000yqe.googlegroups.com!not-for-mail From: Paul Onions Newsgroups: comp.lang.ada Subject: Trying to build Gnat on MACOSX 10.5 PPC Date: Sat, 27 Mar 2010 08:00:24 -0700 (PDT) Organization: http://groups.google.com Message-ID: <11188bd3-2f46-4731-bb9d-8d9d8057c961@k13g2000yqe.googlegroups.com> NNTP-Posting-Host: 62.56.66.192 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: posting.google.com 1269702024 8974 127.0.0.1 (27 Mar 2010 15:00:24 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Sat, 27 Mar 2010 15:00:24 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: k13g2000yqe.googlegroups.com; posting-host=62.56.66.192; posting-account=0OKyNQoAAADuuj2_2R24wtuiuSXwN0p3 User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10_5_8; en-us) AppleWebKit/531.21.8 (KHTML, like Gecko) Version/4.0.4 Safari/531.21.10,gzip(gfe) Xref: g2news1.google.com comp.lang.ada:9793 Date: 2010-03-27T08:00:24-07:00 List-Id: 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