From 73a1157da674027fc033876d7f183b0afde60613 Mon Sep 17 00:00:00 2001 From: Bruce Dubbs Date: Sat, 5 May 2018 21:17:38 +0000 Subject: Update to gcc-8.1.0. Update to linux-4.16.7. Update to man-pages-4.16. Update to meson-0.46.0. Update to shadow-4.6. Update to tzdata-2018e. Update to xz-5.2.4. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11406 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter06/libelf.xml | 7 +++++++ chapter06/strippingagain.xml | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) (limited to 'chapter06') diff --git a/chapter06/libelf.xml b/chapter06/libelf.xml index 56ec31d96..716dd52d4 100644 --- a/chapter06/libelf.xml +++ b/chapter06/libelf.xml @@ -44,6 +44,13 @@ Libelf is part of elfutils-&elfutils-version; package. Use the elfutils-&elfutils-version;.tar.xz as the source tarball. + Fiirst, fix a file to be compatible with gcc-8" + +sed -e '/ALIGN_PRSTATUS)/{ + s/__attribute/attribute_packed &/ + s/packed, //}' \ + -i backends/linux-core-note.c + Prepare Libelf for compilation: ./configure --prefix=/usr diff --git a/chapter06/strippingagain.xml b/chapter06/strippingagain.xml index db4a605b0..821ac8315 100644 --- a/chapter06/strippingagain.xml +++ b/chapter06/strippingagain.xml @@ -45,7 +45,7 @@ done save_usrlib="libquadmath.so.&libquadmath-version; libstdc++.so.&libstdcpp-version; libmpx.so.&libmpx-version; libmpxwrappers.so.&libmpxwrap-version; libitm.so.&libitm-version; - libcilkrts.so.&libcilkrts-version; libatomic.so.&libatomic-version;" + libatomic.so.&libatomic-version;" cd /usr/lib -- cgit v1.2.3-54-g00ecf