On Mon, 2011-02-28 at 23:56 +0100, Richard Guenther wrote:

> The gcc_personality is provided by libgcc_s I think, it's what you
> get when compiling C code with -fexceptions and install
> cleanup handlers.
> 
> It seems that LTO comes to the conclusion that the C++ specific
> personality is not necessary but the generic one suffices.  But
> that should still be provided by the original link libraries.
> 
> Richard.
The libgcc_s on the ia64-hp-hpux* platform, at least when built using
the system unwind library, does not have a gcc personality function and
so far it has not needed one.  It seems odd that LTO would choose to use
a C personality function on a fully C++ program.  Is there someway I can
override that and force LTO to use the C++ personality function on C++
programs?

It looks like this is coming from lto_eh_personality in lto.c through
the use of lhd_gcc_personality.

Steve Ellcey
s...@cup.hp.com

Reply via email to