[RTEMS Project] #2418: rtems_waf: SMP support is broken
    RTEMS trac 
    trac at rtems.org
       
    Fri Nov 13 13:06:55 UTC 2015
    
    
  
#2418: rtems_waf: SMP support is broken
-----------------------------+---------------------
 Reporter:  sebastian.huber  |       Owner:  chrisj
     Type:  defect           |      Status:  closed
 Priority:  normal           |   Milestone:  4.11.1
Component:  General          |     Version:  4.11
 Severity:  normal           |  Resolution:  fixed
 Keywords:                   |
-----------------------------+---------------------
Changes (by sebastian.huber):
 * status:  new => closed
 * resolution:   => fixed
Old description:
> 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 \
New description:
 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 \
--
Comment:
 https://git.rtems.org/chrisj/rtems_waf.git/commit/?id=b2ce230eb85d23d017f3e86fa9223e781e803f22
--
Ticket URL: <http://devel.rtems.org/ticket/2418#comment:1>
RTEMS Project <http://www.rtems.org/>
RTEMS Project
    
    
More information about the bugs
mailing list