[pkg-boost-devel] Bug#602959: btag: FTBFS with binutils-gold because of missing symbol 'boost::system::get_system_category()'

Fabrice Coutadeur coutadeurf at gmail.com
Wed Nov 10 06:18:59 UTC 2010


Hi Fernando,

and thanks for the quick answer!

2010/11/10, Fernando Lemos <fernandotcl at gmail.com>:
>>  *  debian/rules: added -lboost_system to LDFLAGS to force a fix link with
>>     libboost. This fixes a FTBFS with binutils-gold.
>
> I don't plan to do anything about this for the time being. The reason
> for the FTBFS (as reported by others[1]) is that boost::filesystem
> uses boost::system in its internal headers (in inline methods invoked
> by the boost::filesystem::path constructor, for instance). A

good point! I didn't checked boost bugs, as I thought it was a problem
in btag only.

> boost::filesystem user is not supposed to know in advance that
> boost::filesystem requires linkage against boost::system as this is an
> implementation detail that could change in the future.

Right

> 1. It might be possible to change booost::filesystem to make those
> methods that rely on boost::system (I think it's just
> boost::system::error_code) not inline anymore. This would work fine,
> but it might not be viable as C++ templates must be inlined. I don't
> see this happening, good luck convincing the Boost team that the way
> gold works is the right way.



More information about the pkg-boost-devel mailing list