Opened 11 years ago

Closed 9 years ago

#6503 closed Patches (duplicate)

bad codegen, pointer diff in boost::signals::connection::connection(boost::signals::connection const&)to global weak symbol boost::detail::spinlock_pool<1>::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 (1)

comment:1 by Peter Dimov, 9 years ago

Resolution: duplicate
Status: newclosed

Duplicate of #6516.

Note: See TracTickets for help on using tickets.