From: "Thomas Weißschuh" <linux@weissschuh.net>
To: Theron York <theron.york@cloudnuke.org>
Cc: linux-kernel@vger.kernel.org
Subject: Re: LLVM 21 compatibility issue with swab.h
Date: Fri, 29 May 2026 08:07:51 +0200 [thread overview]
Message-ID: <da78e4c9-36d6-4eba-beaa-310a7671acdb@t-8ch.de> (raw)
In-Reply-To: <399bf58e-1c91-4c3c-a3df-dae08a891b55@cloudnuke.org>
Hi Theron,
On 2026-05-29 00:23:09-0500, Theron York wrote:
> Building Linux kernel 7.0.6 on Gentoo with LLVM fails:
> error: unknown type name '__attribute_const__'
>
> Setup:
> - Gentoo Linux
> - LLVM 21 (clang)
> - musl libc
> - x86_64
>
> Workaround:
> sed -i 's/__attribute_const__/__attribute__((const))/g'
> ./include/uapi/linux/swab.h
can you post all the commands you are executing from a clean source
checkout *and* the full error message?
That will make it much easier to help you.
Thomas
prev parent reply other threads:[~2026-05-29 6:07 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-05-29 5:23 Theron York
2026-05-29 6:07 ` Thomas Weißschuh [this message]
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=da78e4c9-36d6-4eba-beaa-310a7671acdb@t-8ch.de \
--to=linux@weissschuh.net \
--cc=linux-kernel@vger.kernel.org \
--cc=theron.york@cloudnuke.org \
/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®