Re: [Boost-bugs] [Boost C++ Libraries] #12450: oost/serialization/singleton.hpp:131: undefined reference to `boost::serialization::singleton_module::is_locked()'

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #12450: oost/serialization/singleton.hpp:131: undefined reference to `boost::serialization::singleton_module::is_locked()'
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2017-06-03 04:21:52


#12450: oost/serialization/singleton.hpp:131: undefined reference to
`boost::serialization::singleton_module::is_locked()'
-------------------------+-------------------------------------------------
  Reporter: NASa Qian | Owner: ramey
  <cj.nasa@…> |
      Type: Bugs | Status: new
 Milestone: Boost | Component: serialization
  1.63.0 |
   Version: Boost | Severity: Problem
  1.61.0 | Keywords: singleton_module serialization
Resolution: | wserialization
-------------------------+-------------------------------------------------

Comment (by anonymous):

 ...the same also applies for MinGW 5.1.0:

 gcc.link.dll ..\..\..\bin.v2\libs\serialization\build\gcc-
 mingw-5.1.0\debug\libboost_serialization-mgw51-d-1_64.dll.a
 ..\..\..\bin.v2\libs\serialization\build\gcc-
 mingw-5.1.0\debug\binary_iarchive.o: In function
 `boost::serialization::singleton_module::is_locked()':
 D:\boost_1_64\libs\serialization\build/../../../boost/serialization/singleton.hpp:99:
 undefined reference to
 `__imp__ZN5boost13serialization16singleton_module8get_lockEv'
 collect2.exe: error: ld returned 1 exit status

     "g++" "-Wl,--out-implib,..\..\..\bin.v2\libs\serialization\build
 \gcc-mingw-5.1.0\debug\libboost_serialization-mgw51-d-1_64.dll.a" -o
 "..\..\..\bin.v2\libs\serialization\build\gcc-mingw-5.1.0\debug
 \libboost_serialization-mgw51-d-1_64.dll" -shared -Wl,--start-group
 "..\..\..\bin.v2\libs\serialization\build\gcc-
 mingw-5.1.0\debug\basic_archive.o"
 "..\..\..\bin.v2\libs\serialization\build\gcc-
 mingw-5.1.0\debug\basic_iarchive.o"
 "..\..\..\bin.v2\libs\serialization\build\gcc-
 mingw-5.1.0\debug\basic_iserializer.o"
 "..\..\..\bin.v2\libs\serialization\build\gcc-
 mingw-5.1.0\debug\basic_oarchive.o"
 "..\..\..\bin.v2\libs\serialization\build\gcc-
 mingw-5.1.0\debug\basic_oserializer.o"
 "..\..\..\bin.v2\libs\serialization\build\gcc-
 mingw-5.1.0\debug\basic_pointer_iserializer.o"
 "..\..\..\bin.v2\libs\serialization\build\gcc-
 mingw-5.1.0\debug\basic_pointer_oserializer.o"
 "..\..\..\bin.v2\libs\serialization\build\gcc-
 mingw-5.1.0\debug\basic_serializer_map.o"
 "..\..\..\bin.v2\libs\serialization\build\gcc-
 mingw-5.1.0\debug\basic_text_iprimitive.o"
 "..\..\..\bin.v2\libs\serialization\build\gcc-
 mingw-5.1.0\debug\basic_text_oprimitive.o"
 "..\..\..\bin.v2\libs\serialization\build\gcc-
 mingw-5.1.0\debug\basic_xml_archive.o"
 "..\..\..\bin.v2\libs\serialization\build\gcc-
 mingw-5.1.0\debug\binary_iarchive.o"
 "..\..\..\bin.v2\libs\serialization\build\gcc-
 mingw-5.1.0\debug\binary_oarchive.o"
 "..\..\..\bin.v2\libs\serialization\build\gcc-
 mingw-5.1.0\debug\extended_type_info.o"
 "..\..\..\bin.v2\libs\serialization\build\gcc-
 mingw-5.1.0\debug\extended_type_info_typeid.o"
 "..\..\..\bin.v2\libs\serialization\build\gcc-
 mingw-5.1.0\debug\extended_type_info_no_rtti.o"
 "..\..\..\bin.v2\libs\serialization\build\gcc-
 mingw-5.1.0\debug\polymorphic_iarchive.o"
 "..\..\..\bin.v2\libs\serialization\build\gcc-
 mingw-5.1.0\debug\polymorphic_oarchive.o"
 "..\..\..\bin.v2\libs\serialization\build\gcc-
 mingw-5.1.0\debug\stl_port.o" "..\..\..\bin.v2\libs\serialization\build
 \gcc-mingw-5.1.0\debug\text_iarchive.o"
 "..\..\..\bin.v2\libs\serialization\build\gcc-
 mingw-5.1.0\debug\text_oarchive.o"
 "..\..\..\bin.v2\libs\serialization\build\gcc-
 mingw-5.1.0\debug\void_cast.o" "..\..\..\bin.v2\libs\serialization\build
 \gcc-mingw-5.1.0\debug\archive_exception.o"
 "..\..\..\bin.v2\libs\serialization\build\gcc-
 mingw-5.1.0\debug\xml_grammar.o" "..\..\..\bin.v2\libs\serialization\build
 \gcc-mingw-5.1.0\debug\xml_iarchive.o"
 "..\..\..\bin.v2\libs\serialization\build\gcc-
 mingw-5.1.0\debug\xml_oarchive.o"
 "..\..\..\bin.v2\libs\serialization\build\gcc-
 mingw-5.1.0\debug\xml_archive_exception.o"
 "..\..\..\bin.v2\libs\serialization\build\gcc-
 mingw-5.1.0\debug\codecvt_null.o"
 "..\..\..\bin.v2\libs\serialization\build\gcc-
 mingw-5.1.0\debug\utf8_codecvt_facet.o"
 "..\..\..\bin.v2\libs\serialization\build\gcc-
 mingw-5.1.0\debug\singleton.o" -Wl,-Bstatic -Wl,-Bdynamic -Wl,--end-
 group -g -m64

 ...failed gcc.link.dll ..\..\..\bin.v2\libs\serialization\build\gcc-
 mingw-5.1.0\debug\libboost_serialization-mgw51-d-1_64.dll.a
 ..\..\..\bin.v2\libs\serialization\build\gcc-mingw-5.1.0\debug
 \libboost_serialization-mgw51-d-1_64.dll...
 ...removing ..\..\..\bin.v2\libs\serialization\build\gcc-mingw-5.1.0\debug
 \libboost_serialization-mgw51-d-1_64.dll.a

 ...any chance that this gets sorted out? The compilation with major
 version on MinGW is broken since many versions now... :-(

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/12450#comment:11>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-06-03 04:26:35 UTC