This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug testsuite/48480] FAIL: staticrootslib.lo -O2 (test for excess errors)
- From: "ro at CeBiTec dot Uni-Bielefeld.DE" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 6 Apr 2011 13:20:34 +0000
- Subject: [Bug testsuite/48480] FAIL: staticrootslib.lo -O2 (test for excess errors)
- Auto-submitted: auto-generated
- References: <bug-48480-4@http.gcc.gnu.org/bugzilla/>
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