Boost C++ Libraries: Ticket #2358: __sync_lock_test_and_set not defined for Intel ICC (used in detail/spinlock_sync.hpp) https://svn.boost.org/trac10/ticket/2358 <p> This is an issue that has apparently been noted before, see e.g. </p> <blockquote> <p> <a class="ext-link" href="http://thread.gmane.org/gmane.comp.lib.boost.devel/176050"><span class="icon">​</span>http://thread.gmane.org/gmane.comp.lib.boost.devel/176050</a> </p> </blockquote> <p> What's going on is that the Intel ICC compiler on x86_64 does not know about the <span class="underline">sync_lock_test_and_set intrinsic that GCC defines. It may be that the reason why Peter Dimov couldn't reproduce the problem lies in the ability of ICC to use GCC header files -- I don't know. Anyway, I can for a fact confirm that the patch (see attached) by Peter works. </span></p> <p> Best </p> <blockquote> <p> Wolfgang </p> </blockquote> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/2358 Trac 1.4.3 bangerth@… Mon, 22 Sep 2008 02:37:36 GMT attachment set https://svn.boost.org/trac10/ticket/2358 https://svn.boost.org/trac10/ticket/2358 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">patch</span> </li> </ul> <p> Patch to detail/spinlock.hpp </p> Ticket Peter Dimov Mon, 22 Sep 2008 12:30:36 GMT status, component changed; owner set; cc deleted https://svn.boost.org/trac10/ticket/2358#comment:1 https://svn.boost.org/trac10/ticket/2358#comment:1 <ul> <li><strong>cc</strong> <span class="trac-author">pdimov@…</span> removed </li> <li><strong>owner</strong> set to <span class="trac-author">Peter Dimov</span> </li> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">assigned</span> </li> <li><strong>component</strong> <span class="trac-field-old">None</span> → <span class="trac-field-new">smart_ptr</span> </li> </ul> Ticket Peter Dimov Mon, 22 Sep 2008 12:36:15 GMT <link>https://svn.boost.org/trac10/ticket/2358#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/2358#comment:2</guid> <description> <p> I already applied this in <a class="changeset" href="https://svn.boost.org/trac10/changeset/48836" title="Fix #2000.">[48836]</a> to the trunk. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Peter Dimov</dc:creator> <pubDate>Mon, 29 Sep 2008 22:30:31 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/2358#comment:3 https://svn.boost.org/trac10/ticket/2358#comment:3 <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> Ticket anonymous Wed, 15 Feb 2012 00:04:33 GMT <link>https://svn.boost.org/trac10/ticket/2358#comment:4 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/2358#comment:4</guid> <description> <p> It doesn't have to be integrated into gcc. I am looking for modules that I can link into my linux program. </p> </description> <category>Ticket</category> </item> </channel> </rss>