------- Comment #3 from pinskia at gcc dot gnu dot org 2010-09-09 07:20 ------- >I first triggered this bug in a freestanding environment
You need to include -fno-threadsafe-statics to disable the use of __cxa_guard_acquire. This functions is part of the normal C++ ABI we follow (the IA64 C++ ABI and it is included in the ARM C++ EABI too). -- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|blocker |normal Keywords| |ice-on-invalid-code http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45603