mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-08-10 13:36:01 +01:00
mips64el: gcc: update sanity check output
This commit is contained in:
parent
60dbbd1f44
commit
3577b41b3e
@ -235,7 +235,7 @@ readelf -l a.out | grep ': /lib'</userinput></screen>
|
||||
and the output of the last command will be (allowing for
|
||||
platform-specific differences in the dynamic linker name):</para>
|
||||
|
||||
<screen><computeroutput>[Requesting program interpreter: /lib64/ld-linux-x86-64.so.2]</computeroutput></screen>
|
||||
<screen><computeroutput>[Requesting program interpreter: /lib64/ld.so.1]</computeroutput></screen>
|
||||
|
||||
<para>Now make sure that we're set up to use the correct start files:</para>
|
||||
|
||||
@ -243,9 +243,9 @@ readelf -l a.out | grep ': /lib'</userinput></screen>
|
||||
|
||||
<para>The output of the last command should be:</para>
|
||||
|
||||
<screen><computeroutput>/usr/lib/gcc/x86_64-pc-linux-gnu/&gcc-version;/../../../../lib/Scrt1.o succeeded
|
||||
/usr/lib/gcc/x86_64-pc-linux-gnu/&gcc-version;/../../../../lib/crti.o succeeded
|
||||
/usr/lib/gcc/x86_64-pc-linux-gnu/&gcc-version;/../../../../lib/crtn.o succeeded</computeroutput></screen>
|
||||
<screen><computeroutput>/usr/lib/gcc/mips64el-unknown-linux-gnuabi64/&gcc-version;/../../../../lib/Scrt1.o succeeded
|
||||
/usr/lib/gcc/mips64el-unknown-linux-gnuabi64/&gcc-version;/../../../../lib/crti.o succeeded
|
||||
/usr/lib/gcc/mips64el-unknown-linux-gnuabi64/&gcc-version;/../../../../lib/crtn.o succeeded</computeroutput></screen>
|
||||
|
||||
<para>Depending on your machine architecture, the above may differ slightly.
|
||||
The difference will be the name of the directory
|
||||
@ -262,9 +262,9 @@ readelf -l a.out | grep ': /lib'</userinput></screen>
|
||||
<para>This command should return the following output:</para>
|
||||
|
||||
<screen><computeroutput>#include <...> search starts here:
|
||||
/usr/lib/gcc/x86_64-pc-linux-gnu/&gcc-version;/include
|
||||
/usr/lib/gcc/mips64el-unknown-linux-gnuabi64/&gcc-version;/include
|
||||
/usr/local/include
|
||||
/usr/lib/gcc/x86_64-pc-linux-gnu/&gcc-version;/include-fixed
|
||||
/usr/lib/gcc/mips64el-unknown-linux-gnuabi64/&gcc-version;/include-fixed
|
||||
/usr/include</computeroutput></screen>
|
||||
|
||||
<para>Again, the directory named after your target triplet may be
|
||||
@ -277,15 +277,15 @@ readelf -l a.out | grep ': /lib'</userinput></screen>
|
||||
<para>References to paths that have components with '-linux-gnu' should
|
||||
be ignored, but otherwise the output of the last command should be:</para>
|
||||
|
||||
<screen><computeroutput>SEARCH_DIR("/usr/x86_64-pc-linux-gnu/lib64")
|
||||
<screen><computeroutput>SEARCH_DIR("/usr/mips64el-unknown-linux-gnuabi64/lib64")
|
||||
SEARCH_DIR("/usr/local/lib64")
|
||||
SEARCH_DIR("/lib64")
|
||||
SEARCH_DIR("/usr/lib64")
|
||||
SEARCH_DIR("/usr/x86_64-pc-linux-gnu/lib")
|
||||
SEARCH_DIR("/usr/mips64el-unknown-linux-gnuabi64/lib")
|
||||
SEARCH_DIR("/usr/local/lib")
|
||||
SEARCH_DIR("/lib")
|
||||
SEARCH_DIR("/usr/lib");</computeroutput></screen>
|
||||
|
||||
<!--
|
||||
<para>A 32-bit system may use a few other directories. For example, here
|
||||
is the output from an i686 machine:</para>
|
||||
|
||||
@ -297,7 +297,7 @@ SEARCH_DIR("/usr/i686-pc-linux-gnu/lib")
|
||||
SEARCH_DIR("/usr/local/lib")
|
||||
SEARCH_DIR("/lib")
|
||||
SEARCH_DIR("/usr/lib");</computeroutput></screen>
|
||||
|
||||
-->
|
||||
<para>Next make sure that we're using the correct libc:</para>
|
||||
|
||||
<screen><userinput>grep "/lib.*/libc.so.6 " dummy.log</userinput></screen>
|
||||
@ -313,7 +313,7 @@ SEARCH_DIR("/usr/lib");</computeroutput></screen>
|
||||
<para>The output of the last command should be (allowing for
|
||||
platform-specific differences in dynamic linker name):</para>
|
||||
|
||||
<screen><computeroutput>found ld-linux-x86-64.so.2 at /usr/lib/ld-linux-x86-64.so.2</computeroutput></screen>
|
||||
<screen><computeroutput>found ld.so.1 at /usr/lib/ld.so.1</computeroutput></screen>
|
||||
|
||||
<para>If the output does not appear as shown above or is not received
|
||||
at all, then something is seriously wrong. Investigate and retrace the
|
||||
|
Loading…
Reference in New Issue
Block a user