Date: Wed, 19 Jun 2002 22:20:28 -0400 From: Don Bowman <don@sandvine.com> To: "'freebsd-stable@freebsd.org'" <freebsd-stable@freebsd.org> Subject: gcov in gcc30 port? Message-ID: <FE045D4D9F7AED4CBFF1B3B813C85337676520@mail.sandvine.com>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?FE045D4D9F7AED4CBFF1B3B813C85337676520>