http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51297
--- Comment #10 from ro at CeBiTec dot Uni-Bielefeld.DE <ro at CeBiTec dot
Uni-Bielefeld.DE> 2011-11-25 10:20:28 UTC ---
> The patch solves the problem for me.
Same on i386-pc-solaris2.8 (all gcc.misc-tests/gcov and g++.dg/gcov
tests) and alpha-dec-osf5.1b (with one exception:
Executing on host: /var/gcc/regression/trunk/5.1b-gcc/build/gcc/xgcc
-B/var/gcc/
regression/trunk/5.1b-gcc/build/gcc/
/vol/gcc/src/hg/trunk/local/gcc/testsuite/g
cc.misc-tests/gcov-14.c -O2 -fprofile-arcs -ftest-coverage -lm -o
./gcov-1
4.exe (timeout = 300)
Foo^M^M
collect2: error: ld returned 1 exit status^M^M
compiler exited with status 1
output is:
Foo^M^M
collect2: error: ld returned 1 exit status^M^M
FAIL: gcc.misc-tests/gcov-14.c (test for excess errors)
Excess errors:
Foo
WARNING: gcc.misc-tests/gcov-14.c compilation failed to produce executable
This happens because ECOFF doesn't support weakrefs,
cf. config/weakref.m4 at the toplevel.
Rainer