Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: __cxa_guard_acquire / __cxa_guard_release



This will fix the warning, but be careful you may end up with broken code unless you can guarantee thread safety in some other way.

Godfrey

On 05/09/2005, at 11:05 , Andrew Pinski wrote:


On May 9, 2005, at 1:26 PM, Thane Heninger wrote:


Trying to build our kext in Tiger, we ran into a snag with undefined symbols for ___cxa_guard_acquire and ___cxa_guard_release when we tried the kextload. Those symbols couldn't be found in any source text for the build. Searching the assembly code, we found the symbols as being near a line which had a statically included class instantiation.


Use -fno-threadsafe-statics.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-drivers mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/darwin-drivers/email@hidden

This email sent to email@hidden
References: 
 >__cxa_guard_acquire / __cxa_guard_release (From: Thane Heninger <email@hidden>)
 >Re: __cxa_guard_acquire / __cxa_guard_release (From: Andrew Pinski <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.