On Thursday, 20 April 2017 at 20:25:21 UTC, Johannes Pfau wrote:
My attempt to build 5.2.0 also failed, but with a more fatal
error:
/Users/build/toolchain/Source/gcc-5.2.0+gdc/libgcc/libgcc2.c:
In function '__muldc3':
/Users/build/toolchain/Source/gcc-5.2.0+gdc/libgcc/libgcc2.c:1992:1: internal compiler error: in create_edge, at cgraph.c:869
That's not GDC related though ;-)
It's a bug in GCC, which is triggered only when building GDC, not
when building GCC with c,c++and lto (same configuration
otherwise).
GCC-4.9.3 builds OK.
GCC-4.9.3+GDC builds OK.
GCC-4.9.4 builds OK.
GCC-4.9.4+GCC fails.
GCC-5.1.0+GDC fails (due to register_main_translation_unit)
GCC-5.2.0+GDC fails (internal compiler error)
GCC-5.3.0+GDC fails (internal compiler error)
GCC-5.4.0+GDC fails (internal compiler error)
This means my latest GDC is 4.9.3.
When the current build is finished, I'll try and revert back to
an old gdc-5 (before the register_main_translation_unit change)
and see if that will build.