Changeset 0646479 for BOOK/final-system/common
- Timestamp:
- Aug 14, 2014, 2:27:23 AM (10 years ago)
- Branches:
- clfs-3.0.0-systemd, master, systemd
- Children:
- 7eea5e4
- Parents:
- 09e511ce
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/final-system/common/glibc.xml
r09e511ce r0646479 40 40 41 41 <para os="l1">At the end of the installation, the build system will run 42 a sanity test to make sure everything installed properly. This script will 43 attempt to test for a library that is only used in the test suite and is 44 never installed. Prevent the script from testing for this library with the 45 following command:</para> 46 47 <screen os="l2"><userinput>sed -i 's/\(&& $name ne\) "db1"/ & \1 "nss_test1"/' scripts/test-installation.pl</userinput></screen> 48 49 <para os="l3">This same script performs its tests by attempting to compile 50 test programs against certain libraries. However it does not specify the 51 path to <filename class="libraryfile">ld.so</filename>, and our toolchain 42 a sanity test to make sure everything installed properly. This script 43 performs its tests by attempting to compile test programs against certain 44 libraries. However it does not specify the path to 45 <filename class="libraryfile">ld.so</filename>, and our toolchain 52 46 is still configured to use the one in 53 47 <filename class="directory">/tools</filename>. The following set of … … 55 49 <filename class="libraryfile">ld.so</filename> that was just installed:</para> 56 50 57 <screen os="l 4"><userinput>LINKER=$(readelf -l /tools/bin/bash | sed -n 's@.*interpret.*/tools\(.*\)]$@\1@p')51 <screen os="l2"><userinput>LINKER=$(readelf -l /tools/bin/bash | sed -n 's@.*interpret.*/tools\(.*\)]$@\1@p') 58 52 sed -i "s|libs -o|libs -L/usr/lib -Wl,-dynamic-linker=${LINKER} -o|" \ 59 53 scripts/test-installation.pl
Note:
See TracChangeset
for help on using the changeset viewer.