Re: [Boost-bugs] [Boost C++ Libraries] #6899: boost serialization calls wrong guild()

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #6899: boost serialization calls wrong guild()
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-07-18 14:46:38


#6899: boost serialization calls wrong guild()
--------------------------------------------+-------------------------------
  Reporter: Xiaolong <xwu622@…> | Owner: ramey
      Type: Bugs | Status: closed
 Milestone: To Be Determined | Component: serialization
   Version: Boost 1.44.0 | Severity: Problem
Resolution: invalid | Keywords: guid
--------------------------------------------+-------------------------------

Comment (by Xiaolong <xwu622@…>):

 Here are more details about this issue.
 I have 6 analytic libraries. I create a static library of boost-
 serialization wrapper for each of them. Then I link the 6 static
 serialization libraries into a dynamic library.

 I cannot use dynamic wrapper, because there would be one copy of
 singleton<detail::ktmap> in each wrapper.

 I found a workaround: linking directly to the .obj files, instead of
 linking to the 6 static library wrappers, when link the dynamic library.

 In summary: the class hierarchy tree map cannot across dll boundary. That
 makes it difficult to use boost-serialization to large scale projects.

 Having to link all serialization code into a single dll also caused errors
 like "file size exceeded 1G limit" (on linux), "the number of symbols
 exceeded 65535 limit" (on Windows).

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/6899#comment:2>
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:10 UTC