http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50598
--- Comment #28 from Dominique d'Humieres <dominiq at lps dot ens.fr> 2011-11-20 12:50:39 UTC --- (In reply to comment #25) > confirm solved > cat once.cpp > #include<iostream> > > int main() { > > std::once_flag flag; > std::call_once(flag,[](){std::cout << "hi" << std::endl;}); > > return 0; > } > ... > Undefined symbols for architecture x86_64: > "___emutls_v._ZSt15__once_callable", referenced from: > _main in ccCeliaX.o > ld: symbol(s) not found for architecture x86_64 > ... I am not sure to understand comment #25: is the pr fixed or is it still failing for the above test on x86_64-apple-darwin11 (it passes on x86_64-apple-darwin10)?