Bug 2786 - elfutils (addr2line) uses %a
Summary: elfutils (addr2line) uses %a
Status: RESOLVED FIXED
Alias: None
Product: frysk
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
: P1 normal
Target Milestone: ---
Assignee: Stepan Kasal
URL:
Keywords:
Depends on:
Blocks: frysk-elfutils 2654
  Show dependency treegraph
 
Reported: 2006-06-16 14:43 UTC by Andrew Cagney
Modified: 2017-07-14 08:54 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Cagney 2006-06-16 14:43:42 UTC
The imported elfutils uses scanf %a, which barfs when compiling for fc5

-      switch (sscanf (a.arg, "%a[^:]:%d", &a.file, &a.line))
Comment 1 Andrew Cagney 2006-06-16 15:05:35 UTC
This bug just needs:
- a corresponding upstream bug (bugzilla.redhat.com) and add a link it to it
- the local fix committed with the change log added to this
Comment 2 Mark Wielaard 2017-07-14 08:54:35 UTC
Fixed with commit f231e276bda6395770ebb2fc2d1469def46c2707

* line2addr.c: Use %m modifier instead of %a to appease gcc.