aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06
diff options
context:
space:
mode:
authorPierre Labastie <pieere@linuxfromscratch.org>2021-02-02 21:35:59 +0000
committerPierre Labastie <pieere@linuxfromscratch.org>2021-02-02 21:35:59 +0000
commitdf2e99e94db203e66a798ef7f070d6e96560e8e7 (patch)
treea12d702861c2f4710f9f1f016aa7d424bae4950f /chapter06
parent428695cb4a5b0a2b0b52f4efaa971426943a2e16 (diff)
Really apply various fixes for building with glibc-2.33,
and change the order in chapter 8 so that everything is built against chapter 8 glibc. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@12112 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06')
-rw-r--r--chapter06/binutils-pass2.xml3
-rw-r--r--chapter06/file.xml12
2 files changed, 13 insertions, 2 deletions
diff --git a/chapter06/binutils-pass2.xml b/chapter06/binutils-pass2.xml
index 9361c6717..4cd09fc88 100644
--- a/chapter06/binutils-pass2.xml
+++ b/chapter06/binutils-pass2.xml
@@ -87,7 +87,8 @@ cd build</userinput></screen>
<para>Install the package:</para>
-<screen><userinput remap="install">make DESTDIR=$LFS install</userinput></screen>
+<screen><userinput remap="install">make DESTDIR=$LFS install
+install -vm755 libctf/.libs/libctf.so.0.0.0 $LFS/usr/lib</userinput></screen>
<para>
Workaround an issue causing
diff --git a/chapter06/file.xml b/chapter06/file.xml
index 0d00a1848..f46f3295d 100644
--- a/chapter06/file.xml
+++ b/chapter06/file.xml
@@ -43,6 +43,16 @@
<sect2 role="installation">
<title>Installation of File</title>
+ <para>The build host <quote>file</quote> command iwith the same version as
+ the one we are building is needed for building the signature file. Run the
+ following commands to build it:</para>
+
+<screen><userinput remap="pre">mkdir build
+pushd build
+../configure
+make
+popd</userinput></screen>
+
<para>Prepare File for compilation:</para>
<screen><userinput remap="configure">./configure --prefix=/usr --host=$LFS_TGT --build=$(./config.guess)</userinput></screen>
@@ -54,7 +64,7 @@
cross-compiling, and use the just built "file". -->
<para>Compile the package:</para>
-<screen><userinput remap="make">make</userinput></screen>
+<screen><userinput remap="make">make FILE_COMPILE=$(pwd)/build/src/file</userinput></screen>
<para>Install the package:</para>