Opened 11 years ago

Closed 9 years ago

#6516 closed Bugs (fixed)

Smt pointer/SpinLock pool

Reported by: shreyas.bme@… Owned by: Peter Dimov
Milestone: To Be Determined Component: smart_ptr
Version: Boost 1.45.0 Severity: Problem
Keywords: Cc:

Description

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

Change History (2)

comment:1 by viboes, 10 years ago

Component: Nonesmart_ptr
Owner: set to Peter Dimov

Please set the component in the future if you want it to be analyzed.

comment:2 by Peter Dimov, 9 years ago

Resolution: fixed
Status: newclosed

Is this still relevant? I'm going to close it as too old; please reopen if this is still a problem.

Note: See TracTickets for help on using tickets.