Another Dwarf Error with rawhide

Tom "spot" Callaway tcallawa at redhat.com
Mon Apr 6 12:23:20 UTC 2009


On 04/06/2009 04:10 AM, Jakub Jelinek wrote:

> Looking at the preprocessed source (flockLuceneImpl.ii), you can see that
> config/gcc_hidden.h header very early on adds
> #pragma GCC visibility push(hidden)
> and then some of the system headers either temporarily
> #pragma GCC visibility push(default)
> ...
> #pragma GCC visibility pop
> or add visibility attribute to some namespaces (like std::, __gnu_cxx::
> etc.).  But this doesn't seem to be done for the clucene headers, so you
> are telling gcc that all symbols declared in those headers bind locally to
> the same shared library.  You need to either wrap those headers with
> #pragma GCC visibility push(default)
> ...
> #pragma GCC visibility pop,
> or add visibility attribute to the clucene namespaces.

Thanks Jakub, this was the problem. The symbols in the clucene lib
weren't hidden, but the visibility limits hardcoded into the flock code
were breaking the compile. When I wrapped the clucene header calls, it
built fine.

~spot




More information about the fedora-devel-list mailing list