On 2/2/19 7:58 AM, Douglas R. Reno via lfs-dev wrote:
On Sat, Feb 2, 2019, 7:18 AM Bruce Dubbs via lfs-dev
<[email protected]
<mailto:[email protected]> wrote:
On 02/02/2019 05:35 AM, Xi Ruoyao via lfs-dev wrote:
> We should change the command creating the symlink to the dynamic
linker so the
> test can be run on 32-bit machine:
>
> case $(uname -m) in
> i?86) ln -sfnv $PWD/elf/ld-linux.so.2 /lib ;;
> x86_64) ln -sfnv $PWD/elf/ld-linux-x86-64.so.2 /lib64 ;;
> esac
I don't have a 32-bit system so I'd need to have someone who does
check
if ld-linux.so.2 is correct. The way to check is to try running the
tests without the symlink. It fails very quickly.
The test scripts specifically look in /lib so /lib64 would be
incorrect
even for a x86_64 system. It might be appropriate for a multilib
system, but I haven't been in the loop for that.
-- Bruce
I'll give it a shot when the current package that box is building is
done. It'll hopefully be sometime today. I'm not going to actually use
that build though, but I'll have it run to completion.
Hey Guys,
Writing back to let you all know that the symlink magic works for i686
as well (what's currently in the book).
Thank you,
Douglas R. Reno
--
http://lists.linuxfromscratch.org/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page