Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Aug 2023 12:36:41 +0200
From:      Mario Marietto <marietto2008@gmail.com>
To:        ports@freebsd.org, emulation@freebsd.org
Subject:   Re: Building a Linuxulator userland from source
Message-ID:  <CA%2B1FSihKW06GhXFTHmcY=Nn=n8e8pBNEbtm5t0eYf856uFP_MQ@mail.gmail.com>
In-Reply-To: <d4avyxdyu24cwq2mcmhb427uwqc3d3w52hf2b6gwsu4pkysmda@e4aoan6h6vv5>
References:  <xcztahm3vu3bjghjqqxuoy2xabyjmyfq22jw6mkaaaqo7wa36s@fdq7dlvpuhlk> <b639ed9b-2a11-4457-dda8-89e6dd68d59c@quinteiro.org> <CA%2B1FSigHUvuYmFHSTmk01nfAcmckdTx-=1jB7PT8MhChg_bNiw@mail.gmail.com> <d4avyxdyu24cwq2mcmhb427uwqc3d3w52hf2b6gwsu4pkysmda@e4aoan6h6vv5>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
Hello.

For example some time ago I started an email exchange with a FreeBSD
developer because I'd found two bugs. You can see our full log here :

https://pastebin.ubuntu.com/p/HvVC9pkgVB/

I've removed the name of the developer. Anyway he said that he was
investigating,but at some point he stopped to reply. So I don't know if the
bugs are already there or not. Or if he has submitted them.

I'm not experienced,but I suspect that those kinds of bugs aren't caused by
the kind of userland,but at a level of abstraction layer. So,if you change
userland,you will not fix them.

On Sat, Aug 19, 2023 at 12:00 PM Felix Palmen <zirias@freebsd.org> wrote:

> * Mario Marietto <marietto2008@gmail.com> [20230818 18:17]:
> > But if I have understood well,do you want to change the userland and you
> > are sure to reach a better linux compatibility? I don't think you will be
> > able to. The linuxulator is not perfect because it is bugged at a "low"
> > level. Changing the userland it will remain bugged.
>
> Ok, let's get this straight ...
>
> 1.) If you think "linuxulator is bugged at a 'low' level", whatever this
> should mean, then please be specific about it, but please do so where it
> is on topic, e.g. in a PR on bugzilla.
>
> 2.) A very frequent issue when trying to run some Linux binary on
> FreeBSD is that shared libs are either missing or too old (which is btw
> why many people resort to installing some other dist in some Linux jail
> instead of using the linux-c7 ports). So, *of course* a newer userland
> will fix this. The uncertainty here is just whether it can be a feasible
> approach to build this userland from source. Ongoing research.
>
> Cheers, Felix
>
> --
>  Felix Palmen <zirias@FreeBSD.org>     {private}   felix@palmen-it.de
>  -- ports committer --                     {web}  http://palmen-it.de
>  {pgp public key}  http://palmen-it.de/pub.txt
>  {pgp fingerprint} 6936 13D5 5BBF 4837 B212  3ACC 54AD E006 9879 F231
>


-- 
Mario.

[-- Attachment #2 --]
<div dir="ltr"><div>Hello.</div><div><br></div><div>For example some time ago I started an email exchange with a FreeBSD developer because I&#39;d found two bugs. You can see our full log here : </div><div><br></div><div><a href="https://pastebin.ubuntu.com/p/HvVC9pkgVB/" target="_blank">https://pastebin.ubuntu.com/p/HvVC9pkgVB/</a></div><div><br></div><div>I&#39;ve removed the name of the developer. Anyway he said that he was investigating,but at some point he stopped to reply. So I don&#39;t know if the bugs are already there or not. Or if he has submitted them.</div><div><br></div><div>I&#39;m not experienced,but I suspect that those kinds of bugs aren&#39;t caused by the kind of userland,but at a level of abstraction layer. So,if you change userland,you will not fix them.<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Aug 19, 2023 at 12:00 PM Felix Palmen &lt;<a href="mailto:zirias@freebsd.org" target="_blank">zirias@freebsd.org</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">* Mario Marietto &lt;<a href="mailto:marietto2008@gmail.com" target="_blank">marietto2008@gmail.com</a>&gt; [20230818 18:17]:<br>
&gt; But if I have understood well,do you want to change the userland and you<br>
&gt; are sure to reach a better linux compatibility? I don&#39;t think you will be<br>
&gt; able to. The linuxulator is not perfect because it is bugged at a &quot;low&quot;<br>
&gt; level. Changing the userland it will remain bugged.<br>
<br>
Ok, let&#39;s get this straight ...<br>
<br>
1.) If you think &quot;linuxulator is bugged at a &#39;low&#39; level&quot;, whatever this<br>
should mean, then please be specific about it, but please do so where it<br>
is on topic, e.g. in a PR on bugzilla.<br>
<br>
2.) A very frequent issue when trying to run some Linux binary on<br>
FreeBSD is that shared libs are either missing or too old (which is btw<br>
why many people resort to installing some other dist in some Linux jail<br>
instead of using the linux-c7 ports). So, *of course* a newer userland<br>
will fix this. The uncertainty here is just whether it can be a feasible<br>
approach to build this userland from source. Ongoing research.<br>
<br>
Cheers, Felix<br>
<br>
-- <br>
 Felix Palmen &lt;zirias@FreeBSD.org&gt;     {private}   <a href="mailto:felix@palmen-it.de" target="_blank">felix@palmen-it.de</a><br>
 -- ports committer --                     {web}  <a href="http://palmen-it.de" rel="noreferrer" target="_blank">http://palmen-it.de</a><br>;
 {pgp public key}  <a href="http://palmen-it.de/pub.txt" rel="noreferrer" target="_blank">http://palmen-it.de/pub.txt</a><br>;
 {pgp fingerprint} 6936 13D5 5BBF 4837 B212  3ACC 54AD E006 9879 F231<br>
</blockquote></div><br clear="all"><br><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature">Mario.<br></div>

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2B1FSihKW06GhXFTHmcY=Nn=n8e8pBNEbtm5t0eYf856uFP_MQ>