[Bug bootstrap/65522] [5 Regression] Svn revision 221590 fails bootstrap - ../libiberty/libiberty.a(cplus-dem.o): In function `ada_demangle': cplus-dem.c:(.text+0xdb8): multiple definition of `ada_demangle' ada/adadecode.o:adadecode.c:(.text+0x863): first defined here

ebotcazou at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Mar 23 13:51:00 GMT 2015


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

--- Comment #4 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
> Ah, except ada_demangle is also exported from libgnat*.so - wonder why the
> RTS is built with IN_GCC.

This is explained in gcc-interface/Makefile.in.

> In that case, guess the Ada folks need to decide which one of the two to
> keep, and/or if one of them (either adadecode.[ch], or {include,libiberty}/*
> one shouldn't be renamed to something else.

I think your patch is fine, but I'll let Arno approve it.



More information about the Gcc-bugs mailing list