Changeset 21ba4e3 for chapter05/lockingglibc.xml
- Timestamp:
- 10/09/2003 11:22:07 PM (21 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, 6.0, 6.1, 6.1.1, 6.3, 6.4, 6.5, 6.6, 6.7, 6.8, 7.0, 7.1, 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, v5_0, v5_1, v5_1_1, 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:
- 27d9bc1a
- Parents:
- 1a7aecc6
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter05/lockingglibc.xml
r1a7aecc6 r21ba4e3 11 11 the <filename class="directory">binutils-build</filename> directory:</para> 12 12 13 < para><screen><userinput>make -C ld install</userinput></screen></para>13 <screen><userinput>make -C ld install</userinput></screen> 14 14 15 15 <para>The linker was adjusted a little while back, at the end of the first … … 23 23 to the new dynamic linker. A simple sed will accomplish this:</para> 24 24 25 < para><screen><userinput>SPECFILE=/tools/lib/gcc-lib/*/*/specs25 <screen><userinput>SPECFILE=/tools/lib/gcc-lib/*/*/specs 26 26 sed -e 's@/lib/ld-linux.so.2@/tools/lib/ld-linux.so.2@g' \ 27 27 $SPECFILE > tempspecfile 28 28 mv tempspecfile $SPECFILE 29 unset SPECFILE</userinput></screen> </para>29 unset SPECFILE</userinput></screen> 30 30 31 31 <para>We recommend that you cut-and-paste the above rather than try and type it … … 45 45 following commands to eliminate this possibility:</para> 46 46 47 < para><screen><userinput>rm -f /tools/lib/gcc-lib/*/*/include/{pthread.h,bits/sigthread.h}</userinput></screen></para>47 <screen><userinput>rm -f /tools/lib/gcc-lib/*/*/include/{pthread.h,bits/sigthread.h}</userinput></screen> 48 48 49 49 <caution><para>It is imperative at this point to stop and ensure that the basic … … 51 51 For this we are going to perform a simple sanity check:</para> 52 52 53 < para><screen><userinput>echo 'main(){}' > dummy.c53 <screen><userinput>echo 'main(){}' > dummy.c 54 54 gcc dummy.c 55 readelf -l a.out | grep ': /tools'</userinput></screen> </para>55 readelf -l a.out | grep ': /tools'</userinput></screen> 56 56 57 57 <para>If everything is working correctly, there should be no errors, and the … … 72 72 <para>Once you are satisfied that all is well, clean up the test files:</para> 73 73 74 < para><screen><userinput>rm dummy.c a.out</userinput></screen></para>74 <screen><userinput>rm dummy.c a.out</userinput></screen> 75 75 </caution> 76 76
Note:
See TracChangeset
for help on using the changeset viewer.