Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni via buildroot <buildroot@buildroot.org>
To: Yegor Yefremov <yegorslists@googlemail.com>
Cc: buildroot@buildroot.org
Subject: Re: [Buildroot] [PATCH] package/ebtables: fix arm64 build with kernel headers >= 7.3
Date: Sat, 24 Oct 2026 23:16:38 +0200	[thread overview]
Message-ID: <at0gCbhfnKkq6NtS@windsurf> (raw)
In-Reply-To: <20261024161704.4144810-1-yegorslists@googlemail.com>

On Sat, Oct 24, 2026 at 06:17:04PM +0200, Yegor Yefremov via buildroot wrote:
> With kernel headers 7.3, ebtables fails to build on arm64:
> 
>   [...]/sysroot/usr/include/asm/sigcontext.h:81:9: error: unknown type name '__u128'; did you mean '__u32'?
> 
> Linux 7.3 changed arm64's asm/sigcontext.h to use the __u128 type from
> linux/types.h. ebtables bundles an old copy of linux/types.h, lacking
> __u128, which shadows the one from the kernel headers.
> 
> Backport the upstream commit dropping the bundled copy. ebtables only
> needs __be16 and __be32 from it, which all supported kernel headers
> provide.
> 
> This issue has been present since commit b216661a73f7
> ("{toolchain, linux-headers}: add support for 7.3 headers"), which made
> 7.3 the latest kernel headers version. It only affects master, no
> release or maintenance branch has 7.3 headers.
> 
> Fixes: b216661a73f7b8e21290a1bc9033e7f9b5fb230e ("{toolchain, linux-headers}: add support for 7.3 headers")
> Assisted-by: Claude:claude-opus-5-5
> Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>

And is the "opposite" still working, i.e building with really old
kernel headers? Maybe they lack something that the bundled copy had,
and it was the reason for this bundled copy in the first place?

Best regards,

Thomas Petazzoni
-- 
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

  reply	other threads:[~2026-10-24 21:16 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-24 16:17 [Buildroot] [PATCH] package/ebtables: fix arm64 build with kernel headers >= 7.3 Yegor Yefremov via buildroot
2026-10-24 21:16 ` Thomas Petazzoni via buildroot [this message]
2026-10-24 22:09   ` Yegor Yefremov via buildroot
2026-10-25 20:53     ` Thomas Petazzoni via buildroot
2026-10-25 20:52 ` Thomas Petazzoni via buildroot

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=at0gCbhfnKkq6NtS@windsurf \
    --to=buildroot@buildroot.org \
    --cc=thomas.petazzoni@bootlin.com \
    --cc=yegorslists@googlemail.com \
    /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