Re: [Boost-bugs] [Boost C++ Libraries] #4258: Linking with boost thread does not work on mingw/gcc 4.5

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-09-06 12:55:32


#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.43.0 | Component: thread
   Version: Boost 1.44.0 | Severity: Problem
Resolution: | Keywords:
-------------------------------------------------+--------------------------

Comment (by tristen_e@…):

 This is also an issue in 1.41 (and therefore most likely any version
 onwards.)

 I've commented it out (lines 69-77 in v1.41) as suggested by Danil (thank
 you Sir!) Probably wrapping that bit of code with some kind of #if #endif
 would be the best solution as suggested by anonymous.

 I've recompiled and everything seems OK - for those of you wondering what
 exactly what code it is that requires commenting in file
 /libs/thread/src/win32/tss_pe.cpp, it's this:

 {{{
 extern "C" const IMAGE_TLS_DIRECTORY32 _tls_used __attribute__
 ((section(".rdata$T"))) =
 {
         (DWORD) &__tls_start__,
         (DWORD) &__tls_end__,
         (DWORD) &__tls_index__,
         (DWORD) (&__crt_xl_start__+1),
         (DWORD) 0,
         (DWORD) 0
 };
 }}}

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/4258#comment:7>
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