Re: compile and run 32bit programs on aarch64eb

[email protected] (Michael van Elst) Wed, 26 Nov 2025 00:28:34 -0000 (UTC)
Newsgroups gmane.os.netbsd.ports.arm
Organization Serpens User Group
Message-ID <[email protected]>
[email protected] (Christian Groessler) writes:

>      Before NetBSD 5.0 all of these files needed to be placed under
>      /emul/netbsd32.

>irritated me.


Some archs come with additional compat files already included
(or nowadays as part of the "base32" set).

Then you have e.g.:

/lib/ld.elf_so-i386
/usr/lib/i386/libc.so.12.224

That is also used on other archs to support multiple ABIs.


On aarch64, when starting a 32bit program, the kernel
searches for

/lib/ld.elf.so-evbarm

which doesn't exist. If it existed, it would need to be compiled
to search /usr/lib/evbarm for libraries.