arm64: don't create /lib64

The path to dynamic linker is /lib/ld-linux-aarch64.so.1, no hardcoded
/lib64.  It's much better than x86_64 or MIPS64 IMO.

[As a LoongArch contributor & reviewer: we really should have removed
this stupid "64" in the early development stage of LoongArch ELF ABI.]
This commit is contained in:
Xi Ruoyao 2022-08-24 22:49:40 +08:00
parent b7adecc96c
commit 4d8854a5e3
No known key found for this signature in database
GPG Key ID: ACAAD20E19E710E3
3 changed files with 3 additions and 13 deletions

View File

@ -80,10 +80,7 @@ useradd -s /bin/bash -g lfs -m -k /dev/null lfs</userinput></screen>
all directories under <filename class="directory">$LFS</filename> by making
<systemitem class="username">lfs</systemitem> the directory owner:</para>
<screen><userinput>chown -v lfs $LFS/{usr{,/*},lib,var,etc,bin,sbin,tools}
case $(uname -m) in
x86_64) chown -v lfs $LFS/lib64 ;;
esac</userinput></screen>
<screen><userinput>chown -v lfs $LFS/{usr{,/*},lib,var,etc,bin,sbin,tools}</userinput></screen>
<note><para>In some host systems, the following command does not complete
properly and suspends the login to the &lfs-user; user to the background.

View File

@ -24,11 +24,7 @@
for i in bin lib sbin; do
ln -sv usr/$i $LFS/$i
done
case $(uname -m) in
x86_64) mkdir -pv $LFS/lib64 ;;
esac</userinput></screen>
done</userinput></screen>
<para>Programs in <xref linkend="chapter-temporary-tools"/> will be compiled
with a cross-compiler (more details in section <xref

View File

@ -33,9 +33,6 @@
user <systemitem class="username">root</systemitem> by running the following
command:</para>
<screen><userinput>chown -R root:root $LFS/{usr,lib,var,etc,bin,sbin,tools}
case $(uname -m) in
x86_64) chown -R root:root $LFS/lib64 ;;
esac</userinput></screen>
<screen><userinput>chown -R root:root $LFS/{usr,lib,var,etc,bin,sbin,tools}</userinput></screen>
</sect1>