Boost logo

Boost :

Subject: Re: [boost] Additional Test Configurations
From: John Maddock (jz.maddock_at_[hidden])
Date: 2016-06-08 14:10:23


> I have problems with the current test system. I don't know if this is
> the place to describe them, but I posted on the test list and haven't
> gotten any response.
>
> Basically I have a test failures on all gcc compilers on the develop
> branch of the test matrix. But I test one gcc compilers (gcc-5.1) on
> my local evironment (MacOS) in all combinations release/debug,
> shared/static, std=C++11/C++03 and everything passes (except of a bugs
> in the gcc library). So I'm at a loss to determine the cause of the
> issue and the test system is standing in my way.
>

My guess is there's an integration issue, are you testing against
"everything else develop"?

> Another thing - all the tests on Mingw fail due to a complaint about
> the visibility attribute set to import from the serialization DLL. Of
> course that is exactly what we want to do! I also tried cygwin on my
> local machine but due to issues I could never straighten out, I
> couldn't get it to work. I used to do this all the time but now I don't.
>

That's an error in the header - the constructor is declared imported but
has an inline function body:

     BOOST_UTF8_DECL explicit utf8_codecvt_facet(std::size_t
no_locale_manage=0)
         : std::codecvt<wchar_t, char, std::mbstate_t>(no_locale_manage)
     {} // <---- error here, can't import a definition!

I also see a whole load of linker errors which I don't understand at
present:

gcc.link.dll
..\..\..\bin.v2\libs\serialization\build\gcc-mingw-5.3.0s14\debug\libboost_serialization-mgw53-d-1_62.dll.a
..\..\..\bin.v2\libs\serialization\build\gcc-mingw-5.3.0s14\debug\binary_iarchive.o:
In function
`boost::serialization::singleton<boost::archive::detail::extra_detail::map<boost::archive::binary_iarchive>
>::get_mutable_instance()':
M:\data\boost\boost\libs\serialization\build/../../../boost/serialization/singleton.hpp:131:
undefined reference to
`__imp__ZN5boost13serialization16singleton_module9is_lockedEv'
..\..\..\bin.v2\libs\serialization\build\gcc-mingw-5.3.0s14\debug\binary_oarchive.o:
In function
`boost::serialization::singleton<boost::archive::detail::extra_detail::map<boost::archive::binary_oarchive>
>::get_mutable_instance()':
M:\data\boost\boost\libs\serialization\build/../../../boost/serialization/singleton.hpp:131:
undefined reference to
`__imp__ZN5boost13serialization16singleton_module9is_lockedEv'
..\..\..\bin.v2\libs\serialization\build\gcc-mingw-5.3.0s14\debug\polymorphic_iarchive.o:
In function
`boost::serialization::singleton<boost::archive::detail::extra_detail::map<boost::archive::polymorphic_iarchive>
>::get_mutable_instance()':
':M:\data\boost\boost\libs\serialization\build/../../../boost/serialization/singleton.hpp:131:
undefined reference to
`__imp__ZN5boost13serialization16singleton_module9is_lockedEv'
..\..\..\bin.v2\libs\serialization\build\gcc-mingw-5.3.0s14\debug\polymorphic_oarchive.o:
In function
`boost::serialization::singleton<boost::archive::detail::extra_detail::map<boost::archive::polymorphic_oarchive>
>::get_mutable_instance()':
M:\data\boost\boost\libs\serialization\build/../../../boost/serialization/singleton.hpp:131:
undefined reference to
`__imp__ZN5boost13serialization16singleton_module9is_lockedEv'
..\..\..\bin.v2\libs\serialization\build\gcc-mingw-5.3.0s14\debug\text_iarchive.o:
In function
`boost::serialization::singleton<boost::archive::detail::extra_detail::map<boost::archive::text_iarchive>
>::get_mutable_instance()':
M:\data\boost\boost\libs\serialization\build/../../../boost/serialization/singleton.hpp:131:
undefined reference to
`__imp__ZN5boost13serialization16singleton_module9is_lockedEv'
..\..\..\bin.v2\libs\serialization\build\gcc-mingw-5.3.0s14\debug\text_oarchive.o:M:\data\boost\boost\libs\serialization\build/../../../boost/serialization/singleton.hpp:131:
more undefined references to
`__imp__ZN5boost13serialization16singleton_module9is_lockedEv' follow

HTH, John.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk