Boost logo

Boost Users :

Subject: Re: [Boost-users] Catching boost::thread_interrupted
From: Peter Dimov (pdimov_at_[hidden])
Date: 2008-09-08 17:56:45

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

Interesting (and quite counter-intuitive, I might add). You should probably
file a trac ticket for this issue.

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at