Hi everyone, while running the regression tests for a x86_64 cross-toolchain build under Cygwin lots of profiler tests went FAIL or UNRESOLVED. The first FAILed while generating inliner-1.x01:
/usr/local/build-root/build-sles10-64/x86_64-pc-linux-gcc/gcc/xgcc -B/usr/local/build-root/build-sles10-64/x86_64-pc-linux-gcc/gcc/ /usr/src/gcc-4.1.0/gcc/testsuite/gcc.dg/tree-prof/inliner-1.c -O2 -fdump-tree-optimized -fprofile-generate -fno-show-column -lm -o /usr/local/build-root/build-sles10-64/x86_64-pc-linux-gcc/gcc/testsuite/inliner-1.x01 inliner-1.o: In function `hot_function': inliner-1.c:(.text+0x39): undefined reference to `__gcov_one_value_profiler' inliner-1.o: In function `cold_function': inliner-1.c:(.text+0x99): undefined reference to `__gcov_one_value_profiler' inliner-1.o: In function `main': inliner-1.c:(.text+0x115): undefined reference to `__gcov_one_value_profiler' inliner-1.c:(.text+0x164): undefined reference to `__gcov_one_value_profiler' collect2: ld returned 1 exit status The second type of failure is while retriving the profiler data: file update-cunroll-2.gcda does not exist, -fprofile-generate. gcc was configured with following options: ./configure --target= x86_64-pc-linux --prefix= /usr/local/sles-x86_64 --enable-languages=c,c++ --enable-shared --enable-threads=posix --disable-multilib --enable-__cxa_atexit Any idea ? -- Summary: [4.1.0] undefined reference to `__gcov_one_value_profiler' Product: gcc Version: 4.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: gcov-profile AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: marion dot deveaud at siemens dot com GCC build triplet: i686-pc-cygwin GCC host triplet: i686-pc-cygwin GCC target triplet: x86_64-pc-linux http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30258