From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7166 invoked by alias); 19 Dec 2006 15:08:30 -0000 Received: (qmail 7112 invoked by uid 48); 19 Dec 2006 15:08:18 -0000 Date: Tue, 19 Dec 2006 15:08:00 -0000 Subject: [Bug gcov-profile/30258] New: [4.1.0] undefined reference to `__gcov_one_value_profiler' X-Bugzilla-Reason: CC Message-ID: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "marion dot deveaud at siemens dot com" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2006-12/txt/msg01595.txt.bz2 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