Boost C++ Libraries: Ticket #6503: bad codegen, pointer diff in boost::signals::connection::connection(boost::signals::connection const&)to global weak symbol boost::detail::spinlock_pool<1>::pool_ https://svn.boost.org/trac10/ticket/6503 <p> Hi, </p> <p> I am getting following error for iphone. Boost version 1_45_0 </p> <p> I dont know why but, spinlock.hpp and spinlock_pool.hpp is located Boost/smart_ptr/detail folder. At spinklock.hpp, I have edited like following: But it doen't resolve problem. I also tried to unchecked "thumb" at xcode, but not worked. </p> <p> #if defined(<span class="underline">APPLE</span>) &amp;&amp; defined(<span class="underline">arm</span>) # include &lt;boost/smart_ptr/detail/spinlock_pt.hpp&gt; #elif defined(<span class="underline">GNUC</span>) &amp;&amp; defined( <span class="underline">arm</span> ) &amp;&amp; !defined( <span class="underline">thumb</span> ) </p> <p> Error logs: ld: bad codegen, pointer diff in boost::signals::connection::connection(boost::signals::connection const&amp;)to global weak symbol boost::detail::spinlock_pool&lt;1&gt;::pool_ for architecture armv7 collect2: ld returned 1 exit status Command <a class="missing wiki">/Developer/Platforms</a>/iPhoneOS.platform/Developer/usr/bin/g++-4.2 failed with exit code 1 </p> <p> I will appreciate for your answer. </p> <p> Thanks, Shreyas </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/6503 Trac 1.4.3 Peter Dimov Fri, 13 Dec 2013 22:36:29 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/6503#comment:1 https://svn.boost.org/trac10/ticket/6503#comment:1 <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> <p> Duplicate of <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/6516" title="#6516: Bugs: Smt pointer/SpinLock pool (closed: fixed)">#6516</a>. </p> Ticket