Re: [Boost-bugs] [Boost C++ Libraries] #3210: dynamic_cast fails between modules

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #3210: dynamic_cast fails between modules
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-09-21 16:41:26


#3210: dynamic_cast fails between modules
-------------------------------+--------------------------------------------
 Reporter: renatox@… | Owner: dave
     Type: Bugs | Status: new
Milestone: Boost 1.40.0 | Component: Python
  Version: Boost 1.39.0 | Severity: Problem
 Keywords: |
-------------------------------+--------------------------------------------

Comment(by dave):

 The 'right' way to fix this problem is to fix Linux (or ELF, as the case
 may be) according to Jason Merrill's suggestions in the threads "Minimal
 GCC/Linux Shared Lib + EH Bug Example," "Duplicate Data Objects in Shared
 Libraries," etc. at http://gcc.gnu.org/ml/gcc/2002-05/threads.html#02329

 As for workarounds, I'm a little unsure of how you did your linking, but
 I'm pretty sure that if base.cpp were compiled into its own shared library
 that was dynamically linked to both extension modules, you wouldn't see
 this problem.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/3210#comment:3>
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:01 UTC