[Bug ipa/58329] [4.9 Regression] ld: Invalid symbol type for plabel (.libs/libstdc++.lax/libc++11convenience.a/system_error.o, std::error_category::default_error_condition(int) const [clone .localalias.9]).

hubicka at ucw dot cz gcc-bugzilla@gcc.gnu.org
Thu Sep 5 23:31:00 GMT 2013


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58329

--- Comment #1 from Jan Hubicka <hubicka at ucw dot cz> ---
> Symbol has type data which is wrong for procedure label:
> 
> Symbols from system_error.o:
> 
>   Value    Info   Type  Scope ck HQIRCDSKLN xl reloc Name
> 
> 00000000 00000000 Data  Unsat  0 ..........  3 00000
> _ZNKSt14error_category23default_error_conditionEi.localalias.9

The code introduces the symbol as an static alias of function.
I.e. something like

void foo (void) { }
void foo.localalias (void) __attribute__ ((alias "foo"));

Can this be latent bug in HPPA backend not handling well aliases like this?
(this was indeed an issue on AIX).



More information about the Gcc-bugs mailing list