Thanks for your answer.
Actually, I find out that this is a ldd bug:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=418
It's a shame Suse didn't fix this in its service packs...
Thanks again,
Gilles.
Bernd Strieder wrote:
> Hello,
>
> [EMAIL PROTECTED] wrote:
>
> > I am facing a weird issue:
> > We are using a shared library (libcarob) that can throw exceptions.
>
> That already tells the whole story.
>
> See
>
> http://gcc.gnu.org/faq.html#dso
>
> > Everything goes well under most platforms, but under suse (SLES 9, gcc
> > 3.3.3), we get a segfault anytime we try to throw an exception out of
> > carob.
>
> Are the other platforms older or newer than SLES9?
>
> > The weird thing is that when linking statically carob to the
> > libstdc++,
>
> So it is a linker problem, indeed.
>
> >
> > the problem disappears. Google showed nothing convincing, so I try
> > other
> > channels...
> > If anyone has a clue for it, g++ flags or whatever, I am ready to try
> > the hell to fix this
>
> This is a FAQ. Look for keywords DSO, shared, dynamic, RTTI, exceptions
> and you will find at least one question per week in this group, and
> more in others.
> 
> 
> 
> Bernd Strieder

_______________________________________________
help-gplusplus mailing list
help-gplusplus@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gplusplus

Reply via email to