There are a number of these unsightly warnings (not errors) building gcc on MacOSX:
ranlib: file: libbackend.a(insn-peep.o) has no symbols ranlib: file: libbackend.a(graphite-blocking.o) has no symbols ranlib: file: libbackend.a(graphite-clast-to-gimple.o) has no symbols ranlib: file: libbackend.a(graphite-dependences.o) has no symbols ranlib: file: libbackend.a(graphite-interchange.o) has no symbols ranlib: file: libbackend.a(graphite-poly.o) has no symbols ranlib: file: libbackend.a(graphite-ppl.o) has no symbols ranlib: file: libbackend.a(graphite-scop-detection.o) has no symbols ranlib: file: libbackend.a(graphite-sese-to-poly.o) has no symbols ranlib: file: libbackend.a(loop-doloop.o) has no symbols ranlib: file: libbackend.a(vmsdbgout.o) has no symbols ranlib: file: libbackend.a(xcoffout.o) has no symbols What I've done is at the end of each of them is put: char quash_apple_ranlib_warning_foo; Where "foo" is chosen from the file's non-static symbols. I didn't see insn-peep.c, it is presumably generated, so I didn't fix it. -- Summary: ranlib: file: libbackend Product: gcc Version: 4.5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: jay dot krell at cornell dot edu GCC build triplet: ranlib: file: libbackend.a(xcoffout.o) has no symbols http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44308