------- Comment #43 from howarth at nitro dot med dot uc dot edu 2010-04-13 01:54 ------- Interestingly, if you examine clang/lib/Driver/Tools.cpp from the upcoming 2.7 release, you find...
// FIXME: For some reason GCC passes -lgcc before adding // the default system libraries. Just mimic this for now. CmdArgs.push_back("-lgcc"); in both auroraux::Link::ConstructJob() and openbsd::Link::ConstructJob(). I'll ping one of the darwin linker developers about this. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42333