On 23/07/15 18:57, Ric Claus wrote:
Since a fresh git pull of the RTEMS master this morning (CET), I’ve been having 
trouble building various components.  Building the xilinx-zynq-zedboard with 
—enable-smp ends with failing to build sptls01 (which had no trouble yesterday):

cpukit/score/cpu/arm/__tls_get_addr.c:28: undefined reference to 
`_Thread_Get_executing’

I fixed this. Did you modify the compiler options? On ARMv7-A you shouldn't need this function since there is a dedicated thread registers.


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] cxx: build/.conf_check_43c32d88444a1ba1e9b68cfe1006373a/test.cpp -> build/.conf_check_43c32d88444a1ba1e9b68cfe1006373a/testbuild/test.cpp.1.o

['/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 \

--
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

Reply via email to