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: 2016-11-22 10:42:16
#12450: oost/serialization/singleton.hpp:131: undefined reference to
`boost::serialization::singleton_module::is_locked()'
-------------------------+-------------------------------------------------
Reporter: NASa Qian | Owner: ramey
<cj.nasa@â¦> | Status: new
Type: Bugs | Component: serialization
Milestone: Boost | Severity: Problem
1.63.0 | Keywords: singleton_module serialization
Version: Boost | wserialization
1.61.0 |
Resolution: |
-------------------------+-------------------------------------------------
Comment (by spam1@â¦):
Just tried the beta 1 of 1.63 and it still fails on Windows 10 x64, MinGW
4.9.2 (from the Qt 5.6.1 package):
{{{
toolset=gcc cxxflags="--std=c++11" --build-type=complete link=shared
threading=multi runtime-link=shared variant=debug,release --without-python
--without-mpi --without-coroutine --without-signals --prefix=../i686
-windows-mingw492 -q install
}}}
{{{
Performing configuration checks
- 32-bit : yes (cached)
- arm : no (cached)
- mips1 : no (cached)
- power : no (cached)
- sparc : no (cached)
- x86 : yes (cached)
- symlinks supported : no (cached)
- junctions supported : yes (cached)
- hardlinks supported : yes (cached)
- C++11 mutex : yes (cached)
- Boost.Config Feature Check: cxx11_auto_declarations : yes (cached)
- Boost.Config Feature Check: cxx11_constexpr : yes (cached)
- Boost.Config Feature Check: cxx11_defaulted_functions : yes (cached)
- Boost.Config Feature Check: cxx11_final : yes (cached)
- Boost.Config Feature Check: cxx11_hdr_tuple : yes (cached)
- Boost.Config Feature Check: cxx11_lambdas : yes (cached)
- Boost.Config Feature Check: cxx11_noexcept : yes (cached)
- Boost.Config Feature Check: cxx11_nullptr : yes (cached)
- Boost.Config Feature Check: cxx11_rvalue_references : yes (cached)
- Boost.Config Feature Check: cxx11_template_aliases : yes (cached)
- Boost.Config Feature Check: cxx11_thread_local : no (cached)
- Boost.Config Feature Check: cxx11_variadic_templates : yes (cached)
- has_icu builds : no (cached)
warning: Graph library does not contain MPI-based parallel components.
note: to enable them, add "using mpi ;" to your user-config.jam
- zlib : yes (cached)
- bzip2 : no (cached)
- iconv (libc) : no (cached)
- iconv (separate) : yes (cached)
- icu : no (cached)
- icu (lib64) : no (cached)
- g++ -shared-* supported : no (cached)
- native-atomic-int32-supported : yes (cached)
- message-compiler : no (cached)
- pthread-supports-robust-mutexes : no (cached)
- compiler-supports-visibility : yes (cached)
- compiler-supports-ssse3 : yes (cached)
- compiler-supports-avx2 : yes (cached)
- gcc visibility : yes (cached)
- long double support : yes (cached)
- zlib : yes (cached)
- bzip2 : no (cached)
Component configuration:
- atomic : building
- chrono : building
- container : building
- context : building
- coroutine : not building
- coroutine2 : building
- date_time : building
- exception : building
- fiber : building
- filesystem : building
- graph : building
- graph_parallel : building
- iostreams : building
- locale : building
- log : building
- math : building
- metaparse : building
- mpi : not building
- program_options : building
- python : not building
- random : building
- regex : building
- serialization : building
- signals : not building
- system : building
- test : building
- thread : building
- timer : building
- type_erasure : building
- wave : building
...patience...
...patience...
...patience...
...patience...
...patience...
...found 37107 targets...
...updating 739 targets...
gcc.link.dll bin.v2\libs\serialization\build\gcc-mingw-4.9.2\debug
\threading-multi\libboost_serialization-mgw49-mt-d-1_63.dll.a
bin.v2\libs\serialization\build\gcc-mingw-4.9.2\debug\threading-
multi\binary_iarchive.o: In function
`ZN5boost13serialization9singletonINS_7archive6detail12extra_detail3mapINS2_15binary_iarchiveEEEE20get_mutable_instanceEv':
D:\Projekte\library-
boost\boost_1_63_0_b1\boost_1_63_0/./boost/serialization/singleton.hpp:131:
undefined reference to
`_imp___ZN5boost13serialization16singleton_module9is_lockedEv'
bin.v2\libs\serialization\build\gcc-mingw-4.9.2\debug\threading-
multi\binary_oarchive.o: In function
`ZN5boost13serialization9singletonINS_7archive6detail12extra_detail3mapINS2_15binary_oarchiveEEEE20get_mutable_instanceEv':
D:\Projekte\library-
boost\boost_1_63_0_b1\boost_1_63_0/./boost/serialization/singleton.hpp:131:
undefined reference to
`_imp___ZN5boost13serialization16singleton_module9is_lockedEv'
bin.v2\libs\serialization\build\gcc-mingw-4.9.2\debug\threading-
multi\polymorphic_iarchive.o: In function
`ZN5boost13serialization9singletonINS_7archive6detail12extra_detail3mapINS2_20polymorphic_iarchiveEEEE20get_mutable_instanceEv':
D:\Projekte\library-
boost\boost_1_63_0_b1\boost_1_63_0/./boost/serialization/singleton.hpp:131:
undefined reference to
`_imp___ZN5boost13serialization16singleton_module9is_lockedEv'
bin.v2\libs\serialization\build\gcc-mingw-4.9.2\debug\threading-
multi\polymorphic_oarchive.o: In function
`ZN5boost13serialization9singletonINS_7archive6detail12extra_detail3mapINS2_20polymorphic_oarchiveEEEE20get_mutable_instanceEv':
D:\Projekte\library-
boost\boost_1_63_0_b1\boost_1_63_0/./boost/serialization/singleton.hpp:131:
undefined reference to
`_imp___ZN5boost13serialization16singleton_module9is_lockedEv'
bin.v2\libs\serialization\build\gcc-mingw-4.9.2\debug\threading-
multi\text_iarchive.o: In function
`ZN5boost13serialization9singletonINS_7archive6detail12extra_detail3mapINS2_13text_iarchiveEEEE20get_mutable_instanceEv':
D:\Projekte\library-
boost\boost_1_63_0_b1\boost_1_63_0/./boost/serialization/singleton.hpp:131:
undefined reference to
`_imp___ZN5boost13serialization16singleton_module9is_lockedEv'
bin.v2\libs\serialization\build\gcc-mingw-4.9.2\debug\threading-
multi\text_oarchive.o:D:\Projekte\library-
boost\boost_1_63_0_b1\boost_1_63_0/./boost/serialization/singleton.hpp:131:
more undefined references to
`_imp___ZN5boost13serialization16singleton_module9is_lockedEv' follow
collect2.exe: error: ld returned 1 exit status
"g++" "-Wl,--out-implib,bin.v2\libs\serialization\build\gcc-
mingw-4.9.2\debug\threading-multi\libboost_serialization-
mgw49-mt-d-1_63.dll.a" -o "bin.v2\libs\serialization\build\gcc-
mingw-4.9.2\debug\threading-multi\libboost_serialization-
mgw49-mt-d-1_63.dll" -shared -Wl,--start-group
"bin.v2\libs\serialization\build\gcc-mingw-4.9.2\debug\threading-
multi\basic_archive.o" "bin.v2\libs\serialization\build\gcc-
mingw-4.9.2\debug\threading-multi\basic_iarchive.o"
"bin.v2\libs\serialization\build\gcc-mingw-4.9.2\debug\threading-
multi\basic_iserializer.o" "bin.v2\libs\serialization\build\gcc-
mingw-4.9.2\debug\threading-multi\basic_oarchive.o"
"bin.v2\libs\serialization\build\gcc-mingw-4.9.2\debug\threading-
multi\basic_oserializer.o" "bin.v2\libs\serialization\build\gcc-
mingw-4.9.2\debug\threading-multi\basic_pointer_iserializer.o"
"bin.v2\libs\serialization\build\gcc-mingw-4.9.2\debug\threading-
multi\basic_pointer_oserializer.o" "bin.v2\libs\serialization\build\gcc-
mingw-4.9.2\debug\threading-multi\basic_serializer_map.o"
"bin.v2\libs\serialization\build\gcc-mingw-4.9.2\debug\threading-
multi\basic_text_iprimitive.o" "bin.v2\libs\serialization\build\gcc-
mingw-4.9.2\debug\threading-multi\basic_text_oprimitive.o"
"bin.v2\libs\serialization\build\gcc-mingw-4.9.2\debug\threading-
multi\basic_xml_archive.o" "bin.v2\libs\serialization\build\gcc-
mingw-4.9.2\debug\threading-multi\binary_iarchive.o"
"bin.v2\libs\serialization\build\gcc-mingw-4.9.2\debug\threading-
multi\binary_oarchive.o" "bin.v2\libs\serialization\build\gcc-
mingw-4.9.2\debug\threading-multi\extended_type_info.o"
"bin.v2\libs\serialization\build\gcc-mingw-4.9.2\debug\threading-
multi\extended_type_info_typeid.o" "bin.v2\libs\serialization\build\gcc-
mingw-4.9.2\debug\threading-multi\extended_type_info_no_rtti.o"
"bin.v2\libs\serialization\build\gcc-mingw-4.9.2\debug\threading-
multi\polymorphic_iarchive.o" "bin.v2\libs\serialization\build\gcc-
mingw-4.9.2\debug\threading-multi\polymorphic_oarchive.o"
"bin.v2\libs\serialization\build\gcc-mingw-4.9.2\debug\threading-
multi\stl_port.o" "bin.v2\libs\serialization\build\gcc-mingw-4.9.2\debug
\threading-multi\text_iarchive.o" "bin.v2\libs\serialization\build\gcc-
mingw-4.9.2\debug\threading-multi\text_oarchive.o"
"bin.v2\libs\serialization\build\gcc-mingw-4.9.2\debug\threading-
multi\void_cast.o" "bin.v2\libs\serialization\build\gcc-mingw-4.9.2\debug
\threading-multi\archive_exception.o" "bin.v2\libs\serialization\build
\gcc-mingw-4.9.2\debug\threading-multi\xml_grammar.o"
"bin.v2\libs\serialization\build\gcc-mingw-4.9.2\debug\threading-
multi\xml_iarchive.o" "bin.v2\libs\serialization\build\gcc-
mingw-4.9.2\debug\threading-multi\xml_oarchive.o"
"bin.v2\libs\serialization\build\gcc-mingw-4.9.2\debug\threading-
multi\xml_archive_exception.o" "bin.v2\libs\serialization\build\gcc-
mingw-4.9.2\debug\threading-multi\codecvt_null.o"
"bin.v2\libs\serialization\build\gcc-mingw-4.9.2\debug\threading-
multi\utf8_codecvt_facet.o" "bin.v2\libs\serialization\build\gcc-
mingw-4.9.2\debug\threading-multi\singleton.o" -Wl,-Bstatic
-Wl,-Bdynamic -Wl,--end-group -g -march=i686 -mthreads -m32
...failed gcc.link.dll bin.v2\libs\serialization\build\gcc-
mingw-4.9.2\debug\threading-multi\libboost_serialization-
mgw49-mt-d-1_63.dll.a bin.v2\libs\serialization\build\gcc-
mingw-4.9.2\debug\threading-multi\libboost_serialization-
mgw49-mt-d-1_63.dll...
...removing bin.v2\libs\serialization\build\gcc-mingw-4.9.2\debug
\threading-multi\libboost_serialization-mgw49-mt-d-1_63.dll.a
...failed updating 1 target...}}}
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/12450#comment:6> 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-02-16 18:50:20 UTC