All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bruce Ashfield <bruce.ashfield@gmail.com>
To: Ronaldo Nunez <rnunez@baylibre.com>
Cc: meta-virtualization@lists.yoctoproject.org
Subject: Re: [meta-virtualization][PATCH] xen: fix sstate namespace collision
Date: Sun, 29 Nov 2026 20:27:07 -0800 (PST)	[thread overview]
Message-ID: <6b0cfb1b.757e2132.247dc9.ba9c@mx.google.com> (raw)
In-Reply-To: <20261123-sstate-collision-fix-v1-1-ba36dfe1ccdc@baylibre.com>

> The sstate namespace is defined by PACKAGE_ARCH which defaults to
> TUNE_PKGARCH. Building for a second MACHINE that shares the same tune
> will fail due to a collision on that namespace.

What was the actual error you hit ? Can you put it in the commit
message, along with the two machines ? Without it, I'm guessing at
which part of the build is colliding.

> Set PACKAGE_ARCH to MACHINE_ARCH in both recipe include files, so each
> machine gets an isolated output namespace.

Making the hypervisor machine specific seems reasonable to me, it is
in the same spot as a kernel or bootloader.

xen-tools is a different story. With this, every toolstack package
(the libraries, xl, the python bits) is built and packaged once per
machine, even when the tune is identical. So I'd like to know what
actually differs in xen-tools between your two machines before taking
that. If it's only the hypervisor whose output changes, then only it
needs the change.

> Tested by building xen for qemuarm64 and for a qemuarm64-derived
> machine with the same tune, both now build.

What does the qemuarm64-derived machine change ? If it's adding xen
config fragments, or anything else that changes what gets built, that
would explain which recipe needs to be machine specific.

Bruce

      reply	other threads:[~2026-11-30  4:27 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-23 12:41 [PATCH] xen: fix sstate namespace collision Ronaldo Nunez
2026-11-30  4:27 ` Bruce Ashfield [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=6b0cfb1b.757e2132.247dc9.ba9c@mx.google.com \
    --to=bruce.ashfield@gmail.com \
    --cc=meta-virtualization@lists.yoctoproject.org \
    --cc=rnunez@baylibre.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.