mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-07-15 08:45:08 +01:00
Adjust interpreter for aarch64.
This commit is contained in:
parent
a3f7b4385a
commit
426a539337
@ -205,7 +205,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-linux-aarch64.so.1]</computeroutput></screen>
|
||||
|
||||
<para>Now make sure that we're setup to use the correct start files:</para>
|
||||
|
||||
@ -232,7 +232,7 @@ 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/aarch-64-unknown-linux-gnu/&gcc-version;/include
|
||||
/usr/lib/gcc/aarch64-unknown-linux-gnu/&gcc-version;/include
|
||||
/usr/local/include
|
||||
/usr/lib/gcc/aarch64-unknown-linux-gnu/&gcc-version;/include-fixed
|
||||
/usr/include</computeroutput></screen>
|
||||
@ -279,7 +279,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-linux-aarch64.so.1 at /usr/lib/ld-linux-aarch64.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