Changeset f1c177f for chapter06/glibc.xml
- Timestamp:
- 08/05/2012 02:25:02 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:
- a44c0c9
- Parents:
- 36ba266
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter06/glibc.xml
r36ba266 rf1c177f 73 73 --> 74 74 75 <para>When running <command>make install</command>, a script called 75 <para>Fix a bug that causes the build to fail:</para> 76 77 <screen><userinput remap="pre">sed -i 's#<rpc/types.h>#"rpc/types.h"#' sunrpc/rpc_clntout.c</userinput></screen> 78 79 <!-- <para>When running <command>make install</command>, a script called 76 80 <filename>test-installation.pl</filename> performs a small sanity test on 77 81 our newly installed Glibc. However, because our toolchain still points to … … 83 87 sed -i "s|libs -o|libs -L/usr/lib -Wl,-dynamic-linker=$DL -o|" \ 84 88 scripts/test-installation.pl 85 unset DL</userinput></screen> 86 87 <para>In addition, there is a bug in the 88 <filename>test-installation.pl</filename> script in that it tries to link 89 a test program to a library that isn't installed by 90 <command>make install</command>. Issue the following <command>sed</command> 91 command to fix it:</para> 92 93 <screen><userinput remap="pre">sed -i -e 's/"db1"/& \&\& $name ne "nss_test1"/' scripts/test-installation.pl</userinput></screen> 89 unset DL</userinput></screen>--> 90 91 <para>When running <command>make install</command>, a script called 92 <filename>test-installation.pl</filename> performs a small sanity test on 93 our newly installed Glibc. However, it contains a bug that causes it to 94 fail, so prevent it from running by issuing the following command:</para> 95 96 <screen><userinput remap="pre">sed -i '/test-installation.pl/d' Makefile</userinput></screen> 94 97 95 98 <para>The <command>ldd</command> shell script contains Bash-specific … … 100 103 101 104 <screen><userinput remap="pre">sed -i 's|@BASH@|/bin/bash|' elf/ldd.bash.in</userinput></screen> 102 103 <para>Fix a bug that causes several BLFS packages to segfault:</para>104 <screen><userinput remap="pre">patch -Np1 -i ../&glibc-fixes-patch;</userinput></screen>105 106 <para>Fix a bug that prevents Glibc from building with GCC-&gcc-version;:</para>107 <screen><userinput remap="pre">patch -Np1 -i ../&glibc-gcc_fix-patch;</userinput></screen>108 105 109 106 <para>The Glibc documentation recommends building Glibc outside of the source … … 316 313 EOF</userinput></screen> 317 314 315 <para>Install timezone data:</para> 316 <screen><userinput>tar -xf ../tzdata&tzdata-version;.tar.gz 317 318 for tz in etcetera southamerica northamerica europe africa antarctica \ 319 asia australasia backward pacificnew solar87 solar88 solar89 systemv; do 320 321 zic -L leapseconds -d /usr/share/zoneinfo -y "sh yearistype.sh" ${tz} 322 323 done</userinput></screen> 324 318 325 <para>One way to determine the local time zone, run the following 319 326 script:</para>
Note:
See TracChangeset
for help on using the changeset viewer.