8 Sep
2008
8 Sep
'08
9:56 p.m.
Dr. Roland Bock:
Hmm. No, I built boost the "normal" way. Through this thread, though, we saw several things:
a) boost::thread_interrupted is not caught when using the shared object b) it works fine with the static c) nm shows no symbols
I wondered if c) is the reason for a) and took a rather wild guess about the reason for c): Symbols are not exported "by accident".
As it turns out, the reason is that your -fvisibility=hidden overrides the default visibility in the .so, as explained in http://gcc.gnu.org/wiki/Visibility Interesting (and quite counter-intuitive, I might add). You should probably file a trac ticket for this issue.