Changeset d9c836b for chapter06/glibc.xml
- Timestamp:
- 08/22/2012 08:38:21 PM (12 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, 7.2, 7.3, 7.4, 7.5, 7.5-systemd, 7.6, 7.6-systemd, 7.7, 7.7-systemd, 7.8, 7.8-systemd, 7.9, 7.9-systemd, 8.0, 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:
- 71e9c63, da7032a
- Parents:
- 3f4c6ca1
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter06/glibc.xml
r3f4c6ca1 rd9c836b 109 109 <screen><userinput remap="pre">mkdir -v ../glibc-build 110 110 cd ../glibc-build</userinput></screen> 111 111 <!-- 112 112 <para>As in Chapter 5, add the needed compiler flags to CFLAGS for x86 machines. 113 113 Here, the optimization of the library is also set for the gcc compiler to … … 117 117 i?86) echo "CFLAGS += -march=i486 -mtune=native -O3 -pipe" > configparms ;; 118 118 esac</userinput></screen> 119 119 --> 120 120 <para>Prepare Glibc for compilation:</para> 121 121 … … 151 151 </important> 152 152 153 <para> Before running the tests, copy a file from the source tree into our154 build tree to prevent a couple of test failures, then test the155 results:</para> 156 157 <screen><userinput remap="test">cp -v ../glibc-&glibc-version;/iconvdata/gconv-modules iconvdata 158 make -k check 2>&1 | tee glibc-check-log153 <para>Generally a few tests do not pass, but you can generally ignore 154 any of the test failures listed below. Now test the build results:</para> 155 156 <!-- cp -v ../glibc-&glibc-version;/iconvdata/gconv-modules iconvdata --> 157 158 <screen><userinput remap="test">make -k check 2>&1 | tee glibc-check-log 159 159 grep Error glibc-check-log</userinput></screen> 160 160 161 161 <para>You will probably see an expected (ignored) failure in the 162 <emphasis>posix/annexc</emphasis> test. In addition the Glibc test suite 163 is somewhat dependent on the host system. This is a list of the most 164 common issues:</para> 162 <emphasis>posix/annexc</emphasis> and 163 <emphasis>conform/run-conformtest</emphasis> tests. In addition the Glibc 164 test suite is somewhat dependent on the host system. This is a list of the 165 most common issues:</para> 165 166 166 167 <itemizedlist> … … 171 172 </listitem> --> 172 173 <!-- Was true in glibc-2.3.6, rt/tst-cpuclock2 in glibc-2.11.1 --> 174 173 175 <listitem> 174 175 176 <para>The <emphasis>nptl/tst-clock2</emphasis>, 176 <emphasis>nptl/tst-attr3</emphasis>, and 177 <emphasis>nptl/tst-attr3</emphasis>, 178 <emphasis>tst/tst-cputimer1</emphasis>, and 177 179 <emphasis>rt/tst-cpuclock2</emphasis> 178 180 tests have been known to fail. The 179 181 reason is not completely understood, but indications are that minor 180 182 timing issues can trigger these failures.</para> 181 182 183 </listitem> 184 183 185 <listitem> 184 186 <para>The math tests sometimes fail when running on … … 186 188 authentic AMD processor.</para> 187 189 </listitem> 190 191 <!-- 188 192 <listitem> 189 193 <para>If you have mounted the LFS partition with the … … 192 196 use the <parameter>noatime</parameter> option while building LFS.</para> 193 197 </listitem> 198 --> 199 194 200 <listitem> 195 201 <para>When running on older and slower hardware or on systems under … … 199 205 make -k check</command>).</para> 200 206 </listitem> 207 201 208 <listitem> 202 209 <para>Other tests known to fail on some architectures are posix/bug-regex32, 203 210 misc/tst-writev, elf/check-textrel, nptl/tst-getpid2, and stdio-common/bug22.</para> 204 211 </listitem> 212 205 213 </itemizedlist> 206 214
Note:
See TracChangeset
for help on using the changeset viewer.