[haiku-development] Re: Issue launching apps: Missing symbol: __gxx_personality_v0

  • From: Ingo Weinhold <ingo_weinhold@xxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Sun, 21 Jun 2009 11:04:33 +0200

On 2009-06-21 at 09:31:26 [+0200], Joseph Prostko 
<joe.prostko+haiku@xxxxxxxxx> wrote:
> On Sat, Jun 20, 2009 at 7:34 PM, Joseph
> Prostko<joe.prostko+haiku@xxxxxxxxx> wrote:
> > On Sat, Jun 20, 2009 at 10:00 PM, Joseph
> > Prostko<joe.prostko+haiku@xxxxxxxxx> wrote:
> >
> >>> -------- Original-Nachricht --------
> >>>> Datum: Sat, 20 Jun 2009 17:39:07 +0200
> >>>> Von: Humdinger <humdingerb@xxxxxxxxxxxxxx>
> >>
> >>>> Missing symbol: __gxx_personality_v0
> >>>>
> >>>> Anyone seeing the same issue?
> 
> >
> > Maybe later tonight I'll do a binary search to see where the issue
> > creeps up.  That could take a while though.
> >
> 
> Okay, I filed ticket 4135 about this issue.  Basically I tracked it
> down to r31110 being the issue.  Some more details are present in the
> ticket, along with a quick patch I made to give an idea where the
> problem lurks.

To explain the problem: The missing symbol is s gcc4 only symbol needed 
when C++ code is used and is provided by libsupc++.a. Which means two 
things:

* There's a library which uses C++, but does not link against libsupc++.a. 
Otherwise the symbol would not be missing. This is a problem that should be 
fixed.

* When running a gcc 2 program only gcc 2 libraries should be used 
(respectively C-only libraries). The fact that a gcc 4 libary is loaded 
indicates that no gcc 2 version of this library is installed, which is a 
build system problem.

The second part was likely caused by Philippe's recent changes, as the 
revision you've tracked down suggests.

CU, Ingo

Other related posts: