Re: [PATCH RSB 5 v2] gdb-9-1: Add patch to fix linker error with gcc10

2021-03-30 Thread Vijay Kumar Banerjee
On Tue, Mar 30, 2021 at 10:45 PM Chris Johns  wrote:
>
> On 31/3/21 3:29 pm, Vijay Kumar Banerjee wrote:
> > On Tue, Mar 30, 2021 at 10:24 PM Chris Johns  wrote:
> >>
> >> OK for 5 the branch.
> >>
> > Thanks. will it be ok for master as well? I have created a cloned
> > ticket for master: #4367.
>
Pushed to 5.

> Master is more complicated because what we have currently does not build on
> MSYS2 for a different reason and I think we need to consider a GDB release 
> again
> or we move the hash we use to gdb HEAD or something like that. I have tested
> gdb's HEAD on MSYS2 and it builds.
>
> I am not sure why we use git and not a release for gdb at the moment.
>
Ah, I see. Good to know about it beforehand. I was about to start
building toolchains for windows to test the legacy net.

Best regards,
Vijay

> Chris
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel


Re: [PATCH RSB 5 v2] gdb-9-1: Add patch to fix linker error with gcc10

2021-03-30 Thread Chris Johns
On 31/3/21 3:29 pm, Vijay Kumar Banerjee wrote:
> On Tue, Mar 30, 2021 at 10:24 PM Chris Johns  wrote:
>>
>> OK for 5 the branch.
>>
> Thanks. will it be ok for master as well? I have created a cloned
> ticket for master: #4367.

Master is more complicated because what we have currently does not build on
MSYS2 for a different reason and I think we need to consider a GDB release again
or we move the hash we use to gdb HEAD or something like that. I have tested
gdb's HEAD on MSYS2 and it builds.

I am not sure why we use git and not a release for gdb at the moment.

Chris
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel


Re: [PATCH RSB 5 v2] gdb-9-1: Add patch to fix linker error with gcc10

2021-03-30 Thread Vijay Kumar Banerjee
Hi Chris,

On Tue, Mar 30, 2021 at 10:24 PM Chris Johns  wrote:
>
> OK for 5 the branch.
>
Thanks. will it be ok for master as well? I have created a cloned
ticket for master: #4367.

> It was a really great piece of work by everyone to sort this out. I have
> recently been hit by 4 separate cases of this change in gcc10 effecting code.
>

Thanks,
Vijay

> Thanks
> Chris
>
> On 31/3/21 11:19 am, Vijay Kumar Banerjee wrote:
> > Close #4366
> > ---
> >  rtems/config/tools/rtems-gdb-9.1-1.cfg | 3 +++
> >  1 file changed, 3 insertions(+)
> >
> > diff --git a/rtems/config/tools/rtems-gdb-9.1-1.cfg 
> > b/rtems/config/tools/rtems-gdb-9.1-1.cfg
> > index 99e6571..1d14a20 100644
> > --- a/rtems/config/tools/rtems-gdb-9.1-1.cfg
> > +++ b/rtems/config/tools/rtems-gdb-9.1-1.cfg
> > @@ -9,4 +9,7 @@
> >  %define gdb_src_ext xz
> >  %hash sha512 gdb-%{gdb_version}.tar.xz 
> > hM3UCNgKP8V3neRZxbJhVNMbMp695+OqeHmfseskXYtkuMjuckI4Kh29lbTm+dhP70HRKgZGqnXT3uRwnqH25w==
> >
> > +%patch add gdb 
> > https://devel.rtems.org/raw-attachment/ticket/4366/gdb-9-1-linker-error-fix.diff
> > +%hash sha512 gdb-9-1-linker-error-fix.diff 
> > QAtNCgJsDdfKno+IqHwqRGz1SR3YdTm34ERox2fqpgaGHI6H4GqNfmkJcJaIvSgzNxif24vqWO+bF/Djqa6wNg==
> > +
> >  %include %{_configdir}/gdb-common-1.cfg
> >
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel


Re: [PATCH RSB 5 v2] gdb-9-1: Add patch to fix linker error with gcc10

2021-03-30 Thread Chris Johns
OK for 5 the branch.

It was a really great piece of work by everyone to sort this out. I have
recently been hit by 4 separate cases of this change in gcc10 effecting code.

Thanks
Chris

On 31/3/21 11:19 am, Vijay Kumar Banerjee wrote:
> Close #4366
> ---
>  rtems/config/tools/rtems-gdb-9.1-1.cfg | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/rtems/config/tools/rtems-gdb-9.1-1.cfg 
> b/rtems/config/tools/rtems-gdb-9.1-1.cfg
> index 99e6571..1d14a20 100644
> --- a/rtems/config/tools/rtems-gdb-9.1-1.cfg
> +++ b/rtems/config/tools/rtems-gdb-9.1-1.cfg
> @@ -9,4 +9,7 @@
>  %define gdb_src_ext xz
>  %hash sha512 gdb-%{gdb_version}.tar.xz 
> hM3UCNgKP8V3neRZxbJhVNMbMp695+OqeHmfseskXYtkuMjuckI4Kh29lbTm+dhP70HRKgZGqnXT3uRwnqH25w==
>  
> +%patch add gdb 
> https://devel.rtems.org/raw-attachment/ticket/4366/gdb-9-1-linker-error-fix.diff
> +%hash sha512 gdb-9-1-linker-error-fix.diff 
> QAtNCgJsDdfKno+IqHwqRGz1SR3YdTm34ERox2fqpgaGHI6H4GqNfmkJcJaIvSgzNxif24vqWO+bF/Djqa6wNg==
> +
>  %include %{_configdir}/gdb-common-1.cfg
> 
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel