[Boost-bugs] [Boost C++ Libraries] #6516: Smt pointer/SpinLock pool

Subject: [Boost-bugs] [Boost C++ Libraries] #6516: Smt pointer/SpinLock pool
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-02-02 21:19:57

#6516: Smt pointer/SpinLock pool
 Reporter: shreyas.bme@… | Type: Bugs
   Status: new | Milestone: To Be Determined
Component: None | Version: Boost 1.45.0
 Severity: Problem | Keywords:

 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
 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/6516>
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