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: KPI change for GCC4.0 (was __cxa_guard_acquire / __cxa_guard_release)




On May 9, 2005, at 2:02 PM, Godfrey van der Linden wrote:

Oh I think I know what it is. Sorry I was on the wrong track all together. This is a problem with in function static constructors. In gcc 4.0 we realised that they just don't work inside the kernel environment.

The problem is that these 2 functions are required to take and release a lock. Unfortunately it doesn't tell us what sort of lock to take and release. In the kernel that just isn't acceptable.

Hence gcc4.0 has a source incompatibility. It does not reliably implement in function static construction.

Or just use -fno-threadsafe-statics.

-- Pinski

_______________________________________________
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: Godfrey van der Linden <email@hidden>)
 >Re: __cxa_guard_acquire / __cxa_guard_release (From: Thane Heninger <email@hidden>)
 >KPI change for GCC4.0 (was __cxa_guard_acquire / __cxa_guard_release) (From: Godfrey van der Linden <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.