Re: LIBBSD Build Error

2017-06-21 Thread Sebastian Huber
Sorry, should be fixed now: https://git.rtems.org/rtems-libbsd/commit/?id=9db59c71ad8bc1f1852838d147a29467a1cd6e3d -- Sebastian Huber, embedded brains GmbH Address : Dornierstr. 4, D-82178 Puchheim, Germany Phone : +49 89 189 47 41-16 Fax : +49 89 189 47 41-09 E-Mail :

LIBBSD Build Error

2017-06-21 Thread Kirspel, Kevin
I have rebased my tools via RSB to the latest and have successfully compiled RTEMS with a custom lpc32xx BSP. When compiling LIBBSD, I am getting the following error when compiling "freebsd/lib/libc/inet/nsap_addr.c " /tmp/ccWucPca.s: Assembler messages: /tmp/ccWucPca.s:474: Error: symbol

Change RTEMS License to Two Paragraph BSD

2017-06-21 Thread Joel Sherrill
Hi There have been discussions for almost two years about changing the current license to the Two Paragraph BSD license. Unfortunately, I think most of them were in chat and forums like the Flight Software Workshop. The core developers have done a lot of homework and soul searching to come to

[PATCH 10/10] psxstat/test.c: Avoid potential string overflow

2017-06-21 Thread Joel Sherrill
--- testsuites/psxtests/psxstat/test.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/testsuites/psxtests/psxstat/test.c b/testsuites/psxtests/psxstat/test.c index e489180..b616f55 100644 --- a/testsuites/psxtests/psxstat/test.c +++

[PATCH 09/10] psximfs02/init.c: Avoid potential string overflow

2017-06-21 Thread Joel Sherrill
--- testsuites/psxtests/psximfs02/init.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/testsuites/psxtests/psximfs02/init.c b/testsuites/psxtests/psximfs02/init.c index 2316eb5..d9bb4db 100644 --- a/testsuites/psxtests/psximfs02/init.c +++

[PATCH 08/10] dl03/dl-cache.c: Fix duplicate const warning

2017-06-21 Thread Joel Sherrill
--- testsuites/libtests/dl03/dl-cache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testsuites/libtests/dl03/dl-cache.c b/testsuites/libtests/dl03/dl-cache.c index a2eb071..e11c6b1 100644 --- a/testsuites/libtests/dl03/dl-cache.c +++ b/testsuites/libtests/dl03/dl-cache.c

[PATCH 07/10] sys/utsname.h: Increase buffer to avoid overflow

2017-06-21 Thread Joel Sherrill
--- cpukit/libcsupport/include/sys/utsname.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cpukit/libcsupport/include/sys/utsname.h b/cpukit/libcsupport/include/sys/utsname.h index 95dc2c1..ddeb0e9 100644 --- a/cpukit/libcsupport/include/sys/utsname.h +++

[PATCH 06/10] i386/shared/comm/i386-stub-glue.c: Fix duplicate const warning

2017-06-21 Thread Joel Sherrill
--- c/src/lib/libbsp/i386/shared/comm/i386-stub-glue.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/c/src/lib/libbsp/i386/shared/comm/i386-stub-glue.c b/c/src/lib/libbsp/i386/shared/comm/i386-stub-glue.c index d47d057..b11d960 100644 ---

[PATCH 04/10] malloctest/init.c: Disable check maximum size warning to allow error test case

2017-06-21 Thread Joel Sherrill
--- testsuites/libtests/malloctest/init.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/testsuites/libtests/malloctest/init.c b/testsuites/libtests/malloctest/init.c index fb22e4d..6be6c1c 100644 --- a/testsuites/libtests/malloctest/init.c +++ b/testsuites/libtests/malloctest/init.c @@

[PATCH 05/10] lpc176x/misc/restart.c: Fix duplicate const warning

2017-06-21 Thread Joel Sherrill
--- c/src/lib/libbsp/arm/lpc176x/misc/restart.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/c/src/lib/libbsp/arm/lpc176x/misc/restart.c b/c/src/lib/libbsp/arm/lpc176x/misc/restart.c index d3851dd..d6e5783 100644 --- a/c/src/lib/libbsp/arm/lpc176x/misc/restart.c +++

[PATCH 00/10] Warning Fixes

2017-06-21 Thread Joel Sherrill
Hi This is a series of patches to fix warnings that showed up with the recent update to gcc 7. I filed tickets on issues which required more insight from the original author to resolve. --joel Joel Sherrill (10): rbheap01/init.c: Fix PAGE_SIZE redefined warning top/task1.c: Fix sprintf()

[PATCH 02/10] top/task1.c: Fix sprintf() buffer overflow

2017-06-21 Thread Joel Sherrill
--- testsuites/libtests/top/task1.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testsuites/libtests/top/task1.c b/testsuites/libtests/top/task1.c index fc81f51..c9e62df 100644 --- a/testsuites/libtests/top/task1.c +++ b/testsuites/libtests/top/task1.c @@ -28,7 +28,7 @@

[PATCH 03/10] capture/rtems-trace-buffer-vars.c: Fix duplicate const warning

2017-06-21 Thread Joel Sherrill
--- cpukit/libmisc/capture/rtems-trace-buffer-vars.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpukit/libmisc/capture/rtems-trace-buffer-vars.c b/cpukit/libmisc/capture/rtems-trace-buffer-vars.c index 3d31115..b0f7070 100644 ---

[PATCH 01/10] rbheap01/init.c: Fix PAGE_SIZE redefined warning

2017-06-21 Thread Joel Sherrill
--- testsuites/libtests/rbheap01/init.c | 74 ++--- 1 file changed, 37 insertions(+), 37 deletions(-) diff --git a/testsuites/libtests/rbheap01/init.c b/testsuites/libtests/rbheap01/init.c index bc16d0a..a85d107 100644 --- a/testsuites/libtests/rbheap01/init.c

Re: RTEMS-libbsd copyright question

2017-06-21 Thread punit vara
Hi Sichen On Wed, Jun 21, 2017 at 11:05 AM, Sebastian Huber wrote: > On 19/06/17 15:45, Sichen Zhao wrote: > >> Ok, so i think most of my ported file shouldn't add copyright. >> But some file in the rtemsbsd folder , i think i modified some new >> code. The

GDB 8.0 build on FreeBSD 11

2017-06-21 Thread Sebastian Huber
Hello, I tried to build GDB 8.0 on FreeBSD 11. It didn't work similar to: https://sourceware.org/ml/gdb/2017-02/msg00061.html The corresponding bug was resolved as invalid: https://sourceware.org/bugzilla/show_bug.cgi?id=21206 We still have a GDB patch for this issue in the RSB for 7.12. Now