diff options
-rw-r--r-- | chapter01/changelog.xml | 13 | ||||
-rw-r--r-- | chapter01/whatsnew.xml | 3 | ||||
-rw-r--r-- | chapter03/packages.xml | 9 | ||||
-rw-r--r-- | chapter06/chapter06.xml | 2 | ||||
-rw-r--r-- | chapter06/libelf.xml | 84 | ||||
-rw-r--r-- | chapter06/libffi.xml | 8 | ||||
-rw-r--r-- | general.ent | 4 | ||||
-rw-r--r-- | packages.ent | 14 |
8 files changed, 127 insertions, 10 deletions
diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index 69456e8e5..baa982403 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -43,6 +43,19 @@ appropriate for the entry or if needed the entire day's listitem. --> <listitem> + <para>2018-01-12</para> + <itemizedlist> + <listitem> + <para>[dj] - Add Libelf (Elfutils) 0.107.</para> + </listitem> + <listitem> + <para>[dj] - Update to Linux-4.14.13. Fixes + <ulink url="&lfs-ticket-root;4195">#4195</ulink>.</para> + </listitem> + </itemizedlist> + </listitem> + + <listitem> <para>2018-01-11</para> <itemizedlist> <listitem> diff --git a/chapter01/whatsnew.xml b/chapter01/whatsnew.xml index b81d1ed77..ce5d7beeb 100644 --- a/chapter01/whatsnew.xml +++ b/chapter01/whatsnew.xml @@ -150,6 +150,9 @@ <para>Libcap-&libcap-version;</para> </listitem>--> <listitem> + <para>Libelf-&elfutils-version;</para> + </listitem> + <listitem> <para>Libpipeline-&libpipeline-version;</para> </listitem> <!--<listitem> diff --git a/chapter03/packages.xml b/chapter03/packages.xml index 78311bfad..d34558cee 100644 --- a/chapter03/packages.xml +++ b/chapter03/packages.xml @@ -158,6 +158,15 @@ </varlistentry> <varlistentry> + <term>Elfutils (&elfutils-version;) - <token>&elfutils-size;</token>:</term> + <listitem> + <para>Home page: <ulink url="&elfutils-home;"/></para> + <para>Download: <ulink url="&elfutils-url;"/></para> + <para>MD5 sum: <literal>&elfutils-md5;</literal></para> + </listitem> + </varlistentry> + + <varlistentry> <term>Expat (&expat-version;) - <token>&expat-size;</token>:</term> <listitem> <para>Home page: <ulink url="&expat-home;"/></para> 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 @@ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="xz.xml"/> <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="kmod.xml"/> <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="gettext.xml"/> - + <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libelf.xml"/> <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libffi.xml"/> <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="python.xml"/> <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ninja.xml"/> 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 @@ +<?xml version="1.0" encoding="ISO-8859-1"?> +<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" + "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ + <!ENTITY % general-entities SYSTEM "../general.ent"> + %general-entities; +]> + +<sect1 id="ch-system-libelf" role="wrap"> + <?dbhtml filename="elfutils.html"?> + + <sect1info condition="script"> + <productname>elfutils</productname> + <productnumber>&elfutils-version;</productnumber> + <address>&elfutils-url;</address> + </sect1info> + + <title>Libelf &elfutils-version;</title> + + <indexterm zone="ch-system-libelf"> + <primary sortas="a-Libelf">Libelf</primary> + </indexterm> + + <sect2 role="package"> + <title/> + + <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</title> + + <para>Libelf is part of elfutils-&elfutils-version; package. Use + the elfutils-&elfutils-version;.tar.xz as the source tarball.</para> + + <para>Prepare Libelf for compilation:</para> + +<screen><userinput remap="configure">./configure --prefix=/usr</userinput></screen> + + <para>Compile the package:</para> + +<screen><userinput remap="make">make</userinput></screen> + + <para>To test the results, issue <command>make check</command>.</para> + + <para>Install the needed libraries:</para> + +<screen><userinput remap="install">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</userinput></screen> + + </sect2> + + <sect2 id="contents-elfutils" role="content"> + <title>Contents of Libelf</title> + + <segmentedlist> + <segtitle>Installed Library</segtitle> + + <seglistitem> + <seg> + libelf.so + </seg> + </seglistitem> + </segmentedlist> + + </sect2> + +</sect1> 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 @@ <address>&libffi-url;</address> </sect1info> - <title>libffi-&libffi-version;</title> + <title>Libffi-&libffi-version;</title> <indexterm zone="ch-system-libffi"> <primary sortas="a-libffi">libffi</primary> @@ -23,7 +23,7 @@ <sect2 role="package"> <title/> - <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</title> + <title>Installation of Libffi</title> <para>Modify the Makefile to install headers into the standard <filename class="directory">/usr/include</filename> directory instead of @@ -72,7 +72,7 @@ sed -e '/^includedir/ s/=.*$/=@includedir@/' \ </sect2> <sect2 id="contents-libffi" role="content"> - <title>Contents of libffi</title> + <title>Contents of Libffi</title> <segmentedlist> <segtitle>Installed library</segtitle> diff --git a/general.ent b/general.ent index 832c48841..1c2ca1227 100644 --- a/general.ent +++ b/general.ent @@ -1,4 +1,4 @@ -<!ENTITY version "SVN-20180111"> +<!ENTITY version "SVN-20180112"> <!ENTITY short-version "svn"> <!-- Used below in &blfs-book; Change to x.y for release but not -rc releases --> <!ENTITY generic-version "development"> <!-- Use "development" or "x.y[-pre{x}]" --> @@ -7,7 +7,7 @@ <!ENTITY short-versiond "systemd"> <!ENTITY generic-versiond "systemd"> -<!ENTITY releasedate "January 11, 2018"> +<!ENTITY releasedate "January 12, 2018"> <!ENTITY copyrightdate "1999-2018"><!-- jhalfs needs a literal dash, not – --> <!ENTITY milestone "8.2"> diff --git a/packages.ent b/packages.ent index 12ba0daf7..f3a6e6219 100644 --- a/packages.ent +++ b/packages.ent @@ -145,6 +145,14 @@ <!ENTITY e2fsprogs-ch6-du "58 MB"> <!ENTITY e2fsprogs-ch6-sbu "3.3 SBU"> +<!ENTITY elfutils-version "0.170"> +<!ENTITY elfutils-size "8,168"> +<!ENTITY elfutils-url "https://sourceware.org/ftp/elfutils/&elfutils-version;/elfutils-&elfutils-version;.tar.bz2"> +<!ENTITY elfutils-md5 "03599aee98c9b726c7a732a2dd0245d5"> +<!ENTITY elfutils-home "https://sourceware.org/ftp/elfutils/"> +<!ENTITY elfutils-ch6-du "78 MB"> +<!ENTITY elfutils-ch6-sbu "0.9 SBU"> + <!ENTITY eudev-version "3.2.5"> <!ENTITY eudev-size "1,814"> <!ENTITY eudev-url "http://dev.gentoo.org/~blueness/eudev/eudev-&eudev-version;.tar.gz"> @@ -408,12 +416,12 @@ <!ENTITY linux-major-version "4"> <!ENTITY linux-minor-version "14"> -<!ENTITY linux-patch-version "12"> +<!ENTITY linux-patch-version "13"> <!--<!ENTITY linux-version "&linux-major-version;.&linux-minor-version;">i--> <!ENTITY linux-version "&linux-major-version;.&linux-minor-version;.&linux-patch-version;"> -<!ENTITY linux-size "98,453 KB"> +<!ENTITY linux-size "98,464 KB"> <!ENTITY linux-url "&kernel;linux/kernel/v&linux-major-version;.x/linux-&linux-version;.tar.xz"> -<!ENTITY linux-md5 "746e5b2f0ab0ace9e33f436fcb69f2e1"> +<!ENTITY linux-md5 "4e8bb562f8fd33d5ef1feb0435ed2b02"> <!ENTITY linux-home "http://www.kernel.org/"> <!-- measured for 4.8.3 / gcc-6.2.0 on x86_64 : minimum is allnoconfig extended for a hopefully-bootable build on desktop machine, |