Mesa 20.2.0-rc1 fails to build for AMD
System information
- OS: Ubuntu
- GPU: 01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Fiji [Radeon R9 FURY / NANO Series] (rev cb)
- Kernel version: 4.10.0
- Mesa version:
- Xserver version (if applicable): 1.18.4
- Desktop manager and compositor:
Describe the issue
Can't build mesa 20.2.0-rc1 on any AMD machines for radv or radeonsi.
Regression
Mesa 20.1.5 compiled fine with the same build steps and environment.
Output from trying to build:
PKG_CONFIG_PATH=$INSTALL_64DIR/lib/x86_64-linux-gnu/pkgconfig $HOME/meson/meson.py --prefix=$INSTALL_64DIR -Ddri-drivers=[] -Dgallium-drivers="radeonsi" -Dplatforms="x11,drm" -Dvulkan-drivers="amd" --buildtype="release" -Db_ndebug="true" ..
The Meson build system
Version: 0.52.0
Source dir: /home/lunarg/Mesa/mesa
Build dir: /home/lunarg/Mesa/mesa/build
Build type: native build
Program python found: YES (/usr/bin/python)
Project name: mesa
Project version: 20.2.0-rc1
C compiler for the host machine: cc (gcc 5.4.0 "cc (Ubuntu 5.4.0-6ubuntu1~16.04.4) 5.4.0 20160609")
C linker for the host machine: GNU ld.bfd 2.26.1
C++ compiler for the host machine: c++ (gcc 5.4.0 "c++ (Ubuntu 5.4.0-6ubuntu1~16.04.4) 5.4.0 20160609")
C++ linker for the host machine: GNU ld.bfd 2.26.1
Host machine cpu family: x86_64
Host machine cpu: x86_64
meson.build:324: WARNING: Platform `drm` is now automatically selected; setting this option will be an error in Mesa 20.3
Found pkg-config: /usr/bin/pkg-config (0.29.1)
Found CMake: /usr/bin/cmake (3.5.1)
Run-time dependency vdpau found: NO (tried pkgconfig and cmake)
Run-time dependency libomxil-bellagio found: NO (tried pkgconfig and cmake)
Run-time dependency libtizonia found: NO (tried pkgconfig and cmake)
Run-time dependency libtizplatform found: NO (tried pkgconfig and cmake)
Run-time dependency tizilheaders found: NO (tried pkgconfig and cmake)
Run-time dependency libva found: NO (tried pkgconfig and cmake)
Program python3 found: YES (/usr/local/bin/python3)
Fetching value of define "ETIME" : 62
Checking for function "bswap32" : YES
Checking for function "bswap64" : YES
Checking for function "clz" : YES
Checking for function "clzll" : YES
Checking for function "ctz" : YES
Checking for function "expect" : YES
Checking for function "ffs" : YES
Checking for function "ffsll" : YES
Checking for function "popcount" : YES
Checking for function "popcountll" : YES
Checking for function "unreachable" : YES
Compiler for C supports function attribute const: YES
Compiler for C supports function attribute flatten: YES
Compiler for C supports function attribute malloc: YES
Compiler for C supports function attribute pure: YES
Compiler for C supports function attribute unused: YES
Compiler for C supports function attribute warn_unused_result: YES
Compiler for C supports function attribute weak: YES
Compiler for C supports function attribute format: YES
Compiler for C supports function attribute packed: YES
Compiler for C supports function attribute returns_nonnull: YES
Compiler for C supports function attribute alias: YES
Compiler for C supports function attribute noreturn: YES
Compiler for C supports function attribute visibility:hidden: YES
Checking if "__uint128_t" compiles: YES
Compiler for C supports arguments -Werror=implicit-function-declaration: YES
Compiler for C supports arguments -Werror=missing-prototypes: YES
Compiler for C supports arguments -Werror=return-type: YES
Compiler for C supports arguments -Werror=empty-body: YES
Compiler for C supports arguments -Werror=incompatible-pointer-types: YES
Compiler for C supports arguments -Werror=int-conversion: YES
Compiler for C supports arguments -Wimplicit-fallthrough: NO
Compiler for C supports arguments -Wno-missing-field-initializers -Wmissing-field-initializers: YES
Compiler for C supports arguments -Wno-format-truncation -Wformat-truncation: NO
Compiler for C supports arguments -fno-math-errno: YES
Compiler for C supports arguments -fno-trapping-math: YES
Compiler for C supports arguments -Qunused-arguments: NO
Compiler for C supports arguments -fno-common: YES
Compiler for C supports arguments -Werror=format: YES
Compiler for C supports arguments -Wformat-security: YES
Compiler for C++ supports arguments -Werror=return-type: YES
Compiler for C++ supports arguments -Werror=empty-body: YES
Compiler for C++ supports arguments -Wno-non-virtual-dtor -Wnon-virtual-dtor: YES
Compiler for C++ supports arguments -Wno-missing-field-initializers -Wmissing-field-initializers: YES
Compiler for C++ supports arguments -Wno-format-truncation -Wformat-truncation: NO
Compiler for C++ supports arguments -fno-math-errno: YES
Compiler for C++ supports arguments -fno-trapping-math: YES
Compiler for C++ supports arguments -Qunused-arguments: NO
Compiler for C++ supports arguments -flifetime-dse=1: NO
Compiler for C++ supports arguments -Werror=format: YES
Compiler for C++ supports arguments -Wformat-security: YES
Compiler for C supports arguments -Wno-override-init -Woverride-init: YES
Compiler for C supports arguments -Wno-initializer-overrides -Winitializer-overrides: NO
Compiler for C supports arguments -Werror=pointer-arith: YES
Compiler for C++ supports arguments -Werror=pointer-arith: YES
Compiler for C supports arguments -Werror=vla: YES
Compiler for C++ supports arguments -Werror=vla: YES
Compiler for C supports arguments -Werror=gnu-empty-initializer: NO
Compiler for C++ supports arguments -Werror=gnu-empty-initializer: NO
Checking if "GCC atomic builtins" compiles: YES
Checking if "GCC atomic builtins required -latomic" links: YES
Checking if "GCC 64bit atomics" with dependency not-found links: YES
Library ws2_32 found: NO
Header <sys/sysmacros.h> has symbol "major" : YES
Header <sys/sysmacros.h> has symbol "minor" : YES
Header <sys/sysmacros.h> has symbol "makedev" : YES
Header <sys/mkdev.h> has symbol "major" : NO
Check usable header "xlocale.h" : YES
Check usable header "linux/futex.h" : YES
Check usable header "endian.h" : YES
Check usable header "dlfcn.h" : YES
Check usable header "execinfo.h" : YES
Check usable header "sys/shm.h" : YES
Check usable header "cet.h" : NO
Checking for function "strtof" : YES
Checking for function "mkostemp" : YES
Checking for function "timespec_get" : YES
Checking for function "memfd_create" : NO
Checking for function "random_r" : YES
Checking for function "flock" : YES
Checking for function "strtok_r" : YES
Checking for function "getrandom" : NO
Header <errno.h> has symbol "program_invocation_name" : YES
Checking for function "posix_memalign" : YES
Checking whether type "struct dirent" has member "d_type" : YES
Checking if "strtod has locale support" links: YES
Checking if "Bsymbolic" links: YES
Checking if "gc-sections" links: YES
Checking if "version-script" links: YES
Checking if "dynamic-list" links: YES
Compiler for C supports link arguments -Wl,--build-id=sha1: YES
Checking for function "dlopen" : NO
Library dl found: YES
Checking for function "dladdr" with dependency -ldl: YES
Checking for function "dl_iterate_phdr" : YES
Checking for function "clock_gettime" : YES
Run-time dependency zlib found: YES 1.2.8
Run-time dependency libzstd found: NO (tried pkgconfig and cmake)
Run-time dependency threads found: YES
Checking for function "pthread_setaffinity_np" with dependency threads: YES
Checking for function "pthread_setaffinity_np" with dependency threads: NO
Run-time dependency expat found: YES 2.1.0
Library m found: YES
Message: libdrm 2.4.100 needed because amdgpu has the highest requirement
Run-time dependency libdrm_amdgpu found: YES 2.4.102
Run-time dependency libdrm_radeon found: YES 2.4.102
Run-time dependency libdrm found: YES 2.4.102
llvm-config found: YES (/usr/bin/llvm-config) 8.0.1
Run-time dependency LLVM (modules: amdgpu, bitreader, bitwriter, core, engine, executionengine, instcombine, ipo, mcdisassembler, mcjit, native, scalaropts, transformutils, coroutines) found: YES 8.0.1
Run-time dependency libelf found: YES 0.165
Run-time dependency valgrind found: NO (tried pkgconfig)
Program bison found: YES (/usr/bin/bison)
Program bison found: YES (/usr/bin/bison)
Program flex found: YES (/usr/bin/flex)
Run-time dependency libunwind found: NO (tried pkgconfig and cmake)
Run-time dependency x11 found: YES 1.6.3
Run-time dependency xext found: YES 1.3.3
Run-time dependency xdamage found: YES 1.1.4
Run-time dependency xfixes found: YES 5.0.1
Run-time dependency xcb-glx found: YES 1.11.1
Run-time dependency xcb found: YES 1.11.1
Run-time dependency x11-xcb found: YES 1.6.3
Run-time dependency xcb-dri2 found: YES 1.11.1
Run-time dependency xcb-dri3 found: YES 1.11.1
Run-time dependency xcb-present found: YES 1.11.1
Run-time dependency xcb-sync found: YES 1.11.1
Run-time dependency xshmfence found: YES 1.2
Run-time dependency glproto found: YES 1.4.17
Run-time dependency dri2proto found: YES 2.8
Run-time dependency xxf86vm found: YES 1.1.4
Run-time dependency xcb-xfixes found: YES 1.11.1
Run-time dependency xcb-randr found: YES 1.11.1
Run-time dependency xrandr found: YES 1.5.0
Library sensors found: NO
Compiler for C supports link arguments -Wl,--gc-sections: YES
Compiler for C supports arguments -ffunction-sections: YES
Compiler for C supports arguments -fdata-sections: YES
Program nm found: YES (/usr/bin/nm)
Program symbols-check.py found: YES (/usr/bin/env python /home/lunarg/Mesa/mesa/bin/symbols-check.py)
Program install_megadrivers.py found: YES (/usr/local/bin/python3 /home/lunarg/Mesa/mesa/bin/install_megadrivers.py)
WARNING: Library target 'GLESv1_CM' has 'name_prefix' set. Compilers may not find it from its '-lGLESv1_CM' linker flag in the 'glesv1_cm.pc' pkg-config file.
WARNING: Library target 'GLESv2' has 'name_prefix' set. Compilers may not find it from its '-lGLESv2' linker flag in the 'glesv2.pc' pkg-config file.
Checking for function "mincore" : YES
Program /home/lunarg/Mesa/mesa/bin/install_megadrivers.py found: YES (/usr/local/bin/python3 /home/lunarg/Mesa/mesa/bin/install_megadrivers.py)
Message: Configuration summary:
prefix: /home/lunarg/MesaInstall/Mesa
libdir: lib/x86_64-linux-gnu
includedir: include
OpenGL: yes (ES1: yes ES2: yes)
OSMesa: no
DRI platform: drm
DRI drivers: no
DRI driver dir: /home/lunarg/MesaInstall/Mesa/lib/x86_64-linux-gnu/dri
GLX: DRI-based
EGL: yes
EGL drivers: builtin:egl_dri2 builtin:egl_dri3
GBM: yes
EGL/Vulkan/VL platforms: x11 drm surfaceless drm
Vulkan drivers: amd
Vulkan ICD dir: share/vulkan/icd.d
llvm: yes
llvm-version: 8.0.1
Gallium drivers: radeonsi
Gallium st: mesa
HUD lmsensors: no
Shared-glapi: yes
Build targets in project: 126
Option buildtype is: release [default: debugoptimized]
Option b_ndebug is: true [default: if-release]
Found ninja-1.5.1 at /usr/bin/ninja
ninja
[10/1181] Compiling C object 'src/util/ed6d25d@@mesa_util@sta/anon_file.c.o'.
../src/util/anon_file.c: In function ‘os_create_anonymous_file’:
../src/util/anon_file.c:137:7: warning: ignoring return value of ‘asprintf’, declared with attribute warn_unused_result [-Wunused-result]
asprintf(&name, "%s/mesa-shared-%s-XXXXXX", path, debug_name);
^
../src/util/anon_file.c:139:7: warning: ignoring return value of ‘asprintf’, declared with attribute warn_unused_result [-Wunused-result]
asprintf(&name, "%s/mesa-shared-XXXXXX", path);
^
[57/1181] Compiling C object 'src/util/ed6d25d@@mesa_util@sta/u_debug_stack.c.o'.
../src/util/u_debug_stack.c: In function ‘debug_backtrace_capture’:
../src/util/u_debug_stack.c:255:9: warning: unknown option after ‘#pragma GCC diagnostic’ kind [-Wpragmas]
#pragma GCC diagnostic ignored "-Wframe-address"
^
[341/1181] Compiling C++ object 'src/compiler/glsl/cdfbb49@@glsl@sta/meson-generated_.._glsl_lexer.cpp.o'.
src/compiler/glsl/glsl_lexer.cpp: In function ‘int yy_get_next_buffer(yyscan_t)’:
src/compiler/glsl/glsl_lexer.cpp:3606:47: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if ((int) (yyg->yy_n_chars + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) {
^
[960/1181] Compiling C object 'src/gallium/auxiliary/eb820e8@@gallium@sta/gallivm_lp_bld_format_s3tc.c.o'.
../src/gallium/auxiliary/gallivm/lp_bld_format_s3tc.c: In function ‘lp_build_fetch_rgtc_rgba_aos’:
../src/gallium/auxiliary/gallivm/lp_bld_format_s3tc.c:2649:15: warning: ‘green_hi’ may be used uninitialized in this function [-Wmaybe-uninitialized]
rgba = latc2_to_rgba_aos(gallivm, n, format_desc->format,
^
../src/gallium/auxiliary/gallivm/lp_bld_format_s3tc.c:2649:15: warning: ‘green_lo’ may be used uninitialized in this function [-Wmaybe-uninitialized]
[991/1181] Compiling C++ object 'src/gallium/auxiliary/eb820e8@@gallium@sta/tessellator_tessellator.cpp.o'.
../src/gallium/auxiliary/tessellator/tessellator.cpp: In instantiation of ‘INT32 floatToIDotF(const float&) [with unsigned char c_uIBits = 15u; unsigned char c_uFBits = 16u; bool c_bSigned = false; INT32 = int]’:
../src/gallium/auxiliary/tessellator/tessellator.cpp:382:89: required from here
../src/gallium/auxiliary/tessellator/tessellator.cpp:201:48: warning: left shift count is negative [-Wshift-count-negative]
_fxpMaxPosValueFloat -= INT32( 1 ) << iShift;
^
../src/gallium/auxiliary/tessellator/tessellator.cpp:223:48: warning: left shift count is negative [-Wshift-count-negative]
_fxpMaxPosValueFloat -= INT32( 1 ) << iShift;
^
[1005/1181] Compiling C++ object 'src/amd/compiler/3c53451@@aco@sta/meson-generated_.._aco_opcodes.cpp.o'.
FAILED: c++ -Isrc/amd/compiler/3c53451@@aco@sta -Isrc/amd/compiler -I../src/amd/compiler -Iinclude -I../include -Isrc -I../src -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/compiler -I../src/compiler -Isrc/amd -I../src/amd -Isrc/amd/common -I../src/amd/common -Isrc/amd/llvm -I../src/amd/llvm -Isrc/compiler/nir -I../src/compiler/nir -I/usr/lib/llvm-8/include -I/home/lunarg/MesaInstall/Mesa/include -I/home/lunarg/MesaInstall/Mesa/include/libdrm -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wnon-virtual-dtor -std=c++14 -O3 -Wl,--gc-sections -ffunction-sections -fdata-sections '-DPACKAGE_VERSION="20.2.0-rc1"' '-DPACKAGE_BUGREPORT="https://gitlab.freedesktop.org/mesa/mesa/-/issues"' -DUSE_ELF_TLS -DENABLE_ST_OMX_BELLAGIO=0 -DENABLE_ST_OMX_TIZONIA=0 -DHAVE_X11_PLATFORM -DGLX_INDIRECT_RENDERING -DGLX_DIRECT_RENDERING -DGLX_USE_DRM -DHAVE_DRM_PLATFORM -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_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 -DUSE_SSE41 -DUSE_GCC_ATOMIC_BUILTINS -DUSE_X86_64_ASM -DMAJOR_IN_SYSMACROS -DHAVE_XLOCALE_H -DHAVE_LINUX_FUTEX_H -DHAVE_ENDIAN_H -DHAVE_DLFCN_H -DHAVE_EXECINFO_H -DHAVE_SYS_SHM_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_TIMESPEC_GET -DHAVE_RANDOM_R -DHAVE_FLOCK -DHAVE_STRTOK_R -DHAVE_PROGRAM_INVOCATION_NAME -DHAVE_POSIX_MEMALIGN -DHAVE_DIRENT_D_TYPE -DHAVE_STRTOD_L -DHAVE_DLADDR -DHAVE_DL_ITERATE_PHDR -DHAVE_ZLIB -DHAVE_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DLLVM_AVAILABLE '-DMESA_LLVM_VERSION_STRING="8.0.1"' -DHAVE_DRI3 -Werror=return-type -Werror=empty-body -Wno-non-virtual-dtor -Wno-missing-field-initializers -fno-math-errno -fno-trapping-math -Werror=format -Wformat-security -fPIC -pthread -D__STDC_CONSTANT_MACROS -D_GNU_SOURCE -D__STDC_LIMIT_MACROS -D__STDC_FORMAT_MACROS -MD -MQ 'src/amd/compiler/3c53451@@aco@sta/meson-generated_.._aco_opcodes.cpp.o' -MF 'src/amd/compiler/3c53451@@aco@sta/meson-generated_.._aco_opcodes.cpp.o.d' -o 'src/amd/compiler/3c53451@@aco@sta/meson-generated_.._aco_opcodes.cpp.o' -c src/amd/compiler/aco_opcodes.cpp
In file included from src/amd/compiler/aco_opcodes.cpp:25:0:
../src/amd/compiler/aco_ir.h:177:44: error: expected ‘,’ before ‘)’ token
static_assert(sizeof(memory_sync_info) == 3);
^
../src/amd/compiler/aco_ir.h:177:44: error: expected string-literal before ‘)’ token
[1005/1181] Compiling C++ object 'src/amd/compiler/3c53451@@aco@sta/aco_dominance.cpp.o'.
FAILED: c++ -Isrc/amd/compiler/3c53451@@aco@sta -Isrc/amd/compiler -I../src/amd/compiler -Iinclude -I../include -Isrc -I../src -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/compiler -I../src/compiler -Isrc/amd -I../src/amd -Isrc/amd/common -I../src/amd/common -Isrc/amd/llvm -I../src/amd/llvm -Isrc/compiler/nir -I../src/compiler/nir -I/usr/lib/llvm-8/include -I/home/lunarg/MesaInstall/Mesa/include -I/home/lunarg/MesaInstall/Mesa/include/libdrm -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wnon-virtual-dtor -std=c++14 -O3 -Wl,--gc-sections -ffunction-sections -fdata-sections '-DPACKAGE_VERSION="20.2.0-rc1"' '-DPACKAGE_BUGREPORT="https://gitlab.freedesktop.org/mesa/mesa/-/issues"' -DUSE_ELF_TLS -DENABLE_ST_OMX_BELLAGIO=0 -DENABLE_ST_OMX_TIZONIA=0 -DHAVE_X11_PLATFORM -DGLX_INDIRECT_RENDERING -DGLX_DIRECT_RENDERING -DGLX_USE_DRM -DHAVE_DRM_PLATFORM -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_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 -DUSE_SSE41 -DUSE_GCC_ATOMIC_BUILTINS -DUSE_X86_64_ASM -DMAJOR_IN_SYSMACROS -DHAVE_XLOCALE_H -DHAVE_LINUX_FUTEX_H -DHAVE_ENDIAN_H -DHAVE_DLFCN_H -DHAVE_EXECINFO_H -DHAVE_SYS_SHM_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_TIMESPEC_GET -DHAVE_RANDOM_R -DHAVE_FLOCK -DHAVE_STRTOK_R -DHAVE_PROGRAM_INVOCATION_NAME -DHAVE_POSIX_MEMALIGN -DHAVE_DIRENT_D_TYPE -DHAVE_STRTOD_L -DHAVE_DLADDR -DHAVE_DL_ITERATE_PHDR -DHAVE_ZLIB -DHAVE_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DLLVM_AVAILABLE '-DMESA_LLVM_VERSION_STRING="8.0.1"' -DHAVE_DRI3 -Werror=return-type -Werror=empty-body -Wno-non-virtual-dtor -Wno-missing-field-initializers -fno-math-errno -fno-trapping-math -Werror=format -Wformat-security -fPIC -pthread -D__STDC_CONSTANT_MACROS -D_GNU_SOURCE -D__STDC_LIMIT_MACROS -D__STDC_FORMAT_MACROS -MD -MQ 'src/amd/compiler/3c53451@@aco@sta/aco_dominance.cpp.o' -MF 'src/amd/compiler/3c53451@@aco@sta/aco_dominance.cpp.o.d' -o 'src/amd/compiler/3c53451@@aco@sta/aco_dominance.cpp.o' -c ../src/amd/compiler/aco_dominance.cpp
In file included from ../src/amd/compiler/aco_dominance.cpp:31:0:
../src/amd/compiler/aco_ir.h:177:44: error: expected ‘,’ before ‘)’ token
static_assert(sizeof(memory_sync_info) == 3);
^
../src/amd/compiler/aco_ir.h:177:44: error: expected string-literal before ‘)’ token
[1005/1181] Compiling C++ object 'src/amd/compiler/3c53451@@aco@sta/aco_instruction_selection.cpp.o'.
FAILED: c++ -Isrc/amd/compiler/3c53451@@aco@sta -Isrc/amd/compiler -I../src/amd/compiler -Iinclude -I../include -Isrc -I../src -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/compiler -I../src/compiler -Isrc/amd -I../src/amd -Isrc/amd/common -I../src/amd/common -Isrc/amd/llvm -I../src/amd/llvm -Isrc/compiler/nir -I../src/compiler/nir -I/usr/lib/llvm-8/include -I/home/lunarg/MesaInstall/Mesa/include -I/home/lunarg/MesaInstall/Mesa/include/libdrm -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wnon-virtual-dtor -std=c++14 -O3 -Wl,--gc-sections -ffunction-sections -fdata-sections '-DPACKAGE_VERSION="20.2.0-rc1"' '-DPACKAGE_BUGREPORT="https://gitlab.freedesktop.org/mesa/mesa/-/issues"' -DUSE_ELF_TLS -DENABLE_ST_OMX_BELLAGIO=0 -DENABLE_ST_OMX_TIZONIA=0 -DHAVE_X11_PLATFORM -DGLX_INDIRECT_RENDERING -DGLX_DIRECT_RENDERING -DGLX_USE_DRM -DHAVE_DRM_PLATFORM -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_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 -DUSE_SSE41 -DUSE_GCC_ATOMIC_BUILTINS -DUSE_X86_64_ASM -DMAJOR_IN_SYSMACROS -DHAVE_XLOCALE_H -DHAVE_LINUX_FUTEX_H -DHAVE_ENDIAN_H -DHAVE_DLFCN_H -DHAVE_EXECINFO_H -DHAVE_SYS_SHM_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_TIMESPEC_GET -DHAVE_RANDOM_R -DHAVE_FLOCK -DHAVE_STRTOK_R -DHAVE_PROGRAM_INVOCATION_NAME -DHAVE_POSIX_MEMALIGN -DHAVE_DIRENT_D_TYPE -DHAVE_STRTOD_L -DHAVE_DLADDR -DHAVE_DL_ITERATE_PHDR -DHAVE_ZLIB -DHAVE_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DLLVM_AVAILABLE '-DMESA_LLVM_VERSION_STRING="8.0.1"' -DHAVE_DRI3 -Werror=return-type -Werror=empty-body -Wno-non-virtual-dtor -Wno-missing-field-initializers -fno-math-errno -fno-trapping-math -Werror=format -Wformat-security -fPIC -pthread -D__STDC_CONSTANT_MACROS -D_GNU_SOURCE -D__STDC_LIMIT_MACROS -D__STDC_FORMAT_MACROS -MD -MQ 'src/amd/compiler/3c53451@@aco@sta/aco_instruction_selection.cpp.o' -MF 'src/amd/compiler/3c53451@@aco@sta/aco_instruction_selection.cpp.o.d' -o 'src/amd/compiler/3c53451@@aco@sta/aco_instruction_selection.cpp.o' -c ../src/amd/compiler/aco_instruction_selection.cpp
In file included from ../src/amd/compiler/aco_instruction_selection.cpp:32:0:
../src/amd/compiler/aco_ir.h:177:44: error: expected ‘,’ before ‘)’ token
static_assert(sizeof(memory_sync_info) == 3);
^
../src/amd/compiler/aco_ir.h:177:44: error: expected string-literal before ‘)’ token
[1005/1181] Generating sid_tables_h with a meson_exe.py custom command.
ninja: build stopped: subcommand failed.
Any extra information would be greatly appreciated
- python3.8.5 is installed
Edited by John Zupin