[Bug c/42982] New: regression in gcc.dg/profile-generate-3.c
howarth at nitro dot med dot uc dot edu
gcc-bugzilla@gcc.gnu.org
Sat Feb 6 03:22:00 GMT 2010
The gcc.dg/profile-generate-3.c test case no longer compiles on
*-apple-darwin*. On x86_64-apple-darwin10 the test case produces the error...
Executing on host:
/sw/src/fink.build/gcc45-4.4.999-20100205/darwin_objdir/gcc/xgcc
-B/sw/src/fink.build/gcc45-4.4.999-20100205/darwin_objdir/gcc/
/sw/src/fink.build/gcc45-4.4.999-20100205/gcc-4.5-20100205/gcc/testsuite/gcc.dg/profile-generate-3.c
-fprofile-generate=. -lm -o profile-generate-3.exe (timeout = 300)
Undefined symbols:
"___gcov_merge_add", referenced from:
__data@0 in cc6Pfi4X.o
"___gcov_indirect_call_profiler", referenced from:
_main in cc6Pfi4X.o
global constructors keyed to 65535_0_profile_generate_3.c in cc6Pfi4X.o
"___gcov_init", referenced from:
global constructors keyed to 65535_0_profile_generate_3.c in cc6Pfi4X.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
compiler exited with status 1
output is:
Undefined symbols:
"___gcov_merge_add", referenced from:
__data@0 in cc6Pfi4X.o
"___gcov_indirect_call_profiler", referenced from:
_main in cc6Pfi4X.o
global constructors keyed to 65535_0_profile_generate_3.c in cc6Pfi4X.o
"___gcov_init", referenced from:
global constructors keyed to 65535_0_profile_generate_3.c in cc6Pfi4X.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
FAIL: gcc.dg/profile-generate-3.c (test for excess errors)
Excess errors:
Undefined symbols:
"___gcov_merge_add", referenced from:
__data@0 in cc6Pfi4X.o
"___gcov_indirect_call_profiler", referenced from:
_main in cc6Pfi4X.o
global constructors keyed to 65535_0_profile_generate_3.c in cc6Pfi4X.o
"___gcov_init", referenced from:
global constructors keyed to 65535_0_profile_generate_3.c in cc6Pfi4X.o
ld: symbol(s) not found
Last reported revision that worked was r155525 and first reported revision that
failed was r155604.
--
Summary: regression in gcc.dg/profile-generate-3.c
Product: gcc
Version: 4.5.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: howarth at nitro dot med dot uc dot edu
GCC build triplet: *-apple-darwin*
GCC host triplet: *-apple-darwin*
GCC target triplet: *-apple-darwin*
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42982
More information about the Gcc-bugs
mailing list