public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libfortran/63589] New: find_addr2line does not consider last PATH component
@ 2014-10-18 14:17 jb at gcc dot gnu.org
2014-10-18 14:39 ` [Bug libfortran/63589] " jb at gcc dot gnu.org
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: jb at gcc dot gnu.org @ 2014-10-18 14:17 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63589
Bug ID: 63589
Summary: find_addr2line does not consider last PATH component
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: libfortran
Assignee: unassigned at gcc dot gnu.org
Reporter: jb at gcc dot gnu.org
As reported on the ml, " if the PATH is not finished by ':' the last directory
present in the path is NOT processed.". Thus, in case addr2line is installed in
the last directory on the PATH, symbolic backtraces are not available.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug libfortran/63589] find_addr2line does not consider last PATH component
2014-10-18 14:17 [Bug libfortran/63589] New: find_addr2line does not consider last PATH component jb at gcc dot gnu.org
@ 2014-10-18 14:39 ` jb at gcc dot gnu.org
2014-10-20 8:16 ` jb at gcc dot gnu.org
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: jb at gcc dot gnu.org @ 2014-10-18 14:39 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63589
Janne Blomqvist <jb at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
URL| |https://gcc.gnu.org/ml/gcc-
| |patches/2014-10/msg01813.ht
| |ml
--- Comment #1 from Janne Blomqvist <jb at gcc dot gnu.org> ---
Patch at https://gcc.gnu.org/ml/gcc-patches/2014-10/msg01813.html
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug libfortran/63589] find_addr2line does not consider last PATH component
2014-10-18 14:17 [Bug libfortran/63589] New: find_addr2line does not consider last PATH component jb at gcc dot gnu.org
2014-10-18 14:39 ` [Bug libfortran/63589] " jb at gcc dot gnu.org
@ 2014-10-20 8:16 ` jb at gcc dot gnu.org
2014-10-20 8:18 ` jb at gcc dot gnu.org
2014-10-20 8:40 ` jb at gcc dot gnu.org
3 siblings, 0 replies; 5+ messages in thread
From: jb at gcc dot gnu.org @ 2014-10-20 8:16 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63589
--- Comment #3 from Janne Blomqvist <jb at gcc dot gnu.org> ---
Author: jb
Date: Mon Oct 20 08:04:39 2014
New Revision: 216450
URL: https://gcc.gnu.org/viewcvs?rev=216450&root=gcc&view=rev
Log:
PR 63589 Fix splitting of PATH in find_addr2line.
2014-10-20 Janne Blomqvist <jb@gcc.gnu.org>
PR libfortran/63589
* configure.ac: Check for strtok_r.
* runtime/main.c (gfstrtok_r): Fallback implementation of
strtok_r.
(find_addr2line): Use strtok_r to split PATH.
* config.h.in: Regenerated.
* configure: Regenerated.
Modified:
branches/gcc-4_9-branch/libgfortran/ChangeLog
branches/gcc-4_9-branch/libgfortran/config.h.in
branches/gcc-4_9-branch/libgfortran/configure
branches/gcc-4_9-branch/libgfortran/configure.ac
branches/gcc-4_9-branch/libgfortran/runtime/main.c
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug libfortran/63589] find_addr2line does not consider last PATH component
2014-10-18 14:17 [Bug libfortran/63589] New: find_addr2line does not consider last PATH component jb at gcc dot gnu.org
2014-10-18 14:39 ` [Bug libfortran/63589] " jb at gcc dot gnu.org
2014-10-20 8:16 ` jb at gcc dot gnu.org
@ 2014-10-20 8:18 ` jb at gcc dot gnu.org
2014-10-20 8:40 ` jb at gcc dot gnu.org
3 siblings, 0 replies; 5+ messages in thread
From: jb at gcc dot gnu.org @ 2014-10-20 8:18 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63589
--- Comment #4 from Janne Blomqvist <jb at gcc dot gnu.org> ---
Author: jb
Date: Mon Oct 20 08:16:06 2014
New Revision: 216451
URL: https://gcc.gnu.org/viewcvs?rev=216451&root=gcc&view=rev
Log:
PR 63589 Fix splitting of PATH in find_addr2line.
2014-10-20 Janne Blomqvist <jb@gcc.gnu.org>
PR libfortran/63589
* configure.ac: Check for strtok_r.
* runtime/main.c (gfstrtok_r): Fallback implementation of
strtok_r.
(find_addr2line): Use strtok_r to split PATH.
* config.h.in: Regenerated.
* configure: Regenerated.
Modified:
branches/gcc-4_8-branch/libgfortran/ChangeLog
branches/gcc-4_8-branch/libgfortran/config.h.in
branches/gcc-4_8-branch/libgfortran/configure
branches/gcc-4_8-branch/libgfortran/configure.ac
branches/gcc-4_8-branch/libgfortran/runtime/main.c
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug libfortran/63589] find_addr2line does not consider last PATH component
2014-10-18 14:17 [Bug libfortran/63589] New: find_addr2line does not consider last PATH component jb at gcc dot gnu.org
` (2 preceding siblings ...)
2014-10-20 8:18 ` jb at gcc dot gnu.org
@ 2014-10-20 8:40 ` jb at gcc dot gnu.org
3 siblings, 0 replies; 5+ messages in thread
From: jb at gcc dot gnu.org @ 2014-10-20 8:40 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63589
Janne Blomqvist <jb at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |FIXED
--- Comment #5 from Janne Blomqvist <jb at gcc dot gnu.org> ---
Fixed, closing.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2014-10-20 8:18 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-10-18 14:17 [Bug libfortran/63589] New: find_addr2line does not consider last PATH component jb at gcc dot gnu.org
2014-10-18 14:39 ` [Bug libfortran/63589] " jb at gcc dot gnu.org
2014-10-20 8:16 ` jb at gcc dot gnu.org
2014-10-20 8:18 ` jb at gcc dot gnu.org
2014-10-20 8:40 ` jb 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).