Boost C++ Libraries: Ticket #11302: boost thread doesn't build with BOOST_THREAD_PATCH. https://svn.boost.org/trac10/ticket/11302 <p> inside libs/thread/src/pthread/thread.cpp there's an access to currently private member 'epoch' in line 127: </p> <p> if (current_thread_tls_init_flag.epoch!=BOOST_ONCE_INITIAL_FLAG_VALUE) </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/11302 Trac 1.4.3 viboes Thu, 14 May 2015 16:01:41 GMT owner, status changed https://svn.boost.org/trac10/ticket/11302#comment:1 https://svn.boost.org/trac10/ticket/11302#comment:1 <ul> <li><strong>owner</strong> changed from <span class="trac-author">Anthony Williams</span> to <span class="trac-author">viboes</span> </li> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">assigned</span> </li> </ul> <p> Well, this is not documented. </p> <p> I tried long time ago to apply this patch but I didn't reached to get anything fixed. Please be free to propose a patch if you reach to make it work. </p> Ticket viboes Thu, 14 May 2015 16:01:58 GMT type changed https://svn.boost.org/trac10/ticket/11302#comment:2 https://svn.boost.org/trac10/ticket/11302#comment:2 <ul> <li><strong>type</strong> <span class="trac-field-old">Bugs</span> → <span class="trac-field-new">Support Requests</span> </li> </ul> Ticket viboes Thu, 14 May 2015 16:02:13 GMT <link>https://svn.boost.org/trac10/ticket/11302#comment:3 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/11302#comment:3</guid> <description> <p> Moved to support request as not documented. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>anonymous</dc:creator> <pubDate>Thu, 14 May 2015 16:36:14 GMT</pubDate> <title>attachment set https://svn.boost.org/trac10/ticket/11302 https://svn.boost.org/trac10/ticket/11302 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">boost-tls.patch</span> </li> </ul> <p> proposed patch. </p> Ticket viboes Fri, 15 May 2015 12:56:29 GMT <link>https://svn.boost.org/trac10/ticket/11302#comment:4 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/11302#comment:4</guid> <description> <p> Does this works for you? Does this definitively fix the dl issue? </p> </description> <category>Ticket</category> </item> <item> <dc:creator>viboes</dc:creator> <pubDate>Thu, 13 Aug 2015 07:03:30 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/11302#comment:5 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/11302#comment:5</guid> <description> <p> ping !!! </p> </description> <category>Ticket</category> </item> <item> <dc:creator>viboes</dc:creator> <pubDate>Sat, 05 Sep 2015 14:36:41 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/11302#comment:6 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/11302#comment:6</guid> <description> <p> ping !!! </p> </description> <category>Ticket</category> </item> <item> <dc:creator>anonymous</dc:creator> <pubDate>Tue, 08 Sep 2015 11:25:39 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/11302#comment:7 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/11302#comment:7</guid> <description> <p> yes, it works fine with testcase from ticket <a class="reopened ticket" href="https://svn.boost.org/trac10/ticket/3926" title="#3926: Bugs: thread_specific_ptr + dlopen library causes a SIGSEGV. (reopened)">#3926</a>. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>viboes</dc:creator> <pubDate>Tue, 08 Sep 2015 17:01:05 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/11302#comment:8 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/11302#comment:8</guid> <description> <p> Thanks. I will apply the patch very soon. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>viboes</dc:creator> <pubDate>Tue, 08 Sep 2015 17:08:00 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/11302#comment:9 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/11302#comment:9</guid> <description> <p> I forget that I applied it already </p> <p> <a class="ext-link" href="https://github.com/boostorg/thread/commit/4d45da6c06970b54387ee040e20a8a88c84c50c0"><span class="icon">​</span>https://github.com/boostorg/thread/commit/4d45da6c06970b54387ee040e20a8a88c84c50c0</a> </p> <p> Now I need to remove the conditional compilation on BOOST_THREAD_PATCH :( </p> </description> <category>Ticket</category> </item> <item> <dc:creator>viboes</dc:creator> <pubDate>Tue, 08 Sep 2015 19:24:17 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/11302#comment:10 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/11302#comment:10</guid> <description> <p> <a class="ext-link" href="https://github.com/boostorg/thread/commit/242cf35c519fc886c13789f1f9a049571fde4cdc"><span class="icon">​</span>https://github.com/boostorg/thread/commit/242cf35c519fc886c13789f1f9a049571fde4cdc</a> </p> </description> <category>Ticket</category> </item> <item> <dc:creator>viboes</dc:creator> <pubDate>Wed, 23 Sep 2015 23:34:06 GMT</pubDate> <title>milestone changed https://svn.boost.org/trac10/ticket/11302#comment:11 https://svn.boost.org/trac10/ticket/11302#comment:11 <ul> <li><strong>milestone</strong> <span class="trac-field-old">To Be Determined</span> → <span class="trac-field-new">Boost 1.60.0</span> </li> </ul> Ticket viboes Wed, 23 Sep 2015 23:35:37 GMT type changed https://svn.boost.org/trac10/ticket/11302#comment:12 https://svn.boost.org/trac10/ticket/11302#comment:12 <ul> <li><strong>type</strong> <span class="trac-field-old">Support Requests</span> → <span class="trac-field-new">Bugs</span> </li> </ul> Ticket viboes Sun, 27 Sep 2015 13:41:33 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/11302#comment:13 https://svn.boost.org/trac10/ticket/11302#comment:13 <ul> <li><strong>status</strong> <span class="trac-field-old">assigned</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <blockquote> <p> <a class="ext-link" href="https://github.com/boostorg/thread/commit/730cb550e6d969520c3f39e0ddf5d80351bddf3a"><span class="icon">​</span>https://github.com/boostorg/thread/commit/730cb550e6d969520c3f39e0ddf5d80351bddf3a</a> </p> </blockquote> Ticket blastrock Fri, 15 Apr 2016 21:31:58 GMT <link>https://svn.boost.org/trac10/ticket/11302#comment:14 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/11302#comment:14</guid> <description> <p> It seems that this last patch was somehow reverted: </p> <p> <a class="ext-link" href="https://github.com/boostorg/thread/blob/develop/src/pthread/thread.cpp#L118"><span class="icon">​</span>https://github.com/boostorg/thread/blob/develop/src/pthread/thread.cpp#L118</a> </p> <p> Any chance this gets fixed for boost 1.61? </p> </description> <category>Ticket</category> </item> <item> <dc:creator>blastrock</dc:creator> <pubDate>Fri, 15 Apr 2016 21:47:03 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/11302#comment:15 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/11302#comment:15</guid> <description> <p> Actually the code in boost 1.61 beta does not contain that #define check, and this is what triggers my bug. Forget what I just said, I will open a new ticket. </p> </description> <category>Ticket</category> </item> </channel> </rss>