From owner-freebsd-stable Wed Jun 19 19:20:36 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mail.sandvine.com (sandvine.com [199.243.201.138]) by hub.freebsd.org (Postfix) with ESMTP id 6F9B037B409 for ; Wed, 19 Jun 2002 19:20:30 -0700 (PDT) Received: by mail.sandvine.com with Internet Mail Service (5.5.2653.19) id ; Wed, 19 Jun 2002 22:20:29 -0400 Message-ID: From: Don Bowman To: "'freebsd-stable@freebsd.org'" Subject: gcov in gcc30 port? Date: Wed, 19 Jun 2002 22:20:28 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Has anyone tried using the coverage analysis in the gcc3.0.4 port? I get an undefined reference for LPBX0 when I try. Is there some additional file I need to link (I can't find this symbol anywhere on my system). The 2.95 compiler seems to work: $ gcc -ftest-coverage -fprofile-arcs t.c $ gcc30 -ftest-coverage -fprofile-arcs t.c /var/tmp/ccTO614K.o(.stab+0x14): undefined reference to `LPBX0' collect2: ld returned 1 exit status $ gcc -v Using builtin specs. gcc version 2.95.3 20010315 (release) [FreeBSD] $ gcc30 -v Reading specs from /usr/local/lib/gcc-lib/i386-portbld-freebsd5.0/3.0.4/specs Configured with: ./..//gcc-3.0.4/configure --disable-nls --with-gnu-as --with-gnu-ld --with-gxx-include-dir=/usr/local/lib/gcc-lib/i386-portbld-freebsd5.0/3.0.4/ include/g++ --disable-shared --prefix=/usr/local i386-portbld-freebsd5.0 Thread model: posix gcc version 3.0.4 --don To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message