------- Comment #11 from howarth at nitro dot med dot uc dot edu 2010-02-02 22:55 ------- Building gcc trunk with...
Index: configure =================================================================== --- configure (revision 156440) +++ configure (working copy) @@ -7292,7 +7292,7 @@ extra_arflags_for_target=" -X32_64" extra_nmflags_for_target=" -B -X32_64" ;; - *-*-darwin*) + *-*-darwin[89]*) # ranlib from Darwin requires the -c flag to look at common symbols. extra_ranlibflags_for_target=" -c" ;; on x86_64-apple-darwin10 doesn't produce any regressions... http://gcc.gnu.org/ml/gcc-testresults/2010-02/msg00168.html I am checking with Mike Stump but I suspect that the requirement of -c with ranlib is a depreciated 'feature' from earlier Xcode. In particular, the comments in the ranlib manpage on darwin10.... -c Include common symbols as definitions with respect to the table of contents. This is seldom the intended behavior for linking from a library, as it forces the linking of a library member just because it uses an uninitialized global that is undefined at that point in the linking. This option is included only because this was the original behavior of ranlib. This option is not the default. suggest that this is feature being depreciated out. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42554