public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug gcov-profile/47793] New: Relative path in fprofile-use turns into absolute path
@ 2011-02-18  2:23 martin.gccbugs at gmail dot com
  2011-04-04 12:15 ` [Bug gcov-profile/47793] " dnovillo at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: martin.gccbugs at gmail dot com @ 2011-02-18  2:23 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: Relative path in fprofile-use turns into absolute path
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: gcov-profile
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: martin.gccbugs@gmail.com


I noticed that I was unable to specify a relative path when generating gcda
files:

# ${trunk_gcc} -Wall  -fprofile-generate=./fdoprof -fprofile-arcs in.c -o
trunk.out 
# ./trunk.out
profiling:/./fdoprof:Cannot create directory
profiling:/./fdoprof/in.gcda:Skip

I believe this was introduced in
http://gcc.gnu.org/viewcvs?view=revision&revision=165596

gcc version 4.6.0 20110211
Target: x86_64-unknown-linux-gnu


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

* [Bug gcov-profile/47793] Relative path in fprofile-use turns into absolute path
  2011-02-18  2:23 [Bug gcov-profile/47793] New: Relative path in fprofile-use turns into absolute path martin.gccbugs at gmail dot com
@ 2011-04-04 12:15 ` dnovillo at gcc dot gnu.org
  2011-05-13 16:12 ` martinthuresson at gcc dot gnu.org
  2012-07-22  0:02 ` steven at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: dnovillo at gcc dot gnu.org @ 2011-04-04 12:15 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from Diego Novillo <dnovillo at gcc dot gnu.org> 2011-04-04 12:14:01 UTC ---
Author: dnovillo
Date: Mon Apr  4 12:13:54 2011
New Revision: 171935

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=171935
Log:
2011-04-04  Martin Thuresson  <martint@google.com>

       PR gcov-profile/47793
       * gcc.dg/pr47793.c: New test

Added:
    branches/google/main/gcc/testsuite/ChangeLog.google-main
    branches/google/main/gcc/testsuite/gcc.dg/pr47793.c


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

* [Bug gcov-profile/47793] Relative path in fprofile-use turns into absolute path
  2011-02-18  2:23 [Bug gcov-profile/47793] New: Relative path in fprofile-use turns into absolute path martin.gccbugs at gmail dot com
  2011-04-04 12:15 ` [Bug gcov-profile/47793] " dnovillo at gcc dot gnu.org
@ 2011-05-13 16:12 ` martinthuresson at gcc dot gnu.org
  2012-07-22  0:02 ` steven at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: martinthuresson at gcc dot gnu.org @ 2011-05-13 16:12 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from martinthuresson at gcc dot gnu.org 2011-05-13 15:57:25 UTC ---
Author: martinthuresson
Date: Fri May 13 15:57:20 2011
New Revision: 173735

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=173735
Log:
2011-05-13  Martin Thuresson  <martint@google.com>

    PR gcov-profile/47793
    * libgcov.c (gcov_exit): Support relative profile paths.
    * doc/invoke.texi (-fprofile-dir): Update for above change.

2011-05-13  Martin Thuresson  <martint@google.com>

    PR gcov-profile/47793
    * gcc.dg/pr47793.c: New.


Added:
    trunk/gcc/testsuite/gcc.dg/pr47793.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/doc/invoke.texi
    trunk/gcc/libgcov.c
    trunk/gcc/testsuite/ChangeLog


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

* [Bug gcov-profile/47793] Relative path in fprofile-use turns into absolute path
  2011-02-18  2:23 [Bug gcov-profile/47793] New: Relative path in fprofile-use turns into absolute path martin.gccbugs at gmail dot com
  2011-04-04 12:15 ` [Bug gcov-profile/47793] " dnovillo at gcc dot gnu.org
  2011-05-13 16:12 ` martinthuresson at gcc dot gnu.org
@ 2012-07-22  0:02 ` steven at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: steven at gcc dot gnu.org @ 2012-07-22  0:02 UTC (permalink / raw)
  To: gcc-bugs

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

Steven Bosscher <steven at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |steven at gcc dot gnu.org
         Resolution|                            |FIXED

--- Comment #3 from Steven Bosscher <steven at gcc dot gnu.org> 2012-07-22 00:02:22 UTC ---
I don't see in what way this is not fixed...


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

end of thread, other threads:[~2012-07-22  0:02 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-02-18  2:23 [Bug gcov-profile/47793] New: Relative path in fprofile-use turns into absolute path martin.gccbugs at gmail dot com
2011-04-04 12:15 ` [Bug gcov-profile/47793] " dnovillo at gcc dot gnu.org
2011-05-13 16:12 ` martinthuresson at gcc dot gnu.org
2012-07-22  0:02 ` steven at gcc dot gnu.org

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).