From f222ccb8d78434a38e592fca3cc8b76906e80955 Mon Sep 17 00:00:00 2001 From: Jan-Simon Möller Date: Sat, 7 Sep 2019 23:35:31 +0200 Subject: Fix build of elfutils with newer gcc MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit +Partial backport of +https://sourceware.org/git/?p=elfutils.git;a=commit;h=17d7194d291bf91d130b78e06cbe27b290e0376d + +Helps fixing alignment errors e.g. +linux-core-note.c:116:1: error: alignment 2 of 'struct m68k_prstatus +' is less than 4 [-Werror=packed-not-aligned] + ; + ^ + +Upstream-Status: Backport [https://sourceware.org/git/?p=elfutils.git;a=commit;h=17d7194d291bf91d130b78e06cbe27b290e0376d] Reference: https://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=f67a0bae8bc22d227f73579b2bc780719bbdeb1b Bug-AGL: SPEC-2806 Change-Id: Iaed60d6b5b353a67de969d42680195769ecace53 Signed-off-by: Jan-Simon Möller --- meta-agl-bsp/recipes-devtools/elfutils/elfutils_%.bbappend | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 meta-agl-bsp/recipes-devtools/elfutils/elfutils_%.bbappend (limited to 'meta-agl-bsp/recipes-devtools/elfutils/elfutils_%.bbappend') diff --git a/meta-agl-bsp/recipes-devtools/elfutils/elfutils_%.bbappend b/meta-agl-bsp/recipes-devtools/elfutils/elfutils_%.bbappend new file mode 100644 index 000000000..c336f0c74 --- /dev/null +++ b/meta-agl-bsp/recipes-devtools/elfutils/elfutils_%.bbappend @@ -0,0 +1,3 @@ +FILESEXTRAPATHS_prepend := "${THISDIR}/files:" +SRC_URI_append = " file://0001-Ensure-that-packed-structs-follow-the-gcc-memory-lay.patch" + -- cgit 1.2.3-korg