All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Christidis, Antonios" <a-christidis@ti.com>
To: "meta-ti@lists.yoctoproject.org" <meta-ti@lists.yoctoproject.org>,
	"antoine.gouby@gmail.com" <antoine.gouby@gmail.com>
Cc: "francesco@dolcini.it" <francesco@dolcini.it>
Subject: Re: [meta-ti][master] build issue on mesa-pvr
Date: Thu, 23 Jul 2026 20:03:06 +0000	[thread overview]
Message-ID: <8f955e24b16f4113aabf3edb1a6c19ed@ti.com> (raw)
In-Reply-To: <CAL2HtgxQHThnmV=HfXAFAC0_52BHw73sPsym_AebCXM5Z_tvZA@mail.gmail.com>

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

Dear Antoine,


Thank you for reporting and sending in the fix. I've tested it and it looks good.

I'll go ahead and push the change at https://github.com/TexasInstruments/mesa/tree/powervr/25.2.8. Following that, I'll send a patch to this mailing list to update the SRCREV for the recipe.


Appreciate your contribution!


Kind Regards,

Antonios

________________________________
From: meta-ti@lists.yoctoproject.org <meta-ti@lists.yoctoproject.org> on behalf of Antoine Gouby via lists.yoctoproject.org <antoine.gouby=gmail.com@lists.yoctoproject.org>
Sent: Tuesday, July 21, 2026 2:53:45 AM
To: meta-ti@lists.yoctoproject.org
Cc: francesco@dolcini.it
Subject: [meta-ti][master] build issue on mesa-pvr

Hello,

Since couple of days we have a build issue on master with mesa-pvr.
It seems to be a race condition, is this a known error or any ideas about it?

07-20:04:08:10  | FAILED: [code=1]
src/gallium/drivers/pvr/libpvr.a.p/pvr_mesa_dispatch.c.o
07-20:04:08:10  | aarch64-tdx-linux-gcc -mbranch-protection=standard
-fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat
-Wformat-security -Werror=format-security
--sysroot=/workdir/oe/tmp/work/aquila_am69-tdx-linux/mesa-pvr/25.2.8/recipe-sysroot
-Isrc/gallium/drivers/pvr/libpvr.a.p -Isrc/gallium/drivers/pvr
-I../sources/mesa-pvr-25.2.8/src/gallium/drivers/pvr -Isrc/mapi
-I../sources/mesa-pvr-25.2.8/src/mapi -Isrc/mesa
-I../sources/mesa-pvr-25.2.8/src/mesa
-I../sources/mesa-pvr-25.2.8/src/gallium/include
-Isrc/gallium/auxiliary
-I../sources/mesa-pvr-25.2.8/src/gallium/auxiliary
-Isrc/gallium/winsys -I../sources/mesa-pvr-25.2.8/src/gallium/winsys
-Iinclude -I../sources/mesa-pvr-25.2.8/include -Isrc
-I../sources/mesa-pvr-25.2.8/src -Isrc/util/format
-I/workdir/oe/tmp/work/aquila_am69-tdx-linux/mesa-pvr/25.2.8/recipe-sysroot/usr/include/libdrm
-fvisibility=hidden -fdiagnostics-color=always -DNDEBUG
-D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11
-D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS
'-DPACKAGE_VERSION="25.2.8"'
'-DPACKAGE_BUGREPORT="https://gitlab.freedesktop.org/mesa/mesa/-/issues"'
-DHAVE_OPENGL=1 -DHAVE_OPENGL_ES_1=1 -DHAVE_OPENGL_ES_2=1
-DHAVE_LLVMPIPE -DHAVE_SOFTPIPE -DHAVE_VIRGL -DHAVE_ZINK -DHAVE_PVR
-DHAVE_SWRAST -DVIDEO_CODEC_VC1DEC=0 -DVIDEO_CODEC_H264DEC=0
-DVIDEO_CODEC_H264ENC=0 -DVIDEO_CODEC_H265DEC=0
-DVIDEO_CODEC_H265ENC=0 -DVIDEO_CODEC_AV1DEC=1 -DVIDEO_CODEC_AV1ENC=1
-DVIDEO_CODEC_VP9DEC=1 -DEGL_WITH_OPENGL -DHAVE_WAYLAND_PLATFORM
-DHAVE_X11_PLATFORM -DHAVE_SURFACELESS_PLATFORM -DHAVE_DRM_PLATFORM
-DHAVE_XCB_PLATFORM -DUSE_LIBGLVND=0 -DGLX_INDIRECT_RENDERING
-DGLX_DIRECT_RENDERING -DGLX_USE_DRM
-DGLAPI_EXPORT_PROTO_ENTRY_POINTS=0 -DALLOW_KCMP -DMESA_DEBUG=0
-DENABLE_SHADER_CACHE -DHAVE___BUILTIN_BSWAP32
-DHAVE___BUILTIN_BSWAP64 -DHAVE___BUILTIN_CLZ -DHAVE___BUILTIN_CLZLL
-DHAVE___BUILTIN_CTZ -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_FFS
-DHAVE___BUILTIN_FFSLL -DHAVE___BUILTIN_POPCOUNT
-DHAVE___BUILTIN_POPCOUNTLL -DHAVE___BUILTIN_UNREACHABLE
-DHAVE___BUILTIN_TYPES_COMPATIBLE_P -DHAVE_FUNC_ATTRIBUTE_CONST
-DHAVE_FUNC_ATTRIBUTE_FLATTEN -DHAVE_FUNC_ATTRIBUTE_MALLOC
-DHAVE_FUNC_ATTRIBUTE_PURE -DHAVE_FUNC_ATTRIBUTE_UNUSED
-DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT -DHAVE_FUNC_ATTRIBUTE_WEAK
-DHAVE_FUNC_ATTRIBUTE_FORMAT -DHAVE_FUNC_ATTRIBUTE_PACKED
-DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL -DHAVE_FUNC_ATTRIBUTE_ALIAS
-DHAVE_FUNC_ATTRIBUTE_NORETURN -DHAVE_FUNC_ATTRIBUTE_OPTIMIZE
-DHAVE_FUNC_ATTRIBUTE_VISIBILITY -DHAVE_UINT128 -DHAVE_REALLOCARRAY
-DHAVE_FMEMOPEN -D_GNU_SOURCE -DUSE_GCC_ATOMIC_BUILTINS
-DUSE_AARCH64_ASM -DMAJOR_IN_SYSMACROS -DHAS_SCHED_H
-DHAS_SCHED_GETAFFINITY -DHAVE_LINUX_FUTEX_H -DHAVE_ENDIAN_H
-DHAVE_DLFCN_H -DHAVE_SYS_SHM_H -DHAVE_SYS_INOTIFY_H
-DHAVE_LINUX_UDMABUF_H -DHAVE_STRTOF -DHAVE_MKOSTEMP
-DHAVE_MEMFD_CREATE -DHAVE_RANDOM_R -DHAVE_FLOCK -DHAVE_STRTOK_R
-DHAVE_GETRANDOM -DHAVE_POSIX_FALLOCATE -DHAVE_SECURE_GETENV
-DHAVE_GNU_QSORT_R -DHAVE_STRUCT_TIMESPEC
-DHAVE_PROGRAM_INVOCATION_NAME -DHAVE_ISSIGNALING
-DHAVE_POSIX_MEMALIGN -DHAVE_DIRENT_D_TYPE -DHAVE_STRTOD_L
-DHAVE_DLADDR -DHAVE_DL_ITERATE_PHDR -DHAVE_ZLIB -DHAVE_ZSTD
-DHAVE_COMPRESSION -DHAVE_PTHREAD -DHAVE_PTHREAD_SETAFFINITY
-DHAVE_LIBDRM '-DMESA_LLVM_VERSION_STRING="22.1.8"' -DLLVM_IS_SHARED=1
-DLLVM_AVAILABLE=1 -DDRAW_LLVM_AVAILABLE=1 -DAMD_LLVM_AVAILABLE=1
-DGALLIVM_USE_ORCJIT=0 -DHAVE_SPIRV_TOOLS -DUSE_LIBELF
-DTHREAD_SANITIZER=0 -DWL_HIDE_DEPRECATED
-DHAVE_WL_DISPATCH_QUEUE_TIMEOUT -DHAVE_WL_CREATE_QUEUE_WITH_NAME
-DHAVE_X11_DRM -DHAVE_DRI -DHAVE_DRI2 -DHAVE_DRI3_EXPLICIT_SYNC
-DHAVE_DRISW_KMS -mtls-dialect=desc
-Werror=implicit-function-declaration -Werror=missing-prototypes
-Werror=return-type -Werror=empty-body
-Werror=incompatible-pointer-types -Werror=int-conversion
-Wimplicit-fallthrough -Wmisleading-indentation
-Wno-missing-field-initializers -Wno-format-truncation
-Wno-nonnull-compare -fno-math-errno -fno-trapping-math -fno-common
-Wno-unknown-pragmas -Wno-unused-function -Werror=format
-Wformat-security -ffunction-sections -fdata-sections -O2 -g
-fno-omit-frame-pointer
-ffile-prefix-map=/workdir/oe/tmp/work/aquila_am69-tdx-linux/mesa-pvr/25.2.8/sources/mesa-pvr-25.2.8=/usr/src/debug/mesa-pvr/25.2.8
-ffile-prefix-map=/workdir/oe/tmp/work/aquila_am69-tdx-linux/mesa-pvr/25.2.8/build=/usr/src/debug/mesa-pvr/25.2.8
-ffile-prefix-map=/workdir/oe/tmp/work/aquila_am69-tdx-linux/mesa-pvr/25.2.8/recipe-sysroot=
-ffile-prefix-map=/workdir/oe/tmp/work/aquila_am69-tdx-linux/mesa-pvr/25.2.8/recipe-sysroot-native=
-pipe -fPIC -pthread -DGALLIUM_PVR -MD -MQ
src/gallium/drivers/pvr/libpvr.a.p/pvr_mesa_dispatch.c.o -MF
src/gallium/drivers/pvr/libpvr.a.p/pvr_mesa_dispatch.c.o.d -o
src/gallium/drivers/pvr/libpvr.a.p/pvr_mesa_dispatch.c.o -c
../sources/mesa-pvr-25.2.8/src/gallium/drivers/pvr/pvr_mesa_dispatch.c
07-20:04:08:10  |
../sources/mesa-pvr-25.2.8/src/gallium/drivers/pvr/pvr_mesa_dispatch.c:31:10:
fatal error: glapi/gen/dispatch.h: No such file or directory
07-20:04:08:10  |    31 | #include "glapi/gen/dispatch.h"
07-20:04:08:10  |       |          ^~~~~~~~~~~~~~~~~~~~~~
07-20:04:08:10  | compilation terminated.

A quick ChatGPT inquiry suggests this fix, but I don't have the time
to look into it.

diff --git a/src/gallium/drivers/pvr/meson.build
b/src/gallium/drivers/pvr/meson.build
index .......... .. ..........
--- a/src/gallium/drivers/pvr/meson.build
+++ b/src/gallium/drivers/pvr/meson.build
@@ -24,6 +24,7 @@ libpvr_compile_args = [

 libpvr_dependencies = [
   dep_libdrm,
+  idep_dispatch_h,
   idep_mesautil,
 ]

Thanks,
Antoine

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

      parent reply	other threads:[~2026-07-23 20:03 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-07-21  7:53 [meta-ti][master] build issue on mesa-pvr Antoine
2026-07-21  7:55 ` PRC Automation
2026-07-23 20:03 ` Christidis, Antonios [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=8f955e24b16f4113aabf3edb1a6c19ed@ti.com \
    --to=a-christidis@ti.com \
    --cc=antoine.gouby@gmail.com \
    --cc=francesco@dolcini.it \
    --cc=meta-ti@lists.yoctoproject.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 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.