Bug 5680

Summary: elfutils fails to compile with GCC 4.8
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Esteve Fernandez <esteve>
Component: devtools / tool chainAssignee: Unassigned <unassigned>
Status: RESOLVED WONTFIX QA Contact:
Severity: janitors    
Priority: Low CC: esteve, meta.mr.watcher, meta.watcher, sgw
Version: 1.3   
Target Milestone: 1.3.2   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)
Attachments:
Description Flags
This patch replaces %a with %m so elfutils can be compiled with GCC 4.8 none

Description Esteve Fernandez 2013-12-19 18:44:13 UTC
Created attachment 1686 [details]
This patch replaces %a with %m so elfutils can be compiled with GCC 4.8

Newer versions of GCC (>= 4.8) removed obsolete format sequence "%a" and introduced "%m" instead. Elfutils fails to compile on platforms that ship with GCC 4.8 (such as Ubuntu 13.10).
Comment 1 Saul Wold 2013-12-30 18:45:34 UTC
The 1.3 version of code is now in community support, so please propose the patch to the mailing list as you already have the patch completed, please add the appropriate patch Header to the fix_for_gcc-4.8.patch, which needs a Upstream-Status: Backport and Signed-off-by:

The newer versions of oe-core already have this fix in it, 1.5 supports building on Ubuntu 13.10
Comment 2 Saul Wold 2014-04-23 15:15:38 UTC
Patch is available here if needed, was never submitted to mailing list as suggested