Changeset 783c041
- Timestamp:
- 09/17/2003 10:00:04 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:
- 2ea93a3
- Parents:
- 552a690
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter05/lockingglibc.xml
r552a690 r783c041 39 39 because of GCC's "fixincludes" process which runs as part of the GCC build. 40 40 We'll explain more about this further on in this chapter. For now, run the 41 following commands to eliminate this possibility .</para>41 following commands to eliminate this possibility:</para> 42 42 43 43 <para><screen><userinput>rm -f /tools/lib/gcc-lib/*/*/include/{pthread.h,bits/sigthread.h}</userinput></screen></para> 44 44 45 <caution><para>It is imperative at this point to stop and ensure that the 46 basic functionality of the new toolchain is working as expected. We are going 47 to perform a simple sanity check:</para>45 <caution><para>It is imperative at this point to stop and ensure that the basic 46 functions (compiling and linking) of the new toolchain are working as expected. 47 For this we are going to perform a simple sanity check:</para> 48 48 49 49 <para><screen><userinput>echo 'main(){}' > dummy.c … … 51 51 readelf -l a.out | grep ': /tools'</userinput></screen></para> 52 52 53 <para>If everything is working correctly, the output of the last command will54 be:</para>53 <para>If everything is working correctly, there should be no errors, and the 54 output of the last command will be:</para> 55 55 56 56 <para><screen>[Requesting program interpreter: /tools/lib/ld-linux.so.2] 57 57 </screen></para> 58 58 59 <para>If you did not receive the output as shown above then something is59 <para>If you did not receive the output as shown above, then something is 60 60 seriously wrong. You will need to investigate and retrace your steps to find 61 61 out where the problem is and correct it. There is no point in continuing 62 until this is done. Most likely ,something went wrong with the specs file62 until this is done. Most likely something went wrong with the specs file 63 63 amendment above. Note especially that <filename>/tools/lib</filename> appears 64 64 as the prefix of our dynamic linker. Of course, if you are working on a 65 65 platform where the name of the dynamic linker is something other than 66 <filename>ld-linux.so.2</filename> then the output will be slightly different.66 <filename>ld-linux.so.2</filename>, then the output will be slightly different. 67 67 </para> 68 68 … … 72 72 </caution> 73 73 74 <para>This completes the installation of the self-contained toolchain, which74 <para>This completes the installation of the self-contained toolchain, and it 75 75 can now be used to build the rest of the temporary tools.</para> 76 76
Note:
See TracChangeset
for help on using the changeset viewer.