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 2002:a02:4d:: with SMTP id 74-v6mr3802099jaa.15.1532223419362; Sat, 21 Jul 2018 18:36:59 -0700 (PDT) X-Received: by 2002:aca:2b06:: with SMTP id i6-v6mr258356oik.0.1532223419212; Sat, 21 Jul 2018 18:36:59 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!feeder.eternal-september.org!feeder4.usenet.farm!feed.usenet.farm!feeder.usenetexpress.com!feeder-in1.iad1.usenetexpress.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!g2-v6no3138113itf.0!news-out.google.com!k71-v6ni4867itk.0!nntp.google.com!g2-v6no3138108itf.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Sat, 21 Jul 2018 18:36:58 -0700 (PDT) In-Reply-To: <6d8d45a1-2262-4108-9db3-c958b7f6f92d@googlegroups.com> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=47.185.195.62; posting-account=zwxLlwoAAAChLBU7oraRzNDnqQYkYbpo NNTP-Posting-Host: 47.185.195.62 References: <8a63d1e5-e455-452a-9fd2-82cd23369b16@googlegroups.com> <1556692039.553913541.700473.laguest-archeia.com@nntp.aioe.org> <6d8d45a1-2262-4108-9db3-c958b7f6f92d@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <1f2d1a97-7aa9-4d74-9e9b-4231e5a489b8@googlegroups.com> Subject: Re: GNAT LLVM From: "Dan'l Miller" Injection-Date: Sun, 22 Jul 2018 01:36:59 +0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Xref: reader02.eternal-september.org comp.lang.ada:53941 Date: 2018-07-21T18:36:58-07:00 List-Id: On Saturday, July 21, 2018 at 8:17:05 PM UTC-5, Roger wrote: > On Sunday, July 22, 2018 at 10:53:35 AM UTC+10, Luke A. Guest wrote: > > Roger wrote: > > > On Saturday, July 21, 2018 at 11:53:11 PM UTC+10, Simon Wright wrote: > > >> An interesting hint in the gprbuild repo: > > >>=20 > > >> https://github.com/AdaCore/gprbuild/commit/eb94de5bfcc5c5ddd36f701cf= d43e542a96c118f > > >=20 > > > If using gprbuild on mac, make sure to use the latest repo. > > > See: > > > https://github.com/AdaCore/gprbuild/issues/44 > > >=20 > >=20 > > I don=E2=80=99t know what you=E2=80=99re responding to, but it=E2=80=99= s not really this. >=20 > I was responding to Simon=E2=80=99s comment which concerns Adacore=E2=80= =99s gprbuild tool. > The version of gprbuild shipped with GNAT 2012 fails on Mac OSX as it doe= s not fully support LLVM. > My comment concerns gprbuild with respect to this problem. > An "An interesting hint " is that if you want to use gprbuild with LLVM y= ou need to use the latest distro of > gprbuild. > See, the last few items of https://github.com/AdaCore/gprbuild/issues/44n= which is titled " > C++ code fails under GNAT 2018=E2=80=9D. The reason for the failure turn= ed out to be a gprbuild bug involving > gprconfig which did not recognise the LLVM C++ compiler. > An "An interesting hint " is=20 > The latest gprbuild bistro does not have this bug (Simon's hint I think). Thank you very much, Roger. Your reply was actually very much more on-topi= c & a-propos than anyone (including myself) realized at first. It seems th= at Simon's hint evidently is actually about interworking GIMPLE/RTL-backend= ed GNAT's generated code with LLVM-backended Clang's generated code. It se= ems that Simon's hint is evidently not pursuant to a full-fledged LLVM-back= ended GNAT. (Can anyone imagine the reaction from RMS if the official FSF GNAT maintain= ers at AdaCore were to check in the bulk of LLVM into FSF repositories for = an LLVM-backended GNAT to comply with the intermediate-representation prohi= bitions/restrictions in GPLv3's Runtime Library Exception? I think that so= me wild bulls in rodeo rings might be more gentle & tame.)