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 Path: border1.nntp.dca3.giganews.com!border2.nntp.dca3.giganews.com!border4.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newsfeed.news.ucla.edu!news.snarked.org!us.feeder.erje.net!feeder.erje.net!eu.feeder.erje.net!eternal-september.org!feeder.eternal-september.org!mx05.eternal-september.org!.POSTED!not-for-mail From: Brian Drummond Newsgroups: comp.lang.ada Subject: Re: Specifying an `--RTS` option in a GPR file, for a runtime library Date: Mon, 15 Apr 2013 08:19:32 +0000 (UTC) Organization: A noiseless patient Spider Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Date: Mon, 15 Apr 2013 08:19:32 +0000 (UTC) Injection-Info: mx05.eternal-september.org; posting-host="da745e888d4a5182b5fda6212bbb0a63"; logging-data="21335"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/6it9u/cvmslF31yinLz7p2yWQ4ptT22Y=" User-Agent: Pan/0.139 (Sexual Chocolate; GIT bf56508 git://git.gnome.org/pan2) Cancel-Lock: sha1:9NZ6sSKgkVb7ccPQX0YvZllk13o= X-Original-Bytes: 2348 Xref: number.nntp.dca.giganews.com comp.lang.ada:181069 Date: 2013-04-15T08:19:32+00:00 List-Id: On Sun, 14 Apr 2013 22:07:58 +0200, Yannick Duchêne (Hibou57) wrote: > Le Sun, 14 Apr 2013 21:54:20 +0200, Yannick Duchêne (Hibou57) > a écrit: > It still starts with “warning: RTS for language ada is discarded (full > path)” as before with the absolute path variant, but now `gprbuild` also > returns this additional message: “raised TYPES.UNRECOVERABLE_ERROR : > targparm.adb:177”. > > This must be a file from the compiler source, as I could not find this > in the runtime source files. This error is "cannot find system.ads" - first make sure your RTS directory contains adainclude/system.ads, and then figure out why the -- RTS= option is ignored/wrong/broken. As of a couple of revisions ago, some tools (FSF tree, gnatclean+?) were looking for system.ads in the wrong place (ignoring --RTS) but that didn't affect normal builds. As a crosscheck, have you tried building with gnatmake and a direct command line (no gpr), which DOES honour the --RTS= option? This may yield some light on what's wrong. - Brian