libstdc++ test case ext/headers.cc failed on arm-none-eabi
David Edelsohn
dje.gcc@gmail.com
Wed Aug 7 13:11:00 GMT 2013
The same error occurs on AIX because the tests are run without pthreads.
- David
On Wed, Aug 7, 2013 at 6:22 AM, Bin.Cheng <amker.cheng@gmail.com> wrote:
> Hi,
> I spotted case ext/headers.cc failed on arm-none-eabi with below information:
>
> In file included from
> /home/build/work/gcc-build/arm-none-eabi/armv7-m/libstdc++-v3/include/arm-none-eabi/bits/gthr.h:148:0,
> from
> /home/build/work/gcc-build/arm-none-eabi/armv7-m/libstdc++-v3/include/ext/atomicity.h:33,
> from
> /home/build/work/src/gcc/libstdc++-v3/testsuite/ext/headers.cc:28:
> /home/build/work/gcc-build/arm-none-eabi/armv7-m/libstdc++-v3/include/arm-none-eabi/bits/gthr-default.h:37:30:
> warning: non-static data member initializers only available with
> -std=c++11 or -std=gnu++11 [enabled by default]
> #define __GTHREAD_MUTEX_INIT 0
> ^
> /home/build/work/gcc-build/arm-none-eabi/armv7-m/libstdc++-v3/include/arm-none-eabi/bits/gthr-default.h:37:30:
> warning: non-static data member initializers only available with
> -std=c++11 or -std=gnu++11 [enabled by default]
> #define __GTHREAD_MUTEX_INIT 0
> ^
> output is:
> In file included from
> /home/build/work/gcc-build/arm-none-eabi/armv7-m/libstdc++-v3/include/arm-none-eabi/bits/gthr.h:148:0,
> from
> /home/build/work/gcc-build/arm-none-eabi/armv7-m/libstdc++-v3/include/ext/atomicity.h:33,
> from
> /home/build/work/src/gcc/libstdc++-v3/testsuite/ext/headers.cc:28:
> /home/build/work/gcc-build/arm-none-eabi/armv7-m/libstdc++-v3/include/arm-none-eabi/bits/gthr-default.h:37:30:
> warning: non-static data member initializers only available with
> -std=c++11 or -std=gnu++11 [enabled by default]
> #define __GTHREAD_MUTEX_INIT 0
> ^
> /home/build/work/gcc-build/arm-none-eabi/armv7-m/libstdc++-v3/include/arm-none-eabi/bits/gthr-default.h:37:30:
> warning: non-static data member initializers only available with
> -std=c++11 or -std=gnu++11 [enabled by default]
> #define __GTHREAD_MUTEX_INIT 0
> ^
>
> FAIL: ext/headers.cc (test for excess errors)
> Excess errors:
> /home/build/work/gcc-build/arm-none-eabi/armv7-m/libstdc++-v3/include/arm-none-eabi/bits/gthr-default.h:37:30:
> warning: non-static data member initializers only available with
> -std=c++11 or -std=gnu++11 [enabled by default]
> /home/build/work/gcc-build/arm-none-eabi/armv7-m/libstdc++-v3/include/arm-none-eabi/bits/gthr-default.h:37:30:
> warning: non-static data member initializers only available with
> -std=c++11 or -std=gnu++11 [enabled by default]
>
> The cases failed both on trunk and 4.8, but ok for 4.7.
>
> Any ideas? Thanks.
>
>
> --
> Best Regards.
More information about the Libstdc++
mailing list