Re: GCC version for RTEMS 6?

2022-04-27 Thread Sebastian Huber
On 27.04.22 08:57, Sebastian Huber wrote: Hello, we have to select a GCC version for the RTEMS 6 release. Currently, GCC 10 is used, however, with the release of GCC 10.4 this year it will reach its end of life. Other options are GCC 11 and 12. GCC 12 will be released in the next weeks. It ha

AW: AW: AW: [PATCH 07/12] kern_tc.c: Remove verification of th_generation for pps functions

2022-04-27 Thread Gabriel.Moyano
> On 07/04/2022 15:16, Sebastian Huber wrote: > > On 07/04/2022 15:10, gabriel.moy...@dlr.de wrote: > >>> Which sequence of function calls and timings cases the problem? This > >>> should be definitely a test case. > >> The generation is updated every time tc_windup() is called. So it is > >> more

AW: AW: AW: AW: AW: [PATCH 11/12] kern_ntptime: Add define in order to remove warning

2022-04-27 Thread Gabriel.Moyano
> On 08/04/2022 08:28, gabriel.moy...@dlr.de wrote: > PPS device drivers should use the kernel space API. Since we don't > have a user and kernel space in RTEMS, the kerne space API should be > available also if __rtems__ is defined. > >>> So, you mean to remove the #ifdef _KERNEL u

Re: GCC version for RTEMS 6?

2022-04-27 Thread Sebastian Huber
On 27.04.22 11:54, Sebastian Huber wrote: The Ada support is broken in GCC 12 for most targets: tracebak.c:563:2: error: #error Unhandled RTEMS architecture.   563 | #error Unhandled RTEMS architecture.   |  ^ Fortunately, this was easy to fix. -- embedded brains GmbH Herr Sebastian

Re: AW: AW: AW: [PATCH 07/12] kern_tc.c: Remove verification of th_generation for pps functions

2022-04-27 Thread Sebastian Huber
On 27.04.22 15:13, gabriel.moy...@dlr.de wrote: On 07/04/2022 15:16, Sebastian Huber wrote: On 07/04/2022 15:10, gabriel.moy...@dlr.de wrote: Which sequence of function calls and timings cases the problem? This should be definitely a test case. The generation is updated every time tc_windup(

Re: GCC version for RTEMS 6? (Can Ada be used?)

2022-04-27 Thread Frank Kühndel
Hello Sebastian, On 4/27/22 11:54, Sebastian Huber wrote: >> we have to select a GCC version for the RTEMS 6 release. Currently, >> GCC 10 is used, however, with the release of GCC 10.4 this year it >> will reach its end of life. Other options are GCC 11 and 12. GCC 12 >> will be released in the n

Re: GCC version for RTEMS 6? (Can Ada be used?)

2022-04-27 Thread Karel Gardas
On 4/27/22 19:25, Frank Kühndel wrote: I do not need ADA but ADA may be worth considering. With GCC 10 one needed to have a GNAT 10 compiler installed to build the tools incl. --with_ada. I presume, one would need a GNAT 12 to build ADA with the GCC 12 sources? The current Fedora 35 has GNAT 11.

Re: GCC version for RTEMS 6? (Can Ada be used?)

2022-04-27 Thread Frank Kühndel
Hi Karel, On 4/27/22 19:46, Karel Gardas wrote: > On 4/27/22 19:25, Frank Kühndel wrote: >> I do not need ADA but ADA may be worth considering. With GCC 10 one >> needed to have a GNAT 10 compiler installed to build the tools incl. >> --with_ada. I presume, one would need a GNAT 12 to build ADA wi

Re: GCC version for RTEMS 6? (Can Ada be used?)

2022-04-27 Thread Karel Gardas
On 4/27/22 20:12, Frank Kühndel wrote: Hi Karel, On 4/27/22 19:46, Karel Gardas wrote: On 4/27/22 19:25, Frank Kühndel wrote: I do not need ADA but ADA may be worth considering. With GCC 10 one needed to have a GNAT 10 compiler installed to build the tools incl. --with_ada. I presume, one woul

Re: GCC version for RTEMS 6? (Can Ada be used?)

2022-04-27 Thread Joel Sherrill
On Wed, Apr 27, 2022 at 1:12 PM Frank Kühndel < frank.kuehn...@embedded-brains.de> wrote: > Hi Karel, > > On 4/27/22 19:46, Karel Gardas wrote: > > On 4/27/22 19:25, Frank Kühndel wrote: > >> I do not need ADA but ADA may be worth considering. With GCC 10 one > >> needed to have a GNAT 10 compiler

Re: Building RTEMS 6 toolchain on a Mac

2022-04-27 Thread Karel Gardas
On 4/27/22 08:48, Sebastian Huber wrote: On 27.04.22 08:45, Karel Gardas wrote: On 4/27/22 06:46, Sebastian Huber wrote: On 26.04.22 22:57, Karel Gardas wrote: On 4/25/22 10:10, Sebastian Huber wrote: Hello Heinz, you are probably one of the first persons building GCC 12 on this platform. I