From nobody Sat Aug 19 10:36:41 2023 X-Original-To: ports@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RSZtn460Hz4qY2s; Sat, 19 Aug 2023 10:37:21 +0000 (UTC) (envelope-from marietto2008@gmail.com) Received: from mail-lj1-x231.google.com (mail-lj1-x231.google.com [IPv6:2a00:1450:4864:20::231]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RSZtm2915z3M21; Sat, 19 Aug 2023 10:37:20 +0000 (UTC) (envelope-from marietto2008@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20221208 header.b=UXSSwttW; spf=pass (mx1.freebsd.org: domain of marietto2008@gmail.com designates 2a00:1450:4864:20::231 as permitted sender) smtp.mailfrom=marietto2008@gmail.com; dmarc=pass (policy=none) header.from=gmail.com Received: by mail-lj1-x231.google.com with SMTP id 38308e7fff4ca-2b9a828c920so27104161fa.1; Sat, 19 Aug 2023 03:37:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1692441438; x=1693046238; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=cJOnqpSkOZ0iDtRHlxGQdXP+1nObMGhgw0jn60fY7R0=; b=UXSSwttW+t1+M+0UxvW4R0+cpUdwy7LxgrqsXVwRRw/CVadBS9lig5MCeEO/wszRi/ NCsFJuwQVXywOGmfrQTfr5TN8DUxbILj8YpaLmUAK+HoioXtRvB54dfTYEPxazBBND0W uSFpol/RkX+7qcpaOPSKX0VgWpz16EdcNT/hhzE5EnqYOAfR0cuAtt1MN6428wjdR/oH /tSFRk8JyoMm+DH1VnNeGi/SvOcwZXU0pKtefrEY7JUyU5cFrr1U7CVEqviUCvOhLGc5 ftMFDBp6CM3yLcl3TcKz/yn2o52FVU0os9e0Bl7v7p4KpJtUkVpLxKpphDKUxu0Dx2Tq lryA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1692441438; x=1693046238; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=cJOnqpSkOZ0iDtRHlxGQdXP+1nObMGhgw0jn60fY7R0=; b=aJPZNdM40vxSI4pUM+JoBELAeuQGbUxVzMCYdl56RyfMcU8/RwIT5TnkOng3alyafd T/+H10RDGBAClBG60sEMDlq/FIFGn7aiqkIGCrlBCd8RxF+QW8cpEn3N/MypO/cYmk27 HLZ2OHcNvnVOYaMUQpfWhAhUgtESpZtgCe91AGPlKzHaWmEWFYXSxUo4AWpKR10oMVHu +1LqTQUKJc8f6UutwpqVX4fPdzmTCLPbbrylDkwv/oid6HT3prK118hZpDWCt/5wLPGU Q8v/hnqCGqIS3TybY1A6CShGSuqiZWB4665Dbf3ggIEv/Fii3eUKDkJvGjCXPzOfDrnk LehQ== X-Gm-Message-State: AOJu0YzxovqKfLrj91b19EzW4C8t3b44gw0s8WyJUukUJ3LmALaBhSo8 DdDYxbB1d9a7AT+jeMWCf8PHmXl1FkOp3eCsAOfaG1D8PWw= X-Google-Smtp-Source: AGHT+IE/ascFeUKIMlYozEWzznfwFjXS5jrKh0V45DoYJGmhEjZ1eUndyf2DSfvMR3GAnsrpBvflfW857iB9LEqa5oc= X-Received: by 2002:a2e:9b82:0:b0:2b6:9ed5:bf15 with SMTP id z2-20020a2e9b82000000b002b69ed5bf15mr1221687lji.23.1692441437604; Sat, 19 Aug 2023 03:37:17 -0700 (PDT) List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org MIME-Version: 1.0 References: In-Reply-To: From: Mario Marietto Date: Sat, 19 Aug 2023 12:36:41 +0200 Message-ID: Subject: Re: Building a Linuxulator userland from source To: ports@freebsd.org, emulation@freebsd.org Content-Type: multipart/alternative; boundary="000000000000b1111d0603443a25" X-Spamd-Result: default: False [1.49 / 15.00]; SEM_URIBL(3.50)[ubuntu.com:url]; NEURAL_HAM_MEDIUM(-0.99)[-0.987]; NEURAL_HAM_LONG(-0.95)[-0.947]; BAD_REP_POLICIES(0.10)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; NEURAL_HAM_SHORT(-0.07)[-0.075]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; R_DKIM_ALLOW(0.00)[gmail.com:s=20221208]; FROM_HAS_DN(0.00)[]; RCVD_TLS_LAST(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; FREEMAIL_ENVFROM(0.00)[gmail.com]; MIME_TRACE(0.00)[0:+,1:+,2:~]; MID_RHS_MATCH_FROMTLD(0.00)[]; TO_DN_NONE(0.00)[]; R_SPF_ALLOW(0.00)[+ip6:2a00:1450:4000::/36]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::231:from]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(0.00)[gmail.com,none]; RCPT_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; RCVD_COUNT_ONE(0.00)[1]; MLMMJ_DEST(0.00)[ports@freebsd.org,emulation@freebsd.org] X-Spamd-Bar: + X-Rspamd-Queue-Id: 4RSZtm2915z3M21 --000000000000b1111d0603443a25 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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=E2=80=AFPM Felix Palmen = wrote: > * Mario Marietto [20230818 18:17]: > > But if I have understood well,do you want to change the userland and yo= u > > 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 {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 > --=20 Mario. --000000000000b1111d0603443a25 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello.

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

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

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

I'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. S= o,if you change userland,you will not fix them.

On Sat, Aug 19, 20= 23 at 12:00=E2=80=AFPM 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 y= ou
> 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 &quo= t;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

--
=C2=A0Felix Palmen <zirias@FreeBSD.org>=C2=A0 =C2=A0 =C2=A0{private}= =C2=A0 =C2=A0felix@= palmen-it.de
=C2=A0-- ports committer --=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0{web}=C2=A0 http://palmen-it.de
=C2=A0{pgp public key}=C2=A0 http://palmen-it.de/pub.txt
=C2=A0{pgp fingerprint} 6936 13D5 5BBF 4837 B212=C2=A0 3ACC 54AD E006 9879 = F231


--
Mario.
--000000000000b1111d0603443a25--