| Issue |
183349
|
| Summary |
Compiling mesa-26.0.1 with llvm-22.1.0 fails
|
| Labels |
new issue
|
| Assignees |
|
| Reporter |
heitbaum
|
```c
docker@fa87da2e808b:/var/media/DATA/home-rudi/LibreELEC.tv$ s/build mesa:host
BUILD mesa (host)
TOOLCHAIN meson (auto-detect)
Executing (host): meson setup --prefix=/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain --bindir=/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/bin --sbindir=/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/sbin --sysconfdir=/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/etc --libdir=/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/lib --libexecdir=/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/lib --localstatedir=/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/var --buildtype=plain --native-file=/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/build/mesa-26.0.1/.x86_64-linux-gnu/meson.conf -Dglvnd=disabled -Dgallium-drivers=iris -Dplatforms= -Dglx=disabled -Dvulkan-drivers= -Dshared-llvm=disabled -Dtools=panfrost /var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/build/mesa-26.0.1
Directory already configured.
Just run your build command (e.g. ninja) and Meson will regenerate as necessary.
Run "meson setup --reconfigure" to force Meson to regenerate.
If build failures persist, run "meson setup --wipe" to rebuild from scratch
using the same options as passed when configuring the build.
Executing (host): ninja
[0/1] Regenerating build files
The Meson build system
Version: 1.10.1
Source dir: /var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/build/mesa-26.0.1
Build dir: /var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/build/mesa-26.0.1/.x86_64-linux-gnu
Build type: native build
Project name: mesa
Project version: 26.0.1
C compiler for the host machine: /var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/bin/host-gcc (gcc 16.0.1 "gcc (Ubuntu 16-20260210-0ubuntu1) 16.0.1 20260210 (experimental) [trunk r16-7424-g0c763ab721b]")
C linker for the host machine: /var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/bin/host-gcc ld.bfd 2.46
C++ compiler for the host machine: /var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/bin/host-g++ (gcc 16.0.1 "g++ (Ubuntu 16-20260210-0ubuntu1) 16.0.1 20260210 (experimental) [trunk r16-7424-g0c763ab721b]")
C++ linker for the host machine: /var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/bin/host-g++ ld.bfd 2.46
Host machine cpu family: x86_64
Host machine cpu: x86_64
Checking for size of "void*" : 8 (cached)
Checking if "-mtls-dialect=gnu2" runs: YES
Checking if "split TLSDESC" links: YES (cached)
Dependency libglvnd skipped: feature glvnd disabled
Program glslangValidator found: NO
Dependency libva skipped: feature gallium-va disabled
Dependency libclc found: YES 0.2.0 (cached)
Program python3 found: YES 3.14.3 3.14.3 (/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/bin/python3)
Fetching value of define "ETIME" : 62 (cached)
Compiler for C supports arguments -gsplit-dwarf: YES (cached)
Compiler for C supports link arguments -Wl,--gdb-index: NO (cached)
Checking for function "bswap32" : YES (cached)
Checking for function "bswap64" : YES (cached)
Checking for function "clz" : YES (cached)
Checking for function "clzll" : YES (cached)
Checking for function "ctz" : YES (cached)
Checking for function "expect" : YES (cached)
Checking for function "ffs" : YES (cached)
Checking for function "ffsll" : YES (cached)
Checking for function "popcount" : YES (cached)
Checking for function "popcountll" : YES (cached)
Checking for function "unreachable" : YES (cached)
Checking for function "types_compatible_p" : YES (cached)
Checking for function "__builtin_add_overflow" : YES (cached)
Checking for function "__builtin_add_overflow_p" : YES (cached)
Checking for function "__builtin_sub_overflow_p" : YES (cached)
Compiler for C supports function attribute const: YES (cached)
Compiler for C supports function attribute flatten: YES (cached)
Compiler for C supports function attribute malloc: YES (cached)
Compiler for C supports function attribute pure: YES (cached)
Compiler for C supports function attribute unused: YES (cached)
Compiler for C supports function attribute warn_unused_result: YES (cached)
Compiler for C supports function attribute weak: YES (cached)
Compiler for C supports function attribute format: YES (cached)
Compiler for C supports function attribute packed: YES (cached)
Compiler for C supports function attribute returns_nonnull: YES (cached)
Compiler for C supports function attribute alias: YES (cached)
Compiler for C supports function attribute noreturn: YES (cached)
Compiler for C supports function attribute optimize: YES (cached)
Compiler for C supports function attribute cold: YES (cached)
Compiler for C supports function attribute visibility:hidden: YES (cached)
Checking if "__uint128_t" compiles: YES (cached)
Checking for function "reallocarray" : YES (cached)
Checking for function "fmemopen" : YES (cached)
Checking if "gc-sections" links: YES (cached)
Compiler for C supports arguments -Werror=implicit-function-declaration: YES (cached)
Compiler for C supports arguments -Werror=missing-prototypes: YES (cached)
Compiler for C supports arguments -Werror=return-type: YES (cached)
Compiler for C supports arguments -Werror=empty-body: YES (cached)
Compiler for C supports arguments -Werror=incompatible-pointer-types: YES (cached)
Compiler for C supports arguments -Werror=int-conversion: YES (cached)
Compiler for C supports arguments -Wimplicit-fallthrough: YES (cached)
Compiler for C supports arguments -Wmisleading-indentation: YES (cached)
Compiler for C supports arguments -Wno-error=maybe-uninitialized: YES (cached)
Compiler for C supports arguments -Wno-missing-field-initializers: YES (cached)
Compiler for C supports arguments -Wno-format-truncation: YES (cached)
Compiler for C supports arguments -Wno-nonnull-compare: YES (cached)
Compiler for C supports arguments -fno-math-errno: YES (cached)
Compiler for C supports arguments -fno-trapping-math: YES (cached)
Compiler for C supports arguments -Qunused-arguments: NO (cached)
Compiler for C supports arguments -fno-common: YES (cached)
Compiler for C supports arguments -Wno-unknown-pragmas: YES (cached)
Compiler for C supports arguments -Wno-microsoft-enum-value: NO (cached)
Compiler for C supports arguments -Wno-unused-function: YES (cached)
Compiler for C supports arguments -Werror=format: YES (cached)
Compiler for C supports arguments -Wformat-security: YES (cached)
Compiler for C supports arguments -Werror=thread-safety: NO (cached)
Compiler for C supports arguments -ffunction-sections: YES (cached)
Compiler for C supports arguments -fdata-sections: YES (cached)
Compiler for C++ supports arguments -Werror=return-type: YES (cached)
Compiler for C++ supports arguments -Werror=empty-body: YES (cached)
Compiler for C++ supports arguments -Wmisleading-indentation: YES (cached)
Compiler for C++ supports arguments -Wno-error=maybe-uninitialized: YES (cached)
Compiler for C++ supports arguments -Wno-non-virtual-dtor: YES (cached)
Compiler for C++ supports arguments -Wno-missing-field-initializers: YES (cached)
Compiler for C++ supports arguments -Wno-format-truncation: YES (cached)
Compiler for C++ supports arguments -fno-math-errno: YES (cached)
Compiler for C++ supports arguments -fno-trapping-math: YES (cached)
Compiler for C++ supports arguments -Qunused-arguments: NO (cached)
Compiler for C++ supports arguments -flifetime-dse=1: YES (cached)
Compiler for C++ supports arguments -Wno-unknown-pragmas: YES (cached)
Compiler for C++ supports arguments -Wno-microsoft-enum-value: NO (cached)
Compiler for C++ supports arguments -Werror=format: YES (cached)
Compiler for C++ supports arguments -Wformat-security: YES (cached)
Compiler for C++ supports arguments -ffunction-sections: YES (cached)
Compiler for C++ supports arguments -fdata-sections: YES (cached)
Compiler for C supports arguments -Wno-override-init: YES (cached)
Compiler for C supports arguments -Wno-initializer-overrides: NO (cached)
Compiler for C supports arguments -Werror=pointer-arith: YES (cached)
Compiler for C supports arguments -Werror=vla: YES (cached)
Compiler for C supports arguments -Werror=gnu-empty-initializer: NO (cached)
Compiler for C supports arguments -Wgnu-pointer-arith: NO (cached)
Compiler for C++ supports arguments -Werror=pointer-arith: YES (cached)
Compiler for C++ supports arguments -Werror=vla: YES (cached)
Compiler for C++ supports arguments -Werror=gnu-empty-initializer: NO (cached)
Compiler for C++ supports arguments -Wgnu-pointer-arith: NO (cached)
Checking for function "__builtin_ia32_clflushopt" : YES (cached)
Checking if "GCC atomic builtins" compiles: YES (cached)
Checking if "GCC atomic builtins required -latomic" links: YES (cached)
Checking if "GCC 64bit atomics" with dependency links: YES (cached)
Library ws2_32 found: NO
Header "sys/sysmacros.h" has symbol "major" : YES (cached)
Header "sys/sysmacros.h" has symbol "minor" : YES (cached)
Header "sys/sysmacros.h" has symbol "makedev" : YES (cached)
Header "sys/mkdev.h" has symbol "major" : NO (cached)
Check usable header "sched.h" : YES (cached)
Checking for function "sched_getaffinity" : YES (cached)
Check usable header "xlocale.h" : NO (cached)
Check usable header "linux/futex.h" : YES (cached)
Check usable header "endian.h" : YES (cached)
Check usable header "dlfcn.h" : YES (cached)
Check usable header "sys/shm.h" : YES (cached)
Check usable header "cet.h" : YES (cached)
Check usable header "pthread_np.h" : NO (cached)
Check usable header "poll.h" : YES (cached)
Check usable header "sys/inotify.h" : YES (cached)
Check usable header "linux/udmabuf.h" : YES (cached)
Checking for function "strtof" : YES (cached)
Checking for function "mkostemp" : YES (cached)
Checking for function "memfd_create" : YES (cached)
Checking for function "random_r" : YES (cached)
Checking for function "flock" : YES (cached)
Checking for function "strtok_r" : YES (cached)
Checking for function "getrandom" : YES (cached)
Checking for function "qsort_s" : NO (cached)
Checking for function "posix_fallocate" : YES (cached)
Checking for function "secure_getenv" : YES (cached)
Checking for function "sysconf" : YES (cached)
Checking if "GNU qsort_r" links: YES (cached)
Header "time.h" has symbol "struct timespec" : YES (cached)
Checking for function "thrd_create" : YES (cached)
Header "errno.h" has symbol "program_invocation_name" : YES (cached)
Header "math.h" has symbol "issignaling" : YES (cached)
Checking for function "posix_memalign" : YES (cached)
Checking whether type "struct dirent" has member "d_type" : YES (cached)
Checking if "strtod has locale support" links: YES (cached)
Checking if "Bsymbolic" links: YES (cached)
Checking if "version-script" links: YES (cached)
Checking if "dynamic-list" links: YES (cached)
Compiler for C supports link arguments -Wl,--build-id=sha1: YES (cached)
Checking for function "dlopen" : YES (cached)
Checking for function "dladdr" with dependency : YES (cached)
Checking for function "dl_iterate_phdr" : YES (cached)
Checking for function "clock_gettime" : YES (cached)
Dependency zlib found: YES 1.3.2 (cached)
Found pkg-config: YES (/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/bin/pkg-config) 0.29.2
Found CMake: -DCMAKE_INSTALL_PREFIX=/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain (4.2.3)
Run-time dependency libdisplay-info found: NO (tried pkgconfig and cmake)
Dependency libzstd found: YES 1.5.7 (cached)
Dependency threads found: YES unknown (cached)
Checking for function "pthread_setaffinity_np" with dependency threads: YES (cached)
Dependency expat found: YES 2.7.4 (cached)
Library m found: YES
Dependency libdrm found: YES 2.4.131 (cached)
Run-time dependency libudev found: NO (tried pkgconfig and cmake)
llvm-config found: YES (/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/bin/llvm-config) 22.1.0
Run-time dependency LLVM (modules: bitwriter, core, coverage, engine, executionengine, instcombine, irreader, libdriver, linker, lto, mcdisassembler, mcjit, native, option, scalaropts, target, transformutils, all-targets, coroutines, frontenddriver, frontendhlsl, lto, windowsdriver) found: YES 22.1.0
Dependency LLVMSPIRVLib found: YES 22.1.0.0 (cached)
Dependency SPIRV-Tools found: YES 2026.1.1 (cached)
Library clang-cpp found: YES
Library clangBasic found: YES
Library clangAST found: YES
Library clangCodeGen found: YES
Library clangLex found: YES
Library clangDriver found: YES
Library clangFrontend found: YES
Library clangFrontendTool found: YES
Library clangHandleCXX found: YES
Library clangHandleLLVM found: YES
Library clangSerialization found: YES
Library clangSema found: YES
Library clangParse found: YES
Library clangEdit found: YES
Library clangAnalysis found: YES
Library clangSupport found: YES
Library clangASTMatchers found: YES
Library clangAPINotes found: YES
Run-time dependency lua54 found: NO (tried pkgconfig and cmake)
Run-time dependency lua5.4 found: NO (tried pkgconfig and cmake)
Run-time dependency lua-5.4 found: NO (tried pkgconfig and cmake)
Run-time dependency lua53 found: NO (tried pkgconfig and cmake)
Run-time dependency lua5.3 found: NO (tried pkgconfig and cmake)
Run-time dependency lua-5.3 found: NO (tried pkgconfig and cmake)
Run-time dependency lua found: NO (tried pkgconfig)
Dependency libelf found: YES 0.194 (cached)
Run-time dependency valgrind found: NO (tried pkgconfig)
Program bison found: YES (/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/bin/bison)
Program bison found: YES 3.8.2 3.8.2 (/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/bin/bison)
Program flex found: YES (/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/bin/flex)
Run-time dependency libunwind found: NO (tried pkgconfig and cmake)
Dependency openmp found: YES 5.2 (cached)
Library sensors found: NO
Program nm found: YES
Program symbols-check.py found: YES (/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/bin/python3 /var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/build/mesa-26.0.1/bin/symbols-check.py)
Program install_megadrivers.py found: YES (/var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-13.0-devel/toolchain/bin/python3 /var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Gener<truncated>Please see the issue for the entire body.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs