Re: RSB create report error

2020-07-02 Thread Chris Johns

On 2/7/20 12:22 am, Sebastian Huber wrote:

On 01/07/2020 11:30, Sebastian Huber wrote:


Hello,

the GDB error is:

https://sourceware.org/pipermail/gdb/2020-July/048772.html

This -fno-common default in GCC 10 can be also an issue for some RTEMS 
BSPs.


This seems to be a powerpc-specific issue. I was able to build the tools 
for arm and sparc:


arm-rtems6-gnat --version
GNAT 10.1.1 20200629 (RTEMS 6, RSB 
8effa3e542c0a2ded4cc36fcd446aab834a6eb25, Newlib a97bdf1)

Copyright (C) 1996-2020, Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A 
PARTICULAR PURPOSE.


sparc-rtems6-gnat --version
GNAT 10.1.1 20200629 (RTEMS 6, RSB 
8effa3e542c0a2ded4cc36fcd446aab834a6eb25, Newlib a97bdf1)

Copyright (C) 1996-2020, Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A 
PARTICULAR PURPOSE.




Thanks. From the backtrace it looks like a unicode type issue and I 
suppose you are using python3. The bulk of the report is from the log's 
tail function and the type is a list of strings from `splitlines()` and 
that can handle unicode strings. I think a decode() may be needed when 
writing the file.


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


Re: RSB create report error

2020-07-01 Thread Sebastian Huber

On 01/07/2020 11:30, Sebastian Huber wrote:


Hello,

the GDB error is:

https://sourceware.org/pipermail/gdb/2020-July/048772.html

This -fno-common default in GCC 10 can be also an issue for some RTEMS 
BSPs.


This seems to be a powerpc-specific issue. I was able to build the tools 
for arm and sparc:


arm-rtems6-gnat --version
GNAT 10.1.1 20200629 (RTEMS 6, RSB 
8effa3e542c0a2ded4cc36fcd446aab834a6eb25, Newlib a97bdf1)

Copyright (C) 1996-2020, Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A 
PARTICULAR PURPOSE.


sparc-rtems6-gnat --version
GNAT 10.1.1 20200629 (RTEMS 6, RSB 
8effa3e542c0a2ded4cc36fcd446aab834a6eb25, Newlib a97bdf1)

Copyright (C) 1996-2020, Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A 
PARTICULAR PURPOSE.


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


Re: RSB create report error

2020-07-01 Thread Sebastian Huber

On 01/07/2020 12:32, Kuan-Hsun Chen wrote:



I missed the focus of GCC 10 in the previous mail. I thought it was 
related to the target.

My host gcc is 8.3 in Debian. I might report later with GCC 10.
Ok, it could be that building arm or sparc works. I switched to a GCC 10 
host compiler to build with Ada enabled.

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


Re: RSB create report error

2020-07-01 Thread Kuan-Hsun Chen
Hi,

I missed the focus of GCC 10 in the previous mail. I thought it was related
to the target.
My host gcc is 8.3 in Debian. I might report later with GCC 10.

Best,
Kuan-Hsun


On Wed, Jul 1, 2020 at 12:28 PM Sebastian Huber <
sebastian.hu...@embedded-brains.de> wrote:

> On 01/07/2020 12:24, Kuan-Hsun Chen wrote:
>
> >
> > Just a relevant comment. I don't have this problem with arm-rtems
> > during the build.
> With a GCC 10 host compiler?
>
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Re: RSB create report error

2020-07-01 Thread Sebastian Huber

On 01/07/2020 12:24, Kuan-Hsun Chen wrote:



Just a relevant comment. I don't have this problem with arm-rtems 
during the build.

With a GCC 10 host compiler?
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel


Re: RSB create report error

2020-07-01 Thread Kuan-Hsun Chen
Hello,

Just a relevant comment. I don't have this problem with arm-rtems during
the build.

Best,
Kuan-Hsun


On Wed, Jul 1, 2020 at 11:30 AM Sebastian Huber <
sebastian.hu...@embedded-brains.de> wrote:

> Hello,
>
> the GDB error is:
>
> https://sourceware.org/pipermail/gdb/2020-July/048772.html
>
> This -fno-common default in GCC 10 can be also an issue for some RTEMS
> BSPs.
>
> ___
> devel mailing list
> devel@rtems.org
> http://lists.rtems.org/mailman/listinfo/devel
>
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Re: RSB create report error

2020-07-01 Thread Sebastian Huber

Hello,

the GDB error is:

https://sourceware.org/pipermail/gdb/2020-July/048772.html

This -fno-common default in GCC 10 can be also an issue for some RTEMS BSPs.

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