[Bug libstdc++/101867] avr libc build error for libstdc++

unlvsur at live dot com gcc-bugzilla@gcc.gnu.org
Wed Aug 11 20:51:20 GMT 2021


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101867

--- Comment #2 from cqwrteur <unlvsur at live dot com> ---
(In reply to Jonathan Wakely from comment #1)
> How did you run configure?

../gcc/configure --disable-nls --disable-werror --disable-libstdcxx-verbose
--enable-libstdc++ --disable-ssp --enable-languages=c,c++ --prefix=$PREFIX
--target=avr --disable-shared --with-newlib


But I guess since avr libc does not provide a full locale stub, libstdc++
cannot be built. 



no with-newlib:

checking for shl_load... configure: error: Link tests are not allowed after
GCC_NO_EXECUTABLES.

../gcc/configure --disable-nls --disable-werror --disable-libstdcxx-verbose
--enable-libstdc++ --disable-ssp --enable-languages=c,c++ --prefix=$PREFIX
--target=avr --disable-shared


More information about the Gcc-bugs mailing list