public inbox for openembedded-core@lists.openembedded.org
 help / color / mirror / Atom feed
From: Quentin Schulz <quentin.schulz@cherry.de>
To: Ernest Van Hoecke <ernestvanhoecke@gmail.com>,
	Quentin Schulz <foss+yocto@0leil.net>
Cc: openembedded-core@lists.openembedded.org,
	Ross Burton <ross.burton@arm.com>
Subject: Re: [PATCH 7/7] mesa: depend on mesa-tools-native for less expensive libclc dependency
Date: Fri, 20 Mar 2026 16:57:35 +0100	[thread overview]
Message-ID: <1a009ba8-4538-4dd5-a61e-5656852f56b0@cherry.de> (raw)
In-Reply-To: <yj4junqgkdaddl3upgyn7pzeqvlbr2q4a7zl6llrv2kzlbznlr@62bryfzytptx>

Hi Ernest,

On 3/20/26 4:26 PM, Ernest Van Hoecke wrote:
> Hi Quentin,
> 
> Recently our do_configure task of mesa started failing with the
> following error:
> 
> | Program pco_clc found: NO
> |
> | ../sources/mesa-26.0.1/src/imagination/pco/uscgen/meson.build:7:17: ERROR: Program 'pco_clc' not found or not executable
> |
> | A full log can be found at /var/home/vhe/build/tdxref/master-extint/build/tmp/work/aarch64-tdx-linux/mesa/26.0.1/build/meson-logs/meson-log.txt
> |
> | Last 10 lines of meson-log.txt:
> | int i;
> |
> | Cached compiler stdout:
> |
> | Cached compiler stderr:
> |
> | Compiler for C supports arguments -Werror=pointer-arith: YES (cached)
> | Program pco_clc found: NO
> |
> | ../sources/mesa-26.0.1/src/imagination/pco/uscgen/meson.build:7:17: ERROR: Program 'pco_clc' not found or not executable
> |
> | ERROR: meson setup failed
> | WARNING: /var/home/vhe/build/tdxref/master-extint/build/tmp/work/aarch64-tdx-linux/mesa/26.0.1/temp/run.do_configure.144042:173 exit 1 from 'exit 1'
> 
> Reverting this patch fixes the issue, but it does not seem to be the
> commit that introduced the problem. It only started later, presumably
> something changed in pulling in libclc or a similar issue.
> 
> I can bisect it more later but already wanted to ask if you or someone
> else had any ideas. Thanks!
> 

I suspect you need

diff --git a/meta/recipes-graphics/mesa/mesa-tools-native.bb 
b/meta/recipes-graphics/mesa/mesa-tools-native.bb
index 50d2f5cbb0..0fff6ef1dd 100644
--- a/meta/recipes-graphics/mesa/mesa-tools-native.bb
+++ b/meta/recipes-graphics/mesa/mesa-tools-native.bb
@@ -3,7 +3,7 @@ inherit_defer native

  SUMMARY += " (tools only)"

-PACKAGECONFIG = "tools asahi panfrost"
+PACKAGECONFIG = "tools asahi imagination panfrost"
  # llvm required for libclc
  PACKAGECONFIG += "gallium-llvm"
  # Doesn't compile without wayland-scanner if PLATFORMS has wayland in, 
and,

and possibly

diff --git a/meta/recipes-graphics/mesa/mesa.inc 
b/meta/recipes-graphics/mesa/mesa.inc
index 14dc7b6c51..44d3d17a52 100644
--- a/meta/recipes-graphics/mesa/mesa.inc
+++ b/meta/recipes-graphics/mesa/mesa.inc
@@ -137,7 +137,7 @@ VULKAN_DRIVERS .= 
"${@bb.utils.contains('PACKAGECONFIG', 'asahi libclc gallium-l
  VULKAN_DRIVERS .= "${@bb.utils.contains('PACKAGECONFIG', 'broadcom', 
',broadcom', '', d)}"
  VULKAN_DRIVERS .= "${@bb.utils.contains('PACKAGECONFIG', 'freedreno', 
',freedreno', '', d)}"
  VULKAN_DRIVERS .= "${@bb.utils.contains('PACKAGECONFIG', 'virtio', 
',gfxstream', '', d)}"
-VULKAN_DRIVERS .= "${@bb.utils.contains('PACKAGECONFIG', 'imagination', 
',imagination', '', d)}"
+VULKAN_DRIVERS .= "${@bb.utils.contains('PACKAGECONFIG', 'imagination 
libclc', ',imagination', '', d)}"
  VULKAN_DRIVERS .= "${@bb.utils.contains('PACKAGECONFIG', 'intel libclc 
gallium-llvm', ',intel', '', d)}"
  VULKAN_DRIVERS .= "${@bb.utils.contains('PACKAGECONFIG', 'intel 
libclc', ',intel_hasvk', '', d)}"
  VULKAN_DRIVERS .= "${@bb.utils.contains('PACKAGECONFIG', 'panfrost 
libclc', ',panfrost', '', d)}"


It would help if you could provide the PACKAGECONFIG you're using and 
ideally a minimal reproducer so we can look this up more in depth on our 
side.

Let us know how it goes.

Cheers,
QUentin


  reply	other threads:[~2026-03-20 15:57 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-02-06 17:23 [PATCH 0/7] mesa: bump + lighten mesa libclc dependency Quentin Schulz
2026-02-06 17:23 ` [PATCH 1/7] mesa: upgrade 25.3.3 -> 25.3.4 Quentin Schulz
2026-02-06 17:23 ` [PATCH 2/7] mesa: update patch status Quentin Schulz
2026-02-06 17:23 ` [PATCH 3/7] mesa: make expat dependency a PACKAGECONFIG Quentin Schulz
2026-02-06 17:23 ` [PATCH 4/7] mesa: make zlib " Quentin Schulz
2026-02-06 17:23 ` [PATCH 5/7] mesa: remove libxml2-native dependency Quentin Schulz
2026-02-06 17:23 ` [PATCH 6/7] add mesa-tools native-only recipe Quentin Schulz
2026-02-06 17:31   ` Patchtest results for " patchtest
2026-02-06 17:23 ` [PATCH 7/7] mesa: depend on mesa-tools-native for less expensive libclc dependency Quentin Schulz
2026-03-20 15:26   ` ernestvanhoecke
2026-03-20 15:57     ` Quentin Schulz [this message]
2026-03-26 11:10       ` [OE-core] " Quentin Schulz
2026-03-26 17:34         ` Ernest Van Hoecke

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=1a009ba8-4538-4dd5-a61e-5656852f56b0@cherry.de \
    --to=quentin.schulz@cherry.de \
    --cc=ernestvanhoecke@gmail.com \
    --cc=foss+yocto@0leil.net \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=ross.burton@arm.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