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 autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.182.2.106 with SMTP id 10mr7793286obt.27.1413591010656; Fri, 17 Oct 2014 17:10:10 -0700 (PDT) X-Received: by 10.50.23.46 with SMTP id j14mr32788igf.17.1413591010559; Fri, 17 Oct 2014 17:10:10 -0700 (PDT) Path: border1.nntp.dca1.giganews.com!nntp.giganews.com!h18no7115875igc.0!news-out.google.com!rp1ni32382igb.0!nntp.google.com!uq10no12795783igb.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Fri, 17 Oct 2014 17:10:09 -0700 (PDT) Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=118.209.159.76; posting-account=l8GBMwoAAADCbqdOJSbg4dBRqkD14dJd NNTP-Posting-Host: 118.209.159.76 User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <26a219c5-e2f4-4edf-bd52-f36c2a7692ac@googlegroups.com> Subject: problems with gnat on yosemite macox From: Leo Brewin Injection-Date: Sat, 18 Oct 2014 00:10:10 +0000 Content-Type: text/plain; charset=ISO-8859-1 Xref: number.nntp.giganews.com comp.lang.ada:189866 Date: 2014-10-17T17:10:09-07:00 List-Id: Hi Troops, I just tried running gnatmake and friends under yosemite on MacOSX 10.10. It failed badly. Using the AdaCore 2014 GPL binaries I get /usr/local/gnat/bin/gcc -v Segmentation fault /usr/local/gnat/bin/gnatmake -v GNATMAKE GPL 2014 (20140331) Copyright (C) 1992-2014, Free Software Foundation, Inc. try "gnatmake --help" for more information. Simon's gcc-4.8.0 binaries yield a small improvement but they too fail on a simple Hello World code, which gnatmake /opt/gcc-4.8.0/bin/gnatmake gnatmake lcb01.adb gnatbind -x lcb01.ali gnatlink lcb01.ali gcc: warning: couldn't understand kern.osversion '14.0.0 gcc: warning: couldn't understand kern.osversion '14.0.0 Undefined symbols for architecture x86_64: "__Unwind_Backtrace", referenced from: ___gnat_backtrace in libgnat.a(tracebak.o) ... similar lines deleted ... ld: symbol(s) not found for architecture x86_64 collect2: error: ld returned 1 exit status gnatlink: error when calling /opt/gcc-4.8.0/bin/gcc gnatmake: *** link failed. The file lcb01.adb is a trivial Hello World code with Ada.Text_IO; use Ada.Text_IO; procedure lcb01 is begin Put_line("Hello world"); end lcb01; I'm running Xcode 6.0.1 (not the developer 6.1 beta) and I've installed the command line tools. I'm running this on a late 2013 MacBook Pro. Any suggestions would be gratefully appreciated. Cheers, Leo