Thank you for the suggestion. I tried patching out the : uint8_t part from enum jay_predication as you suggested, but that alone is not enough. After removing it, the build immediately fails with a static assertion:
static_assert(sizeof(jay_inst) == 32 + (sizeof(uintptr_t) * 2), "packed"); because the struct layout depends on the enum's underlying type. Beyond that, there are additional errors in other files that appear one after another when compiled with GCC 11: src/imagination/pco/pco_nir_pvfio.c: function lower_pfo returns false but should return nir_def *, causing error: incompatible types when returning type '_Bool' but 'nir_def *' was expected src/intel/compiler/jay/jay_from_nir.c: missing return in a non-void function, leading to error: control reaches end of non-void function I also tried passing -Dc_std=gnu2x and -Dwerror=false to Meson, but they were not enough to get past all the failures, and the build never completed successfully. It's therefore unclear how many more such issues might still be hidden – we simply weren't able to reach a clean build with GCC 11. -- Best Regards --------------------------------------------------- Wang Mingyu FUJITSU NANJING SOFTWARE TECHNOLOGY CO., LTD. (FNST) No.6 Wenzhu Road, Nanjing, 210012, China TEL:+86+25-86630566--8568 COINS: 79988548 FAX: +86+25-83317685 MAIL: [email protected] > -----Original Message----- > From: Alexander Kanavin <[email protected]> > Sent: Sunday, June 14, 2026 2:02 AM > To: Wang, Mingyu/王 鸣瑜 <[email protected]> > Cc: Mathieu Dubois-Briand <[email protected]>; > [email protected] > Subject: Re: [OE-core] [PATCH 15/16] mesa: upgrade 26.0.6 -> 26.1.2,26.0.6 -> > 26.1.2 > > On Fri, 12 Jun 2026 at 11:26, wangmy via lists.openembedded.org > <[email protected]> wrote: > > If we want to upgrade mesa to 26.1.x now, we likely need to bump the > minimum GCC version to 13 (or at least ensure GCC 13 is used for mesa). > > > > Alternatively, we could hold off on the mesa upgrade. > > I don't think we can hold it off, because that would require waiting until all > affected host distros reach end of life. For example, Debian > 12 still has two years of support. > > Equally adding buildtools requirement to relatively recent distributions > isn't a > great option. > > Looking at the logs, they show only one file where the issue happens: > > | ../sources/mesa-26.1.2/src/intel/compiler/jay/jay_ir.h:582:22: > error: expected identifier or ‘(’ before ‘:’ token > | 582 | enum jay_predication : uint8_t { > | | ^ > > Can you patch out the ': uint8_t' part and see if the rest of it builds > without > errors? Maybe adding an 'Upstream-status: > Inappropriate' patch with that tweak is the easiest way out. > > Alex
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#238801): https://lists.openembedded.org/g/openembedded-core/message/238801 Mute This Topic: https://lists.openembedded.org/mt/119737187/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
