From: Rodrigo Campos <rodrigo@sdfg.com.ar>
To: "Thomas Weißschuh" <linux@weissschuh.net>
Cc: Willy Tarreau <w@1wt.eu>, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 1/1] tools/nolibc: Add workarounds for centos-7
Date: Wed, 27 Sep 2023 21:41:26 +0200 [thread overview]
Message-ID: <741b7bed-919b-41c3-bd57-85e1cdfd6e48@sdfg.com.ar> (raw)
In-Reply-To: <5d4d14f5-b90d-4fd7-865e-0d64b8520c0e@t-8ch.de>
On 9/27/23 20:23, Thomas Weißschuh wrote:
> On 2023-09-27 15:06:03+0200, Rodrigo Campos wrote:
>> On 9/27/23 01:30, Thomas Weißschuh wrote:
>>> On 2023-09-26 15:36:47+0200, Rodrigo Campos wrote:
>> We can definitely remove that struct statx bits in our vendoring. It will
>> simplify updating if we don't have to patch it, so if we can't include a fix
>> in nolibc, I think we will continue doing the hack ourselves and that is
>> all. It is not too bad :)
>
> How often are you planning on updating your vendoring?
> In the timeframe before you are dropping centos-7 support?
We will probably update if other MIPS variants are added, or other
arches supported by golang. Other than that, I don't see that happening.
> The "nice" thing about the breakage is that it will break loudly during
> compilation so it will be easy to notice and fix it up.
>
>> I don't think it is worth for nolibc, at least for this use case, to
>> reintroduce compatibility for stat() without statx().
>
> It wouldn't even be full compatibility. The code would compile but be
> unusuable for stat()/statx(). And I don't think any application expects
> stat() to return -ENOSYS.
Right, it would not be fully compatible but it will be possible to
compile and use the rest of the syscalls, just not stat().
It's really up to you to decide if that is worth or not. That happens to
be what we need :)
> It's a bit ugly code to support a kernel that has been EOL upstream for
> six years for a fairly specific usecase.
> But who knows, maybe Willy has a soft spot for the 3.10 kernel :-)
> Let's wait for his input.
I can't agree more, that is why I was unsure supporting centos-7 was
something we want to do in the first place.
Let's wait for Willy, but I will be slow to answer in the coming weeks,
I'll be with limited internet connectivity.
Best,
Rodrigo
next prev parent reply other threads:[~2023-09-27 19:41 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-09-26 13:36 [PATCH 0/1] tools/nolibc: Support centos-7 Rodrigo Campos
2023-09-26 13:36 ` [PATCH 1/1] tools/nolibc: Add workarounds for centos-7 Rodrigo Campos
2023-09-26 23:30 ` Thomas Weißschuh
2023-09-27 13:06 ` Rodrigo Campos
2023-09-27 18:23 ` Thomas Weißschuh
2023-09-27 19:41 ` Rodrigo Campos [this message]
2023-10-07 14:07 ` Zhangjin Wu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=741b7bed-919b-41c3-bd57-85e1cdfd6e48@sdfg.com.ar \
--to=rodrigo@sdfg.com.ar \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@weissschuh.net \
--cc=w@1wt.eu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®