#2418 closed defect (fixed)

rtems_waf: SMP support is broken

Reported by: Sebastian Huber Owned by: Chris Johns
Priority: normal Milestone: 4.11.1
Component: unspecified Version: 4.11
Severity: normal Keywords:
Cc: Blocked By:
Blocking:

Description (last modified by Sebastian Huber)

waf configure --prefix=/opt/rtems-4.12 --rtems=/opt/rtems-4.12 --rtems-tools=/opt/rtems-4.12 --rtems-bsps=arm/altcycv_devkit_smp --rtems-version=4.12

leads to

Checking for RTEMS headers : no
One of the tests has failed, see the config.log for more information
(complete log in /scratch/git-rtems-libbsd/build/config.log)

due to
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.12/bin/arm-rtems4.12-g++', '-qrtems', '-B/opt/rtems-4.12/arm-rtems4.12/lib/', '-B/opt/rtems-4.12/arm-rtems4.12/altcycv_devkit_smp/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.12/lib64/gcc/arm-rtems4.12/5.2.1/include/c++/atomic:38:0,

from /opt/rtems-4.12/arm-rtems4.12/altcycv_devkit_smp/lib/include/rtems/score/cpustdatomic.h:32,
from /opt/rtems-4.12/arm-rtems4.12/altcycv_devkit_smp/lib/include/rtems/score/cpuatomic.h:12,
from /opt/rtems-4.12/arm-rtems4.12/altcycv_devkit_smp/lib/include/rtems/score/atomic.h:20,
from /opt/rtems-4.12/arm-rtems4.12/altcycv_devkit_smp/lib/include/rtems/score/thread.h:24,
from /opt/rtems-4.12/arm-rtems4.12/altcycv_devkit_smp/lib/include/rtems/score/heap.h:22,
from /opt/rtems-4.12/arm-rtems4.12/altcycv_devkit_smp/lib/include/rtems/rtems/types.h:26,
from /opt/rtems-4.12/arm-rtems4.12/altcycv_devkit_smp/lib/include/rtems.h:31,
from ../test.cpp:1:

/opt/rtems-4.12/lib64/gcc/arm-rtems4.12/5.2.1/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 \

Change History (1)

comment:1 Changed on Nov 13, 2015 at 1:06:55 PM by Sebastian Huber

Description: modified (diff)
Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.