aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/libelf.xml
diff options
context:
space:
mode:
authorBruce Dubbs <bdubbs@linuxfromscratch.org>2018-05-05 21:17:38 +0000
committerBruce Dubbs <bdubbs@linuxfromscratch.org>2018-05-05 21:17:38 +0000
commit73a1157da674027fc033876d7f183b0afde60613 (patch)
tree2beda2cf9e40042f9e0660c80efacb17c5dc84d0 /chapter06/libelf.xml
parentfd86c5114bbaab184d19dd44a6e14ba9a91e35be (diff)
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
Diffstat (limited to 'chapter06/libelf.xml')
-rw-r--r--chapter06/libelf.xml7
1 files changed, 7 insertions, 0 deletions
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 @@
<para>Libelf is part of elfutils-&elfutils-version; package. Use
the elfutils-&elfutils-version;.tar.xz as the source tarball.</para>
+ <para>Fiirst, fix a file to be compatible with gcc-8"</para>
+
+<screen><userinput remap="pre">sed -e '/ALIGN_PRSTATUS)/{
+ s/__attribute/attribute_packed &amp;/
+ s/packed, //}' \
+ -i backends/linux-core-note.c</userinput></screen>
+
<para>Prepare Libelf for compilation:</para>
<screen><userinput remap="configure">./configure --prefix=/usr</userinput></screen>