Boost C++ Libraries: Ticket #4632: [mingw] multiple definition of _tls_used. https://svn.boost.org/trac10/ticket/4632 <p> hi,<br /> i'm trying to build my application for mingw <a class="ext-link" href="http://mingw-w64.sourceforge.net"><span class="icon">​</span>http://mingw-w64.sourceforge.net</a><br /> with recent gcc-4.5 cross-compiler but the linker reports an error: </p> <pre class="wiki">(...)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 </pre><p> Kai Tietz (the mingw maintainer) tolds me that boost needs correction in this area.<br /> here's the link to mingw implementation: </p> <p> <a class="ext-link" href="http://mingw-w64.svn.sourceforge.net/viewvc/mingw-w64/branches/releases/v1.0/mingw-w64-crt/crt/tlssup.c?revision=HEAD&amp;view=markup"><span class="icon">​</span>tlssup.c</a> </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/4632 Trac 1.4.3 anonymous Wed, 08 Sep 2010 18:26:31 GMT <link>https://svn.boost.org/trac10/ticket/4632#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/4632#comment:1</guid> <description> <p> Is this a duplicate of <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/4258" title="#4258: Bugs: Linking with boost thread does not work on mingw/gcc 4.5 (closed: fixed)">#4258</a>? </p> </description> <category>Ticket</category> </item> <item> <author>pluto@…</author> <pubDate>Wed, 08 Sep 2010 18:56:11 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/4632#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/4632#comment:2</guid> <description> <p> Replying to <a class="ticket" href="https://svn.boost.org/trac10/ticket/4632#comment:1" title="Comment 1">anonymous</a>: </p> <blockquote class="citation"> <p> Is this a duplicate of <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/4258" title="#4258: Bugs: Linking with boost thread does not work on mingw/gcc 4.5 (closed: fixed)">#4258</a>? </p> </blockquote> <p> yup, looks like a duplicate. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Bryce Adelstein Lelbach</dc:creator> <pubDate>Thu, 21 Oct 2010 18:51:39 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/4632#comment:3 https://svn.boost.org/trac10/ticket/4632#comment:3 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">duplicate</span> </li> </ul> <p> Replying to <a class="ticket" href="https://svn.boost.org/trac10/ticket/4632#comment:2" title="Comment 2">pluto@…</a>: </p> <blockquote class="citation"> <p> Replying to <a class="ticket" href="https://svn.boost.org/trac10/ticket/4632#comment:1" title="Comment 1">anonymous</a>: </p> <blockquote class="citation"> <p> Is this a duplicate of <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/4258" title="#4258: Bugs: Linking with boost thread does not work on mingw/gcc 4.5 (closed: fixed)">#4258</a>? </p> </blockquote> <p> yup, looks like a duplicate. </p> </blockquote> <p> <sup> this </sup></p> Ticket Bryce Adelstein Lelbach Thu, 21 Oct 2010 19:09:14 GMT cc set https://svn.boost.org/trac10/ticket/4632#comment:4 https://svn.boost.org/trac10/ticket/4632#comment:4 <ul> <li><strong>cc</strong> <span class="trac-author">Bryce Adelstein Lelbach</span> added </li> </ul> Ticket