http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48480
--- Comment #1 from ro at CeBiTec dot Uni-Bielefeld.DE <ro at CeBiTec dot Uni-Bielefeld.DE> 2011-04-06 13:20:24 UTC --- > On x86_64-apple-darwin10 the test staticrootslib.lo in the boehm-gc suite > fails > due to the following warnings > > Excess errors: > /usr/bin/ranlib: file: .libs/libstaticrootslib.a(backgraph.o) has no symbols [...] > AFAICT these warnings are rather usual (I see them with 'make install' for a > lot of libraries) and they seem harmless. Indeed, and they should be already pruned in boehm-gc/testsuite/lib/boehm-gc.exp (boehm-gc-dg-prune). That regexp doesn't account for a path to ranlib since that wasn't included in the message Iain Sandoe sent me when first testing my patch. Could you please try the following command instead? regsub -all "(^|\n)(\[^\n\]*ranlib: file: \[^\n\]* has no symbols\n?)+" $text "\\1" text It works with manual testing in tclsh. Thanks. Rainer