Re: sptimecounter01 use of stack allocator/deallocator

2017-11-21 Thread Sebastian Huber
On 21/11/17 16:23, Joel Sherrill wrote: On Tue, Nov 21, 2017 at 1:12 AM, Sebastian Huber > wrote: On 20/11/17 17:53, Joel Sherrill wrote: The purpose of defining these to NULL isn't documented in this test and renders this test

Re: [PATCH v2 0/6] Remove References to bsp_specs

2017-11-21 Thread Hesham Almatary
Looks much cleaner, thanks! I came across other bsp_specs errors when compiling with Clang, and had to remove it from the following files (not sure that's correct though): c/src/bsp.pc.in c/src/make/compilers/gcc-target-default.cfg testsuites/aclocal/prog-cc.m4 Also, what about -qrtems? I had to

[PATCH v2 3/6] ampolish3: Remove reference to bsp_specs in comment

2017-11-21 Thread Joel Sherrill
Updates #3520. --- ampolish3 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ampolish3 b/ampolish3 index 23c2855..67f2d23 100755 --- a/ampolish3 +++ b/ampolish3 @@ -32,7 +32,7 @@ my %dirmap = ( # noinst_*_LIBRARIES -> noinst # project_*_LIBRARIES -> tmpinstall # *_LIBRARIES

[PATCH v2 2/6] powerpc/ss555/startup/linkcmds: Remove obsolete reference to bsp_specs

2017-11-21 Thread Joel Sherrill
Updates #3520. --- c/src/lib/libbsp/powerpc/ss555/startup/linkcmds | 4 1 file changed, 4 deletions(-) diff --git a/c/src/lib/libbsp/powerpc/ss555/startup/linkcmds b/c/src/lib/libbsp/powerpc/ss555/startup/linkcmds index ebc9e81..3f53aee 100644 --- a/c/src/lib/libbsp/powerpc/ss555/startup/li

[PATCH v2 1/6] libbsp/*/*/configure.ac: Remove references to bsp_specs in AC_CONFIG_SRCDIR

2017-11-21 Thread Joel Sherrill
Updates #3250. --- c/src/lib/libbsp/arm/altera-cyclone-v/configure.ac | 2 +- c/src/lib/libbsp/arm/atsam/configure.ac| 2 +- c/src/lib/libbsp/arm/beagle/configure.ac | 2 +- c/src/lib/libbsp/arm/csb336/configure.ac | 2 +- c/src/lib/libbsp/arm/csb337

[PATCH v2 0/6] Remove References to bsp_specs

2017-11-21 Thread Joel Sherrill
Hi bsp_specs is a GCC specific file that is not only used when interacting with GCC. It is also used by the build system when identifying BSP directories. This patch eliminates all references to bsp_specs of this type. sb-bootstrap also does this and there will be a separate patch. The remainin

[PATCH v2 6/6] aclocal/check-bsps.m4: Do not rely on bsp_specs to find BSP families

2017-11-21 Thread Joel Sherrill
Updates #3520. --- aclocal/check-bsps.m4 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/aclocal/check-bsps.m4 b/aclocal/check-bsps.m4 index 500fcc8..381b2e3 100644 --- a/aclocal/check-bsps.m4 +++ b/aclocal/check-bsps.m4 @@ -8,10 +8,10 @@ AC_REQUIRE([RTEMS_TOP])dnl sets R

[PATCH v2 4/6] gumstix/bsp_specs: Correct permissions

2017-11-21 Thread Joel Sherrill
--- c/src/lib/libbsp/arm/gumstix/bsp_specs | 0 1 file changed, 0 insertions(+), 0 deletions(-) mode change 100755 => 100644 c/src/lib/libbsp/arm/gumstix/bsp_specs diff --git a/c/src/lib/libbsp/arm/gumstix/bsp_specs b/c/src/lib/libbsp/arm/gumstix/bsp_specs old mode 100755 new mode 100644 -- 1.

[PATCH v2 5/6] bootstrap: Remove reference to bsp_specs in determining BSP directories

2017-11-21 Thread Joel Sherrill
Updates #3520. --- bootstrap | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bootstrap b/bootstrap index 9c2efa8..391e848 100755 --- a/bootstrap +++ b/bootstrap @@ -42,7 +42,7 @@ AC_DEFUN([RTEMS_CHECK_BSPDIR], case "\$1" in EOF -for i in `ls */bsp_specs | LANG=C LC_COLLAT

Re: parallel make failure?

2017-11-21 Thread Chris Johns
On 21/11/2017 18:04, Sebastian Huber wrote: > On 21/11/17 04:33, Chris Johns wrote: >> On 21/11/2017 04:27, Joel Sherrill wrote: >>> I think we should push this off and focus on fixing the blocking issues. >>> This will happen in time. Doing it now could push the release out many >>> more months. I

[PATCH 1/3] libbsp/*/*/configure.ac: Remove references to bsp_specs in AC_CONFIG_SRCDIR

2017-11-21 Thread Joel Sherrill
Updates #3250. --- c/src/lib/libbsp/arm/altera-cyclone-v/configure.ac | 2 +- c/src/lib/libbsp/arm/atsam/configure.ac| 2 +- c/src/lib/libbsp/arm/beagle/configure.ac | 2 +- c/src/lib/libbsp/arm/csb336/configure.ac | 2 +- c/src/lib/libbsp/arm/csb337

[PATCH 2/3] powerpc/ss555/startup/linkcmds: Remove obsolete reference to bsp_specs

2017-11-21 Thread Joel Sherrill
Updates #3520. --- c/src/lib/libbsp/powerpc/ss555/startup/linkcmds | 4 1 file changed, 4 deletions(-) diff --git a/c/src/lib/libbsp/powerpc/ss555/startup/linkcmds b/c/src/lib/libbsp/powerpc/ss555/startup/linkcmds index ebc9e81..3f53aee 100644 --- a/c/src/lib/libbsp/powerpc/ss555/startup/li

[PATCH 3/3] ampolish3: Remove reference to bsp_specs in comment

2017-11-21 Thread Joel Sherrill
Updates #3520. --- ampolish3 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ampolish3 b/ampolish3 index 23c2855..67f2d23 100755 --- a/ampolish3 +++ b/ampolish3 @@ -32,7 +32,7 @@ my %dirmap = ( # noinst_*_LIBRARIES -> noinst # project_*_LIBRARIES -> tmpinstall # *_LIBRARIES

Re: [PATCH] Fix comments for object lookup err. -> status map

2017-11-21 Thread Joel Sherrill
Pushed. Thanks. On Mon, Nov 20, 2017 at 11:53 AM, Martin Erik Werner < martinerikwerner@gmail.com> wrote: > Based on correlation with the enum for object lookup errors in > cpukit/score/include/rtems/score/objectimpl.h: > > typedef enum { > OBJECTS_NAME_OR_ID_LOOKUP_SUCCESSFUL, > OBJECTS_IN

Re: sptimecounter01 use of stack allocator/deallocator

2017-11-21 Thread Joel Sherrill
On Tue, Nov 21, 2017 at 1:12 AM, Sebastian Huber < sebastian.hu...@embedded-brains.de> wrote: > On 20/11/17 17:53, Joel Sherrill wrote: > >> >> The purpose of defining these to NULL isn't documented in this test and >> renders this test broken for what seems to be a reason orthogonal to the >> tes

[PATCH 4/5] bsps: Simplify RTEMS_BSP_CLEANUP_OPTIONS

2017-11-21 Thread Sebastian Huber
Remove BSP-specific defaults for RTEMS_BSP_CLEANUP_OPTIONS to simplify the BSP configuration and documentation. Change defaults to: BSP_PRESS_KEY_FOR_RESET=0 BSP_RESET_BOARD_AT_EXIT=1 BSP_PRINT_EXCEPTION_CONTEXT=1 --- c/src/aclocal/bsp-bspcleanup-options.m4| 31 +-

[PATCH 2/5] powerpc: Replace BSP_panic() with rtems_panic()

2017-11-21 Thread Sebastian Huber
Due to a new rtems_panic() implementation, it is possible to replace the PowerPC-specific BSP_panic() with rtems_panic(). Remove BSP_panic() implementations. Close #3245. --- c/src/lib/libbsp/powerpc/beatnik/include/bsp.h | 3 +-- c/src/lib/libbsp/powerpc/beatnik/irq/discovery_pic.c

[PATCH 3/5] powerpc: Remove _BSP_Fatal_error()

2017-11-21 Thread Sebastian Huber
BSPs can use the bsp_fatal_extension() to provide BSP-specific fatal error handling. There is no need for a _BSP_Fatal_error(). Close #3246. --- c/src/lib/libbsp/powerpc/beatnik/Makefile.am | 1 - .../lib/libbsp/powerpc/gen5200/startup/bspstart.c | 6 -- .../lib/libbsp/powerpc/gen83xx/s

[PATCH 5/5] bsps: Add BSP_VERBOSE_FATAL_EXTENSION

2017-11-21 Thread Sebastian Huber
Add BSP_VERBOSE_FATAL_EXTENSION to RTEMS_BSP_CLEANUP_OPTIONS to optionally print the RTEMS version, the fatal source and the fatal code in the shared bsp_fatal_extension(). Close #3248. --- c/src/aclocal/bsp-bspcleanup-options.m4 | 7 ++- c/src/lib/libbsp/shared/bspclean.c | 20

[PATCH 1/5] sapi: New implementation of rtems_panic()

2017-11-21 Thread Sebastian Huber
The previous rtems_panic() implementation was quite heavy weight. It depended on _exit() which calls the global destructors. It used fprintf(stderr, ...) for output which depends on an initialized console device and the complex fprintf(). Introduce a new fatal source RTEMS_FATAL_SOURCE_PANIC for