This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: -flto / -flto-partition=none question on ia64-hp-hpux11.23


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
sje@cup.hp.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]