------- Comment #2 from dave at hiauly1 dot hia dot nrc dot ca  2007-04-06 
17:53 -------
Subject: Re:  [4.3 Regression] ld: Invalid symbol type for plabel
(.libs/debug_list.o, __gxx_personality_v0).

> I am seeing this on my HPPA build as well.  David sent me a patch for it
> off-list and that patch fixed the build problem for me.

The patch just reverts Mark's change.  The previous code papers over the
real problem.  The reference to the __gxx_personality_v0 personality
function occurs in the eh frame table and not in the exception table.

Looking at this a bit, I think the fix is to add

  if (eh_personality_libfunc)
    assemble_external_libcall (eh_personality_libfunc);

to output_call_frame_info in dwarf2out.c.

Dave


-- 


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

Reply via email to