public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug gcov-profile/51807] New: Fail to generate .gcno file when use libtool to compile la library
@ 2012-01-10  3:28 beanflowersh at gmail dot com
  2012-01-10  7:10 ` [Bug gcov-profile/51807] " beanflowersh at gmail dot com
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: beanflowersh at gmail dot com @ 2012-01-10  3:28 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51807

             Bug #: 51807
           Summary: Fail to generate .gcno file when use libtool to
                    compile la library
    Classification: Unclassified
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: critical
          Priority: P3
         Component: gcov-profile
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: beanflowersh@gmail.com


1.The project need to use libtool to compile la files.
2.Add LIBS+=" -lgcov" in configure
3.configure CFLAGS="-g -Wall -Werror -Wno-unknown-pragmas -fprofile-arcs
-ftest-coverage" \
             CXXFLAGS="-g -Wall -Werror -Wno-unknown-pragmas -fprofile-arcs
-ftest-coverage" \
             --enable-unit-tests \
             --enable-libcurl \
             --disable-shared \
             --enable-developer-mode \

4.make
5.Check the la related cpp files ant gcov didn't generate .gcno file.

Is there any work around to resolve this issue? or if it needs to add
additional parameter.


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-01-17 15:26 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-01-10  3:28 [Bug gcov-profile/51807] New: Fail to generate .gcno file when use libtool to compile la library beanflowersh at gmail dot com
2012-01-10  7:10 ` [Bug gcov-profile/51807] " beanflowersh at gmail dot com
2012-01-10  9:45 ` rguenth at gcc dot gnu.org
2012-01-11  1:46 ` beanflowersh at gmail dot com
2012-01-17 15:39 ` ubizjak at gmail dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).