Subject: Re: [Boost-bugs] [Boost C++ Libraries] #4258: Linking with boost thread does not work on mingw/gcc 4.5
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-10-21 19:01:46
#4258: Linking with boost thread does not work on mingw/gcc 4.5
-------------------------------------------------+--------------------------
Reporter: Danil Ilinykh <woodroof@â¦> | Owner: anthonyw
Type: Bugs | Status: new
Milestone: Boost-1.45.0 | Component: thread
Version: Boost 1.44.0 | Severity: Showstopper
Resolution: | Keywords:
-------------------------------------------------+--------------------------
Changes (by wash):
* cc: wash (added)
* severity: Problem => Showstopper
* milestone: Boost 1.43.0 => Boost-1.45.0
Comment:
Replying to [ticket:4632 pluto@â¦]:
> 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]
The above is from a from duplicate ticket; information may be relevant
This is not the same as #3847; that ticket claims that this occurs on a
broader set of compilers.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/4258#comment:8> 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