Date: Mon, 21 Aug 2023 15:38:01 +0900 From: Tatsuki Makino <tatsuki_makino@hotmail.com> To: ports@freebsd.org, emulation@freebsd.org Subject: Re: Building a Linuxulator userland from source Message-ID: <SI2PR01MB50366A01896746D4DAFC18F7FA1EA@SI2PR01MB5036.apcprd01.prod.exchangelabs.com> In-Reply-To: <SI2PR01MB5036EAB6EE2D224BBDAF86B0FA19A@SI2PR01MB5036.apcprd01.prod.exchangelabs.com> References: <xcztahm3vu3bjghjqqxuoy2xabyjmyfq22jw6mkaaaqo7wa36s@fdq7dlvpuhlk> <i3kr2kukjwgw2xvjlzgshwe72bjpnln4lvl7prhk77nelzidm6@2g56zi3ku7ec> <SI2PR01MB5036EAB6EE2D224BBDAF86B0FA19A@SI2PR01MB5036.apcprd01.prod.exchangelabs.com>
next in thread | previous in thread | raw e-mail | index | archive | help
# my email was not received by emulation@FreeBSD, I'm not a subscriber of it. :) Linux branded ELF is executed by linuxulator no matter where it is placed on /, right? Binaries running on linuxulator have priority access to files in /compat/linux. So far, I understand 😂 What I don't understand is... If a linux binary running on linuxulator can't find a linux library, but can find a FreeBSD library, can it link and use that FreeBSD library? In almost all cases, linux binaries are linked with libraries that are patch-patch-patch-patch-patch-patch-patch-security-fix-security-fix-security-fix-security-fix-security-fix-ed (big modified) to older version, so we don't encounter such a situation. Another problem is that linuxulator does not work for the shell script shbang. The "bash scripts" installed on /compat/linux, such as ldd, try to use freebsd bash outside of /compat/linux. I think there was something strange about that even in its current state, so it might be better to just hard-code /compat/linux in various places. Regards. Tatsuki Makino wrote on 2023/08/21 06:25: > I think /compat/linux is a very important path for linuxulator and/or linux-binary, and I think it would be problematic to prevent it from being used.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?SI2PR01MB50366A01896746D4DAFC18F7FA1EA>