Changeset 5897639 for chapter06/glibc.xml
- Timestamp:
- 05/03/2017 09:28:38 PM (7 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, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, 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:
- 427a460
- Parents:
- 22c4f87
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter06/glibc.xml
r22c4f87 r5897639 79 79 80 80 <screen><userinput remap="configure">../configure --prefix=/usr \ 81 --disable-werror \ 81 82 --enable-kernel=&min-kernel; \ 82 83 --enable-obsolete-rpc \ … … 84 85 libc_cv_slibdir=/lib</userinput></screen> 85 86 87 <variablelist> 88 <title>The meaning of the new configure options:</title> 89 90 <varlistentry> 91 <term><parameter>--disable-werror</parameter></term> 92 <listitem> 93 <para>This option disables the -Werror option passed to 94 GCC. This is necessary for running the test suite.</para> 95 </listitem> 96 </varlistentry> 97 98 <varlistentry> 99 <term><parameter>--enable-obsolete-rpc</parameter></term> 100 <listitem> 101 <para>This option builds older RPC code for use with 102 network file system utilities (nfs).</para> 103 </listitem> 104 </varlistentry> 105 106 <varlistentry> 107 <term><parameter>--enable-stack-protector=strong</parameter></term> 108 <listitem> 109 <para>This option increases system security by adding a known canary 110 (a random integer) to the stack during a function preamble, and checks 111 it when the function returns. If it changed, there was a stack 112 overflow, and the program aborts.</para> 113 </listitem> 114 </varlistentry> 115 116 <varlistentry> 117 <term><parameter>libc_cv_slibdir=/lib</parameter></term> 118 <listitem> 119 <para>This variable sets the correct library for all 120 systems. We do not want lib64 to be used.</para> 121 </listitem> 122 </varlistentry> 123 124 </variablelist> 125 86 126 <para>Compile the package:</para> 87 127 … … 98 138 <screen><userinput remap="test">make check</userinput></screen> 99 139 100 <para>You will probably see some test failures. The Glibc test suite is140 <para>You may see some test failures. The Glibc test suite is 101 141 somewhat dependent on the host system. This is a list of the most common 102 issues seen for this versionof LFS:</para>142 issues seen for some versions of LFS:</para> 103 143 104 144 <itemizedlist> 105 145 106 146 <listitem> 107 <para><emphasis>posix/tst-getaddrinfo4</emphasis> will always fail due 108 to not having the necessary networking applications when the tests are 109 run. <emphasis>posix/tst-getaddrinfo5</emphasis> is also known 110 to fail on some architectures.</para> 147 <para><emphasis>posix/tst-getaddrinfo4</emphasis> and 148 <emphasis>posix/tst-getaddrinfo5</emphasis> 149 may fail on some architectures.</para> 111 150 </listitem> 112 151
Note:
See TracChangeset
for help on using the changeset viewer.