# Pastebin GZ5m9JAn FAILED: src/panfrost/ds/libpps-panfrost.a.p/pan_pps_driver.cc.o clang++ -Isrc/panfrost/ds/libpps-panfrost.a.p -Isrc/panfrost/ds -I../src/panfrost/ds -Iinclude -I../include -Isrc -I../src -Isrc/tool -I../src/tool -I../subprojects/perfetto/sdk -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -I../src/panfrost/include -Isrc/panfrost -I../src/panfrost -Isrc/panfrost/shared -I../src/panfrost/shared -Isrc/panfrost/midgard -I../src/panfrost/midgard -Isrc/panfrost/bifrost -I../src/panfrost/bifrost -Isrc/panfrost/lib -I../src/panfrost/lib -Isrc/compiler/nir -I../src/compiler/nir -Isrc/util -I../src/util -Isrc/panfrost/lib/genxml -I../src/panfrost/lib/genxml -I/usr/include/libdrm -I/usr/include/valgrind -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wnon-virtual-dtor -std=c++17 -O0 -g -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="22.3.0-devel"' '-DPACKAGE_BUGREPORT="https://gitlab.freedesktop.org/mesa/mesa/-/issues"' -DHAVE_KMSRO -DHAVE_FREEDRENO -DHAVE_SWRAST -DHAVE_V3D -DHAVE_VC4 -DHAVE_ETNAVIV -DHAVE_SVGA -DHAVE_VIRGL -DHAVE_PANFROST -DHAVE_IRIS -DHAVE_LIMA -DHAVE_ZINK -DVIDEO_CODEC_VC1DEC=0 -DVIDEO_CODEC_H264DEC=0 -DVIDEO_CODEC_H264ENC=0 -DVIDEO_CODEC_H265DEC=0 -DVIDEO_CODEC_H265ENC=0 -DHAVE_X11_PLATFORM -DHAVE_WAYLAND_PLATFORM -DHAVE_SURFACELESS_PLATFORM -DHAVE_DRM_PLATFORM -DHAVE_XCB_PLATFORM -DENABLE_ST_OMX_BELLAGIO=0 -DENABLE_ST_OMX_TIZONIA=0 -DHAVE_VA_SURFACE_ATTRIB_DRM_FORMAT_MODIFIERS -DGLX_INDIRECT_RENDERING -DGLX_DIRECT_RENDERING -DGLX_USE_DRM -DDEBUG -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_VISIBILITY -DHAVE_UINT128 -DHAVE_REALLOCARRAY -D_GNU_SOURCE -DUSE_SSE41 -DUSE_GCC_ATOMIC_BUILTINS -DUSE_X86_64_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_CET_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_TIMESPEC_GET -DHAVE_MEMFD_CREATE -DHAVE_RANDOM_R -DHAVE_FLOCK -DHAVE_STRTOK_R -DHAVE_GETRANDOM -DHAVE_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 -DHAVE_LIBUDEV -DLLVM_AVAILABLE '-DMESA_LLVM_VERSION_STRING="14.0.0"' -DLLVM_IS_SHARED=1 -DDRAW_LLVM_AVAILABLE -DHAVE_VALGRIND -DMESA_EXECMEM -DHAVE_LIBUNWIND -DWL_HIDE_DEPRECATED -DHAVE_DRI -DHAVE_DRI2 -DHAVE_DRI3 -DHAVE_DRI3_MODIFIERS -DHAVE_DRISW_KMS -DHAVE_PERFETTO -DVK_USE_PLATFORM_DISPLAY_KHR -Werror=return-type -Werror=empty-body -Wno-non-virtual-dtor -Wno-missing-field-initializers -fno-math-errno -fno-trapping-math -Qunused-arguments -Wno-microsoft-enum-value -Werror=format -Wformat-security -ffunction-sections -fdata-sections -g -O0 -fPIC -pthread -MD -MQ src/panfrost/ds/libpps-panfrost.a.p/pan_pps_driver.cc.o -MF src/panfrost/ds/libpps-panfrost.a.p/pan_pps_driver.cc.o.d -o src/panfrost/ds/libpps-panfrost.a.p/pan_pps_driver.cc.o -c ../src/panfrost/ds/pan_pps_driver.cc In file included from ../src/panfrost/ds/pan_pps_driver.cc:16: ../include/drm-uapi/panfrost_drm.h:245:10: error: types cannot be declared in an anonymous union struct pan_reg_hdr { ^ ../include/drm-uapi/panfrost_drm.h:253:10: error: types cannot be declared in an anonymous union struct pan_bomap_hdr { ^ 2 errors generated.