------- Comment #1 from espindola at gcc dot gnu dot org  2010-01-19 04:45 
-------
The problem is coming from

 DECL_FUNCTION_PERSONALITY (expr) = lto_input_tree (ib, data_in);

This reads in __gxx_personality_v0 as an external function and we try to add it
to the symbol table. If using the linker plugin this fails because there is no
reference to __gxx_personality_v0 in the symbol table.

Two options:
* There should be an undefined reference and we are missing it in
produce_symtab
* There should not be an undefined reference. In this case maybe
DECL_FUNCTION_PERSONALY should not be set or we should be ignoring it in this
case for some reason

I don't think there should be an undefined reference to the personality in this
test. The produced assembly never mentions a personality function...


-- 


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

Reply via email to