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

--- Comment #2 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
> Since r279563, Ada LTO bootstrap fails because of undefined reference
> to __gnat_debug_raise_assert_failure, undefined reference to
> __gnat_debug_raise_exception and undefined reference to
> __gnat_unhandled_exception.

The 3 symbols are declared in libgnat/s-excdeb.ads through pragma Export.  This
means that the DECL_ASSEMBLER_NAME is distinct from the DECL_NAME for them.

> In the run up to the failure, there is also a number of
> -Wlto-type-mismatch warnings about various types not matching their
> "original declarations."

Yes, but they are benign and should be unrelated to the issue.

Reply via email to