Bug 5680 - elfutils fails to compile with GCC 4.8
Summary: elfutils fails to compile with GCC 4.8
Status: RESOLVED WONTFIX
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: devtools / tool chain (show other bugs)
Version: 1.3
Hardware: x86 Multiple
: Low janitors
Target Milestone: 1.3.2
Assignee: Unassigned
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2013-12-19 18:44 UTC by Esteve Fernandez
Modified: 2014-04-23 15:15 UTC (History)
4 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments
This patch replaces %a with %m so elfutils can be compiled with GCC 4.8 (2.89 KB, patch)
2013-12-19 18:44 UTC, Esteve Fernandez
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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