Ignore:
Timestamp:
12/18/2016 03:14:26 PM (5 years ago)
Author:
DJ Lucas <dj@…>
Branches:
10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 8.0, 8.0-rc1, 8.1, 8.1-rc1, 8.1-rc2, 8.2, 8.2-rc1, 8.3, 8.3-rc1, 8.3-rc2, 8.4, 8.4-rc1, 9.0, 9.0-rc1, 9.1, 9.1-rc1, cross-chap5, ml-11.0, multilib, old-trunk, trunk, xry111/git-transition, xry111/glibc-2.34, xry111/tester-nohack, xry111/usr-move
Children:
ed3be61
Parents:
be3d9f3
Message:

Update toolchain sanity checks to use values for x86_64.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11155 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter06/adjusting.xml

    rbe3d9f3 r98e7ac4  
    5151  platform-specific differences in dynamic linker name):</para>
    5252
    53 <screen os="c"><computeroutput>[Requesting program interpreter: /lib/ld-linux.so.2]</computeroutput></screen>
     53<screen os="c"><computeroutput>[Requesting program interpreter: /lib64/ld-linux-x86-64.so.2]</computeroutput></screen>
    5454
    5555  <para>Note that <filename class="directory">/lib</filename> is now
    5656  the prefix of our dynamic linker.</para>
    5757
    58   <note><para>On 64-bit systems the interpreter should be
    59   /lib64/ld-linux-x86-64.so.2.</para></note>
     58  <note><para>On 32-bit systems the interpreter should be
     59  /lib/ld-linux.so.2.</para></note>
    6060
    6161  <para os="d">Now make sure that we're setup to use the correct start files:</para>
     
    6565  <para os="f">The output of the last command should be:</para>
    6666
    67 <screen><computeroutput>/usr/lib/crt1.o succeeded
    68 /usr/lib/crti.o succeeded
    69 /usr/lib/crtn.o succeeded</computeroutput></screen>
    70 
    71    <note><para>On 64-bit systems, the path above will be
    72    /usr/lib/gcc/x86_64-pc-linux-gnu/&gcc-version;/../../../../lib64/.  This
    73    reduces to /usr/lib64 and /usr/lib64 is a symlink that points to
    74    /usr/lib.</para></note>
     67<screen><computeroutput>/usr/lib/../lib/crt1.o succeeded
     68/usr/lib/../lib/crti.o succeeded
     69/usr/lib/../lib/crtn.o succeeded</computeroutput></screen>
    7570
    7671  <para os="g">Verify that the compiler is searching for the correct header
     
    9287
    9388<screen><computeroutput>SEARCH_DIR("/usr/lib")
    94 SEARCH_DIR("/lib");</computeroutput></screen>
     89SEARCH_DIR("/lib")</computeroutput></screen>
    9590
    9691  <para os="l">Next make sure that we're using the correct libc:</para>
     
    9893<screen os="m"><userinput>grep "/lib.*/libc.so.6 " dummy.log</userinput></screen>
    9994
    100   <para os="n">The output of the last command (allowing for a lib64 directory
    101   on 64-bit hosts) should be:</para>
     95  <para os="n">The output of the last command should be:</para>
    10296
    10397<screen os="o"><computeroutput>attempt to open /lib/libc.so.6 succeeded</computeroutput></screen>
     
    107101<screen os="q"><userinput>grep found dummy.log</userinput></screen>
    108102
    109   <para os="r"> The output of the last command should be (allowing for
    110   platform-specific differences in dynamic linker name and a lib64 directory on
    111   64-bit hosts):</para>
     103  <para os="r">The output of the last command should be (allowing for
     104  platform-specific differences in dynamic linker name):</para>
    112105
    113 <screen os="s"><computeroutput>found ld-linux.so.2 at /lib/ld-linux.so.2</computeroutput></screen>
     106<screen os="s"><computeroutput>found ld-linux-x86-64.so.2 at /lib/ld-linux-x86-64.so.2</computeroutput></screen>
    114107
    115108  <para os="t">If the output does not appear as shown above or is not received
Note: See TracChangeset for help on using the changeset viewer.