Changeset be2dd91
- Timestamp:
- 08/31/2003 09:45:06 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:
- e667f58
- Parents:
- 09c1e75
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter01/changelog.xml
r09c1e75 rbe2dd91 83 83 </para></listitem> 84 84 85 <listitem><para>August 31, 2003 [jeremy] - Added in Greg's new 86 instructions for GCC 3.3.1 wrt the fixincludes process. Also added 87 extra verbiage to the lockin and GCC pass 2 pages on the fixincludes 88 process.</para></listitem> 89 85 90 <listitem><para>August 31, 2003 [jeremy] - Added user nobody to 86 91 passwd and group files, so coreutils tests will pass.</para></listitem> -
chapter05/gcc-pass2-inst.xml
r09c1e75 rbe2dd91 12 12 <para><screen><userinput>patch -Np1 -i ../gcc-&gcc-version;-no_fixincludes-2.patch 13 13 patch -Np1 -i ../gcc-&gcc-specs-version;.patch</userinput></screen></para> 14 15 <para>The first patch disables the GCC "fixincludes" script. We mentioned this 16 briefly earlier, but a slightly more in-depth explanation of the fixincludes 17 process is warranted here. Under normal circumstances, the GCC fixincludes 18 script scans your system for header files that need to be fixed. It might find 19 that the Glibc header files on your host system need to be fixed, fix them and 20 put them in the GCC private include directory. Then, later on in Chapter 6, 21 after we've installed the newer Glibc, this private include directory would be 22 searched before the system include directory, resulting in GCC finding the 23 fixed headers from the host system, which would most likely not match the Glibc 24 version actually used for the LFS system.</para> 14 25 15 26 <para>The last patch changes GCC's default location of the dynamic linker, -
chapter05/lockingglibc.xml
r09c1e75 rbe2dd91 36 36 "/lib/ld-linux.so.2" with "/stage1/lib/ld-linux.so.2".</para> 37 37 38 <para>Also, because we allowed GCC's "Fixincludes" script to modify our host's 39 header files (and this was necessary because of improper use of the __thread 40 keyword in some older software), we want to get rid of those modified header 41 files, and replace them with pristine ones.</para> 38 <para>Lastly, there is a possibility that some include files from the host 39 system have found their way into gcc's private include dir. This can happen 40 because of GCC's "fixincludes" process which part of the GCC build. We'll 41 explain more about this further on in this chapter. For now, run the 42 following commands to eliminate this possibility.</para> 42 43 43 <para><screen><userinput>GCCDIR=/stage1/lib/gcc-lib/*/* 44 rm -rf $GCCDIR/include/* 45 cp $GCCDIR/install-tools/include/* $GCCDIR/include 46 cp $GCCDIR/install-tools/gsyslimits.h \ 47 $GCCDIR/include/syslimits.h 48 unset GCCDIR</userinput></screen></para> 44 <para><screen><userinput>rm -f /stage1/lib/gcc-lib/*/*/include/{pthread.h,bits/sigthread.h}</userinput></screen></para> 49 45 50 46 <para>This completes the installation of the self-contained toolchain, which
Note:
See TracChangeset
for help on using the changeset viewer.