On Mon, 21 Dec 2020, Patrick Palka wrote: > > This breaks with the `vax-netbsdelf' target in GCC compilation: > > > > .../libstdc++-v3/src/c++17/floating_to_chars.cc:126:38: error: static > > assertion failed > > 126 | static_assert(__DBL_MANT_DIG__ == 53); > > | ^ > > make[5]: *** [Makefile:577: floating_to_chars.lo] Error 1 > > > > So what's the fallback/alternative for non-IEEE-754 FP targets? Shouldn't > > we call into libc (possibly with a warning attribute) for the formats we > > don't have explicit handcoded support for? > > Sorry about this bootstrap breakage. For now, we should probably just > disable the entire file/implementation on such targets until a proper > fallback could be implemented. I posted a patch to that effect here > https://gcc.gnu.org/pipermail/gcc-patches/2020-December/562379.html > which is pending review/approval. Until then, manually stubbing out all of > floating_to_chars.cc should probably suffice to restore bootstrap on > this target.
No worries, breakage happens, especially with the more obscure areas we support. Thanks for the quick fix! Maciej