From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on ip-172-31-74-118.ec2.internal X-Spam-Level: ** X-Spam-Status: No, score=2.5 required=3.0 tests=BAYES_50,FREEMAIL_FROM, FROM_STARTS_WITH_NUMS,PDS_FROM_2_EMAILS autolearn=no autolearn_force=no version=3.4.6 X-Received: by 2002:a05:622a:1210:b0:2e0:6e26:23a8 with SMTP id y16-20020a05622a121000b002e06e2623a8mr5034040qtx.267.1646936379124; Thu, 10 Mar 2022 10:19:39 -0800 (PST) X-Received: by 2002:a25:b9d2:0:b0:628:a85f:953c with SMTP id y18-20020a25b9d2000000b00628a85f953cmr5033471ybj.312.1646936378813; Thu, 10 Mar 2022 10:19:38 -0800 (PST) Path: eternal-september.org!reader02.eternal-september.org!border1.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Thu, 10 Mar 2022 10:19:38 -0800 (PST) In-Reply-To: Injection-Info: google-groups.googlegroups.com; posting-host=2001:8b0:ca:6:0:0:0:fd; posting-account=TiHetgoAAACluCgYkPc8-TWs6dBNgSne NNTP-Posting-Host: 2001:8b0:ca:6:0:0:0:fd References: <2038c88e-b2f7-4499-aeb6-4ddbe081a5a2n@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <2bb984ff-4ccc-4f08-a58d-46f5caf385fdn@googlegroups.com> Subject: Re: Silly TARGET fix in gcc means gprconfig can find the Ada runtime From: "196...@googlemail.com" <1963bib@googlemail.com> Injection-Date: Thu, 10 Mar 2022 18:19:39 +0000 Content-Type: text/plain; charset="UTF-8" Xref: reader02.eternal-september.org comp.lang.ada:63600 List-Id: On Thursday, 10 March 2022 at 17:55:30 UTC, Luke A. Guest wrote: > On 10/03/2022 16:44, 196....com wrote: > > For all those who can cursed the inability of gprconfig to find the ada runtime, a fix has been pushed into the gcc sources, https://github.com/gcc-mirror/gcc/commit/9467e7331188705ec16c086b77e1809c5b0aab7d. > > > > Basically, with 'gcc --dumpmachine' would return something like 'x86_64-pc-linux', but the runtime file s-oscons.ads said it was 'x86_64-pc-linux-gnu' giving a mismatch and the runtime never being found. > > > > After modifying compilers.xml to hunt in ../lib(.+)?/ since files are 64bit under lib64, I've built gcc-11, gprbuild & xmlada all without issues. Hooray... > > > > Must be one of the longest gubs in gnat... > On Gentoo, it is x86_64-pc-linux-gnu: > > ls /usr/x86_64-pc-linux-gnu/ > bin binutils-bin gcc-bin i686-w64-mingw32 lib x86_64-w64-mingw32 > > gcc -dumpmachine > x86_64-pc-linux-gnu > > How does this affect us? On suse it's x86_64-suse-linux. If you were to build on redhat, it would be x86_64-redhat-linux. They would fail. I'm sure there are others.