Re: [PATCH] Add -std=gnu++11 to CXXFLAGS if SMP is enabled

2014-09-08 Thread Sebastian Huber
On 09/09/14 04:00, Nick Withers wrote: On Mon, 2014-09-08 at 11:14 +0200, Sebastian Huber wrote: >This is necessary to use the header file used for the atomic >operations. "-std=c++11" wouldn't cut it? I don't know, we use some GNU extensions here and there. -- Sebastian Huber, embedded br

Re: [PATCH] Add -std=gnu++11 to CXXFLAGS if SMP is enabled

2014-09-08 Thread Nick Withers
On Mon, 2014-09-08 at 11:14 +0200, Sebastian Huber wrote: > This is necessary to use the header file used for the atomic > operations. "-std=c++11" wouldn't cut it? > --- > c/src/aclocal/prog-cxx.m4 | 11 +-- > testsuites/aclocal/prog-cxx.m4 | 7 ++- > 2 files changed, 15 inse

Re: [PATCH] RTL: Fix options handle and add a new option to rtems-ld

2014-09-08 Thread Chris Johns
On 9/09/2014 12:32 am, Peng Fan wrote: 2014-09-08 14:16 GMT+08:00 Chris Johns mailto:chr...@rtems.org>>: The rtems-tld currently has a little bit more code to set the compiler and linker. This is useful if you want to use absolute paths to the compiler and linker rather than depend

Re: [PATCH] RTL: Fix options handle and add a new option to rtems-ld

2014-09-08 Thread Peng Fan
Hi Chris, 2014-09-08 14:16 GMT+08:00 Chris Johns : > On 18/08/2014 12:17 am, Peng Fan wrote: > >> >> 2014-08-16 10:51 GMT+08:00 Chris Johns > >: >> On 15/08/2014 7:37 pm, Peng Fan wrote: >> On 08/15/2014 04:15 PM, Chris Johns wrote:> >> I think th

[PATCH] tests: Reduce retry count to two

2014-09-08 Thread Sebastian Huber
This avoids test durations of more than one hour on fast targets. --- testsuites/psxtests/psxintrcritical01/init.c | 2 +- testsuites/sptests/spintrcritical13/init.c | 2 +- testsuites/sptests/spintrcritical15/init.c | 2 +- testsuites/sptests/spintrcritical16/init.c | 2 +- 4 files changed,

[PATCH] sim-scripts: add new script to run or1k/or1ksim on qemu.

2014-09-08 Thread Hesham ALMatary
--- sim-scripts/Makefile | 7 +-- sim-scripts/qemu-or1k.in | 41 + 2 files changed, 46 insertions(+), 2 deletions(-) create mode 100644 sim-scripts/qemu-or1k.in diff --git a/sim-scripts/Makefile b/sim-scripts/Makefile index e45feae..4ef9c44 100644

Re: [PATCH] score: More strict RTEMS_DEQUALIFY implementation.

2014-09-08 Thread Sebastian Huber
Hello Pavel, thanks, for the update. I think this dequalify only is all right, but we should keep the RTEMS_DEVOLATILE() and RTEMS_DECONST() nonetheless for documentation purposes. The error output is quite good: In file included from ../../cpukit/../../../realview_pbx_a9_qemu_smp/lib/incl

[PATCH] score: More strict RTEMS_DEQUALIFY implementation.

2014-09-08 Thread Pavel Pisa
From: Pavel Pisa Subject: [PATCH] score: More strict RTEMS_DEQUALIFY implementation. This implementation is able to catch cast to type which differs not only in qualifiers. The error diagnostic message when used in function is self descriptive. Macro is compatible with used in initializers but th

Re: [PATCH 1/7] score: Add RTEMS_DECONST|DEVOLATILE|DEQUALIFY()

2014-09-08 Thread Joel Sherrill
On September 8, 2014 2:44:39 AM CDT, Jan Engelhardt wrote: > >On Monday 2014-09-08 08:08, Sebastian Huber wrote: >> >> I think we should eventually use -Werror, so it is important to get >rid of >> warnings. I am in favour of macros, since this makes it easier to >deal with >> compiler dependen

[PATCH] Add -std=gnu++11 to CXXFLAGS if SMP is enabled

2014-09-08 Thread Sebastian Huber
This is necessary to use the header file used for the atomic operations. --- c/src/aclocal/prog-cxx.m4 | 11 +-- testsuites/aclocal/prog-cxx.m4 | 7 ++- 2 files changed, 15 insertions(+), 3 deletions(-) diff --git a/c/src/aclocal/prog-cxx.m4 b/c/src/aclocal/prog-cxx.m4 index ba

Re: [PATCH] Adding "eth" linker script section for arm bsp.

2014-09-08 Thread Sebastian Huber
On 02/09/14 15:07, Federico Casares wrote: Are you suggesting to remove the "lpc176x/make/custom/lpc1768_mbed_ahb_ram_eth-testsuite.tcfg" and "lpc176x/make/custom/lpc1768_mbed_ahb_ram_eth.cfg" files? The tcfg includes in its list two tests that should not be compiled for this BSP configuration,