[Boost-bugs] [Boost C++ Libraries] #6503: bad codegen, pointer diff in boost::signals::connection::connection(boost::signals::connection const&)to global weak symbol boost::detail::spinlock_pool<1>::pool_

Subject: [Boost-bugs] [Boost C++ Libraries] #6503: bad codegen, pointer diff in boost::signals::connection::connection(boost::signals::connection const&)to global weak symbol boost::detail::spinlock_pool<1>::pool_
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-01-31 21:26:36


#6503: bad codegen, pointer diff in
boost::signals::connection::connection(boost::signals::connection const&)to
global weak symbol boost::detail::spinlock_pool<1>::pool_
-----------------------------------+----------------------------------------
 Reporter: shreyas.bme@… | Owner: pdimov
     Type: Patches | Status: new
Milestone: To Be Determined | Component: smart_ptr
  Version: Boost 1.45.0 | Severity: Problem
 Keywords: |
-----------------------------------+----------------------------------------
 Hi,

 I am getting following error for iphone. Boost version 1_45_0

 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.

 #if defined(__APPLE__) && defined(__arm__)
 # include <boost/smart_ptr/detail/spinlock_pt.hpp>
 #elif defined(__GNUC__) && defined( __arm__ ) && !defined( __thumb__ )

 Error logs:
 ld: bad codegen, pointer diff in
 boost::signals::connection::connection(boost::signals::connection
 const&)to global weak symbol boost::detail::spinlock_pool<1>::pool_
 for architecture armv7
 collect2: ld returned 1 exit status
 Command /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/g++-4.2
 failed with exit code 1


 I will appreciate for your answer.

 Thanks,
 Shreyas

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/6503>
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:08 UTC