Re: m2005 untar error on msys2 (tar01 directory)

2020-05-04 Thread Chris Johns
On 5/5/20 4:05 pm, Sebastian Huber wrote: On 05/05/2020 08:01, Chris Johns wrote: What does `os.uname()` return? In the msys shell: $ python Python 3.7.4 (default, Jul 11 2019, 09:35:14) That is what I have installed. [GCC 9.1.0] on msys Type "help", "copyright", "credits" or "license"

Re: m2005 untar error on msys2 (tar01 directory)

2020-05-04 Thread Sebastian Huber
On 05/05/2020 08:01, Chris Johns wrote: What does `os.uname()` return? In the msys shell: $ python Python 3.7.4 (default, Jul 11 2019, 09:35:14) That is what I have installed. [GCC 9.1.0] on msys Type "help", "copyright", "credits" or "license" for more information.  >>> import os  >>> o

Re: m2005 untar error on msys2 (tar01 directory)

2020-05-04 Thread Chris Johns
On 5/5/20 3:44 pm, Sebastian Huber wrote: On 05/05/2020 07:41, Chris Johns wrote: On 5/5/20 3:34 pm, Sebastian Huber wrote: On 05/05/2020 07:22, Chris Johns wrote: On 5/5/20 3:20 pm, Sebastian Huber wrote: In a msys2 shell I get: $ ../source-builder/sb-set-builder --prefix=/opt/rtems/5 5/r

Re: m2005 untar error on msys2 (tar01 directory)

2020-05-04 Thread Sebastian Huber
On 05/05/2020 07:41, Chris Johns wrote: On 5/5/20 3:34 pm, Sebastian Huber wrote: On 05/05/2020 07:22, Chris Johns wrote: On 5/5/20 3:20 pm, Sebastian Huber wrote: In a msys2 shell I get: $ ../source-builder/sb-set-builder --prefix=/opt/rtems/5 5/rtems-sparc error: no hosts defaults found;

Re: m2005 untar error on msys2 (tar01 directory)

2020-05-04 Thread Chris Johns
On 5/5/20 3:34 pm, Sebastian Huber wrote: On 05/05/2020 07:22, Chris Johns wrote: On 5/5/20 3:20 pm, Sebastian Huber wrote: In a msys2 shell I get: $ ../source-builder/sb-set-builder --prefix=/opt/rtems/5 5/rtems-sparc error: no hosts defaults found; please add What does `python source-bui

Re: m2005 untar error on msys2 (tar01 directory)

2020-05-04 Thread Sebastian Huber
On 05/05/2020 07:22, Chris Johns wrote: On 5/5/20 3:20 pm, Sebastian Huber wrote: In a msys2 shell I get: $ ../source-builder/sb-set-builder --prefix=/opt/rtems/5 5/rtems-sparc error: no hosts defaults found; please add What does `python source-builder/sb/windows.py` show? $ python source-

Re: m2005 untar error on msys2 (tar01 directory)

2020-05-04 Thread Sebastian Huber
On 05/05/2020 07:20, Sebastian Huber wrote: I tried to build the tools to check if the test runs. I got this in a mingw64 shell: config: tools/rtems-gdb-9.1-1.cfg error: shell macro failed: sh -c "/c/test-msys64/home/release/rsb/source-builder/sb/rtems-build-dep -c x86_64-w64-mingw32-gcc  -I

Re: m2005 untar error on msys2 (tar01 directory)

2020-05-04 Thread Chris Johns
On 5/5/20 3:20 pm, Sebastian Huber wrote: In a msys2 shell I get: $ ../source-builder/sb-set-builder --prefix=/opt/rtems/5 5/rtems-sparc error: no hosts defaults found; please add What does `python source-builder/sb/windows.py` show? Chris ___ deve

Re: m2005 untar error on msys2 (tar01 directory)

2020-05-04 Thread Chris Johns
On 5/5/20 3:08 pm, Sebastian Huber wrote: On 05/05/2020 06:11, Chris Johns wrote: It seems I have a problem with symbolic links in general: Yes. There are other ways we can handle this rather than banging heads against it. Thanks for taking closer look. Chris

Re: m2005 untar error on msys2 (tar01 directory)

2020-05-04 Thread Sebastian Huber
On 05/05/2020 07:08, Sebastian Huber wrote: On 05/05/2020 06:11, Chris Johns wrote: On 5/5/20 10:46 am, Joel Sherrill wrote: Hi Windows (msys2) is completely dead in the water for m2005 due to a symlink added to the RTEMS source $ tar Jxf rtems-5.0.0-m2005-1.tar.xz tar: rtems-5.0.0-m2005-

Re: m2005 untar error on msys2 (tar01 directory)

2020-05-04 Thread Sebastian Huber
On 05/05/2020 06:11, Chris Johns wrote: On 5/5/20 10:46 am, Joel Sherrill wrote: Hi Windows (msys2) is completely dead in the water for m2005 due to a symlink added to the RTEMS source $ tar Jxf rtems-5.0.0-m2005-1.tar.xz tar: rtems-5.0.0-m2005-1/testsuites/libtests/tar01/symlink: Cannot c

[PATCH 3/7] libdl/obj: Fix RAP format call table.

2020-05-04 Thread chrisj
From: Chris Johns Updates #3969 --- cpukit/libdl/rtl-obj.c | 1 - 1 file changed, 1 deletion(-) diff --git a/cpukit/libdl/rtl-obj.c b/cpukit/libdl/rtl-obj.c index 0c4a624c18..a7dd740549 100644 --- a/cpukit/libdl/rtl-obj.c +++ b/cpukit/libdl/rtl-obj.c @@ -60,7 +60,6 @@ static const rtems_rtl_loa

[PATCH 7/7] testsuite/dl06: Add a local define to control tracing

2020-05-04 Thread chrisj
From: Chris Johns Closes #3969 --- testsuites/libtests/dl06/dl-load.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/testsuites/libtests/dl06/dl-load.c b/testsuites/libtests/dl06/dl-load.c index d78e9d1ef8..211c05cd3c 100644 --- a/testsuites/libtests/dl06/dl-load.c +++ b/testsuites/libte

[PATCH 1/7] libdl: Fix comment.

2020-05-04 Thread chrisj
From: Chris Johns Updates #3969 --- cpukit/libdl/rtl-elf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpukit/libdl/rtl-elf.c b/cpukit/libdl/rtl-elf.c index 9370f36989..75b3d9c953 100644 --- a/cpukit/libdl/rtl-elf.c +++ b/cpukit/libdl/rtl-elf.c @@ -1717,7 +1717,7 @@ rtems

[PATCH 4/7] libdl/obj-cache: Fail if the read offset is past the file length

2020-05-04 Thread chrisj
From: Chris Johns - The check was for greater than and not equal or greater Updates #3969 --- cpukit/libdl/rtl-obj-cache.c | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/cpukit/libdl/rtl-obj-cache.c b/cpukit/libdl/rtl-obj-cache.c index 28d3b02a16..8791e2b1d5 100644

[PATCH 6/7] libdl/rap: Correctly check the return enum from rela calls

2020-05-04 Thread chrisj
From: Chris Johns - The change from bool to an enum did not trip a compiler warning and only the rel path was changed. The rela path was missed so archs like SPARC failed. Updates #3969 --- cpukit/libdl/rtl-rap.c | 17 + 1 file changed, 13 insertions(+), 4 deletions(-) diff

[PATCH 2/7] libdl/sparc: Print trace message of reloc failture path

2020-05-04 Thread chrisj
From: Chris Johns Updates #3969 --- cpukit/libdl/rtl-mdreloc-sparc.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/cpukit/libdl/rtl-mdreloc-sparc.c b/cpukit/libdl/rtl-mdreloc-sparc.c index 548c24132b..f8a4312a8a 100644 --- a/cpukit/libdl/rtl-mdreloc-sparc.c +++ b/cpukit

[PATCH 5/7] libdl/obj-comp: Add trace prints when decompressing

2020-05-04 Thread chrisj
From: Chris Johns Updates #3969 --- cpukit/include/rtems/rtl/rtl-trace.h | 2 ++ cpukit/libdl/rtl-obj-comp.c | 31 2 files changed, 33 insertions(+) diff --git a/cpukit/include/rtems/rtl/rtl-trace.h b/cpukit/include/rtems/rtl/rtl-trace.h index 06c72c8992.

Re: [PATCH rtems_waf] rtems: Add uninstall option to the list of commands

2020-05-04 Thread Chris Johns
On 4/5/20 8:16 pm, Vijay Kumar Banerjee wrote: On Mon, May 4, 2020 at 4:39 AM Chris Johns > wrote: Hi Are uninstall command useful with RTEMS? A use case that shows how it would be used may help. The use case in mind was libbsd. The uninstall command com

Re: m2005 untar error on msys2 (tar01 directory)

2020-05-04 Thread Chris Johns
On 5/5/20 10:46 am, Joel Sherrill wrote: Hi Windows (msys2) is completely dead in the water for m2005 due to a symlink added to the RTEMS source $ tar Jxf rtems-5.0.0-m2005-1.tar.xz tar: rtems-5.0.0-m2005-1/testsuites/libtests/tar01/symlink: Cannot create symlink to ‘home/test_file’: No such

m2005 untar error on msys2 (tar01 directory)

2020-05-04 Thread Joel Sherrill
Hi Windows (msys2) is completely dead in the water for m2005 due to a symlink added to the RTEMS source $ tar Jxf rtems-5.0.0-m2005-1.tar.xz tar: rtems-5.0.0-m2005-1/testsuites/libtests/tar01/symlink: Cannot create symlink to ‘home/test_file’: No such file or directory tar: Exiting with failure s

Gsoc improvement for next time

2020-05-04 Thread suyash singh
Hello, unfortunately I did not get accepted to gsoc 2020. May I know how can I improve for next time? ___ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel

25th Birthday of Oldest Commit in Repository

2020-05-04 Thread Joel Sherrill
Hi May 4 1995 was the day I took the last snapshot of the RTEMS source code from the Army research project and imported it into a public CVS repository. There had been snapshots and releases for years prior to that. But this was a huge transition as OAR put in place what evolved into the RTEMS.org

Re: clang sparc: generated .o file incompatible with elf64-x86-64

2020-05-04 Thread suyash singh
> > Have you seen that? > > https://stackoverflow.com/questions/19118854/unable-to-cross-compile-to-sparc-using-clang > I’m not sure sparc backend is well supported by clang/llvm. Try with > riscv. Yes I saw. It is old post, I have clang 11 and it is detecting sparc as a target so I thought clang

Re: clang sparc: generated .o file incompatible with elf64-x86-64

2020-05-04 Thread suyash singh
with sparc-unknown-rtems5 clang version 11.0.0 (https://github.com/llvm/llvm-project.git 05606329e2353e37492bcf567ab4a4b27bceb65c) Target: sparc-unknown-rtems5 Thread model: posix InstalledDir: /home/suyash/Desktop/clanganalyzer/llvm-project/build2/bin "/home/suyash/Desktop/clanganalyzer/llvm-pro

Re: clang sparc: generated .o file incompatible with elf64-x86-64

2020-05-04 Thread suyash singh
> > Also can you add -v and send the output? clang version 11.0.0 (https://github.com/llvm/llvm-project.git 05606329e2353e37492bcf567ab4a4b27bceb65c) Target: sparc Thread model: posix InstalledDir: /home/suyash/Desktop/clanganalyzer/llvm-project/build2/bin "/home/suyash/Desktop/clanganalyzer/llv

RTEMS Tester questions and issues

2020-05-04 Thread Cláudio Maia
Hello everyone, I have a few questions and a few issues concerning RTEMS Tester which I would like to clarify with you. Starting by the questions, these are the following: - Is it possible to use RTEMS Tester to connect directly to a target board and run tests (similar to what is shown in the f

Re: Different build time warnings for ticket 3908

2020-05-04 Thread Richi Dubey
Got it. >> The "pre-installed gcc" shouldn't come into play here, because you are >> using an RTEMS cross-compiler, e.g., sparc5-rtems-gcc. I was unsure of this as recently I had seen a mail in the devel list saying that someone had an error because of changes in the latest gcc/clang version. I c

Re: clang sparc: generated .o file incompatible with elf64-x86-64

2020-05-04 Thread Hesham Almatary
Have you seen that? https://stackoverflow.com/questions/19118854/unable-to-cross-compile-to-sparc-using-clang I’m not sure sparc backend is well supported by clang/llvm. Try with riscv. On Mon, 4 May 2020 at 13:34, Hesham Almatary wrote: > > > On Mon, 4 May 2020 at 13:19, Joel Sherrill wrote:

Re: clang sparc: generated .o file incompatible with elf64-x86-64

2020-05-04 Thread Hesham Almatary
On Mon, 4 May 2020 at 13:19, Joel Sherrill wrote: > > > On Mon, May 4, 2020, 7:16 AM suyash singh > wrote: > >> I am trying to cross compile with clang and run Undefined Behavior >> Sanitizer for .c file >> >> *Command I am running* >> >> clang -target sparc -integrated-as -fuse-ld=lld -fsanitiz

Re: clang sparc: generated .o file incompatible with elf64-x86-64

2020-05-04 Thread Joel Sherrill
On Mon, May 4, 2020, 7:16 AM suyash singh wrote: > I am trying to cross compile with clang and run Undefined Behavior > Sanitizer for .c file > > *Command I am running* > > clang -target sparc -integrated-as -fuse-ld=lld -fsanitize=undefined test1.c > > clang is the cross compiler > > sparc is th

clang sparc: generated .o file incompatible with elf64-x86-64

2020-05-04 Thread suyash singh
I am trying to cross compile with clang and run Undefined Behavior Sanitizer for .c file *Command I am running* clang -target sparc -integrated-as -fuse-ld=lld -fsanitize=undefined test1.c clang is the cross compiler sparc is the target architecture. -integrated-as to use the llvm assembler -

Re: [PATCH rtems_waf] rtems: Add uninstall option to the list of commands

2020-05-04 Thread Vijay Kumar Banerjee
On Mon, May 4, 2020 at 4:39 AM Chris Johns wrote: > Hi > > Are uninstall command useful with RTEMS? A use case that shows how it > would be used may help. > > The use case in mind was libbsd. The uninstall command comes handy in cleaning off the files that were installed, and there's no need to d

Re: RSB fails to build qemu.bset

2020-05-04 Thread Cláudio Maia
On 04/05/20 00:29, Chris Johns wrote: > On 3/5/20 4:33 am, Joel Sherrill wrote: >> >> On Sat, May 2, 2020, 12:42 PM Cláudio Maia > > wrote: >> >> Hello everyone, >> >> I'm trying to build the toolchain for the build set devel/qemu.bset >> with the goal of exe