[Boost-bugs] [Boost C++ Libraries] #4632: [mingw] multiple definition of _tls_used.

Subject: [Boost-bugs] [Boost C++ Libraries] #4632: [mingw] multiple definition of _tls_used.
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-09-07 17:46:19


#4632: [mingw] multiple definition of _tls_used.
------------------------------+---------------------------------------------
 Reporter: pluto@… | Owner: anthonyw
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: thread
  Version: Boost 1.44.0 | Severity: Problem
 Keywords: |
------------------------------+---------------------------------------------
 hi,[[BR]]
 i'm trying to build my application for mingw
 [http://mingw-w64.sourceforge.net][[BR]]
 with recent gcc-4.5 cross-compiler but the linker reports an error:
 {{{
 (...)buildenv/windows/gcc-4.5/32/boost-1.44.0/lib/libboost_thread.a(tss_pe.o):
 tss_pe.cpp:(.rdata$T+0x0): multiple definition of `__tls_used'
 (...)/i686-pc-mingw32/lib/libmingw32.a(lib32_libmingw32_a-tlssup.o):
 (.tls+0x0): first defined here
 }}}

 Kai Tietz (the mingw maintainer) tolds me that boost needs correction in
 this area.[[BR]]
 here's the link to mingw implementation:

 [http://mingw-w64.svn.sourceforge.net/viewvc/mingw-w64/branches/releases/v1.0/mingw-w64-crt/crt/tlssup.c?revision=HEAD&view=markup
 tlssup.c]

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/4632>
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:04 UTC