1
0
Эх сурвалжийг харах

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

DJ Lucas 7 жил өмнө
parent
commit
e03d5e49af

+ 13 - 0
chapter01/changelog.xml

@@ -42,6 +42,19 @@
     <listitem revision="sysv"> or <listitem revision="systemd"> as
     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>

+ 3 - 0
chapter01/whatsnew.xml

@@ -149,6 +149,9 @@
     <!--<listitem>
       <para>Libcap-&libcap-version;</para>
     </listitem>-->
+    <listitem>
+      <para>Libelf-&elfutils-version;</para>
+    </listitem>
     <listitem>
       <para>Libpipeline-&libpipeline-version;</para>
     </listitem>

+ 9 - 0
chapter03/packages.xml

@@ -157,6 +157,15 @@
       </listitem>
     </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>

+ 1 - 1
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"/>

+ 84 - 0
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>

+ 4 - 4
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>

+ 2 - 2
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 &ndash; -->
 <!ENTITY milestone       "8.2">

+ 11 - 3
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,