diff options
author | Bruce Dubbs <bdubbs@linuxfromscratch.org> | 2020-06-12 04:40:07 +0000 |
---|---|---|
committer | Bruce Dubbs <bdubbs@linuxfromscratch.org> | 2020-06-12 04:40:07 +0000 |
commit | 6a156bab1b41dfcbebcf69325dff81b73a2afad7 (patch) | |
tree | 39451253ebce7058ff7282090bd572ac36dff998 /chapter08/glibc.xml | |
parent | ea7ec72fba2b9749da2c22db67152eccaef5dfb0 (diff) |
Mostly text updates in Chapter 8.
There are a couple of minor command changes.
git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/cross2@11924 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter08/glibc.xml')
-rw-r--r-- | chapter08/glibc.xml | 50 |
1 files changed, 6 insertions, 44 deletions
diff --git a/chapter08/glibc.xml b/chapter08/glibc.xml index 7d993d509..05a0b880e 100644 --- a/chapter08/glibc.xml +++ b/chapter08/glibc.xml @@ -49,34 +49,7 @@ store their runtime data in the FHS-compliant locations:</para> <screen><userinput remap="pre">patch -Np1 -i ../&glibc-fhs-patch;</userinput></screen> -<!-- - <para>Fix a minor security issue with glob functions:</para> - -<screen><userinput remap="pre">patch -Np1 -i ../&glibc-glob-patch;</userinput></screen> ---> -<!-- No longer needed - <para>Fix a problem introduced with the linux-5.2 kernel:</para> - -<screen><userinput remap="pre">sed -i '/asm.socket.h/a# include <linux/sockios.h>' \ - sysdeps/unix/sysv/linux/bits/socket.h</userinput></screen> -=== already done === - <para>Create a symlink for LSB - compliance. Additionally, for x86_64, create a compatibility symlink - required for the dynamic loader to function correctly:</para> - -<screen><userinput remap="pre">case $(uname -m) in - i?86) ln -sfv ld-linux.so.2 /lib/ld-lsb.so.3 - ;; - x86_64) ln -sfv ../lib/ld-linux-x86-64.so.2 /lib64 - ln -sfv ../lib/ld-linux-x86-64.so.2 /lib64/ld-lsb-x86-64.so.3 - ;; -esac</userinput></screen> - - <para>Remove a file that may be left over from a previous build attempt: - </para> -<screen><userinput remap="pre">rm -f /usr/include/limits.h</userinput></screen> ---> <para>The Glibc documentation recommends building Glibc in a dedicated build directory:</para> @@ -94,7 +67,7 @@ cd build</userinput></screen> <!-- WIP --> <variablelist> <title>The meaning of the options and new configure parameters:</title> - +<!-- <varlistentry> <term><parameter>CC="gcc -ffile-prefix-map=$LFS_DIR=$DIR"</parameter></term> <listitem> @@ -106,7 +79,7 @@ cd build</userinput></screen> symbols.</para> </listitem> </varlistentry> - +--> <varlistentry> <term><parameter>--disable-werror</parameter></term> <listitem> @@ -176,7 +149,7 @@ esac</userinput></screen> <para><emphasis>misc/tst-ttyname</emphasis> is known to fail in the LFS chroot environment.</para> </listitem> - +<!-- <listitem> <para><emphasis>inet/tst-idna_name_classify</emphasis> is known to fail in the LFS chroot environment.</para> @@ -187,7 +160,7 @@ esac</userinput></screen> <emphasis>posix/tst-getaddrinfo5</emphasis> may fail on some architectures.</para> </listitem> - +--> <listitem> <para>The <emphasis>nss/tst-nss-files-hosts-multi</emphasis> test may fail for reasons that have not been determined.</para> @@ -206,18 +179,7 @@ esac</userinput></screen> systems where the CPU is not a relatively new Intel or AMD processor.</para> </listitem> -<!-- - <listitem> - <para>The - <emphasis>nptl/tst-thread-affinity-{pthread,pthread2,sched}</emphasis> - tests may fail for reasons that have not been determined. </para> - </listitem> - <listitem> - <para>Other tests known to fail on some architectures are - malloc/tst-malloc-usable and nptl/tst-cleanupx4. </para> - </listitem> ---> </itemizedlist> <para>Though it is a harmless message, the install stage of Glibc will @@ -382,7 +344,7 @@ unset ZONEINFO</userinput></screen> <varlistentry> <term><parameter>zic -L /dev/null ...</parameter></term> <listitem> - <para>This creates posix time zones, without any leap seconds. It is + <para>This creates posix time zones without any leap seconds. It is conventional to put these in both <filename class="directory">zoneinfo</filename> and <filename class="directory">zoneinfo/posix</filename>. It is @@ -390,7 +352,7 @@ unset ZONEINFO</userinput></screen> <filename class="directory">zoneinfo</filename>, otherwise various test-suites will report errors. On an embedded system, where space is tight and you do not intend to ever update the time zones, you could save - 1.9MB by not using the <filename class="directory">posix</filename> + 1.9 MB by not using the <filename class="directory">posix</filename> directory, but some applications or test-suites might produce some failures.</para> </listitem> |