Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: SunilKumar.Dora@windriver.com, "raj.khem@gmail.com" <raj.khem@gmail.com>
Cc: "openembedded-core@lists.openembedded.org"
	<openembedded-core@lists.openembedded.org>,
	"MacLeod, Randy" <Randy.MacLeod@windriver.com>,
	"Kokkonda, Sundeep" <Sundeep.Kokkonda@windriver.com>,
	"deepesh.vatharaj@windriver.com" <deepesh.vatharaj@windriver.com>
Subject: Re: [OE-core] [PATCH 01/11] clang/llvm: Upgrade to 23.1.0 release
Date: Tue, 01 Sep 2026 13:49:36 +0100	[thread overview]
Message-ID: <3f3556469c9a41d77019782ab9f119e0fc5eeb39.camel@linuxfoundation.org> (raw)
In-Reply-To: <732e75fb-f629-42d5-976b-ba4b0bdfa177@windriver.com>

[-- Attachment #1: Type: text/plain, Size: 2808 bytes --]

On Tue, 2026-09-01 at 03:37 +0000, Dora, Sunil Kumar via
lists.openembedded.org wrote:
> 
> On 8/31/2026 1:22 AM, Khem Raj via lists.openembedded.org wrote:
> > 
> > On Sun, Aug 30, 2026 at 5:59 AM <sunilkumar.dora@windriver.com>
> > wrote:
> > > -@@ -762,6 +762,7 @@ static Triple::EnvironmentType
> > > parseEnvironment(StringRef EnvironmentName) {
> > > -       .StartsWith("eabihf", Triple::EABIHF)
> > > -       .StartsWith("eabi", Triple::EABI)
> > > -       .StartsWith("gnuabin32", Triple::GNUABIN32)
> > > -+      .StartsWith("gnun32", Triple::GNUABIN32)
> > > -       .StartsWith("gnuabi64", Triple::GNUABI64)
> > > -       .StartsWith("gnueabihft64", Triple::GNUEABIHFT64)
> > > -       .StartsWith("gnueabihf", Triple::GNUEABIHF)
> > > -@@ -1087,6 +1088,7 @@ Triple::Triple(std::string &&Str) :
> > > Data(std::move(Str)) {
> > > +@@ -755,6 +755,7 @@ static Triple::OSType parseOS(StringRef
> > > OSName) {
> > > + 
> > > + static Triple::EnvironmentType parseEnvironment(StringRef
> > > EnvironmentName) {
> > > +   return StringSwitch<Triple::EnvironmentType>(EnvironmentName)
> > > ++      .StartsWith("gnuabin32", Triple::GNUABIN32)
> > > + #define TRIPLE_ENV(Enum, Name) .StartsWith(Name, Triple::Enum)
> > > + #include "llvm/TargetParser/TripleName.def"
> > > +       .Default(Triple::UnknownEnvironment);
> > > +@@ -1106,6 +1107,7 @@ Triple::Triple(std::string &&Str) :
> > > Data(std::move(Str)) {
> > >         Environment =
> > >             StringSwitch<Triple::EnvironmentType>(Components[0])
> > >                 .StartsWith("mipsn32", Triple::GNUABIN32)
> > > 
> > 
> >    .def already has an alias mechanism (TRIPLE_VENDOR_ALIAS appears
> > in the vendor rework) — ifTRIPLE_ENV_ALIAS exists too, using it for
> > gnuabin32 would keep the compat spelling in the table itself
> > instead of hand-editingparseEnvironment, which will rebase more
> > cleanly next   
> 
> TRIPLE_ENV_ALIAS doesn't exist yet, I checked 23.1.0 and current
> main. Only the OS and vendor sections have alias macros.
> 
> Since Triple.cpp is the only file that includes TripleName.def, the
> patch can add the macro itself the same way the other two sections
> do. I tried it here, the alias line sits in the table next to gnun32
> and one extra #define in parseEnvironment replaces the hand edit.
> The stack applies clean and llvm builds fine with it.
> 
> Is this what you had in mind? I can fold it into v2. We could also
> send TRIPLE_ENV_ALIAS to llvm as a small NFC patch, then this
> carries just two table lines going forward.

Can you both please trim quoted replies!

I tend to ignore it but trying to find this detail in hundreds of lines
was painful.

Cheers,

Richard

[-- Attachment #2: Type: text/html, Size: 4100 bytes --]

  reply	other threads:[~2026-09-01 12:49 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-30 12:58 [PATCH 00/11] clang/llvm: Upgrade to 23.1.0 sunilkumar.dora
2026-08-30 12:58 ` [PATCH 01/11] clang/llvm: Upgrade to 23.1.0 release sunilkumar.dora
2026-08-30 19:53   ` Khem Raj
2026-09-01  3:37     ` [OE-core] " Dora, Sunil Kumar
2026-09-01 12:49       ` Richard Purdie [this message]
2026-08-30 12:58 ` [PATCH 02/11] spirv-llvm-translator: Upgrade to 23.1.0 sunilkumar.dora
2026-08-30 19:43   ` Khem Raj
2026-09-01  4:07     ` [OE-core] " Dora, Sunil Kumar
2026-08-30 12:58 ` [PATCH 03/11] openmp: Build via the LLVM runtimes entry point sunilkumar.dora
2026-08-30 19:45   ` Khem Raj
2026-09-01  4:33     ` [OE-core] " Dora, Sunil Kumar
2026-09-03  1:11       ` Khem Raj
2026-08-30 12:58 ` [PATCH 04/11] rust: Fix build and oe-selftest failures with LLVM 23 sunilkumar.dora
2026-08-30 19:47   ` Khem Raj
2026-09-01  5:17     ` [OE-core] " Dora, Sunil Kumar
2026-09-03  1:08       ` Khem Raj
2026-08-30 12:58 ` [PATCH 05/11] rust: Do not pass the removed x86 amx-tf32 feature to " sunilkumar.dora
2026-08-30 12:58 ` [PATCH 06/11] clang: Disable clangd's decision-forest completion model on powerpc sunilkumar.dora
2026-08-30 12:58 ` [PATCH 07/11] pango: Don't turn clang 23's -Wunused-but-set-global into an error sunilkumar.dora
2026-08-30 12:58 ` [PATCH 08/11] ovmf: Fix memcpy alias prototype for clang 23 sunilkumar.dora
2026-08-30 12:58 ` [PATCH 09/11] vulkan-samples: Don't turn clang 23's -Wdangling-gsl into an error sunilkumar.dora
2026-08-30 12:58 ` [PATCH 10/11] gettext: Export a fully-flagged Objective-C compiler sunilkumar.dora
2026-08-30 12:58 ` [PATCH 11/11] clang/llvm: Ignore tests fail with clang/llvm 23 upgrade sunilkumar.dora
2026-08-30 19:53 ` [PATCH 00/11] clang/llvm: Upgrade to 23.1.0 Khem Raj
2026-09-01  4:59   ` [OE-core] " Dora, Sunil Kumar
2026-09-03  1:10     ` Khem Raj
2026-09-03 23:46       ` Khem Raj
2026-09-04  4:49         ` Dora, Sunil Kumar
2026-09-05 13:26           ` Dora, Sunil Kumar
2026-09-05 18:01             ` [OE-core] " Khem Raj

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=3f3556469c9a41d77019782ab9f119e0fc5eeb39.camel@linuxfoundation.org \
    --to=richard.purdie@linuxfoundation.org \
    --cc=Randy.MacLeod@windriver.com \
    --cc=Sundeep.Kokkonda@windriver.com \
    --cc=SunilKumar.Dora@windriver.com \
    --cc=deepesh.vatharaj@windriver.com \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=raj.khem@gmail.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