Exceptions across shared libraries (gcc 3.3.3)

G

gilles.rayrat

Hi,
I am facing a weird issue:
We are using a shared library (libcarob) that can throw exceptions.
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.
The weird thing is that when linking statically carob to the libstdc++,

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
Thanks,
Gilles.
 
M

mlimber

Hi,
I am facing a weird issue:
We are using a shared library (libcarob) that can throw exceptions.
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.
The weird thing is that when linking statically carob to the libstdc++,

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

You'll want to post in a group for g++ and/or your troublesome
platform. Standard C++ knows nothing of static vs. dynamic linking, so
that is off-topic here
(http://www.parashift.com/c++-faq-lite/how-to-post.html#faq-5.9).

Cheers! --M
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,777
Messages
2,569,604
Members
45,228
Latest member
MikeMichal

Latest Threads

Top