Re: Another Dwarf Error with rawhide

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux