[PATCH rtems-source-builder] 6/7: Update AArch64 newlib patch

2022-03-17 Thread Kinsey Moore
The existing patch fails to build with the latest newlib. This picks up an updated patch that compiles with both older and newer newlib. --- rtems/config/tools/rtems-gcc-10-newlib-head.cfg | 4 ++-- rtems/config/tools/rtems-gcc-head-newlib-head.cfg | 4 ++-- 2 files changed, 4 insertions(+), 4

Re: Awk error when building tools on Mingw64

2022-03-17 Thread Frank Kühndel
Hello Ryan, I believe I have a different error than yours on a "Fedora Linux 35 Container" but my error is exactly at the same place as yours. But to your problem: It looks like the `$i` has been replaced nothing by substitution. Compare the output: At the top:

Re: RTEMS-specific Newlib patches for aarch64

2022-03-17 Thread Kinsey Moore
On 3/17/2022 10:43, Sebastian Huber wrote: On 17/03/2022 16:40, Kinsey Moore wrote: with current newlib (ed32020) This is not the current Newlib. There are a couple of build system patches on top of it. I guess the problem is that one location in the patch uses #include <...> and not

Re: RTEMS-specific Newlib patches for aarch64

2022-03-17 Thread Sebastian Huber
On 17/03/2022 16:40, Kinsey Moore wrote: with current newlib (ed32020) This is not the current Newlib. There are a couple of build system patches on top of it. I guess the problem is that one location in the patch uses #include <...> and not #include "...'. -- embedded brains GmbH Herr

Re: RTEMS-specific Newlib patches for aarch64

2022-03-17 Thread Kinsey Moore
On 3/17/2022 07:30, Kinsey Moore wrote: On 3/17/2022 05:00, Sebastian Huber wrote: Hello, the current Newlib build fails for aarch64 due to RTEMS-specific patches:   CC   libc/string/libc_a-wcscmp.o ../../../gnu-mirror-gcc-0f001dd/newlib/libc/machine/aarch64/setjmp.S:29:10: fatal

AW: AW: Dependencies of PPS API in rtems-libbsd

2022-03-17 Thread Gabriel.Moyano
> >> I guess you want to enable tc_poll_pps in struct timecounter as well? > > > > I didn't plan to do that but it can be done just removing some #ifndef, > > right? > > Is this handler not use for the PPS support? If it is currently unused, then > please let it disabled. Ok. For now I was

Re: Movement of confdefs instance into a static library

2022-03-17 Thread Kinsey Moore
On 3/17/2022 08:35, Sebastian Huber wrote: On 17/03/2022 14:22, Kinsey Moore wrote: On 3/17/2022 00:39, Sebastian Huber wrote: Hello Kinsey, On 16/03/2022 22:57, Kinsey Moore wrote: Is moving the confdefs instance into a shared library supported and expected to work? yes, but the order in

Re: Movement of confdefs instance into a static library

2022-03-17 Thread Sebastian Huber
On 17/03/2022 14:22, Kinsey Moore wrote: On 3/17/2022 00:39, Sebastian Huber wrote: Hello Kinsey, On 16/03/2022 22:57, Kinsey Moore wrote: Is moving the confdefs instance into a shared library supported and expected to work? yes, but the order in which the linker resolves the dependencies

Re: Movement of confdefs instance into a static library

2022-03-17 Thread Kinsey Moore
On 3/17/2022 00:39, Sebastian Huber wrote: Hello Kinsey, On 16/03/2022 22:57, Kinsey Moore wrote: Is moving the confdefs instance into a shared library supported and expected to work? yes, but the order in which the linker resolves the dependencies is very important. You have to make sure

Re: AW: Dependencies of PPS API in rtems-libbsd

2022-03-17 Thread Sebastian Huber
On 16/03/2022 08:04, gabriel.moy...@dlr.de wrote: Hello Sebastian, On 15/03/2022 16:31, gabriel.moy...@dlr.de wrote: I'm working on enabling PPS support in RTEMS does this mean you want to define PPS_SYNC for kern_tc.c and kern_ntptime.c in RTEMS? yes I guess you want to enable

Re: RTEMS-specific Newlib patches for aarch64

2022-03-17 Thread Kinsey Moore
On 3/17/2022 05:00, Sebastian Huber wrote: Hello, the current Newlib build fails for aarch64 due to RTEMS-specific patches:   CC   libc/string/libc_a-wcscmp.o ../../../gnu-mirror-gcc-0f001dd/newlib/libc/machine/aarch64/setjmp.S:29:10: fatal error: ../asmdefs.h: No such file or directory  

[PATCH] GDB: Prefer Python 3 over 2

2022-03-17 Thread Sebastian Huber
This fixes the build of a recent GDB version: gdb/python/py-micmd.c: In function 'int micmdpy_uninstall_command(micmdpy_object*)': gdb/python/py-micmd.c:430:20: error: 'PyDict_GetItemWithError' was not declared in this scope PyObject *curr = PyDict_GetItemWithError (mi_cmd_dict.get (),

RE: Support for test coverage analysis in RTEMS 6

2022-03-17 Thread VALDEZ Jose
Hello Jerzy, Please see my answers below. José From: Jerzy Jaskuc Sent: 17 de março de 2022 10:44 To: VALDEZ Jose Cc: devel@rtems.org Subject: Re: Support for test coverage analysis in RTEMS 6 Hi José, This is exactly what I needed, thanks so much! I'm able to generate the reports

Re: Support for test coverage analysis in RTEMS 6

2022-03-17 Thread Jerzy Jaskuc
Hi José, This is exactly what I needed, thanks so much! I'm able to generate the reports successfully. Just a few small questions: I see that in `sparc-gr712rc-smp-user-qual.yml` there's a step to build `qual-only` and a step for `qual-only-coverage`. Do I need the steps for `qual-only` if I'm

RTEMS-specific Newlib patches for aarch64

2022-03-17 Thread Sebastian Huber
Hello, the current Newlib build fails for aarch64 due to RTEMS-specific patches: CC libc/string/libc_a-wcscmp.o ../../../gnu-mirror-gcc-0f001dd/newlib/libc/machine/aarch64/setjmp.S:29:10: fatal error: ../asmdefs.h: No such file or directory 29 | #include <../asmdefs.h> |