Changeset 11d5dee
- Timestamp:
- 07/27/2021 07:11:38 PM (2 years ago)
- Branches:
- 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, 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/parallelism, xry111/pip3, xry111/rust-wip-20221008
- Children:
- 29779c4
- Parents:
- d1592b9
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter06/coreutils.xml
rd1592b9 r11d5dee 47 47 48 48 <screen><userinput remap="configure">./configure --prefix=/usr \ 49 --libexecdir=/usr/lib \ 49 50 --host=$LFS_TGT \ 50 51 --build=$(build-aux/config.guess) \ -
chapter08/coreutils.xml
rd1592b9 r11d5dee 70 70 FORCE_UNSAFE_CONFIGURE=1 ./configure \ 71 71 --prefix=/usr \ 72 --libexecdir=/usr/lib \ 72 73 --enable-no-install-program=kill,uptime</userinput></screen> 73 74 -
chapter08/pkgmgt.xml
rd1592b9 r11d5dee 70 70 71 71 <listitem> <para>If a package containing a shared library is updated, and 72 if the name of the library changes, then any thepackages dynamically72 if the name of the library changes, then any packages dynamically 73 73 linked to the library need to be recompiled in order to link against the 74 74 newer library. (Note that there is no correlation between the package … … 124 124 125 125 <listitem> 126 <para>If a binary or a shared library is overwr ote, the processes126 <para>If a binary or a shared library is overwritten, the processes 127 127 using the code or data in the binary or library may crash. The 128 128 correct way to update a binary or a shared library without causing 129 the process to crash is :remove it first, then install the new129 the process to crash is to remove it first, then install the new 130 130 version into position. The <command>install</command> command 131 131 provided by <application>Coreutils</application> has already 132 132 implemented this and most packages use it to install binaries and 133 libraries. Soyou won't be troubled by this issue most of the time.133 libraries. This means that you won't be troubled by this issue most of the time. 134 134 However, the install process of some packages (notably Mozilla JS 135 in BLFS) just overwrites the file if it exists and causes crash, so135 in BLFS) just overwrites the file if it exists and causes a crash, so 136 136 it's safer to save your work and close unneeded running processes 137 137 before updating a package.</para> -
chapter08/strippingagain.xml
rd1592b9 r11d5dee 25 25 26 26 <para>The debugging symbols for selected libraries are placed 27 in separate files. Th esedebugging information is needed if running27 in separate files. This debugging information is needed if running 28 28 regression tests that use <ulink 29 29 url='&blfs-book;/general/valgrind.html'>valgrind</ulink> or <ulink … … 31 31 </para> 32 32 33 <para> And,<command>strip</command> will overwrite the binary or library34 file . This may crash the processes using code or data from the file. If35 the process running <command>strip</command> itself is affected, the36 binary or library being stripped may be destroyed. This may make the37 system completely unusable. To avoid it, we'll copy some libraries and38 binaries into <filename class="directory">/tmp</filename>, strip them33 <para>Note that <command>strip</command> will overwrite the binary or library 34 file it is processing. This may crash the processes using code or data from 35 the file. If the process running <command>strip</command> itself is 36 affected, the binary or library being stripped may be destroyed. This may 37 make the system completely unusable. To avoid it, we'll copy some libraries 38 and binaries into <filename class="directory">/tmp</filename>, strip them 39 39 there, and install them back with the <command>install</command> command. 40 40 Read the related entry in <xref linkend="pkgmgmt-upgrade-issues"/> for the … … 85 85 for i in $(find /usr/lib -type f -name \*.so* ! -name \*dbg); do 86 86 case "$online_usrlib $save_usrlib" in 87 *$(basename $i)* ) ;; 88 * ) strip --strip-unneeded $i ;; 87 *$(basename $i)* ) 88 ;; 89 * ) strip --strip-unneeded $i 90 ;; 89 91 esac 90 92 done … … 92 94 for i in $(find /usr/bin -type f); do 93 95 case "$online_usrbin" in 94 *$(basename $i)* ) ;; 95 * ) strip --strip-all $i ;; 96 *$(basename $i)* ) 97 ;; 98 * ) strip --strip-all $i 99 ;; 96 100 esac 97 101 done -
chapter08/util-linux.xml
rd1592b9 r11d5dee 95 95 <screen role="nodump"><userinput>bash tests/run.sh --srcdir=$PWD --builddir=$PWD</userinput></screen> 96 96 </warning> 97 <!-- 98 <note><para>There is one test that depends on the configuration of the kernel. 99 If CONFIG_USER_NS or CONFIG_PID_NS are not set, the tests will hang forever. 100 To work around the problem, delete one test:</para> 97 98 <note><para>There is one test that fails in the chroot envronment and 99 causes the tests to hang forever. The problem does not occur outside 100 of the chroot envronment. 101 To work around the problem, delete the test:</para> 101 102 102 103 <screen><userinput remap="test">rm tests/ts/lsns/ioctl_ns</userinput></screen> 103 104 </note> 104 --> 105 105 106 <screen><userinput remap="test">chown -Rv tester . 106 107 su tester -c "make -k check"</userinput></screen> -
chapter09/locale.xml
rd1592b9 r11d5dee 81 81 before the telephone number in order to get into the country. If any of the 82 82 commands above fail with a message similar to the one shown below, this means 83 that your locale was either not installed in Chapter 6or is not83 that your locale was either not installed in Chapter 8 or is not 84 84 supported by the default installation of Glibc.</para> 85 85
Note:
See TracChangeset
for help on using the changeset viewer.