This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/79862] Compilation error while building libstdc++
- From: "sbansal at ciena dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 06 Mar 2017 09:17:13 +0000
- Subject: [Bug libstdc++/79862] Compilation error while building libstdc++
- Auto-submitted: auto-generated
- References: <bug-79862-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79862
--- Comment #4 from Sumit <sbansal at ciena dot com> ---
(In reply to Andrew Pinski from comment #3)
> --disable-hosted-libstdcxx \
>
> That is more likely the cause. non-hosted libstdc++ is not well tested.
Hi Andrew,
Thanks for the comments.
Actually, when we say "--disable-hosted-libstdcxx", we mean that we only want a
limited set of headers (same as the one in "freestanding" mode).
But as per the info below, "freestanding" mode supports typeinfo and exception
headers.
In "freestanding" mode only the following headers can be safely used:
•cstdarg
•cstddef
•cstdlib
•exception
•limits
•new
•exception
•typeinfo