Changeset 6a156bab for chapter08/glibc.xml
- Timestamp:
- 06/12/2020 04:40:07 AM (4 years ago)
- Branches:
- 10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
- Children:
- 26fec27
- Parents:
- ea7ec72
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter08/glibc.xml
rea7ec72 r6a156bab 50 50 51 51 <screen><userinput remap="pre">patch -Np1 -i ../&glibc-fhs-patch;</userinput></screen> 52 <!-- 53 <para>Fix a minor security issue with glob functions:</para> 54 55 <screen><userinput remap="pre">patch -Np1 -i ../&glibc-glob-patch;</userinput></screen> 56 --> 57 <!-- No longer needed 58 <para>Fix a problem introduced with the linux-5.2 kernel:</para> 59 60 <screen><userinput remap="pre">sed -i '/asm.socket.h/a# include <linux/sockios.h>' \ 61 sysdeps/unix/sysv/linux/bits/socket.h</userinput></screen> 62 === already done === 63 <para>Create a symlink for LSB 64 compliance. Additionally, for x86_64, create a compatibility symlink 65 required for the dynamic loader to function correctly:</para> 66 67 <screen><userinput remap="pre">case $(uname -m) in 68 i?86) ln -sfv ld-linux.so.2 /lib/ld-lsb.so.3 69 ;; 70 x86_64) ln -sfv ../lib/ld-linux-x86-64.so.2 /lib64 71 ln -sfv ../lib/ld-linux-x86-64.so.2 /lib64/ld-lsb-x86-64.so.3 72 ;; 73 esac</userinput></screen> 74 75 <para>Remove a file that may be left over from a previous build attempt: 76 </para> 77 78 <screen><userinput remap="pre">rm -f /usr/include/limits.h</userinput></screen> 79 --> 52 80 53 <para>The Glibc documentation recommends building Glibc 81 54 in a dedicated build directory:</para> … … 95 68 <variablelist> 96 69 <title>The meaning of the options and new configure parameters:</title> 97 70 <!-- 98 71 <varlistentry> 99 72 <term><parameter>CC="gcc -ffile-prefix-map=$LFS_DIR=$DIR"</parameter></term> … … 107 80 </listitem> 108 81 </varlistentry> 109 82 --> 110 83 <varlistentry> 111 84 <term><parameter>--disable-werror</parameter></term> … … 177 150 is known to fail in the LFS chroot environment.</para> 178 151 </listitem> 179 152 <!-- 180 153 <listitem> 181 154 <para><emphasis>inet/tst-idna_name_classify</emphasis> … … 188 161 may fail on some architectures.</para> 189 162 </listitem> 190 163 --> 191 164 <listitem> 192 165 <para>The <emphasis>nss/tst-nss-files-hosts-multi</emphasis> … … 207 180 AMD processor.</para> 208 181 </listitem> 209 <!-- 210 <listitem> 211 <para>The 212 <emphasis>nptl/tst-thread-affinity-{pthread,pthread2,sched}</emphasis> 213 tests may fail for reasons that have not been determined. </para> 214 </listitem> 215 216 <listitem> 217 <para>Other tests known to fail on some architectures are 218 malloc/tst-malloc-usable and nptl/tst-cleanupx4. </para> 219 </listitem> 220 --> 182 221 183 </itemizedlist> 222 184 … … 383 345 <term><parameter>zic -L /dev/null ...</parameter></term> 384 346 <listitem> 385 <para>This creates posix time zones ,without any leap seconds. It is347 <para>This creates posix time zones without any leap seconds. It is 386 348 conventional to put these in both 387 349 <filename class="directory">zoneinfo</filename> and … … 391 353 test-suites will report errors. On an embedded system, where space is 392 354 tight and you do not intend to ever update the time zones, you could save 393 1.9 MB by not using the <filename class="directory">posix</filename>355 1.9 MB by not using the <filename class="directory">posix</filename> 394 356 directory, but some applications or test-suites might produce some 395 357 failures.</para>
Note:
See TracChangeset
for help on using the changeset viewer.