[Bug other/42333] complex division failure on darwin10 with -lm

howarth at nitro dot med dot uc dot edu gcc-bugzilla@gcc.gnu.org
Tue Apr 13 01:54:00 GMT 2010



------- 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



More information about the Gcc-bugs mailing list