On 24/07/15 10:08, Ric Claus wrote:
>>
>>Building rtems-libbsd, with either a modified Makefile or waf (exactly as per
rtems-libbsd/README.waf, i.e., for realview_pbx_a9_qemu), ends with:
>>
>>In file included from ../../rtemsbsd/rtems/rtems-bsd-mutex.c:41:0:
>>.../rtems-libbsd/rtemsbsd/include/machine/rtems-bsd-muteximpl.h: In function
'rtems_bsd_mutex_unlock':
>>.../rtems-libbsd/rtemsbsd/include/machine/rtems-bsd-muteximpl.h:154:34:
error: 'Thread_queue_Control' has no member named ‘Queues'
>
>For me the waf configure fails with:
>
>Checking for RTEMS headers
>==>
>#include <rtems.h>
>
>int main() {
> return 0;
>}
>
><==
>[1/2] [32mcxx: build/.conf_check_43c32d88444a1ba1e9b68cfe1006373a/test.cpp ->
build/.conf_check_43c32d88444a1ba1e9b68cfe1006373a/testbuild/test.cpp.1.o
>[0m
>['/opt/rtems-4.11/bin/arm-rtems4.11-g++', '-qrtems',
'-B/opt/rtems-4.11/arm-rtems4.11/lib/',
'-B/opt/rtems-4.11/arm-rtems4.11/xilinx_zynq_a9_qemu/lib/', '--specs',
'bsp_specs', '-march=armv7-a', '-march=armv7-a', '-mthumb', '-mthumb',
'-mfpu=neon', '-mfpu=neon', '-mfloat-abi=hard', '-mfloat-abi=hard',
'-mtune=cortex-a9', '-mtune=cortex-a9', '../test.cpp', '-c', '-o', 'test.cpp.1.o']
>err: In file included from
/opt/rtems-4.11/lib64/gcc/arm-rtems4.11/4.9.4/include/c++/atomic:38:0,
> from
/opt/rtems-4.11/arm-rtems4.11/xilinx_zynq_a9_qemu/lib/include/rtems/score/cpustdatomic.h:32,
> from
/opt/rtems-4.11/arm-rtems4.11/xilinx_zynq_a9_qemu/lib/include/rtems/score/cpuatomic.h:12,
> from
/opt/rtems-4.11/arm-rtems4.11/xilinx_zynq_a9_qemu/lib/include/rtems/score/atomic.h:20,
> from
/opt/rtems-4.11/arm-rtems4.11/xilinx_zynq_a9_qemu/lib/include/rtems/score/thread.h:24,
> from
/opt/rtems-4.11/arm-rtems4.11/xilinx_zynq_a9_qemu/lib/include/rtems/score/heap.h:22,
> from
/opt/rtems-4.11/arm-rtems4.11/xilinx_zynq_a9_qemu/lib/include/rtems/rtems/types.h:26,
> from
/opt/rtems-4.11/arm-rtems4.11/xilinx_zynq_a9_qemu/lib/include/rtems.h:31,
> from ../test.cpp:1:
>/opt/rtems-4.11/lib64/gcc/arm-rtems4.11/4.9.4/include/c++/bits/c++0x_warning.h:32:2:
error: #error This file requires compiler and library support for the ISO C++
2011 standard. This support is currently experimental, and must be enabled with
the -std=c++11 or -std=gnu++11 compiler options.
>#error This file requires compiler and library support for the \
My tools were built using RSB last Friday.
$ rtems/4.11/bin/arm-rtems4.11-gcc --version
arm-rtems4.11-gcc (GCC) 4.9.3 20150626 (RTEMS 4.11, RSB
fba2549d5c06a4a3f6f36ec1672a98371f55a916, Newlib 2.2.0.20150423)
The problem is that the RTEMS header file check is done without
-std=gnu++11. So this is a waf problem.
--
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 on request.
Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
_______________________________________________
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel