Submitted by: DJ Lucas (dj_AT_linuxfromscratch_DOT_org) Date: 2018-05-03 Initial Package Version: 0.170 Upstream Status: Comitted Origin: Debian. Partial backport of https://sourceware.org/git/?p=elfutils.git;a=commit;h=17d7194d291bf91d130b78e06cbe27b290e0376d Description: Fixes build issue with gcc-8.1. diff --git a/backends/linux-core-note.c b/backends/linux-core-note.c index 5f06c896..9faae4c3 100644 --- a/backends/linux-core-note.c +++ b/backends/linux-core-note.c @@ -111,7 +111,7 @@ struct EBLHOOK(prstatus) FIELD (INT, pr_fpvalid); } #ifdef ALIGN_PRSTATUS - __attribute__ ((packed, aligned (ALIGN_PRSTATUS))) + attribute_packed __attribute__ ((aligned (ALIGN_PRSTATUS))) #endif ;