Bug 2786

Summary: elfutils (addr2line) uses %a
Product: frysk Reporter: Andrew Cagney <cagney>
Component: generalAssignee: Stepan Kasal <skasal>
Severity: normal CC: mark
Priority: P1    
Version: unspecified   
Target Milestone: ---   
Host: Target:
Build: Last reconfirmed:
Bug Depends on:    
Bug Blocks: 2785, 2654    

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.