]> code.ossystems Code Review - openembedded-core.git/commit
elfutils: fix building elfutils-native with GCC7
authorCody P Schafer <dev@codyps.com>
Wed, 7 Jun 2017 20:36:44 +0000 (16:36 -0400)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 29 Aug 2017 14:11:37 +0000 (15:11 +0100)
commit3b91be97ae8c36cd6bad86fed992efc9800f4c9e
treef7f7363be3051ad80bfd865e995ab559a1e6616b
parentad685600d52b2e8b6f4cdbf46baa9f14b51565dd
elfutils: fix building elfutils-native with GCC7

This is heavily based on the oe-core master commit with the same
subject, but includes a backport of upstream's fix for the fallthrough
warnings rebased to 0.166 (the oe-core patch which targeted 0.168 did
not apply), a rebase of the format-truncation patch, and a backport of
the upstream format-length patch.

Info from OE-Core master patch follows:

From OE-Core rev: aaf4c4f3d09ac3897205417eb15e19d54e0c0d05
From: Joshua Lock <joshua.g.lock@intel.com>

Backport a fix from upstream for a -Wformat-truncation=2 warning
and implement a simple fix for a -Wimplicit-fallthrough warning.

Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Cody P Schafer <dev@codyps.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
meta/recipes-devtools/elfutils/elfutils-0.166/0001-Add-GCC7-Wimplicit-fallthrough-support-fixes.patch [new file with mode: 0644]
meta/recipes-devtools/elfutils/elfutils-0.166/0001-ar-Fix-GCC7-Wformat-length-issues.patch [new file with mode: 0644]
meta/recipes-devtools/elfutils/elfutils-0.166/Fix_one_GCC7_warning.patch [new file with mode: 0644]
meta/recipes-devtools/elfutils/elfutils-0.166/fallthrough.patch [new file with mode: 0644]
meta/recipes-devtools/elfutils/elfutils_0.166.bb