Subject: Re: [Boost-bugs] [Boost C++ Libraries] #6903: Including program options header breaks using g++ -static -flto -std=c++11
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-06-01 17:26:42
#6903: Including program options header breaks using g++ -static -flto -std=c++11
-------------------------------------+--------------------------------------
Reporter: boostBugs@⦠| Owner: vladimir_prus
Type: Bugs | Status: new
Milestone: To Be Determined | Component: program_options
Version: Boost 1.49.0 | Severity: Problem
Resolution: | Keywords: g++ lto
-------------------------------------+--------------------------------------
Comment (by anonymous):
I have a similar problem linking statically with -flto and -std=gnu++0x
`typeinfo for
boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::bad_weak_ptr>
>' referenced in section
`.text._ZNK5boost16exception_detail10clone_implINS0_19error_info_injectorINS_12bad_weak_ptrEEEE7rethrowEv[boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::bad_weak_ptr>
>::rethrow() const]' of
/home/bsun/phoenix/opt/cpplibraries/boost/1_49_0/lib/gcc-4.6
/libboost_thread-mt-s.a(thread.o): defined in discarded section
`.gnu.linkonce.t._ZTIN5boost16exception_detail10clone_implINS0_19error_info_injectorINS_12bad_weak_ptrEEEEE'
of ./src/test/router.o (symbol from plugin)
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/6903#comment:1> 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:09 UTC