[PATCH] telnetd: Ignore setsockopt() return status

2018-10-08 Thread Sebastian Huber
Update #3529. --- cpukit/telnetd/pty.c | 2 +- cpukit/telnetd/telnetd.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cpukit/telnetd/pty.c b/cpukit/telnetd/pty.c index e32d2eacb9..7a47fddbc9 100644 --- a/cpukit/telnetd/pty.c +++ b/cpukit/telnetd/pty.c @@ -117,7 +117,7

[PATCH] ftpd: Restructure chroot() handling.

2018-10-08 Thread Sebastian Huber
Remove superfluous setting of errno = 0. Update #3530. --- cpukit/ftpd/ftpd.c | 10 +++--- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/cpukit/ftpd/ftpd.c b/cpukit/ftpd/ftpd.c index 580e55cb42..9c84ff5c43 100644 --- a/cpukit/ftpd/ftpd.c +++ b/cpukit/ftpd/ftpd.c @@ -1872,7 +18

Re: [PATCH 01/31] shell: Use #include "..." for local header files

2018-10-08 Thread Sebastian Huber
On 09/10/2018 03:41, Chris Johns wrote: On 8/10/18 3:43 am, Sebastian Huber wrote: Update #3375. Why? To keep the count of  command line arguments small. These three header files are used only in the shell directory. They are not installed. The and are candidates for Newlib. It is a bit

Re: [PATCH 01/31] shell: Use #include "..." for local header files

2018-10-08 Thread Chris Johns
On 8/10/18 3:43 am, Sebastian Huber wrote: > Update #3375. Why? Some of these files are imported > --- > cpukit/libmisc/Makefile.am | 1 - > cpukit/libmisc/shell/cmp-ls.c | 2 +- ... for this example this file. Chris ___ d

Re: [PATCH 6/6] check-networking.m4: Disable legacy stack for riscv, x86_64, and epiphany

2018-10-08 Thread Chris Johns
On 8/10/18 6:26 am, Joel Sherrill wrote: > riscv and x86_64 are too new for the legacy stack to support > epiphany is a small target and cannot compile the legacy (or new) stack Does the BSP info in the RTEMS tools config need to be updated? Chris ___ d

Re: [PATCH 2/6] or1k/shared/cache/cache.c: Remove unused methods

2018-10-08 Thread Joel Sherrill
On Mon, Oct 8, 2018 at 9:37 AM Martin Erik Werner < martinerikwerner@gmail.com> wrote: > On Mon, 2018-10-08 at 15:28 +0200, Sebastian Huber wrote: > > Are the intentionally unused or is there some bug and the generic cache > > manager doesn't use them accidentally? > > I think that when I adde

New Coverity Scans (leon3 and qoriq_e6500_64)

2018-10-08 Thread Joel Sherrill
Hi I updated my tree and did two Coverity Scan runs this morning. One for the leon3 and another for the qoriq_e6500_64. This added some powerpc specific code and specifically e500-mmu.c has 4 issues reported. Hopefully mixing in a different BSP provides some variety. https://scan.coverity.com/pr

Re: [PATCH 2/6] or1k/shared/cache/cache.c: Remove unused methods

2018-10-08 Thread Martin Erik Werner
On Mon, 2018-10-08 at 15:28 +0200, Sebastian Huber wrote: > Are the intentionally unused or is there some bug and the generic cache > manager doesn't use them accidentally? I think that when I added the range support to the or1k cache helpers I left the 1-line functions there since I was unaware

Re: [RFC] clang, posix: bypass static assert that does not compile with Clang

2018-10-08 Thread Daniel Hellstrom
Daniel Hellstrom Software Section Head Cobham Gaisler T : +46 (0) 31 775 8657 F : +46 (0) 31 421407 daniel.hellst...@gaisler.com Cobham Gaisler AB, Kungsgatan 12, SE-411 19, GÖTEBORG, Sweden. +46 (0) 31 775 8650, www.cobham.com/gaisler Please consider the environment before printing this email

Re: [PATCH] jffs, clang: avoid some warnings of used uninitialized ptr

2018-10-08 Thread Daniel Hellstrom
On 2018-10-05 15:42, Sebastian Huber wrote: On 05/10/2018 15:33, Daniel Hellstrom wrote: On 2018-10-05 14:01, Sebastian Huber wrote: On 05/10/2018 13:43, Daniel Hellstrom wrote: On 2018-10-05 13:01, Sebastian Huber wrote: On 05/10/2018 12:44, Daniel Hellstrom wrote: On 2018-10-05 09:41, Seb

Re: [PATCH 6/6] check-networking.m4: Disable legacy stack for riscv, x86_64, and epiphany

2018-10-08 Thread Sebastian Huber
The RISC-V 32-bit works probably well with the legacy network stack. -- 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 : sebastian.hu...@embedded-brains.de PGP : Public key available

Re: [PATCH 3/6] gen5200/mscan/mscan.c: Fix printf() format warning

2018-10-08 Thread Sebastian Huber
On 08/10/2018 15:26, Joel Sherrill wrote: --- bsps/powerpc/gen5200/mscan/mscan.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bsps/powerpc/gen5200/mscan/mscan.c b/bsps/powerpc/gen5200/mscan/mscan.c index e36b622..ef1809e 100644 --- a/bsps/powerpc/gen5200/mscan/mscan.c

Re: [PATCH 2/6] or1k/shared/cache/cache.c: Remove unused methods

2018-10-08 Thread Sebastian Huber
Are the intentionally unused or is there some bug and the generic cache manager doesn't use them accidentally? -- 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 : sebastian.hu...@embedd

[PATCH 6/6] check-networking.m4: Disable legacy stack for riscv, x86_64, and epiphany

2018-10-08 Thread Joel Sherrill
riscv and x86_64 are too new for the legacy stack to support epiphany is a small target and cannot compile the legacy (or new) stack --- c/src/aclocal/check-networking.m4 | 6 +- cpukit/aclocal/check-networking.m4 | 6 +- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/c/s

[PATCH 5/6] mpc8260ads/start/bspstart.c: Fix unused function warning

2018-10-08 Thread Joel Sherrill
--- bsps/powerpc/mpc8260ads/start/bspstart.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/bsps/powerpc/mpc8260ads/start/bspstart.c b/bsps/powerpc/mpc8260ads/start/bspstart.c index 11aaece..2526cf0 100644 --- a/bsps/powerpc/mpc8260ads/start/bspstart.c +++ b/bsps/powerpc/mpc8260ads/sta

[PATCH 2/6] or1k/shared/cache/cache.c: Remove unused methods

2018-10-08 Thread Joel Sherrill
--- bsps/or1k/shared/cache/cache.c | 35 --- 1 file changed, 35 deletions(-) diff --git a/bsps/or1k/shared/cache/cache.c b/bsps/or1k/shared/cache/cache.c index 55fa54e..e664aec 100644 --- a/bsps/or1k/shared/cache/cache.c +++ b/bsps/or1k/shared/cache/cache.c @@ -96,

[PATCH 3/6] gen5200/mscan/mscan.c: Fix printf() format warning

2018-10-08 Thread Joel Sherrill
--- bsps/powerpc/gen5200/mscan/mscan.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bsps/powerpc/gen5200/mscan/mscan.c b/bsps/powerpc/gen5200/mscan/mscan.c index e36b622..ef1809e 100644 --- a/bsps/powerpc/gen5200/mscan/mscan.c +++ b/bsps/powerpc/gen5200/mscan/mscan.c @@ -74

[PATCH 4/6] qemuppc/start/cmain.c: Cast args to memcpy and bzero to fix warnings

2018-10-08 Thread Joel Sherrill
--- bsps/powerpc/qemuppc/start/cmain.c | 19 ++- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/bsps/powerpc/qemuppc/start/cmain.c b/bsps/powerpc/qemuppc/start/cmain.c index bf46d03..b49f240 100644 --- a/bsps/powerpc/qemuppc/start/cmain.c +++ b/bsps/powerpc/qemuppc

[PATCH 1/6] gdbarmsim/include/bsp.h: Include to fix warning

2018-10-08 Thread Joel Sherrill
--- bsps/arm/gdbarmsim/include/bsp.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bsps/arm/gdbarmsim/include/bsp.h b/bsps/arm/gdbarmsim/include/bsp.h index 899507e..0010d58 100644 --- a/bsps/arm/gdbarmsim/include/bsp.h +++ b/bsps/arm/gdbarmsim/include/bsp.h @@ -23,6 +23,8 @@ #include

[PATCH 30/31] build: Directly reference libraries in tests

2018-10-08 Thread Sebastian Huber
Remove use of TMPINSTALL_FILES. --- cpukit/Makefile.am | 41 - testsuites/automake/compile.am | 18 +- testsuites/fstests/Makefile.am | 18 +- testsuites/libtests/Makefile.am | 8 testsuites/samples/Ma

[PATCH 31/31] build: Remove local.am

2018-10-08 Thread Sebastian Huber
--- automake/local.am | 3 --- c/src/Makefile.am | 1 - c/src/automake/local.am| 3 --- c/src/lib/libbsp/Makefile.am |

[PATCH 18/31] build: Merge librpc/Makefile.am

2018-10-08 Thread Sebastian Huber
--- cpukit/Makefile.am| 47 +++- cpukit/configure.ac | 1 - cpukit/librpc/Makefile.am | 50 --- cpukit/wrapup/Makefile.am | 2 -- 4 files changed, 46 insertions(+), 54 deletions(-) delete mode 1006

[PATCH 20/31] build: Merge mghttpd/Makefile.am

2018-10-08 Thread Sebastian Huber
--- cpukit/Makefile.am | 18 +- cpukit/configure.ac| 1 - cpukit/mghttpd/Makefile.am | 15 --- 3 files changed, 17 insertions(+), 17 deletions(-) delete mode 100644 cpukit/mghttpd/Makefile.am diff --git a/cpukit/Makefile.am b/cpukit/Makefile.am index

[PATCH 12/31] build: Merge libdrvmgr/Makefile.am

2018-10-08 Thread Sebastian Huber
--- cpukit/Makefile.am | 24 +++- cpukit/configure.ac | 1 - cpukit/libdrvmgr/Makefile.am | 32 cpukit/wrapup/Makefile.am| 4 4 files changed, 23 insertions(+), 38 deletions(-) delete mode 100644 cpukit/libdrvmgr/M

[PATCH 28/31] build: Merge libmisc/Makefile.am

2018-10-08 Thread Sebastian Huber
--- cpukit/Makefile.am | 215 - cpukit/configure.ac| 1 - cpukit/libmisc/Makefile.am | 199 - cpukit/wrapup/Makefile.am | 35 4 files changed, 214 insertions(+), 236 deletions(-) delet

[PATCH 13/31] build: Merge libfs/Makefile.am

2018-10-08 Thread Sebastian Huber
--- cpukit/Makefile.am | 171 - cpukit/configure.ac| 2 - cpukit/libfs/Makefile.am | 145 cpukit/libfs/src/nfsclient/Makefile.am | 31 -- cpukit/wrapup/Makefile.am

[PATCH 23/31] build: Merge rtems/Makefile.am

2018-10-08 Thread Sebastian Huber
--- cpukit/Makefile.am| 159 +++- cpukit/configure.ac | 1 - cpukit/rtems/Makefile.am | 202 -- cpukit/wrapup/Makefile.am | 1 - 4 files changed, 158 insertions(+), 205 deletions(-) delete mode 100644 c

[PATCH 22/31] build: Merge pppd/Makefile.am

2018-10-08 Thread Sebastian Huber
--- cpukit/Makefile.am | 25 - cpukit/configure.ac | 1 - cpukit/pppd/Makefile.am | 17 - 3 files changed, 24 insertions(+), 19 deletions(-) delete mode 100644 cpukit/pppd/Makefile.am diff --git a/cpukit/Makefile.am b/cpukit/Makefile.am index 8ad

[PATCH 26/31] build: Merge zlib/Makefile.am

2018-10-08 Thread Sebastian Huber
--- cpukit/Makefile.am | 26 +++--- cpukit/configure.ac | 1 - cpukit/zlib/Makefile.am | 26 -- 3 files changed, 23 insertions(+), 30 deletions(-) delete mode 100644 cpukit/zlib/Makefile.am diff --git a/cpukit/Makefile.am b/cpukit/Makefile.am

[PATCH 21/31] build: Merge posix/Makefile.am

2018-10-08 Thread Sebastian Huber
--- cpukit/Makefile.am| 223 +- cpukit/configure.ac | 1 - cpukit/posix/Makefile.am | 200 - cpukit/wrapup/Makefile.am | 1 - 4 files changed, 222 insertions(+), 203 deletions(-) delete mode 100

[PATCH 17/31] build: Merge libpci/Makefile.am

2018-10-08 Thread Sebastian Huber
--- cpukit/Makefile.am| 27 ++- cpukit/configure.ac | 1 - cpukit/libpci/Makefile.am | 35 --- cpukit/wrapup/Makefile.am | 4 4 files changed, 26 insertions(+), 41 deletions(-) delete mode 100644 cpukit/libpci/Makefile.a

[PATCH 27/31] build: Merge libnetworking/Makefile.am

2018-10-08 Thread Sebastian Huber
--- cpukit/Makefile.am | 132 + cpukit/libnetworking/Makefile.am | 138 --- cpukit/wrapup/Makefile.am| 4 -- 3 files changed, 132 insertions(+), 142 deletions(-) diff --git a/cpukit/Makefile.am b/cpuki

[PATCH 24/31] build: Merge score/Makefile.am

2018-10-08 Thread Sebastian Huber
--- cpukit/Makefile.am| 217 +++ cpukit/score/Makefile.am | 229 -- cpukit/wrapup/Makefile.am | 1 - 3 files changed, 217 insertions(+), 230 deletions(-) diff --git a/cpukit/Makefile.am b/cpukit/Makefil

[PATCH 25/31] build: Merge telnetd/Makefile.am

2018-10-08 Thread Sebastian Huber
--- cpukit/Makefile.am | 14 +- cpukit/configure.ac| 1 - cpukit/telnetd/Makefile.am | 13 - 3 files changed, 13 insertions(+), 15 deletions(-) delete mode 100644 cpukit/telnetd/Makefile.am diff --git a/cpukit/Makefile.am b/cpukit/Makefile.am index b2705c

[PATCH 05/31] build: Merge ftpd/Makefile.am

2018-10-08 Thread Sebastian Huber
--- cpukit/Makefile.am | 14 +- cpukit/configure.ac | 1 - cpukit/ftpd/Makefile.am | 11 --- 3 files changed, 13 insertions(+), 13 deletions(-) delete mode 100644 cpukit/ftpd/Makefile.am diff --git a/cpukit/Makefile.am b/cpukit/Makefile.am index 6a5ef61813..7a3e8319

[PATCH 07/31] build: Merge libblock/Makefile.am

2018-10-08 Thread Sebastian Huber
--- cpukit/Makefile.am | 32 +++- cpukit/configure.ac | 1 - cpukit/libblock/Makefile.am | 40 cpukit/wrapup/Makefile.am | 1 - 4 files changed, 31 insertions(+), 43 deletions(-) delete mode 100644 cpukit/li

[PATCH 15/31] build: Merge libi2c/Makefile.am

2018-10-08 Thread Sebastian Huber
--- cpukit/Makefile.am| 2 +- cpukit/configure.ac | 1 - cpukit/libi2c/Makefile.am | 7 --- cpukit/wrapup/Makefile.am | 1 - 4 files changed, 1 insertion(+), 10 deletions(-) delete mode 100644 cpukit/libi2c/Makefile.am diff --git a/cpukit/Makefile.am b/cpukit/Makefile.am index

[PATCH 16/31] build: Merge libmd/Makefile.am

2018-10-08 Thread Sebastian Huber
--- cpukit/Makefile.am| 10 +- cpukit/configure.ac | 1 - cpukit/libmd/Makefile.am | 14 -- cpukit/wrapup/Makefile.am | 4 4 files changed, 9 insertions(+), 20 deletions(-) delete mode 100644 cpukit/libmd/Makefile.am diff --git a/cpukit/Makefile.am b/cpu

[PATCH 02/31] build: Remove specialized CPPFLAGS

2018-10-08 Thread Sebastian Huber
--- cpukit/dtc/libfdt/Makefile.am | 1 - cpukit/libcrypt/Makefile.am | 2 -- cpukit/libcsupport/Makefile.am| 2 -- cpukit/libmd/Makefile.am | 1 - cpukit/libmisc/Makefile.am| 1 - cpukit/librpc/Makefile.am | 2 -- cpukit/libstdthreads/

[PATCH 19/31] build: Merge libstdthreads/Makefile.am

2018-10-08 Thread Sebastian Huber
--- cpukit/Makefile.am | 11 ++- cpukit/configure.ac | 1 - cpukit/libstdthreads/Makefile.am | 16 cpukit/libstdthreads/cnd.c | 4 ++-- cpukit/libstdthreads/mtx.c | 2 +- cpukit/wrapup/Makefile.am| 2 -- 6 files changed, 1

[PATCH 10/31] build: Merge libdebugger/Makefile.am

2018-10-08 Thread Sebastian Huber
--- cpukit/Makefile.am | 21 - cpukit/configure.ac| 1 - cpukit/libdebugger/Makefile.am | 22 -- 3 files changed, 20 insertions(+), 24 deletions(-) delete mode 100644 cpukit/libdebugger/Makefile.am diff --git a/cpukit/Makefile.am b

[PATCH 08/31] build: Merge libcrypt/Makefile.am

2018-10-08 Thread Sebastian Huber
--- cpukit/Makefile.am | 6 +- cpukit/configure.ac | 1 - cpukit/libcrypt/Makefile.am | 12 cpukit/wrapup/Makefile.am | 1 - 4 files changed, 5 insertions(+), 15 deletions(-) delete mode 100644 cpukit/libcrypt/Makefile.am diff --git a/cpukit/Makefile.am b/c

[PATCH 06/31] build: Merge libfdt/Makefile.am

2018-10-08 Thread Sebastian Huber
--- cpukit/Makefile.am| 9 - cpukit/configure.ac | 1 - cpukit/dtc/libfdt/Makefile.am | 15 --- cpukit/wrapup/Makefile.am | 1 - 4 files changed, 8 insertions(+), 18 deletions(-) delete mode 100644 cpukit/dtc/libfdt/Makefile.am diff --git a/cpukit

[PATCH 09/31] build: Merge libcsupport/Makefile.am

2018-10-08 Thread Sebastian Huber
--- cpukit/Makefile.am | 196 - cpukit/configure.ac| 1 - cpukit/libcsupport/Makefile.am | 134 cpukit/wrapup/Makefile.am | 2 - 4 files changed, 195 insertions(+), 138 deletions(-) delete mode 1

[PATCH 04/31] build: Merge dev/Makefile.am

2018-10-08 Thread Sebastian Huber
--- cpukit/Makefile.am| 15 ++- cpukit/configure.ac | 1 - cpukit/dev/Makefile.am| 23 --- cpukit/wrapup/Makefile.am | 1 - 4 files changed, 14 insertions(+), 26 deletions(-) delete mode 100644 cpukit/dev/Makefile.am diff --git a/cpukit/Makefil

[PATCH 00/31] Merge cpukit */Makefile.am

2018-10-08 Thread Sebastian Huber
This patch set merges the content of the subtree cpukit/*/Makefile.am into cpukit/Makefile.am. All temporary libraries are removed. The tests use now the librtemsbsp.a, librtemscpu.a, etc. directly and thus are re-build if they change. The next step is to move all header declarations into the cp

[PATCH 14/31] build: Merge libgnat/Makefile.am

2018-10-08 Thread Sebastian Huber
--- cpukit/Makefile.am | 8 +++- cpukit/configure.ac| 1 - cpukit/libgnat/Makefile.am | 10 -- cpukit/wrapup/Makefile.am | 4 4 files changed, 7 insertions(+), 16 deletions(-) delete mode 100644 cpukit/libgnat/Makefile.am diff --git a/cpukit/Makefile.am b/cpu

[PATCH 01/31] shell: Use #include "..." for local header files

2018-10-08 Thread Sebastian Huber
Update #3375. --- cpukit/libmisc/Makefile.am | 1 - cpukit/libmisc/shell/cmp-ls.c | 2 +- cpukit/libmisc/shell/dd-args.c | 2 +- cpukit/libmisc/shell/dd-conv.c | 2 +- cpukit/libmisc/shell/dd-position.c | 2 +- cpukit/libmisc/shell/err.c |

[PATCH 11/31] build: Merge libdl/Makefile.am

2018-10-08 Thread Sebastian Huber
--- cpukit/Makefile.am| 30 +- cpukit/configure.ac | 1 - cpukit/libdl/Makefile.am | 35 --- cpukit/wrapup/Makefile.am | 4 4 files changed, 29 insertions(+), 41 deletions(-) delete mode 100644 cpukit/libdl/Makefile

[PATCH 1/2] ftpd: Check return status of getsockname()

2018-10-08 Thread Sebastian Huber
Update #3530. --- cpukit/ftpd/ftpd.c | 40 ++-- 1 file changed, 22 insertions(+), 18 deletions(-) diff --git a/cpukit/ftpd/ftpd.c b/cpukit/ftpd/ftpd.c index 08c39da31f..46579492f7 100644 --- a/cpukit/ftpd/ftpd.c +++ b/cpukit/ftpd/ftpd.c @@ -1531,27 +1531,31 @@

[PATCH 2/2] ftpd: Remove superfluous temporary buffer

2018-10-08 Thread Sebastian Huber
Update #3530. --- cpukit/ftpd/ftpd.c | 46 +++--- 1 file changed, 15 insertions(+), 31 deletions(-) diff --git a/cpukit/ftpd/ftpd.c b/cpukit/ftpd/ftpd.c index 46579492f7..580e55cb42 100644 --- a/cpukit/ftpd/ftpd.c +++ b/cpukit/ftpd/ftpd.c @@ -522,7 +522,7 @