C:\Software\Development\projects\mesa\mesa>ninja --version
1.9.0
C:\Software\Development\projects\mesa\mesa>python --version
Python 3.8.0
C:\Software\Development\projects\mesa\mesa>python -m pip list
Package Version
---------- -------
Mako 1.1.0
MarkupSafe 1.1.1
meson 0.52.0
pip 19.3.1
setuptools 41.4.0
C:\Software\Development\projects\mesa\mesa>win_flex --version
win_flex 2.6.4
C:\Software\Development\projects\mesa\mesa>win_bison --version
bison (GNU Bison) 3.4.1
Written by Robert Corbett and Richard Stallman.
Copyright (C) 2019 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
C:\Software\Development\projects\mesa\mesa>pkg-config --version
pkgconf 1.6.3
C:\Software\Development\projects\mesa\mesa>gcc --version
gcc (GCC) 9.1.0
Copyright (C) 2019 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
C:\Software\Development\projects\mesa\mesa>echo %buildconf%
meson build/x64 --default-library=static --buildtype=release -Dllvm=false
C:\Software\Development\projects\mesa\mesa>%buildconf%
The Meson build system
Version: 0.52.0
Source dir: C:\Software\Development\projects\mesa\mesa
Build dir: C:\Software\Development\projects\mesa\mesa\build\x64
Build type: native build
Program python found: YES (C:\Users\prodea2\AppData\Local\Programs\Python\Python38\python.EXE)
Project name: mesa
Project version: 19.3.0-devel
C compiler for the host machine: gcc (gcc 9.1.0 "gcc (GCC) 9.1.0")
C linker for the host machine: GNU ld.bfd 2.32
C++ compiler for the host machine: c++ (gcc 9.1.0 "c++ (GCC) 9.1.0")
C++ linker for the host machine: GNU ld.bfd 2.32
Host machine cpu family: x86_64
Host machine cpu: x86_64
Program pkg-config found: YES (C:\Software\Development\projects\mesa\pkgconf\build\pkg-config.EXE)
Program C:\Users\prodea2\AppData\Local\Programs\Python\Python38\python found: YES (C:\Users\prodea2\AppData\Local\Programs\Python\Python38\python.exe)
WARNING: No include directory found parsing "gcc -xc -E -v -" output
Fetching value of define "ETIME" : 137
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
Checking if "__attribute__((const))" compiles: YES
Checking if "__attribute__((flatten))" compiles: YES
Checking if "__attribute__((malloc))" compiles: YES
Checking if "__attribute__((pure))" compiles: YES
Checking if "__attribute__((unused))" compiles: YES
Checking if "__attribute__((warn_unused_result))" compiles: YES
Checking if "__attribute__((weak))" compiles: YES
Checking if "__attribute__((format(...)))" compiles: YES
Checking if "__attribute__((packed))" compiles: YES
Checking if "__attribute__((returns_nonnull))" compiles: YES
Checking if "__attribute__((visibility(...)))" compiles: YES
Checking if "__attribute__((alias(...)))" compiles: YES
Checking if "__attribute__((__noreturn__))" compiles: 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 -Wno-missing-field-initializers -Wmissing-field-initializers: YES
Compiler for C supports arguments -Wno-format-truncation -Wformat-truncation: YES
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
WARNING: No include directory found parsing "c++ -xc++ -E -v -" output
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: YES
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 -Wno-override-init -Woverride-init: YES
Compiler for C supports arguments -Wno-initializer-overrides -Winitializer-overrides: NO
Compiler for C supports arguments -fvisibility=hidden: YES
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 -fvisibility=hidden: YES
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: YES
Header <sys/sysmacros.h> has symbol "major" : NO
Header <sys/mkdev.h> has symbol "major" : NO
Checking if "xlocale.h" compiles: NO
Checking if "sys/sysctl.h" compiles: NO
Checking if "linux/futex.h" compiles: NO
Checking if "endian.h" compiles: NO
Checking if "dlfcn.h" compiles: NO
Checking if "execinfo.h" compiles: NO
Checking if "sys/shm.h" compiles: NO
Checking if "cet.h" compiles: YES
Checking for function "strtof" : YES
Checking for function "mkostemp" : NO
Checking for function "timespec_get" : NO
Checking for function "memfd_create" : NO
Checking for function "random_r" : NO
Checking for function "flock" : NO
Header <errno.h> has symbol "program_invocation_name" : NO
Checking if "strtod has locale support" links: NO
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 "dl_iterate_phdr" : NO
Found pkg-config: C:\Software\Development\projects\mesa\pkgconf\build\pkg-config.EXE (1.6.3)
Did not find CMake 'cmake'
Found CMake: NO
Run-time dependency zlib found: NO (tried pkgconfig and cmake)
Looking for a fallback subproject for the dependency zlib
Using zlib source from cache.
Using zlib patch from cache.
|Executing subproject zlib method meson
|
|Project name: zlib
|Project version: 1.2.11
|C compiler for the host machine: gcc (gcc 9.1.0 "gcc (GCC) 9.1.0")
|C linker for the host machine: GNU ld.bfd 2.32
|Windows resource compiler: GNU windres (GNU Binutils) 2.32
|Build targets in project: 2
|Subproject zlib finished.
Dependency zlib from subproject subprojects\zlib found: YES
Run-time dependency threads found: YES
Library m found: YES
Run-time dependency libdrm found: NO (tried pkgconfig and cmake)
Run-time dependency valgrind found: NO (tried pkgconfig)
Program win_flex found: YES (C:\Software\Development\projects\mesa\flexbison\win_flex.EXE)
Program win_bison found: YES (C:\Software\Development\projects\mesa\flexbison\win_bison.EXE)
Run-time dependency libunwind found: NO (tried pkgconfig and cmake)
Library sensors found: NO
Program nm found: YES (C:\Software\Development\projects\mesa\mingw64\bin\nm.EXE)
Program symbols-check.py found: YES (python C:\Software\Development\projects\mesa\mesa\bin\symbols-check.py)
DEPRECATION: build_always is deprecated. Combine build_by_default and build_always_stale instead.
Message: Configuration summary:
prefix: c:/
libdir: lib
includedir: include
OpenGL: yes (ES1: no ES2: no)
OSMesa: no
EGL: no
GBM: no
EGL/Vulkan/VL platforms: windows
Vulkan drivers: no
llvm: no
Gallium drivers: swrast
Gallium st: mesa
HUD lmsensors: no
Shared-glapi: no
Build targets in project: 84
Option buildtype is: release [default: debugoptimized]
Found ninja.EXE-1.9.0 at C:\Software\Development\projects\mesa\ninja\ninja.EXE
C:\Software\Development\projects\mesa\mesa>ninja -C build/x64 -j 3
ninja: Entering directory `build/x64'
[4/846] Generating glcpp-parse.[ch] with a custom command.
../../src/compiler/glsl/glcpp/glcpp-parse.y:157.1-12: warning: deprecated directive, use '%define api.pure' [-Wdeprecated]
157 | %pure-parser
| ^~~~~~~~~~~~
../../src/compiler/glsl/glcpp/glcpp-parse.y:158.1-14: warning: deprecated directive, use '%define parse.error verbose' [-Wdeprecated]
158 | %error-verbose
| ^~~~~~~~~~~~~~
: warning: fix-its can be applied. Rerun with option '--update'. [-Wother]
[5/846] Generating glsl_parser with a custom command.
../../src/compiler/glsl/glsl_parser.yy:84.1-12: warning: deprecated directive, use '%define api.pure' [-Wdeprecated]
84 | %pure-parser
| ^~~~~~~~~~~~
../../src/compiler/glsl/glsl_parser.yy:85.1-14: warning: deprecated directive, use '%define parse.error verbose' [-Wdeprecated]
85 | %error-verbose
| ^~~~~~~~~~~~~~
: warning: fix-its can be applied. Rerun with option '--update'. [-Wother]
[52/846] Compiling C object src/util/719bc35@@mesa_util@sta/u_process.c.obj.
../../src/util/u_process.c:146:17: note: #pragma message: Warning: Per application configuration won't work with your OS version.
146 | # pragma message ( "Warning: Per application configuration won't work with your OS version." )
| ^~~~~~~
[87/846] Compiling C object src/compiler/nir/c6d7332@@nir@sta/nir.c.obj.
../../src/compiler/nir/nir.c:1827:1: warning: 'dest_is_ssa' defined but not used [-Wunused-function]
1827 | dest_is_ssa(nir_dest *dest, void *_state)
| ^~~~~~~~~~~
[140/846] Compiling C object src/compiler/nir/c6d7332@@nir@sta/nir_lower_io_arrays_to_elements.c.obj.
../../src/compiler/nir/nir_lower_io_arrays_to_elements.c: In function 'nir_lower_io_arrays_to_elements_no_indirects':
../../src/compiler/nir/nir_lower_io_arrays_to_elements.c:352:4: warning: braces around scalar initializer
352 | BITSET_DECLARE(indirects, 4 * VARYING_SLOT_TESS_MAX) = {{0}};
| ^~~~~~~~~~~~~~
../../src/compiler/nir/nir_lower_io_arrays_to_elements.c:352:4: note: (near initialization for 'indirects[0]')
../../src/compiler/nir/nir_lower_io_arrays_to_elements.c: In function 'nir_lower_io_arrays_to_elements':
../../src/compiler/nir/nir_lower_io_arrays_to_elements.c:390:4: warning: braces around scalar initializer
390 | BITSET_DECLARE(indirects, 4 * VARYING_SLOT_TESS_MAX) = {{0}};
| ^~~~~~~~~~~~~~
../../src/compiler/nir/nir_lower_io_arrays_to_elements.c:390:4: note: (near initialization for 'indirects[0]')
[150/846] Compiling C object src/compiler/nir/c6d7332@@nir@sta/nir_lower_io.c.obj.
../../src/compiler/nir/nir_lower_io.c: In function 'nir_lower_vars_to_explicit_types':
../../src/compiler/nir/nir_lower_io.c:1435:22: warning: unused variable 'supported' [-Wunused-variable]
1435 | nir_variable_mode supported = nir_var_mem_shared | nir_var_shader_temp | nir_var_function_temp;
| ^~~~~~~~~
[215/846] Compiling C object src/compiler/nir/c6d7332@@nir@sta/.._spirv_spirv_to_nir.c.obj.
../../src/compiler/spirv/spirv_to_nir.c: In function 'vtn_log_err':
../../src/compiler/spirv/spirv_to_nir.c:88:41: warning: unknown conversion type character 'z' in format [-Wformat=]
88 | ralloc_asprintf_append(&msg, "\n %zu bytes into the SPIR-V binary",
| ^
../../src/compiler/spirv/spirv_to_nir.c:88:33: warning: too many arguments for format [-Wformat-extra-args]
88 | ralloc_asprintf_append(&msg, "\n %zu bytes into the SPIR-V binary",
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[250/846] Compiling C object src/compiler/glsl/1a27c3f@@glsl@sta/gl_nir_link_uniforms.c.obj.
../../src/compiler/glsl/gl_nir_link_uniforms.c: In function 'find_and_update_previous_uniform_storage':
../../src/compiler/glsl/gl_nir_link_uniforms.c:166:16: warning: unused variable 'num_blks' [-Wunused-variable]
166 | unsigned num_blks = nir_variable_is_in_ubo(var) ?
| ^~~~~~~~
[257/846] Compiling C++ object src/compiler/glsl/1a27c3f@@glsl@sta/builtin_functions.cpp.obj.
../../src/compiler/glsl/builtin_functions.cpp:71:2: warning: #warning "disabling optimizations for this file to work around compiler bug" [-Wcpp]
71 | #warning "disabling optimizations for this file to work around compiler bug"
| ^~~~~~~
[261/846] Compiling C object src/mapi/glapi/175994c@@glapi_static@sta/glapi_entrypoint.c.obj.
../../src/mapi/glapi/glapi_entrypoint.c:314:1: warning: 'init_glapi_relocs' defined but not used [-Wunused-function]
314 | init_glapi_relocs( void )
| ^~~~~~~~~~~~~~~~~
[303/846] Compiling C++ object src/compiler/glsl/1a27c3f@@glsl@sta/ir_print_visitor.cpp.obj.
../../src/compiler/glsl/ir_print_visitor.cpp: In member function 'virtual void ir_print_visitor::visit(ir_constant*)':
../../src/compiler/glsl/ir_print_visitor.cpp:491:29: warning: unknown conversion type character 'a' in format [-Wformat=]
491 | fprintf(f, "%a", ir->value.f[i]);
| ^
../../src/compiler/glsl/ir_print_visitor.cpp:491:27: warning: too many arguments for format [-Wformat-extra-args]
491 | fprintf(f, "%a", ir->value.f[i]);
| ^~~~
../../src/compiler/glsl/ir_print_visitor.cpp:491:29: warning: unknown conversion type character 'a' in format [-Wformat=]
491 | fprintf(f, "%a", ir->value.f[i]);
| ^
../../src/compiler/glsl/ir_print_visitor.cpp:491:27: warning: too many arguments for format [-Wformat-extra-args]
491 | fprintf(f, "%a", ir->value.f[i]);
| ^~~~
../../src/compiler/glsl/ir_print_visitor.cpp:509:29: warning: unknown conversion type character 'a' in format [-Wformat=]
509 | fprintf(f, "%a", ir->value.d[i]);
| ^
../../src/compiler/glsl/ir_print_visitor.cpp:509:27: warning: too many arguments for format [-Wformat-extra-args]
509 | fprintf(f, "%a", ir->value.d[i]);
| ^~~~
../../src/compiler/glsl/ir_print_visitor.cpp:509:29: warning: unknown conversion type character 'a' in format [-Wformat=]
509 | fprintf(f, "%a", ir->value.d[i]);
| ^
../../src/compiler/glsl/ir_print_visitor.cpp:509:27: warning: too many arguments for format [-Wformat-extra-args]
509 | fprintf(f, "%a", ir->value.d[i]);
| ^~~~
[312/846] Compiling C++ object src/compiler/glsl/1a27c3f@@glsl@sta/linker.cpp.obj.
FAILED: src/compiler/glsl/1a27c3f@@glsl@sta/linker.cpp.obj
c++ @src/compiler/glsl/1a27c3f@@glsl@sta/linker.cpp.obj.rsp
In file included from ../../src/compiler/glsl/linker.cpp:89:
../../src/compiler/glsl/linker.cpp: In function 'bool included_in_packed_varying(ir_variable*, const char*)':
..\..\src\mesa/main/imports.h:325:18: error: 'strtok_s' was not declared in this scope; did you mean 'strtok_r'?
325 | #define strtok_r strtok_s
| ^~~~~~~~
..\..\src\mesa/main/imports.h:325:18: note: in definition of macro 'strtok_r'
325 | #define strtok_r strtok_s
| ^~~~~~~~
[314/846] Compiling C object src/gallium/auxiliary/962fc52@@gallium@sta/meson-generated_.._u_format_table.c.obj.
ninja: build stopped: subcommand failed.
C:\Software\Development\projects\mesa\mesa>