[Buildroot] gcc-4.9.2 with c++ is broken without wchar
Peter Korsgaard
peter at korsgaard.com
Sun Mar 8 21:21:22 UTC 2015
>>>>> "Bernd" == Bernd Kuhls <bernd.kuhls at t-online.de> writes:
> Hi,
> before sending a patch I would like to post my findings for discussion.
> A build using this defconfig fails in host-gcc-final-4.9.2:
> BR2_BINUTILS_VERSION_2_25=y
> BR2_GCC_VERSION_4_9_X=y
> BR2_TOOLCHAIN_BUILDROOT_CXX=y
> make[2]: Entering directory `/home/fli4l/br3/output/build/host-gcc-final-
> 4.9.2/build/i586-buildroot-linux-uclibc/libcilkrts'
> [...]
> In file included from ../../../libcilkrts/runtime/c_reducers.c:55:0:
> ../../../libcilkrts/include/cilk/reducer_min_max.h: In function
> cilk_c_reducer_max_identity_wchar_t:
> ../../../libcilkrts/include/cilk/reducer_min_max.h:3157:61: error:
> WCHAR_MIN undeclared (first use in this function)
> CILK_C_REDUCER_MAX_INSTANCE(wchar_t, wchar_t, WCHAR_MIN)
> [...]
> Apparently c++ support depends on wchar now?
Hmm, odd - What is your config exactly? I cannot reproduce the build
failure here with:
BR2_arm=y
BR2_BINUTILS_VERSION_2_25=y
BR2_GCC_VERSION_4_9_X=y
BR2_TOOLCHAIN_BUILDROOT_CXX=y
--
Bye, Peter Korsgaard
More information about the buildroot
mailing list