[lfs-patches] r3737 - trunk/elfutils

dj at higgs.linuxfromscratch.org dj at higgs.linuxfromscratch.org
Thu May 3 05:38:20 PDT 2018


Author: dj
Date: Thu May  3 05:38:20 2018
New Revision: 3737

Log:
Add elfutils-0.170-gcc-8-1.patch.

Added:
   trunk/elfutils/
   trunk/elfutils/elfutils-0.170-gcc-8-1.patch

Added: trunk/elfutils/elfutils-0.170-gcc-8-1.patch
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ trunk/elfutils/elfutils-0.170-gcc-8-1.patch	Thu May  3 05:38:20 2018	(r3737)
@@ -0,0 +1,20 @@
+Submitted by:            DJ Lucas (dj_AT_linuxfromscratch_DOT_org)
+Date:                    2017-03-12
+Initial Package Version: 8.27
+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
+ ;
+ 


More information about the patches mailing list