Re: [PATCH] eng: Add build system chapter

2019-11-11 Thread Sebastian Huber
On 11/11/2019 23:29, Chris Johns wrote: On 11/11/19 8:45 pm, Sebastian Huber wrote: On 08/11/2019 23:48, Chris Johns wrote:[...] 3. Is the ${} expansion something you have implemented? It is a nice feature. [...] With standard Python the substitution itself is a one liner:     def substit

Re: FreeBSD.py on FreeBSD 12.1

2019-11-11 Thread Chris Johns
On 12/11/19 10:04 am, Joel Sherrill wrote: > Hi > > I appreciate the help and pointers but nothing has jumped out yet.  I see code > there which I think should result in host_ldflags having -L/usr/local/lib > > do-build does end up with this when I go back to the build directory with > "gmake >

FreeBSD.py on FreeBSD 12.1

2019-11-11 Thread Joel Sherrill
Hi I appreciate the help and pointers but nothing has jumped out yet. I see code there which I think should result in host_ldflags having -L/usr/local/lib do-build does end up with this when I go back to the build directory with "gmake V=1" == /usr/bin/c++ -O2 -pipe -fbr

psim tests timing out

2019-11-11 Thread Joel Sherrill
Hi I was running tests on psim and they are all timing out. Any ideas or is this working for someone else? Thanks. --joel ___ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel

Re: psxfenv01 fails to compile for RISCV

2019-11-11 Thread Chris Johns
On 12/11/19 12:10 am, Sebastian Huber wrote: > On 11/11/2019 07:04, Sebastian Huber wrote: >> On 09/11/2019 19:57, Joel Sherrill wrote: >>> I thought I fixed this in the upstream newlib. >>> >>> https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;a=commit;h=9e06ba1ac310c5a2392bb9d150e4686bbb1

Re: [PATCH 1/3] [linkers] Add RISC-V machine to rld-elf

2019-11-11 Thread Chris Johns
Ok to push these patches. Chris On 11/11/19 11:40 pm, Hesham Almatary wrote: > --- > rtemstoolkit/rld-elf.cpp | 5 + > 1 file changed, 5 insertions(+) > > diff --git a/rtemstoolkit/rld-elf.cpp b/rtemstoolkit/rld-elf.cpp > index 231f2bf..ffa3376 100644 > --- a/rtemstoolkit/rld-elf.cpp > +++

Re: [PATCH 1/2] riscv: preliminarily support for libdl

2019-11-11 Thread Chris Johns
Hi Hesham, Thank you for this providing this support. Please push these patches. Chris On 11/11/19 11:29 pm, Hesham Almatary wrote: > Support for targets compiled with -fno-pic and -mno-relax ___ devel mailing list devel@rtems.org http://lists.rtems.or

Re: [PATCH] eng: Add build system chapter

2019-11-11 Thread Chris Johns
On 11/11/19 8:45 pm, Sebastian Huber wrote: > On 08/11/2019 23:48, Chris Johns wrote:[...] >> 3. Is the ${} expansion something you have implemented? It is a nice feature. > [...] > > With standard Python the substitution itself is a one liner: > >     def substitute(self, ctx, value): >    

Re: *.tcfg specification?

2019-11-11 Thread Chris Johns
On 11/11/19 7:13 pm, Sebastian Huber wrote: > what is the purpose of the *.tcfg test configuration files? The tcfg files provide a way to implement the "test controls" ... https://docs.rtems.org/branches/master/user/testing/tests.html#test-controls .. as well as excluding a test. A test executa

virtio driver for RTEMS

2019-11-11 Thread Joel Sherrill
Hi Did anyone ever evaluate this? https://github.com/sslab-konkuk/RTEMS-virtio Does rtems-libbsd include the virtio driver? --joel ___ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel

Re: psxfenv01 fails to compile for SPARC and I guess many others

2019-11-11 Thread Joel Sherrill
On Mon, Nov 11, 2019 at 8:10 AM Sebastian Huber < sebastian.hu...@embedded-brains.de> wrote: > Hello, > > I get a compile error even with the latest Newlib: > > /home/EB/sebastian_h/git-rtems-5/c/src/../../testsuites/psxtests/psxfenv01/init.c: > > In function 'Init': > /home/EB/sebastian_h/git-rte

psxfenv01 fails to compile for SPARC and I guess many others

2019-11-11 Thread Sebastian Huber
Hello, I get a compile error even with the latest Newlib: /home/EB/sebastian_h/git-rtems-5/c/src/../../testsuites/psxtests/psxfenv01/init.c: In function 'Init': /home/EB/sebastian_h/git-rtems-5/c/src/../../testsuites/psxtests/psxfenv01/init.c:97:23: error: 'FE_DIVBYZERO' undeclared (first use

Re: psxfenv01 fails to compile for RISCV

2019-11-11 Thread Sebastian Huber
On 11/11/2019 07:04, Sebastian Huber wrote: On 09/11/2019 19:57, Joel Sherrill wrote: I thought I fixed this in the upstream newlib. https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;a=commit;h=9e06ba1ac310c5a2392bb9d150e4686bbb118d6c Either I didn't really fix it or your newlib is

[PATCH 3/3] [linkers] rld-rap: Ignore relocations with section index 0

2019-11-11 Thread Hesham Almatary
--- rtemstoolkit/rld-rap.cpp | 6 ++ 1 file changed, 6 insertions(+) diff --git a/rtemstoolkit/rld-rap.cpp b/rtemstoolkit/rld-rap.cpp index 455328a..809b6d1 100644 --- a/rtemstoolkit/rld-rap.cpp +++ b/rtemstoolkit/rld-rap.cpp @@ -1399,6 +1399,12 @@ namespace rld bool

[PATCH 1/3] [linkers] Add RISC-V machine to rld-elf

2019-11-11 Thread Hesham Almatary
--- rtemstoolkit/rld-elf.cpp | 5 + 1 file changed, 5 insertions(+) diff --git a/rtemstoolkit/rld-elf.cpp b/rtemstoolkit/rld-elf.cpp index 231f2bf..ffa3376 100644 --- a/rtemstoolkit/rld-elf.cpp +++ b/rtemstoolkit/rld-elf.cpp @@ -1189,6 +1189,11 @@ namespace rld { "m68k",EM_COLDFI

[PATCH 2/3] [linkers] rtems-syms: Use .quad instead of .long for riscv64

2019-11-11 Thread Hesham Almatary
.long in RISC-V assembly is 4 bytes, while the address in riscv64 is 8 bytes (.quad). Moreover, RTEMS' libdl increases the symbols pointer by sizeof(long) in C when iterating over global symbols. --- linkers/rtems-syms.cpp | 8 1 file changed, 8 insertions(+) diff --git a/linkers/rtems-s

[PATCH 2/2] testsuite/dl02: Fix bug to correctly check the handle of the second object file

2019-11-11 Thread Hesham Almatary
--- testsuites/libtests/dl02/dl-load.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testsuites/libtests/dl02/dl-load.c b/testsuites/libtests/dl02/dl-load.c index 2e76c2dea6..b7a5fc54d4 100644 --- a/testsuites/libtests/dl02/dl-load.c +++ b/testsuites/libtests/dl02/dl-load.c

[PATCH 1/2] riscv: preliminarily support for libdl

2019-11-11 Thread Hesham Almatary
Support for targets compiled with -fno-pic and -mno-relax --- cpukit/configure.ac | 2 +- cpukit/libdl/rtl-elf.h| 2 +- cpukit/libdl/rtl-mdreloc-riscv.c | 435 ++ .../cpu/riscv/include/machine/elf_machdep.h | 144

Re: [PATCH 12/13] ada/samples: Avoid build system defined defines

2019-11-11 Thread Christian Mauderer
On 08/11/2019 15:03, Sebastian Huber wrote: > Update #3818. > --- > testsuites/ada/samples/base_mp/node1/Makefile.am | 5 + > testsuites/ada/samples/base_mp/node1/init.c | 2 ++ > testsuites/ada/samples/base_mp/node2/Makefile.am | 5 + > testsuites/ada/samples/base_mp/node2/init.c

Re: [PATCH 05/13] spfatal16: Remove obsolete test program

2019-11-11 Thread Christian Mauderer
You remove the sources here but the Makefile.am part is removed in the next patch 06/13. This will be a problem for git bisect. On 08/11/2019 15:02, Sebastian Huber wrote: > The "TRrc" semaphore was removed in commit > 2c12262f9a8fe7975556729f0574fab8d5a792f5. > --- > testsuites/sptests/spfatal16

Re: [PATCH] eng: Add build system chapter

2019-11-11 Thread Sebastian Huber
Hello Chris, thanks for having a look at it. On 08/11/2019 23:48, Chris Johns wrote:[...] 3. Is the ${} expansion something you have implemented? It is a nice feature. [...] With standard Python the substitution itself is a one liner: def substitute(self, ctx, value): if isinstan

[PATCH v2] user: Add hints for macOS Catalina

2019-11-11 Thread Sebastian Huber
Use macOS throughout. Order release hints so that the latest macOS release comes first. --- user/hosts/macos.rst | 31 +-- 1 file changed, 21 insertions(+), 10 deletions(-) diff --git a/user/hosts/macos.rst b/user/hosts/macos.rst index d488f20..78cef88 100644 --- a/us

*.tcfg specification?

2019-11-11 Thread Sebastian Huber
Hello, what is the purpose of the *.tcfg test configuration files? You can disable compilation of test programs with them, e.g. exclude: flashdisk01 The "testsuites/rtems-test-check.py" contains a bit more stuff. What is really needed? I have to map this to the new build system. One approa