Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

It is not best to swap horses while crossing the river. -- Abraham Lincoln


devel / comp.lang.ada / Re: Silly TARGET fix in gcc means gprconfig can find the Ada runtime

SubjectAuthor
* Silly TARGET fix in gcc means gprconfig can find the Ada runtime196...@googlemail.com
`* Re: Silly TARGET fix in gcc means gprconfig can find the Ada runtimeLuke A. Guest
 `* Re: Silly TARGET fix in gcc means gprconfig can find the Ada runtime196...@googlemail.com
  `* Re: Silly TARGET fix in gcc means gprconfig can find the Ada runtimeLuke A. Guest
   `- Re: Silly TARGET fix in gcc means gprconfig can find the Ada runtime196...@googlemail.com

1
Silly TARGET fix in gcc means gprconfig can find the Ada runtime

<2038c88e-b2f7-4499-aeb6-4ddbe081a5a2n@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=6705&group=comp.lang.ada#6705

  copy link   Newsgroups: comp.lang.ada
X-Received: by 2002:a05:6214:27cf:b0:435:cd3b:424c with SMTP id ge15-20020a05621427cf00b00435cd3b424cmr4496358qvb.100.1646930697272;
Thu, 10 Mar 2022 08:44:57 -0800 (PST)
X-Received: by 2002:a25:e789:0:b0:62f:425a:6aa7 with SMTP id
e131-20020a25e789000000b0062f425a6aa7mr1279769ybh.71.1646930696947; Thu, 10
Mar 2022 08:44:56 -0800 (PST)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.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 08:44:56 -0800 (PST)
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
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <2038c88e-b2f7-4499-aeb6-4ddbe081a5a2n@googlegroups.com>
Subject: Silly TARGET fix in gcc means gprconfig can find the Ada runtime
From: 1963...@googlemail.com (196...@googlemail.com)
Injection-Date: Thu, 10 Mar 2022 16:44:57 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 6
 by: 196...@googlemail.co - Thu, 10 Mar 2022 16:44 UTC

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...

Re: Silly TARGET fix in gcc means gprconfig can find the Ada runtime

<t0de2f$1o7h$1@gioia.aioe.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=6706&group=comp.lang.ada#6706

  copy link   Newsgroups: comp.lang.ada
Path: i2pn2.org!i2pn.org!aioe.org!Lx7EM+81f32E0bqku+QpCA.user.46.165.242.75.POSTED!not-for-mail
From: lagu...@archeia.com (Luke A. Guest)
Newsgroups: comp.lang.ada
Subject: Re: Silly TARGET fix in gcc means gprconfig can find the Ada runtime
Date: Thu, 10 Mar 2022 17:55:03 +0000
Organization: Aioe.org NNTP Server
Message-ID: <t0de2f$1o7h$1@gioia.aioe.org>
References: <2038c88e-b2f7-4499-aeb6-4ddbe081a5a2n@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Info: gioia.aioe.org; logging-data="57585"; posting-host="Lx7EM+81f32E0bqku+QpCA.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101
Thunderbird/91.5.1
Content-Language: en-GB
X-Notice: Filtered by postfilter v. 0.9.2
 by: Luke A. Guest - Thu, 10 Mar 2022 17:55 UTC

On 10/03/2022 16:44, 196...@googlemail.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?

Re: Silly TARGET fix in gcc means gprconfig can find the Ada runtime

<2bb984ff-4ccc-4f08-a58d-46f5caf385fdn@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=6707&group=comp.lang.ada#6707

  copy link   Newsgroups: comp.lang.ada
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: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.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: <t0de2f$1o7h$1@gioia.aioe.org>
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> <t0de2f$1o7h$1@gioia.aioe.org>
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: 1963...@googlemail.com (196...@googlemail.com)
Injection-Date: Thu, 10 Mar 2022 18:19:39 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 19
 by: 196...@googlemail.co - Thu, 10 Mar 2022 18:19 UTC

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.

Re: Silly TARGET fix in gcc means gprconfig can find the Ada runtime

<t0dlf0$1aq9$1@gioia.aioe.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=6708&group=comp.lang.ada#6708

  copy link   Newsgroups: comp.lang.ada
Path: i2pn2.org!i2pn.org!aioe.org!Lx7EM+81f32E0bqku+QpCA.user.46.165.242.75.POSTED!not-for-mail
From: lagu...@archeia.com (Luke A. Guest)
Newsgroups: comp.lang.ada
Subject: Re: Silly TARGET fix in gcc means gprconfig can find the Ada runtime
Date: Thu, 10 Mar 2022 20:01:11 +0000
Organization: Aioe.org NNTP Server
Message-ID: <t0dlf0$1aq9$1@gioia.aioe.org>
References: <2038c88e-b2f7-4499-aeb6-4ddbe081a5a2n@googlegroups.com>
<t0de2f$1o7h$1@gioia.aioe.org>
<2bb984ff-4ccc-4f08-a58d-46f5caf385fdn@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Info: gioia.aioe.org; logging-data="43849"; posting-host="Lx7EM+81f32E0bqku+QpCA.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101
Thunderbird/91.5.1
X-Notice: Filtered by postfilter v. 0.9.2
Content-Language: en-GB
 by: Luke A. Guest - Thu, 10 Mar 2022 20:01 UTC

On 10/03/2022 18:19, 196...@googlemail.com wrote:
> 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.

That doesn't answer my question. I asked whether this change will flip
it in the other direction and fail for distributions which use the -gnu
part at the end like gentoo does.

If so, that's not a fix.

Re: Silly TARGET fix in gcc means gprconfig can find the Ada runtime

<e823113f-3a7e-44e2-9810-e31caab55654n@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=6716&group=comp.lang.ada#6716

  copy link   Newsgroups: comp.lang.ada
X-Received: by 2002:a05:620a:56b:b0:62c:eff4:fe8d with SMTP id p11-20020a05620a056b00b0062ceff4fe8dmr8304094qkp.459.1647702000643;
Sat, 19 Mar 2022 08:00:00 -0700 (PDT)
X-Received: by 2002:a25:500e:0:b0:633:7dc4:a4c2 with SMTP id
e14-20020a25500e000000b006337dc4a4c2mr14194525ybb.542.1647702000456; Sat, 19
Mar 2022 08:00:00 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.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: Sat, 19 Mar 2022 08:00:00 -0700 (PDT)
In-Reply-To: <t0dlf0$1aq9$1@gioia.aioe.org>
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>
<t0de2f$1o7h$1@gioia.aioe.org> <2bb984ff-4ccc-4f08-a58d-46f5caf385fdn@googlegroups.com>
<t0dlf0$1aq9$1@gioia.aioe.org>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <e823113f-3a7e-44e2-9810-e31caab55654n@googlegroups.com>
Subject: Re: Silly TARGET fix in gcc means gprconfig can find the Ada runtime
From: 1963...@googlemail.com (196...@googlemail.com)
Injection-Date: Sat, 19 Mar 2022 15:00:00 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 28
 by: 196...@googlemail.co - Sat, 19 Mar 2022 15:00 UTC

On Thursday, 10 March 2022 at 20:01:40 UTC, Luke A. Guest wrote:
> On 10/03/2022 18:19, 196...@googlemail.com wrote:
> > 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.
> That doesn't answer my question. I asked whether this change will flip
> it in the other direction and fail for distributions which use the -gnu
> part at the end like gentoo does.
>
> If so, that's not a fix.

No, it doesn't.

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor