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

--- Comment #34 from Nicolas Noble <pi...@nobis-crew.org> ---
After some digging, I found out this in the acinclude.m4 file of the
libstdc++-v3 folder:

AC_DEFUN([GLIBCXX_ENABLE_HOSTED], [
  AC_ARG_ENABLE([hosted-libstdcxx],
    AC_HELP_STRING([--disable-hosted-libstdcxx],
                   [only build freestanding C++ runtime support]),,
    [case "$host" in
        arm*-*-symbianelf*)
            enable_hosted_libstdcxx=no
            ;;
        *)
            enable_hosted_libstdcxx=yes
            ;;
     esac])


Basically, it looks like the "disable hosted libstdc++" flag is only honored
when building on a host triple that's arm + symbian. The documentation +
reporting for this is extremely misguiding. The documentation should at least
specify this only works in a very narrow context, and the configure script
should probably error out if the user asks for a feature it can't actually
provide.

Reply via email to