This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug gcov-profile/51297] [4.7 regression] Many gcov tests FAIL on Tru64, Solaris 8 and 9
- 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: Fri, 25 Nov 2011 10:20:28 +0000
- Subject: [Bug gcov-profile/51297] [4.7 regression] Many gcov tests FAIL on Tru64, Solaris 8 and 9
- Auto-submitted: auto-generated
- References: <bug-51297-4@http.gcc.gnu.org/bugzilla/>
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