From e03d5e49af5d60eebff308f1da5293de45f05805 Mon Sep 17 00:00:00 2001 From: DJ Lucas Date: Fri, 12 Jan 2018 17:28:42 +0000 Subject: [PATCH] Update to Linux-4.14.13. Add Libelf-0.107. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11350 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter01/changelog.xml | 13 +++++++ chapter01/whatsnew.xml | 3 ++ chapter03/packages.xml | 9 +++++ chapter06/chapter06.xml | 2 +- chapter06/libelf.xml | 84 +++++++++++++++++++++++++++++++++++++++++ chapter06/libffi.xml | 8 ++-- general.ent | 4 +- packages.ent | 14 +++++-- 8 files changed, 127 insertions(+), 10 deletions(-) create mode 100644 chapter06/libelf.xml diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index 69456e8e5..baa982403 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -42,6 +42,19 @@ or as appropriate for the entry or if needed the entire day's listitem. --> + + 2018-01-12 + + + [dj] - Add Libelf (Elfutils) 0.107. + + + [dj] - Update to Linux-4.14.13. Fixes + #4195. + + + + 2018-01-11 diff --git a/chapter01/whatsnew.xml b/chapter01/whatsnew.xml index b81d1ed77..ce5d7beeb 100644 --- a/chapter01/whatsnew.xml +++ b/chapter01/whatsnew.xml @@ -149,6 +149,9 @@ + + Libelf-&elfutils-version; + Libpipeline-&libpipeline-version; diff --git a/chapter03/packages.xml b/chapter03/packages.xml index 78311bfad..d34558cee 100644 --- a/chapter03/packages.xml +++ b/chapter03/packages.xml @@ -157,6 +157,15 @@ + + Elfutils (&elfutils-version;) - &elfutils-size;: + + Home page: + Download: + MD5 sum: &elfutils-md5; + + + Expat (&expat-version;) - &expat-size;: diff --git a/chapter06/chapter06.xml b/chapter06/chapter06.xml index ded9bc0ce..ab837e402 100644 --- a/chapter06/chapter06.xml +++ b/chapter06/chapter06.xml @@ -58,7 +58,7 @@ - + diff --git a/chapter06/libelf.xml b/chapter06/libelf.xml new file mode 100644 index 000000000..2b231198c --- /dev/null +++ b/chapter06/libelf.xml @@ -0,0 +1,84 @@ + + + %general-entities; +]> + + + + + + elfutils + &elfutils-version; +
&elfutils-url;
+
+ + Libelf &elfutils-version; + + + Libelf + + + + + + <para>Libelf is a library for handling ELF (Executable and Linkable Format) + files.</para> + + <segmentedlist> + <segtitle>&buildtime;</segtitle> + <segtitle>&diskspace;</segtitle> + + <seglistitem> + <seg>&elfutils-ch6-sbu;</seg> + <seg>&elfutils-ch6-du;</seg> + </seglistitem> + </segmentedlist> + + </sect2> + + <sect2 role="installation"> + <title>Installation of Libelf + + Libelf is part of elfutils-&elfutils-version; package. Use + the elfutils-&elfutils-version;.tar.xz as the source tarball. + + Prepare Libelf for compilation: + +./configure --prefix=/usr + + Compile the package: + +make + + To test the results, issue make check. + + Install the needed libraries: + +install -vm755 libelf/libelf.so /usr/lib/libelf-0.170.so +install -vm644 config/libelf.pc /usr/lib/pkgconfig +install -vm644 libelf/libelf.h /usr/include +install -vm644 libelf/gelf.h /usr/include +install -vm644 libelf/nlist.h /usr/include +ln -sf libelf-0.170.so /usr/lib/libelf-1.so +ln -sf libelf-0.170.so /usr/lib/libelf.so + + + + + Contents of Libelf + + + Installed Library + + + + libelf.so + + + + + + +
diff --git a/chapter06/libffi.xml b/chapter06/libffi.xml index c04a39f69..5ebc27270 100644 --- a/chapter06/libffi.xml +++ b/chapter06/libffi.xml @@ -14,7 +14,7 @@
&libffi-url;
- libffi-&libffi-version; + Libffi-&libffi-version; libffi @@ -23,7 +23,7 @@ - <para>The libffi library provides a portable, high level programming + <para>The Libffi library provides a portable, high level programming interface to various calling conventions. This allows a programmer to call any function specified by a call interface description at run time.</para> @@ -40,7 +40,7 @@ </sect2> <sect2 role="installation"> - <title>Installation of libffi + Installation of Libffi Modify the Makefile to install headers into the standard /usr/include directory instead of @@ -72,7 +72,7 @@ sed -e '/^includedir/ s/=.*$/=@includedir@/' \ - Contents of libffi + Contents of Libffi Installed library diff --git a/general.ent b/general.ent index 832c48841..1c2ca1227 100644 --- a/general.ent +++ b/general.ent @@ -1,4 +1,4 @@ - + @@ -7,7 +7,7 @@ - + diff --git a/packages.ent b/packages.ent index 12ba0daf7..f3a6e6219 100644 --- a/packages.ent +++ b/packages.ent @@ -145,6 +145,14 @@ + + + + + + + + @@ -408,12 +416,12 @@ - + - + - +