Re: GCC version for RTEMS 6?

2022-05-04 Thread Chris Johns
On 4/5/2022 3:54 pm, Sebastian Huber wrote: > On 04/05/2022 02:14, Chris Johns wrote: >> On 3/5/2022 4:56 pm, Sebastian Huber wrote: >>> Hello, >>> >>> I added a back port of the gcov-tool merge-stream patches to GCC 12. You >>> find >>> some background information here: >>> >>> https://gcc.gnu.or

Re: GCC version for RTEMS 6?

2022-05-04 Thread Sebastian Huber
On 04/05/2022 09:11, Chris Johns wrote: I updated the RTEMS 7 tools to use the GCC 12 release branch with a gcov back port. You can test GCC 12 with a local patch for RTEMS 6: diff --git a/rtems/config/6/rtems-default.bset b/rtems/config/6/rtems-default.bset index 731c9d8..381f916 100644 --- a/

[PATCH v3 00/11] ENABLE PPS API in RTEMS6

2022-05-04 Thread Gabriel Moyano
This is the 3rd version of the patches for enabling the PPS API in RTEMS6. It contains the changes suggested by Sebastian from yesterday (03/05/2022). Gabriel Moyano (11): kern_ntptime.c: Disable freebsd features kern_ntptime.c: Add lmax() qmin() definitions kern_tc.c: Add atomic dependencie

[PATCH v3 02/11] kern_ntptime.c: Add lmax() qmin() definitions

2022-05-04 Thread Gabriel Moyano
--- cpukit/score/src/kern_ntptime.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cpukit/score/src/kern_ntptime.c b/cpukit/score/src/kern_ntptime.c index 610386833c..da6b425064 100644 --- a/cpukit/score/src/kern_ntptime.c +++ b/cpukit/score/src/kern_ntptime.c @@ -71,6 +71,8 @@ __FBSDID("$F

[PATCH v3 01/11] kern_ntptime.c: Disable freebsd features

2022-05-04 Thread Gabriel Moyano
--- cpukit/score/src/kern_ntptime.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cpukit/score/src/kern_ntptime.c b/cpukit/score/src/kern_ntptime.c index cb39133408..610386833c 100644 --- a/cpukit/score/src/kern_ntptime.c +++ b/cpukit/score/src/kern_ntptime.c @@ -73,9 +73,

[PATCH v3 03/11] kern_tc.c: Add atomic dependencies required by the PPS API

2022-05-04 Thread Gabriel Moyano
--- cpukit/include/sys/timepps.h | 7 +++ cpukit/score/src/kern_tc.c | 7 +++ 2 files changed, 14 insertions(+) diff --git a/cpukit/include/sys/timepps.h b/cpukit/include/sys/timepps.h index 01212f0b43..5703381ffa 100644 --- a/cpukit/include/sys/timepps.h +++ b/cpukit/include/sys/timepp

[PATCH v3 04/11] kern_tc.c: Replace FREEBSD event mechanism by adding pointers to function

2022-05-04 Thread Gabriel Moyano
--- cpukit/include/sys/timepps.h | 21 cpukit/score/src/kern_tc.c | 38 2 files changed, 59 insertions(+) diff --git a/cpukit/include/sys/timepps.h b/cpukit/include/sys/timepps.h index 5703381ffa..b734c6f841 100644 --- a/cpukit/include/s

[PATCH v3 06/11] kern_tc.c: Add definitions required by PPS API

2022-05-04 Thread Gabriel Moyano
--- cpukit/score/src/kern_tc.c | 5 + 1 file changed, 5 insertions(+) diff --git a/cpukit/score/src/kern_tc.c b/cpukit/score/src/kern_tc.c index 133a6ea5e0..64a11bae20 100644 --- a/cpukit/score/src/kern_tc.c +++ b/cpukit/score/src/kern_tc.c @@ -56,6 +56,11 @@ #definetimecounter _Time

[PATCH v3 05/11] timecounter.h: Rename tc_getfrequency() to _Timecounter_Get_frequency()

2022-05-04 Thread Gabriel Moyano
--- cpukit/include/rtems/score/timecounter.h | 8 cpukit/include/sys/timetc.h | 3 +++ cpukit/score/src/kern_tc.c | 2 +- 3 files changed, 12 insertions(+), 1 deletion(-) diff --git a/cpukit/include/rtems/score/timecounter.h b/cpukit/include/rtems/score/timeco

[PATCH v3 07/11] kern_tc.c: Enable PPS API support

2022-05-04 Thread Gabriel Moyano
--- cpukit/score/src/kern_tc.c | 4 1 file changed, 4 deletions(-) diff --git a/cpukit/score/src/kern_tc.c b/cpukit/score/src/kern_tc.c index 64a11bae20..0bad76c329 100644 --- a/cpukit/score/src/kern_tc.c +++ b/cpukit/score/src/kern_tc.c @@ -1903,7 +1903,6 @@ SYSCTL_PROC(_kern_timecounter, O

[PATCH v3 08/11] kern_ntptime.c: Add define in order to remove warning

2022-05-04 Thread Gabriel Moyano
--- cpukit/score/src/kern_ntptime.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cpukit/score/src/kern_ntptime.c b/cpukit/score/src/kern_ntptime.c index da6b425064..c1b4013e9b 100644 --- a/cpukit/score/src/kern_ntptime.c +++ b/cpukit/score/src/kern_ntptime.c @@ -58,6 +58,9 @@ __FBSDID("$

[PATCH v3 10/11] timecounter.h: Add _Timecounter_Discipline()

2022-05-04 Thread Gabriel Moyano
--- cpukit/include/rtems/score/timecounter.h | 17 + cpukit/include/sys/timepps.h | 3 +++ 2 files changed, 20 insertions(+) diff --git a/cpukit/include/rtems/score/timecounter.h b/cpukit/include/rtems/score/timecounter.h index fdade06128..95e0839cff 100644 --- a/cpu

[PATCH v3 09/11] timepps.h: PPS_SYNC defined by default

2022-05-04 Thread Gabriel Moyano
--- cpukit/include/sys/timepps.h| 1 + cpukit/score/src/kern_ntptime.c | 10 -- 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/cpukit/include/sys/timepps.h b/cpukit/include/sys/timepps.h index b734c6f841..56c1cc43ca 100644 --- a/cpukit/include/sys/timepps.h +++ b/cpuki

[PATCH v3 11/11] testsuites/sptests: Add sppps01 test

2022-05-04 Thread Gabriel Moyano
--- spec/build/testsuites/sptests/grp.yml | 2 + spec/build/testsuites/sptests/sppps01.yml | 19 +++ testsuites/sptests/sppps01/init.c | 173 ++ 3 files changed, 194 insertions(+) create mode 100644 spec/build/testsuites/sptests/sppps01.yml create mode 100644 t

Re: GCC version for RTEMS 6?

2022-05-04 Thread Chris Johns
On 4/5/2022 8:57 pm, Sebastian Huber wrote: > On 04/05/2022 09:11, Chris Johns wrote: >>> I updated the RTEMS 7 tools to use the GCC 12 release branch with a gcov >>> back >>> port. You can test GCC 12 with a local patch for RTEMS 6: >>> >>> diff --git a/rtems/config/6/rtems-default.bset >>> b/rte

Re: GCC version for RTEMS 6?

2022-05-04 Thread Chris Johns
On 5/5/2022 9:32 am, Chris Johns wrote: > I think this is a use case where something added to the RSB may be required to > make this easier. For example logic in a bset file would be nice. https://devel.rtems.org/ticket/4646 Chris ___ devel mailing list

[PATCH] sb/setbuilder: Control buildsets using the --with-* command line option

2022-05-04 Thread chrisj
From: Chris Johns - Expand macros in buildset file names - Add support to buildsets for `%defineifnot` - Update 6 and 7 to support command line build overrides Closes #4646 --- rtems/config/6/rtems-default.bset | 23 +- rtems/config/7/rtems-default.bset | 2