Boost C++ Libraries: Ticket #6692: spinlock_gcc_arm.hpp uses deprecated assembly instructions on ARMv7 https://svn.boost.org/trac10/ticket/6692 <p> spinlock_gcc_arm implements try_lock() in terms of the SWP instruction. This instruction is deprecated due to performance issues, and it causes linkers to emit tons of warnings. I have attached a patch that implements try_lock in terms of LDREX and STREX, which are the preferred replacements for SWP. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/6692 Trac 1.4.3 Ben Craig <ben.craig@…> Fri, 16 Mar 2012 18:31:12 GMT attachment set https://svn.boost.org/trac10/ticket/6692 https://svn.boost.org/trac10/ticket/6692 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">spinlock_gcc_arm.patch</span> </li> </ul> <p> Patch from boost 1.49-&gt;boost 1.50 for gcc arm spinlock issue </p> Ticket Ben Craig <ben.craig@…> Fri, 16 Mar 2012 18:35:26 GMT component changed; owner set https://svn.boost.org/trac10/ticket/6692#comment:1 https://svn.boost.org/trac10/ticket/6692#comment:1 <ul> <li><strong>owner</strong> set to <span class="trac-author">Peter Dimov</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 Fri, 16 Mar 2012 18:49:21 GMT <link>https://svn.boost.org/trac10/ticket/6692#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/6692#comment:2</guid> <description> <p> This looks like a duplicate of <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/5331" title="#5331: Bugs: usage of deprecated swp instruction on arm (closed: fixed)">#5331</a>. </p> </description> <category>Ticket</category> </item> <item> <author>Ben Craig <ben.craig@…></author> <pubDate>Fri, 16 Mar 2012 18:59:26 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/6692#comment:3 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/6692#comment:3</guid> <description> <p> That fix looks like it will do the trick. I started working on this well before Jan 19 (when the other patch was submitted), and I haven't run a new search since. I'm fine with this being closed as a duplicate. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Peter Dimov</dc:creator> <pubDate>Fri, 16 Mar 2012 22:23:34 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/6692#comment:4 https://svn.boost.org/trac10/ticket/6692#comment:4 <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> Ticket