Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#4632 closed Bugs (duplicate)

[mingw] multiple definition of _tls_used.

Reported by: pluto@… Owned by: Anthony Williams
Milestone: To Be Determined Component: thread
Version: Boost 1.44.0 Severity: Problem
Keywords: Cc: Bryce Adelstein Lelbach

Description

hi,
i'm trying to build my application for mingw http://mingw-w64.sourceforge.net
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.
here's the link to mingw implementation:

tlssup.c

Change History (4)

comment:1 by anonymous, 12 years ago

Is this a duplicate of #4258?

in reply to:  1 ; comment:2 by pluto@…, 12 years ago

Replying to anonymous:

Is this a duplicate of #4258?

yup, looks like a duplicate.

in reply to:  2 comment:3 by Bryce Adelstein Lelbach, 12 years ago

Resolution: duplicate
Status: newclosed

Replying to pluto@…:

Replying to anonymous:

Is this a duplicate of #4258?

yup, looks like a duplicate.

this

in reply to:  description comment:4 by Bryce Adelstein Lelbach, 12 years ago

Cc: Bryce Adelstein Lelbach added
Note: See TracTickets for help on using tickets.