mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-07-28 07:05:58 +01:00
Update to diffutils-3.4.
Update to iproute2-4.7.0. Update to util-linux 2.28.1. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11107 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
parent
a840e5905d
commit
c4e459bfb7
@ -42,6 +42,24 @@
|
||||
<listitem revision="sysv"> or <listitem revision="systemd"> as
|
||||
appropriate for the entry or if needed the entire day's listitem.
|
||||
-->
|
||||
<listitem>
|
||||
<para>2016-08-12</para>
|
||||
<itemizedlist>
|
||||
<listitem>
|
||||
<para>[bdubbs] - Update to diffutils-3.4. Fixes
|
||||
<ulink url="&lfs-ticket-root;3964">#3964</ulink>.</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>[bdubbs] - Update to iproute2-4.7.0. Fixes
|
||||
<ulink url="&lfs-ticket-root;3965">#3965</ulink>.</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>[bdubbs] - Update to util-linux 2.28.1. Fixes
|
||||
<ulink url="&lfs-ticket-root;3966">#3966</ulink>.</para>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
</listitem>
|
||||
|
||||
<listitem revision="systemd">
|
||||
<para>2016-08-11</para>
|
||||
<itemizedlist>
|
||||
|
@ -62,9 +62,9 @@
|
||||
<listitem revision="systemd">
|
||||
<para>D-Bus-&dbus-version;</para>
|
||||
</listitem>
|
||||
<!--<listitem>
|
||||
<listitem>
|
||||
<para>Diffutils &diffutils-version;</para>
|
||||
</listitem>-->
|
||||
</listitem>
|
||||
<listitem revision="sysv">
|
||||
<para>Eudev &eudev-version;</para>
|
||||
</listitem>
|
||||
|
@ -1,79 +0,0 @@
|
||||
<?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-tools-adjusting">
|
||||
<?dbhtml filename="adjusting.html"?>
|
||||
|
||||
<title>Adjusting the Toolchain</title>
|
||||
|
||||
<para>Now that the temporary C libraries have been installed, all
|
||||
tools compiled in the rest of this chapter should be linked against
|
||||
these libraries. In order to accomplish this, the cross-compiler's
|
||||
specs file needs to be adjusted to point to the new dynamic linker
|
||||
in <filename class="directory">/tools</filename>.</para>
|
||||
|
||||
<para>This is done by dumping the compiler's <quote>specs</quote> file to a
|
||||
location where it will look for it by default.
|
||||
A simple <command>sed</command> substitution then alters the
|
||||
dynamic linker that GCC will use. The principle here is to find all references
|
||||
to the dynamic linker file in <filename class="directory">/lib</filename>
|
||||
or possibly <filename class="directory">/lib64</filename> if the host system
|
||||
is 64-bit capable, and adjust them to point to the new location in
|
||||
<filename class="directory">/tools</filename>.</para>
|
||||
|
||||
<para>For the sake of accuracy, it is recommended to use a copy-and-paste
|
||||
method when issuing the following command. Be sure to visually inspect the
|
||||
specs file to verify that it has properly adjusted all references to the
|
||||
dynamic linker location. Refer to <xref
|
||||
linkend="ch-tools-toolchaintechnotes" role=","/> for the default name
|
||||
of the dynamic linker, if necessary.</para>
|
||||
|
||||
<!-- Ampersands are needed to allow copy and paste -->
|
||||
<screen><userinput>SPECS=`dirname $($LFS_TGT-gcc -print-libgcc-file-name)`/specs
|
||||
$LFS_TGT-gcc -dumpspecs | sed \
|
||||
-e 's@/lib\(64\)\?/ld@/tools&@g' \
|
||||
-e "/^\*cpp:$/{n;s,$, -isystem /tools/include,}" > $SPECS
|
||||
echo "New specs file is: $SPECS"
|
||||
unset SPECS</userinput></screen>
|
||||
|
||||
<caution>
|
||||
<para>At this point, it is imperative to stop and ensure that the basic
|
||||
functions (compiling and linking) of the new toolchain are working as
|
||||
expected. To perform a sanity check, run the following commands:</para>
|
||||
|
||||
<screen><userinput>echo 'int main(){}' > dummy.c
|
||||
$LFS_TGT-gcc -B/tools/lib dummy.c
|
||||
readelf -l a.out | grep ': /tools'</userinput></screen>
|
||||
|
||||
<para>If everything is working correctly, there should be no errors,
|
||||
and the output of the last command will be of the form:</para>
|
||||
|
||||
<screen><computeroutput>[Requesting program interpreter: /tools/lib/ld-linux.so.2]</computeroutput></screen>
|
||||
|
||||
<para>Note that <filename class="directory">/tools/lib</filename>, or
|
||||
<filename class="directory">/tools/lib64</filename> for 64-bit machines
|
||||
appears as the prefix of the dynamic linker.</para>
|
||||
|
||||
<para>If the output is not shown as above or there was no output at all,
|
||||
then something is wrong. Investigate and retrace the steps to find out
|
||||
where the problem is and correct it. This issue must be resolved before
|
||||
continuing on. Something may have gone wrong with the
|
||||
specs file amendment above. In this case, redo the specs file amendment,
|
||||
being careful to copy-and-paste the commands.</para>
|
||||
|
||||
<para>Once all is well, clean up the test files:</para>
|
||||
|
||||
<screen><userinput>rm -v dummy.c a.out</userinput></screen>
|
||||
|
||||
</caution>
|
||||
|
||||
<note><para>Building Binutils in the next section will serve as an additional check that
|
||||
the toolchain has been built properly. If Binutils fails to build, it is an
|
||||
indication that something has gone wrong with the previous Binutils, GCC, or Glibc
|
||||
installations.</para></note>
|
||||
|
||||
</sect1>
|
@ -1,13 +1,13 @@
|
||||
<!ENTITY version "SVN-20160811">
|
||||
<!ENTITY version "SVN-20160812">
|
||||
<!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}]" -->
|
||||
|
||||
<!ENTITY versiond "20160811-systemd">
|
||||
<!ENTITY versiond "20160812-systemd">
|
||||
<!ENTITY short-versiond "systemd">
|
||||
<!ENTITY generic-versiond "systemd">
|
||||
|
||||
<!ENTITY releasedate "August 9, 2016">
|
||||
<!ENTITY releasedate "August 12, 2016">
|
||||
<!ENTITY copyrightdate "1999-2016"><!-- jhalfs needs a literal dash, not – -->
|
||||
<!ENTITY milestone "7.10">
|
||||
|
||||
|
18
packages.ent
18
packages.ent
@ -122,10 +122,10 @@
|
||||
<!ENTITY dejagnu-ch5-du "4.2 MB">
|
||||
<!ENTITY dejagnu-ch5-sbu "less than 0.1 SBU">
|
||||
|
||||
<!ENTITY diffutils-version "3.3">
|
||||
<!ENTITY diffutils-size "1,170 KB">
|
||||
<!ENTITY diffutils-version "3.4">
|
||||
<!ENTITY diffutils-size "1,327 KB">
|
||||
<!ENTITY diffutils-url "&gnu;diffutils/diffutils-&diffutils-version;.tar.xz">
|
||||
<!ENTITY diffutils-md5 "99180208ec2a82ce71f55b0d7389f1b3">
|
||||
<!ENTITY diffutils-md5 "df9ca465f30307cffd03da176a43a5d4">
|
||||
<!ENTITY diffutils-home "&gnu-software;diffutils/">
|
||||
<!ENTITY diffutils-ch5-du "19.5 MB">
|
||||
<!ENTITY diffutils-ch5-sbu "0.2 SBU">
|
||||
@ -325,10 +325,10 @@
|
||||
<!ENTITY intltool-ch6-du "1.2 MB">
|
||||
<!ENTITY intltool-ch6-sbu "less than 0.1 SBU">
|
||||
|
||||
<!ENTITY iproute2-version "4.6.0">
|
||||
<!ENTITY iproute2-size "460 KB">
|
||||
<!ENTITY iproute2-version "4.7.0">
|
||||
<!ENTITY iproute2-size "577 KB">
|
||||
<!ENTITY iproute2-url "&kernel;linux/utils/net/iproute2/iproute2-&iproute2-version;.tar.xz">
|
||||
<!ENTITY iproute2-md5 "d015e437e4f744d51d3a1a53341826d5">
|
||||
<!ENTITY iproute2-md5 "d4b205830cdc2702f8a0cbd6232129cd">
|
||||
<!ENTITY iproute2-home "&kernel;linux/utils/net/iproute2/">
|
||||
<!ENTITY iproute2-ch6-du "9.8 MB">
|
||||
<!ENTITY iproute2-ch6-sbu "0.2 SBU">
|
||||
@ -606,10 +606,10 @@
|
||||
<!ENTITY udev-lfs-md5 "c2d6b127f89261513b23b6d458484099">
|
||||
<!ENTITY udev-lfs-home " ">
|
||||
|
||||
<!ENTITY util-linux-version "2.28">
|
||||
<!ENTITY util-linux-size "4,024 KB">
|
||||
<!ENTITY util-linux-version "2.28.1">
|
||||
<!ENTITY util-linux-size "4,061 KB">
|
||||
<!ENTITY util-linux-url "&kernel;linux/utils/util-linux/v2.28/util-linux-&util-linux-version;.tar.xz">
|
||||
<!ENTITY util-linux-md5 "e534e6ccc49107e5d31c329af798ef7d">
|
||||
<!ENTITY util-linux-md5 "e2d863efaf4fd330a42c5efe9f1b02b4">
|
||||
<!ENTITY util-linux-home "http://freecode.com/projects/util-linux">
|
||||
<!ENTITY util-linux-ch5-du "118 MB">
|
||||
<!ENTITY util-linux-ch5-sbu "0.7 SBU">
|
||||
|
Loading…
Reference in New Issue
Block a user