This is the mail archive of the gcc-patches@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: Mark objects death at end of scope


> And there's also one issue with Ada that I need help with: it doesn't
> build anymore. ;-)  Well, the tools don't link when C++ bootstrap is
> active.  This is because our whole libbackend is compiled with g++, and
> hence uses the gxx_personality_v0 routines.  But the gnattools are linked
> with a hardcoded ../../xgcc (missing all the C++ libs) leading to the
> symbol not found.  Up to now this accidentally was no problem because g++
> is so nice that if no EH mechanisms are used it doesn't force any
> personality.  I'm not sure what the best fix here is.

Compile with -fno-exceptions?  Generating EH stuff for code that doesn't make 
use of EH at all doesn't look very appealing to me.

-- 
Eric Botcazou


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