https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82408
--- Comment #9 from Peter Bohning <peter.bohning at gmx dot com> --- No. I think you've misunderstood the problem and I mean I can't test it because I don't have a computer now but.. Like I said I'm doing this to get the libstdc++ library for aarch64, I already am using the linaro toolchain to actually cross-compile things. And as I recall, "target" defaults to "host". By marking this bug "invalid" and "resolved" you're also neglecting that these various things I ran into are at the very least bad practice even if your claim that just using "target" and not "host" will somehow pick just the right defines to get this tangled mess of C++ code to compile.