On Tue, 16 Jun 2026 at 08:53, wangmy via lists.openembedded.org
<[email protected]> wrote:
> Import community patch to fix typed enum compilation error in
> src/intel/compiler/jay/jay_ir.h. GCC < 13 does not support the
> ": uint8_t" enum syntax used in the new version, and the fix
> explicitly casts the struct member to uint8_t to avoid layout
> mismatches.

Unfortunately there's one more issue with an even older gcc (version 10):
https://autobuilder.yoctoproject.org/valkyrie/#/builders/6/builds/3961/steps/12/logs/stdio

| ../sources/mesa-26.1.2/src/intel/compiler/jay/jay_to_binary.c:366:7:
error: a label can only be part of a statement and a declaration is
not a statement
|   366 |       bool hi = simd_offs ? true : jay_deswizzle_odd_src2_hi(I);
|       |       ^~~~

This should be easy to address: put the 'case:' block into braces, e.g
{ and }. I don't yet have a ready patch that you can take :)

Alex
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#238874): 
https://lists.openembedded.org/g/openembedded-core/message/238874
Mute This Topic: https://lists.openembedded.org/mt/119829664/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to