glib build error - malformed "-I" created by build system, seeking assistance
Hello. I am seeking clarity with something odd. Any help would be appreciated. Newbie alert.
I am attempting to cross-compile glib2 under mingw64, and it fails due to an anomalous Include folder.
I think I am specifying the meson commandline correctly: meson --prefix=/home/u/Desktop/_working/workdir/toolchain/x86_64-w64-mingw32/x86_64-w64-mingw32 --libdir=lib --includedir=include --default-library=static --backend=ninja --buildtype=release -Dinternal_pcre=false -Dforce_posix_threads=true -Diconv=external -Dlibmount=disabled -Dman=false -Dfam=false -Dinstalled_tests=false --cross-file=/home/u/Desktop/_working/workdir/meson_environment.txt ./ ..
However, it always fails with: 129/429] Compiling C object gobject/libgobject-2.0.a.p/gatomicarray.c.obj FAILED: gobject/libgobject-2.0.a.p/gatomicarray.c.obj x86_64-w64-mingw32-gcc -Igobject/libgobject-2.0.a.p -Igobject -I../gobject -I. -I.. -Iglib -I../glib -I/home/u/Desktop/_working/workdir/toolchain/x86_64-w64-mingw32/home/u/Desktop/_working/workdir/toolchain/x86_64-w64-mingw32/x86_64-w64-mingw32/include -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -O3 -D_GNU_SOURCE -fno-strict-aliasing -DG_DISABLE_CAST_CHECKS -Wduplicated-branches -Wimplicit-fallthrough -Wmisleading-indentation -Wstrict-prototypes -Wunused -Wno-unused-parameter -Wno-bad-function-cast -Wno-cast-function-type -Wno-pedantic -Wno-format-zero-length -Werror=declaration-after-statement -Werror=format=2 -Werror=implicit-function-declaration -Werror=init-self -Werror=missing-include-dirs -Werror=missing-prototypes -Werror=pointer-arith -mms-bitfields -O3 -fstack-protector-all -pthread -O3 -fstack-protector-all -D_FORTIFY_SOURCE=2 -DGLIB_STATIC_COMPILATION '-DG_LOG_DOMAIN="GLib-GObject"' -DGOBJECT_COMPILATION -MD -MQ gobject/libgobject-2.0.a.p/gatomicarray.c.obj -MF gobject/libgobject-2.0.a.p/gatomicarray.c.obj.d -o gobject/libgobject-2.0.a.p/gatomicarray.c.obj -c ../gobject/gatomicarray.c cc1: error: /home/u/Desktop/_working/workdir/toolchain/x86_64-w64-mingw32/home/u/Desktop/_working/workdir/toolchain/x86_64-w64-mingw32/x86_64-w64-mingw32/include: No such file or directory [-Werror=missing-include-dirs] cc1: some warnings being treated as errors
Notice the -I is malformed and contains a leading "/home/u/Desktop/_working/workdir/toolchain/x86_64-w64-mingw32": -I/home/u/Desktop/_working/workdir/toolchain/x86_64-w64-mingw32/home/u/Desktop/_working/workdir/toolchain/x86_64-w64-mingw32/x86_64-w64-mingw32/include
When I explore the glib" folder, the compile commands and meson-info/intro-dependencies.json are all malformed, eg: [{"name": "threads", "version": "unknown", "compile_args": ["-pthread"], "link_args": ["-pthread"]}, {"name": "libffi", "version": "3.3", "compile_args": ["-I/home/u/Desktop/_working/workdir/toolchain/x86_64-w64-mingw32/home/u/Desktop/_working/workdir/toolchain/x86_64-w64-mingw32/x86_64-w64-mingw32/include"], "link_args": ["/home/u/Desktop/_working/workdir/toolchain/x86_64-w64-mingw32/lib/gcc/x86_64-w64-mingw32/10.2.0/../../../../x86_64-w64-mingw32/lib/../lib/libffi.a"]}, {"name": "zlib", "version": "1.2.11", "compile_args": ["-I/home/u/Desktop/_working/workdir/toolchain/x86_64-w64-mingw32/home/u/Desktop/_working/workdir/toolchain/x86_64-w64-mingw32/x86_64-w64-mingw32/include"], "link_args": ["/home/u/Desktop/_working/workdir/toolchain/x86_64-w64-mingw32/lib/gcc/x86_64-w64-mingw32/10.2.0/../../../../x86_64-w64-mingw32/lib/../lib/libz.a"]}, {"name": "libelf", "version": "0.8.13", "compile_args": ["-I/home/u/Desktop/_working/workdir/toolchain/x86_64-w64-mingw32/home/u/Desktop/_working/workdir/toolchain/x86_64-w64-mingw32/x86_64-w64-mingw32/include/libelf", "-I/home/u/Desktop/_working/workdir/toolchain/x86_64-w64-mingw32/home/u/Desktop/_working/workdir/toolchain/x86_64-w64-mingw32/x86_64-w64-mingw32/include"], "link_args": ["/home/u/Desktop/_working/workdir/toolchain/x86_64-w64-mingw32/lib/gcc/x86_64-w64-mingw32/10.2.0/../../../../x86_64-w64-mingw32/lib/../lib/libelf.a"]}]
An extract of the build log:
Running '/home/u/Desktop/_working/workdir/toolchain/x86_64-w64-mingw32/bin/pkg-config --cflags libelf' in '/home/u/Desktop/_working/workdir/x86_64/glib2/build' -I/home/u/Desktop/_working/workdir/toolchain/x86_64-w64-mingw32/x86_64-w64-mingw32/include/libelf -I/home/u/Desktop/_working/workdir/toolchain/x86_64-w64-mingw32/x86_64-w64-mingw32/include
Running 'meson --prefix=/home/u/Desktop/_working/workdir/toolchain/x86_64-w64-mingw32/x86_64-w64-mingw32 --libdir=lib --includedir=include --default-library=static --backend=ninja --buildtype=release -Dinternal_pcre=false -Dforce_posix_threads=true -Diconv=external -Dlibmount=disabled -Dman=false -Dfam=false -Dinstalled_tests=false --cross-file=/home/u/Desktop/_working/workdir/meson_environment.txt ./ ..' in '/home/u/Desktop/_working/workdir/x86_64/glib2/build'
The Meson build system
Version: 0.55.1
Source dir: /home/u/Desktop/_working/workdir/x86_64/glib2
Build dir: /home/u/Desktop/_working/workdir/x86_64/glib2/build
Build type: cross build
Using 'PKG_CONFIG_PATH' from environment with value: '/home/u/Desktop/_working/workdir/toolchain/x86_64-w64-mingw32/x86_64-w64-mingw32/lib/pkgconfig'
Project name: glib
Project version: 2.66.2
C compiler for the build machine: cc (gcc 9.3.0 "cc (Ubuntu 9.3.0-17ubuntu120.04) 9.3.0")
C linker for the build machine: cc ld.bfd 2.34
C++ compiler for the build machine: c++ (gcc 9.3.0 "c++ (Ubuntu 9.3.0-17ubuntu120.04) 9.3.0")
C++ linker for the build machine: c++ ld.bfd 2.34
Using 'CFLAGS' from environment with value: ' -O3 -fstack-protector-all -D_FORTIFY_SOURCE=2 -pthread -DGLIB_STATIC_COMPILATION '
Using 'LDFLAGS' from environment with value: ' -O3 -fstack-protector-all -D_FORTIFY_SOURCE=2 -pthread -DGLIB_STATIC_COMPILATION -L/home/u/Desktop/_working/workdir/toolchain/x86_64-w64-mingw32/x86_64-w64-mingw32/lib '
Using 'CPPFLAGS' from environment with value: ' -O3 -fstack-protector-all -D_FORTIFY_SOURCE=2 -pthread -DGLIB_STATIC_COMPILATION '
C compiler for the host machine: x86_64-w64-mingw32-gcc (gcc 10.2.0 "x86_64-w64-mingw32-gcc (GCC) 10.2.0")
C linker for the host machine: x86_64-w64-mingw32-gcc ld.bfd 2.35
Using 'CXXFLAGS' from environment with value: ' -O3 -fstack-protector-all -D_FORTIFY_SOURCE=2 -pthread -DGLIB_STATIC_COMPILATION '
Using 'LDFLAGS' from environment with value: ' -O3 -fstack-protector-all -D_FORTIFY_SOURCE=2 -pthread -DGLIB_STATIC_COMPILATION -L/home/u/Desktop/_working/workdir/toolchain/x86_64-w64-mingw32/x86_64-w64-mingw32/lib '
Using 'CPPFLAGS' from environment with value: ' -O3 -fstack-protector-all -D_FORTIFY_SOURCE=2 -pthread -DGLIB_STATIC_COMPILATION '
C++ compiler for the host machine: x86_64-w64-mingw32-g++ (gcc 10.2.0 "x86_64-w64-mingw32-g++ (GCC) 10.2.0")
C++ linker for the host machine: x86_64-w64-mingw32-g++ ld.bfd 2.35
Build machine cpu family: x86_64
Build machine cpu: x86_64
Host machine cpu family: x86_64
Host machine cpu: x86_64
Target machine cpu family: x86_64
Target machine cpu: x86_64
Message: glib_prefix=/home/u/Desktop/_working/workdir/toolchain/x86_64-w64-mingw32/x86_64-w64-mingw32
Message: glib_bindir=/home/u/Desktop/_working/workdir/toolchain/x86_64-w64-mingw32/x86_64-w64-mingw32/bin
Message: glib_libdir=/home/u/Desktop/_working/workdir/toolchain/x86_64-w64-mingw32/x86_64-w64-mingw32/lib
Message: glib_libexecdir=/home/u/Desktop/_working/workdir/toolchain/x86_64-w64-mingw32/x86_64-w64-mingw32/libexec
Message: glib_datadir=/home/u/Desktop/_working/workdir/toolchain/x86_64-w64-mingw32/x86_64-w64-mingw32/share
Message: glib_pkgdatadir=/home/u/Desktop/_working/workdir/toolchain/x86_64-w64-mingw32/x86_64-w64-mingw32/share/glib-2.0
Message: glib_includedir=/home/u/Desktop/_working/workdir/toolchain/x86_64-w64-mingw32/x86_64-w64-mingw32/include
Message: glib_pkgconfigreldir=/home/u/Desktop/_working/workdir/toolchain/x86_64-w64-mingw32/x86_64-w64-mingw32/lib/pkgconfig
Message: glib_charsetaliasdir=/home/u/Desktop/_working/workdir/toolchain/x86_64-w64-mingw32/x86_64-w64-mingw32/lib
Compiler for C supports arguments -fno-strict-aliasing: YES
Checking if "GNU C visibility attributes test" compiles: NO
Message: Disabling cast checks
Has header "alloca.h" : NO
Has header "crt_externs.h" : NO
Has header "dirent.h" : YES
Has header "float.h" : YES
Has header "fstab.h" : NO
Has header "grp.h" : NO
Has header "inttypes.h" : YES
Has header "limits.h" : YES
Has header "linux/magic.h" : NO
Has header "locale.h" : YES
Has header "mach/mach_time.h" : NO
Has header "memory.h" : YES
Has header "mntent.h" : NO
Has header "poll.h" : NO
Has header "pwd.h" : NO
Has header "sched.h" : YES
Has header "spawn.h" : NO
Has header "stdint.h" : YES
Has header "stdlib.h" : YES
Has header "string.h" : YES
Has header "strings.h" : YES
Has header "sys/auxv.h" : NO
Has header "sys/event.h" : NO
Has header "sys/filio.h" : NO
Has header "sys/inotify.h" : NO
Has header "sys/mkdev.h" : NO
Has header "sys/mntctl.h" : NO
Has header "sys/mnttab.h" : NO
Has header "sys/mount.h" : NO
Has header "sys/param.h" : YES
Has header "sys/resource.h" : NO
Has header "sys/select.h" : NO
Has header "sys/statfs.h" : NO
Has header "sys/stat.h" : YES
Has header "sys/statvfs.h" : NO
Has header "sys/sysctl.h" : NO
Has header "sys/time.h" : YES
Has header "sys/times.h" : NO
Has header "sys/types.h" : YES
Has header "sys/uio.h" : NO
Has header "sys/vfs.h" : NO
Has header "sys/vfstab.h" : NO
Has header "sys/vmount.h" : NO
Has header "sys/wait.h" : NO
Has header "termios.h" : NO
Has header "unistd.h" : YES
Has header "values.h" : NO
Has header "wchar.h" : YES
Has header "xlocale.h" : NO
Checking if "malloc.h" compiles: YES
Has header "linux/netlink.h" : NO
Checking if "statx() test" compiles: NO
Header <locale.h> has symbol "LC_MESSAGES" : NO
Checking whether type "struct stat" has member "st_mtimensec" : NO
Checking whether type "struct stat" has member "st_mtim.tv_nsec" : NO
Checking whether type "struct stat" has member "st_atimensec" : NO
Checking whether type "struct stat" has member "st_atim.tv_nsec" : NO
Checking whether type "struct stat" has member "st_ctimensec" : NO
Checking whether type "struct stat" has member "st_ctim.tv_nsec" : NO
Checking whether type "struct stat" has member "st_birthtime" : NO
Checking whether type "struct stat" has member "st_birthtimensec" : NO
Checking whether type "struct stat" has member "st_birthtim" : NO
Checking whether type "struct stat" has member "st_birthtim.tv_nsec" : NO
Checking whether type "struct stat" has member "st_blksize" : NO
Checking whether type "struct stat" has member "st_blocks" : NO
Checking whether type "struct statfs" has member "f_fstypename" : NO
Checking whether type "struct statfs" has member "f_bavail" : NO
Checking whether type "struct dirent" has member "d_type" : NO
Checking whether type "struct statvfs" has member "f_basetype" : NO
Checking whether type "struct statvfs" has member "f_fstypename" : NO
Checking whether type "struct tm" has member "tm_gmtoff" : NO
Checking whether type "struct tm" has member "__tm_gmtoff" : NO
Compiler for C supports arguments -Wduplicated-branches: YES
Compiler for C supports arguments -Wimplicit-fallthrough: YES
Compiler for C supports arguments -Wmisleading-indentation: YES
Compiler for C supports arguments -Wstrict-prototypes: YES
Compiler for C supports arguments -Wunused: YES
Compiler for C supports arguments -Wno-unused-parameter -Wunused-parameter: YES
Compiler for C supports arguments -Wno-bad-function-cast -Wbad-function-cast: YES
Compiler for C supports arguments -Wno-cast-function-type -Wcast-function-type: YES
Compiler for C supports arguments -Wno-pedantic -Wpedantic: YES
Compiler for C supports arguments -Wno-format-zero-length -Wformat-zero-length: YES
Compiler for C supports arguments -Werror=declaration-after-statement: YES
Compiler for C supports arguments -Werror=format=2: YES
Compiler for C supports arguments -Werror=implicit-function-declaration: YES
Compiler for C supports arguments -Werror=init-self: YES
Compiler for C supports arguments -Werror=missing-include-dirs: YES
Compiler for C supports arguments -Werror=missing-prototypes: YES
Compiler for C supports arguments -Werror=pointer-arith: YES
Compiler for C supports link arguments -Wl,-z,nodelete: NO
Compiler for C supports link arguments -Wl,-Bsymbolic-functions: YES
Checking if "building for UWP" compiles: NO
Library iphlpapi found: YES
Checking for function "if_nametoindex" with dependency -liphlpapi: YES
Checking for function "if_indextoname" with dependency -liphlpapi: YES
Checking for function "endmntent" : NO
Checking for function "endservent" : NO
Checking for function "fallocate" : NO
Checking for function "fchmod" : NO
Checking for function "fchown" : NO
Checking for function "fdwalk" : NO
Checking for function "fsync" : NO
Checking for function "getauxval" : NO
Checking for function "getc_unlocked" : NO
Checking for function "getfsstat" : NO
Checking for function "getgrgid_r" : NO
Checking for function "getmntent_r" : NO
Checking for function "getpwuid_r" : NO
Checking for function "getresuid" : NO
Checking for function "getvfsstat" : NO
Checking for function "gmtime_r" : NO
Checking for function "hasmntopt" : NO
Checking for function "inotify_init1" : NO
Checking for function "issetugid" : NO
Checking for function "kevent" : NO
Checking for function "kqueue" : NO
Checking for function "lchmod" : NO
Checking for function "lchown" : NO
Checking for function "link" : NO
Checking for function "localtime_r" : NO
Checking for function "lstat" : NO
Checking for function "mbrtowc" : YES
Checking for function "memalign" : NO
Checking for function "mmap" : NO
Checking for function "newlocale" : NO
Checking for function "pipe2" : NO
Checking for function "poll" : NO
Checking for function "prlimit" : NO
Checking for function "readlink" : NO
Checking for function "recvmmsg" : NO
Checking for function "sendmmsg" : NO
Checking for function "setenv" : NO
Checking for function "setmntent" : NO
Checking for function "strerror_r" : NO
Checking for function "strnlen" : YES
Checking for function "strsignal" : NO
Checking for function "strtod_l" : NO
Checking for function "strtoll_l" : NO
Checking for function "strtoull_l" : NO
Checking for function "symlink" : NO
Checking for function "timegm" : NO
Checking for function "unsetenv" : NO
Checking for function "uselocale" : NO
Checking for function "utimes" : NO
Checking for function "valloc" : NO
Checking for function "vasprintf" : YES
Checking for function "vsnprintf" : YES
Checking for function "wcrtomb" : YES
Checking for function "wcslen" : YES
Checking for function "wcsnlen" : YES
Checking for function "sysctlbyname" : NO
Checking for function "splice" : NO
Checking for function "posix_spawn" : NO
Checking for function "snprintf" : YES
Checking for function "strcasecmp" : YES
Checking for function "strncasecmp" : YES
Header <sys/sysmacros.h> has symbol "major" : NO
Header <sys/mkdev.h> has symbol "major" : NO
Header <sys/types.h> has symbol "major" : NO
Header <dlfcn.h> has symbol "RTLD_LAZY" : YES
Header <dlfcn.h> has symbol "RTLD_NOW" : YES
Header <dlfcn.h> has symbol "RTLD_GLOBAL" : YES
Header <dlfcn.h> has symbol "RTLD_NEXT" : YES
Message: Checking whether to use statfs or statvfs .. neither
Checking if "futex(2) system call" links: NO
Checking if "eventfd(2) system call" links: NO
Checking if "__uint128_t available" compiles: YES
Checking if "clock_gettime" links: YES
Checking if "dlopen() and dlsym() in system libraries" links: NO
Checking if "dlopen() and dlsym() in libdl" links: YES
Library dl found: YES
Checking if "open() option O_DIRECTORY" compiles: NO
Checking if "fcntl() option F_FULLFSYNC" compiles: NO
Checking if "nl_langinfo and CODESET" links: NO
Checking if "nl_langinfo (PM_STR)" links: NO
Checking if "nl_langinfo (_NL_CTYPE_OUTDIGITn_MB)" links: NO
Checking if "nl_langinfo (ALTMON_n)" links: NO
Checking if "nl_langinfo (_NL_ABALTMON_n)" links: NO
Checking if "signed" compiles: YES
Header <stddef.h> has symbol "ptrdiff_t" : YES
Checking if "sig_atomic_t" links: YES
Checking if "long long" compiles: YES
Checking if "long double" compiles: YES
Header <stddef.h> has symbol "wchar_t" : YES
Header <wchar.h> has symbol "wint_t" : YES
Checking if "uintmax_t in inttypes.h" compiles: YES
Checking if "uintmax_t in stdint.h" compiles: YES
Checking for size of "char" : 1
Checking for size of "short" : 2
Checking for size of "int" : 4
Checking for size of "void*" : 8
Checking for size of "long" : 4
Checking for size of "long long" : 8
Checking for size of "size_t" : 8
Checking for size of "ssize_t" : 8
Checking for alignment of "char" : 1
Checking for alignment of "short" : 2
Checking for alignment of "int" : 4
Checking for alignment of "void*" : 8
Checking for alignment of "long" : 4
Checking for alignment of "long long" : 8
Checking for alignment of "size_t" : 8
Checking for size of "wchar_t" : 2
Checking if "GCC size_t typedef is long long" compiles: YES
Checking if "__va_copy check" compiles: YES
Checking if "va_copy check" compiles: YES
Checking if "ISO C99 varargs macros in C" compiles: YES
Checking if "ISO C99 varargs macros in C++" compiles: YES
Checking if "GNUC varargs macros" compiles: YES
Has header "alloca.h" : NO (cached)
Has header "sys/poll.h" : NO
Has header "sys/types.h" : YES (cached)
Has header "winsock2.h" : YES
Computing int of "AF_UNIX" : 1
Computing int of "AF_INET" : 2
Computing int of "AF_INET6" : 23
Computing int of "MSG_OOB" : 1
Computing int of "MSG_PEEK" : 2
Computing int of "MSG_DONTROUTE" : 4
Checking if "atomic ops" links: YES
Checking if "atomic ops define" compiles: YES
Run-time dependency threads found: YES
Header <pthread.h> has symbol "pthread_attr_setstacksize" : YES
Header <pthread.h> has symbol "pthread_attr_setinheritsched" : YES
Header <pthread.h> has symbol "pthread_condattr_setclock" : YES
Header <pthread.h> has symbol "pthread_cond_timedwait_relative_np" : YES
Header <pthread.h> has symbol "pthread_getname_np" : YES
Header <sys/syscall.h> has symbol "SYS_sched_getattr" : NO
Checking if "pthread_setname_np(const char*)" with dependency threads links: NO
Checking if "pthread_setname_np(pthread_t, const char*)" with dependency threads links: YES
../meson.build:1932: WARNING: -Diconv was set to @0@, which was ignored
Found pkg-config: /home/u/Desktop/_working/workdir/toolchain/x86_64-w64-mingw32/bin/pkg-config (0.29.2)
Found CMake: /usr/bin/cmake (3.18.3)
Run-time dependency libpcre found: NO (tried pkgconfig and cmake)
Library m found: YES
Using 'PKG_CONFIG_PATH' from environment with value: '/home/u/Desktop/_working/workdir/toolchain/x86_64-w64-mingw32/x86_64-w64-mingw32/lib/pkgconfig'
Run-time dependency libffi found: YES 3.3
Using 'PKG_CONFIG_PATH' from environment with value: '/home/u/Desktop/_working/workdir/toolchain/x86_64-w64-mingw32/x86_64-w64-mingw32/lib/pkgconfig'
Run-time dependency zlib found: YES 1.2.11
Checking for function "ngettext" : NO
Library intl found: YES
Checking for function "ngettext" with dependency -lintl: NO
Library iconv found: YES
Library pthread found: YES
Checking for function "ngettext" with dependencies -lintl, -liconv: YES
Checking for function "bind_textdomain_codeset" with dependencies -lintl, -liconv: YES
Library ws2_32 found: YES
Checking for function "strlcpy" : NO
Program python3 found: YES (/usr/bin/python3)
Program bash found: YES
Program sh found: YES
Program env found: YES
Configuring glibconfig.h using configuration
Dependency sysprof-capture-4 skipped: feature sysprof disabled
Fetching value of define "arm" :
Fetching value of define "__arm" :
Fetching value of define "arm" :
Compiler for C supports arguments -Wno-format-nonliteral -Wformat-nonliteral: YES
Compiler for C supports arguments -Wno-duplicated-branches -Wduplicated-branches: YES
Checking if "frexpl prototype can be re-listed" compiles: YES
Checking if "ldexpl prototype can be re-listed" compiles: YES
Configuring gnulib_math.h using configuration
Configuring glib.rc using configuration
Windows resource compiler: GNU windres (GNU Binutils) 2.35
Library winmm found: YES
WARNING: Project targeting '>= 0.49.2' but tried to use feature introduced in '0.54.0': meson.override_dependency.
Configuring gtester-report using configuration
Configuring libglib-2.0.so.0.6600.2-gdb.py using configuration
../glib/meson.build:467: DEPRECATION: Please use the new install:
kwarg instead of passing false
to install_dir:
Configuring gobject.rc using configuration
Configuring glib-genmarshal using configuration
Program /home/u/Desktop/_working/workdir/x86_64/glib2/build/gobject/glib-genmarshal found: YES (/home/u/Desktop/_working/workdir/x86_64/glib2/build/gobject/glib-genmarshal)
Configuring glib-mkenums using configuration
Program /home/u/Desktop/_working/workdir/x86_64/glib2/build/gobject/glib-mkenums found: YES (/home/u/Desktop/_working/workdir/x86_64/glib2/build/gobject/glib-mkenums)
Configuring libgobject-2.0.so.0.6600.2-gdb.py using configuration
../gobject/meson.build:157: DEPRECATION: Please use the new install:
kwarg instead of passing false
to install_dir:
Configuring gthread.rc using configuration
Configuring gmoduleconf.h using configuration
Configuring gmodule.rc using configuration
Configuring gnetworking.h using configuration
Configuring gdbus-codegen using configuration
Program /home/u/Desktop/_working/workdir/x86_64/glib2/build/gio/gdbus-2.0/codegen/gdbus-codegen found: YES (/home/u/Desktop/_working/workdir/x86_64/glib2/build/gio/gdbus-2.0/codegen/gdbus-codegen)
Configuring config.py using configuration
Library shlwapi found: YES
Library dnsapi found: YES
Configuring gio.rc using configuration
Using 'PKG_CONFIG_PATH' from environment with value: '/home/u/Desktop/_working/workdir/toolchain/x86_64-w64-mingw32/x86_64-w64-mingw32/lib/pkgconfig'
Run-time dependency libelf found: YES 0.8.13
Compiler for C supports arguments -Werror=unused-function: YES
Library FuzzingEngine skipped: feature oss_fuzz disabled
Program xgettext found: YES
Configuring glib-gettextize using configuration
Configuring config.h using configuration
Build targets in project: 42
WARNING: Project specifies a minimum meson_version '>= 0.49.2' but uses features which were added in newer versions:
- 0.54.0: {'meson.override_dependency'}
Option buildtype is: release [default: debugoptimized] Found ninja-1.10.0 at /usr/bin/ninja ##############################
ninja -j 4 [1/429] Compiling C object glib/pcre/libpcre.a.p/pcre_chartables.c.obj [2/429] Compiling C object glib/pcre/libpcre.a.p/pcre_config.c.obj [3/429] Compiling C object glib/pcre/libpcre.a.p/pcre_byte_order.c.obj [4/429] Compiling C object glib/libcharset/libcharset.a.p/localcharset.c.obj [5/429] Linking static target glib/libcharset/libcharset.a [6/429] Compiling C object glib/pcre/libpcre.a.p/pcre_get.c.obj [7/429] Compiling C object glib/pcre/libpcre.a.p/pcre_fullinfo.c.obj [8/429] Compiling C object glib/pcre/libpcre.a.p/pcre_jit_compile.c.obj [9/429] Compiling C object glib/pcre/libpcre.a.p/pcre_newline.c.obj [10/429] Compiling C object glib/pcre/libpcre.a.p/pcre_globals.c.obj [11/429] Compiling C object glib/pcre/libpcre.a.p/pcre_ord2utf8.c.obj [12/429] Compiling C object glib/pcre/libpcre.a.p/pcre_string_utils.c.obj [13/429] Compiling C object glib/pcre/libpcre.a.p/pcre_study.c.obj [01m[K../glib/pcre/pcre_study.c:[m[K In function '[01m[Kset_start_bits[m[K': [01m[K../glib/pcre/pcre_study.c:1240:33:[m[K [01;35m[Kwarning: [m[K'[01m[K<<[m[K' in boolean context, did you mean '[01m[K<[m[K'? [[01;35m[K-Wint-in-bool-context[m[K] 1240 | if ((map[c/8] && [01;35m[K(1 << (c&7))[m[K) != 0) | [01;35m[K~~~^~~~~~~~~[m[K [01m[K../glib/pcre/pcre_study.c:[m[K In function '[01m[Kfind_minlength[m[K': [01m[K../glib/pcre/pcre_study.c:111:8:[m[K [01;35m[Kwarning: [m[Kthis statement may fall through [[01;35m[K-Wimplicit-fallthrough=[m[K] 111 | if [01;35m[K([m[K*cs != OP_ALT) | [01;35m[K^[m[K [01m[K../glib/pcre/pcre_study.c:120:5:[m[K [01;36m[Knote: [m[Khere 120 | [01;36m[Kcase[m[K OP_CBRA: | [01;36m[K^~~~[m[K [01m[K../glib/pcre/pcre_study.c:326:8:[m[K [01;35m[Kwarning: [m[Kthis statement may fall through [[01;35m[K-Wimplicit-fallthrough=[m[K] 326 | [01;35m[Kcc += GET(cc, 1) - PRIV(OP_lengths)[OP_CLASS][m[K; | [01;35m[K~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~[m[K [01m[K../glib/pcre/pcre_study.c:330:5:[m[K [01;36m[Knote: [m[Khere 330 | [01;36m[Kcase[m[K OP_CLASS: | [01;36m[K^~~~[m[K [14/429] Compiling C object glib/pcre/libpcre.a.p/pcre_tables.c.obj [15/429] Compiling C object glib/pcre/libpcre.a.p/pcre_valid_utf8.c.obj [16/429] Compiling C object glib/pcre/libpcre.a.p/pcre_version.c.obj [17/429] Compiling C object glib/pcre/libpcre.a.p/pcre_xclass.c.obj [18/429] Compiling C object glib/gnulib/libgnulib.a.p/asnprintf.c.obj [19/429] Compiling C object glib/pcre/libpcre.a.p/pcre_dfa_exec.c.obj [01m[K../glib/pcre/pcre_dfa_exec.c:[m[K In function '[01m[Kinternal_dfa_exec[m[K': [01m[K../glib/pcre/pcre_dfa_exec.c:2145:12:[m[K [01;35m[Kwarning: [m[Kthis statement may fall through [[01;35m[K-Wimplicit-fallthrough=[m[K] 2145 | if [01;35m[K([m[K(md->moptions & PCRE_BSR_ANYCRLF) != 0) break; | [01;35m[K^[m[K [01m[K../glib/pcre/pcre_dfa_exec.c:2147:9:[m[K [01;36m[Knote: [m[Khere 2147 | [01;36m[Kcase[m[K 0x000a: | [01;36m[K^~~~[m[K [20/429] Compiling C object glib/gnulib/libgnulib.a.p/printf-args.c.obj [21/429] Compiling C object glib/gnulib/libgnulib.a.p/printf.c.obj [22/429] Compiling C object glib/gnulib/libgnulib.a.p/printf-frexp.c.obj [23/429] Compiling C object glib/gnulib/libgnulib.a.p/frexp.c.obj [24/429] Compiling C object glib/gnulib/libgnulib.a.p/xsize.c.obj [25/429] Compiling C object glib/gnulib/libgnulib.a.p/printf-frexpl.c.obj [26/429] Compiling C object glib/gnulib/libgnulib.a.p/printf-parse.c.obj [27/429] Compiling C object glib/gnulib/libgnulib.a.p/frexpl.c.obj [28/429] Generating Windows resource for file 'glib_glib.rc' with a custom command [29/429] Compiling C object glib/libglib-2.0.a.p/deprecated_gallocator.c.obj [30/429] Compiling C object glib/libglib-2.0.a.p/deprecated_gcache.c.obj [31/429] Compiling C object glib/libglib-2.0.a.p/deprecated_gcompletion.c.obj [32/429] Compiling C object glib/pcre/libpcre.a.p/pcre_compile.c.obj [01m[K../glib/pcre/pcre_compile.c:[m[K In function '[01m[Kcompile_branch[m[K': [01m[K../glib/pcre/pcre_compile.c:6038:17:[m[K [01;35m[Kwarning: [m[Kthis statement may fall through [[01;35m[K-Wimplicit-fallthrough=[m[K] 6038 | else if [01;35m[K([m[K*ptr != CHAR_LESS_THAN_SIGN) /* Test for Python-style defn */ | [01;35m[K^[m[K [01m[K../glib/pcre/pcre_compile.c:6047:9:[m[K [01;36m[Knote: [m[Khere 6047 | [01;36m[KDEFINE_NAME[m[K: /* Come here from (?< handling */ | [01;36m[K^~~~~~~~~~~[m[K [01m[K../glib/pcre/pcre_compile.c:[m[K In function '[01m[Kcheck_escape[m[K': [01m[K../glib/pcre/pcre_compile.c:1003:8:[m[K [01;35m[Kwarning: [m[Kthis statement may fall through [[01;35m[K-Wimplicit-fallthrough=[m[K] 1003 | if [01;35m[K([m[K(c = *ptr) >= CHAR_8) | [01;35m[K^[m[K [01m[K../glib/pcre/pcre_compile.c:1016:5:[m[K [01;36m[Knote: [m[Khere 1016 | [01;36m[Kcase[m[K CHAR_0: | [01;36m[K^~~~[m[K [01m[K../glib/pcre/pcre_compile.c:[m[K In function '[01m[Kfind_fixedlength[m[K': [01m[K../glib/pcre/pcre_compile.c:1898:8:[m[K [01;35m[Kwarning: [m[Kthis statement may fall through [[01;35m[K-Wimplicit-fallthrough=[m[K] 1898 | [01;35m[Kcc += GET(cc, 1) - PRIV(OP_lengths)[OP_CLASS][m[K; | [01;35m[K~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~[m[K [01m[K../glib/pcre/pcre_compile.c:1902:5:[m[K [01;36m[Knote: [m[Khere 1902 | [01;36m[Kcase[m[K OP_CLASS: | [01;36m[K^~~~[m[K [33/429] Compiling C object glib/libglib-2.0.a.p/deprecated_grel.c.obj [34/429] Compiling C object glib/libglib-2.0.a.p/garcbox.c.obj [35/429] Compiling C object glib/libglib-2.0.a.p/deprecated_gthread-deprecated.c.obj [36/429] Compiling C object glib/libglib-2.0.a.p/gasyncqueue.c.obj [37/429] Compiling C object glib/libglib-2.0.a.p/gatomic.c.obj [38/429] Compiling C object glib/libglib-2.0.a.p/garray.c.obj [39/429] Compiling C object glib/libglib-2.0.a.p/gbase64.c.obj [40/429] Compiling C object glib/libglib-2.0.a.p/gbitlock.c.obj [41/429] Compiling C object glib/gnulib/libgnulib.a.p/vasnprintf.c.obj [42/429] Linking static target glib/gnulib/libgnulib.a [43/429] Compiling C object glib/libglib-2.0.a.p/gbytes.c.obj [44/429] Compiling C object glib/libglib-2.0.a.p/gbacktrace.c.obj [45/429] Compiling C object glib/libglib-2.0.a.p/gcharset.c.obj [46/429] Compiling C object glib/libglib-2.0.a.p/gbookmarkfile.c.obj [47/429] Compiling C object glib/libglib-2.0.a.p/gdataset.c.obj [48/429] Compiling C object glib/libglib-2.0.a.p/gchecksum.c.obj [49/429] Compiling C object glib/pcre/libpcre.a.p/pcre_exec.c.obj [01m[K../glib/pcre/pcre_exec.c:[m[K In function '[01m[Kmatch[m[K': [01m[K../glib/pcre/pcre_exec.c:937:8:[m[K [01;35m[Kwarning: [m[Kthis statement may fall through [[01;35m[K-Wimplicit-fallthrough=[m[K] 937 | if [01;35m[K([m[Koffset < md->offset_max) | [01;35m[K^[m[K [01m[K../glib/pcre/pcre_exec.c:1025:5:[m[K [01;36m[Knote: [m[Khere 1025 | [01;36m[Kcase[m[K OP_ONCE: | [01;36m[K^~~~[m[K [01m[K../glib/pcre/pcre_exec.c:1106:8:[m[K [01;35m[Kwarning: [m[Kthis statement may fall through [[01;35m[K-Wimplicit-fallthrough=[m[K] 1106 | if [01;35m[K([m[Koffset < md->offset_max) | [01;35m[K^[m[K [01m[K../glib/pcre/pcre_exec.c:1193:5:[m[K [01;36m[Knote: [m[Khere 1193 | [01;36m[Kcase[m[K OP_BRAPOS: | [01;36m[K^~~~[m[K [01m[K../glib/pcre/pcre_exec.c:2032:8:[m[K [01;35m[Kwarning: [m[Kthis statement may fall through [[01;35m[K-Wimplicit-fallthrough=[m[K] 2032 | if [01;35m[K([m[Kmd->notbol && eptr == md->start_subject) RRETURN(MATCH_NOMATCH); | [01;35m[K^[m[K [01m[K../glib/pcre/pcre_exec.c:2036:5:[m[K [01;36m[Knote: [m[Khere 2036 | [01;36m[Kcase[m[K OP_SOD: | [01;36m[K^~~~[m[K [01m[K../glib/pcre/pcre_exec.c:2098:8:[m[K [01;35m[Kwarning: [m[Kthis statement may fall through [[01;35m[K-Wimplicit-fallthrough=[m[K] 2098 | if [01;35m[K([m[K!md->endonly) goto ASSERT_NL_OR_EOS; | [01;35m[K^[m[K [01m[K../glib/pcre/pcre_exec.c:2104:5:[m[K [01;36m[Knote: [m[Khere 2104 | [01;36m[Kcase[m[K OP_EOD: | [01;36m[K^~~~[m[K [50/429] Linking static target glib/pcre/libpcre.a [51/429] Compiling C object glib/libglib-2.0.a.p/gdir.c.obj [52/429] Compiling C object glib/libglib-2.0.a.p/gconvert.c.obj [53/429] Compiling C object glib/libglib-2.0.a.p/gerror.c.obj [54/429] Compiling C object glib/libglib-2.0.a.p/gdatetime.c.obj [01m[K../glib/gdatetime.c:[m[K In function '[01m[Kg_date_time_get_week_number[m[K': [01m[K../glib/gdatetime.c:623:6:[m[K [01;35m[Kwarning: [m[K'[01m[Kmonth[m[K' may be used uninitialized in this function [[01;35m[K-Wmaybe-uninitialized[m[K] 623 | if [01;35m[K([m[Kmonth <= 2) | [01;35m[K^[m[K [01m[K../glib/gdatetime.c:630:15:[m[K [01;35m[Kwarning: [m[K'[01m[Kday[m[K' may be used uninitialized in this function [[01;35m[K-Wmaybe-uninitialized[m[K] 630 | f = [01;35m[Kday - 1[m[K + (31 * (month - 1)); | [01;35m[K~~~~^~~[m[K [01m[K../glib/gdatetime.c:642:10:[m[K [01;35m[Kwarning: [m[K'[01m[Kyear[m[K' may be used uninitialized in this function [[01;35m[K-Wmaybe-uninitialized[m[K] 642 | g = [01;35m[K(a + b)[m[K % 7; | [01;35m[K~~~^~~~[m[K [01m[K../glib/gdatetime.c:[m[K In function '[01m[Kg_date_time_get_week_numbering_year[m[K': [01m[K../glib/gdatetime.c:2349:26:[m[K [01;35m[Kwarning: [m[K'[01m[Kday[m[K' may be used uninitialized in this function [[01;35m[K-Wmaybe-uninitialized[m[K] 2349 | if (month == 1 && [01;35m[K(day - weekday)[m[K <= -4) | [01;35m[K~~~~~^~~~~~~~~~[m[K [01m[K../glib/gdatetime.c:2361:11:[m[K [01;35m[Kwarning: [m[K'[01m[Kmonth[m[K' may be used uninitialized in this function [[01;35m[K-Wmaybe-uninitialized[m[K] 2361 | else if [01;35m[K([m[Kmonth == 12 && (day - weekday) >= 28) | [01;35m[K^[m[K [01m[K../glib/gdatetime.c:2350:17:[m[K [01;35m[Kwarning: [m[K'[01m[Kyear[m[K' may be used uninitialized in this function [[01;35m[K-Wmaybe-uninitialized[m[K] 2350 | return [01;35m[Kyear - 1[m[K; | [01;35m[K~~~~~^~~[m[K [55/429] Compiling C object glib/libglib-2.0.a.p/genviron.c.obj [56/429] Compiling C object glib/libglib-2.0.a.p/gdate.c.obj [57/429] Compiling C object glib/libglib-2.0.a.p/ghmac.c.obj [58/429] Compiling C object glib/libglib-2.0.a.p/ghook.c.obj [59/429] Compiling C object glib/libglib-2.0.a.p/ghash.c.obj [60/429] Compiling C object glib/libglib-2.0.a.p/ghostutils.c.obj [61/429] Compiling C object glib/libglib-2.0.a.p/ggettext.c.obj [62/429] Compiling C object glib/libglib-2.0.a.p/gfileutils.c.obj [63/429] Compiling C object glib/libglib-2.0.a.p/giochannel.c.obj [64/429] Compiling C object glib/libglib-2.0.a.p/gkeyfile.c.obj [65/429] Compiling C object glib/libglib-2.0.a.p/glib-init.c.obj [66/429] Compiling C object glib/libglib-2.0.a.p/glist.c.obj [67/429] Compiling C object glib/libglib-2.0.a.p/glib-private.c.obj [68/429] Compiling C object glib/gspawn-win64-helper-console.exe.p/gspawn-win32-helper.c.obj [69/429] Compiling C object glib/libglib-2.0.a.p/gmem.c.obj [70/429] Compiling C object glib/libglib-2.0.a.p/gmappedfile.c.obj [71/429] Compiling C object glib/libglib-2.0.a.p/gmarkup.c.obj [72/429] Compiling C object glib/libglib-2.0.a.p/gnode.c.obj [73/429] Compiling C object glib/libglib-2.0.a.p/gmessages.c.obj [74/429] Compiling C object glib/libglib-2.0.a.p/gpattern.c.obj [75/429] Compiling C object glib/libglib-2.0.a.p/gprimes.c.obj [76/429] Compiling C object glib/libglib-2.0.a.p/gmain.c.obj [77/429] Compiling C object glib/libglib-2.0.a.p/gqsort.c.obj [78/429] Compiling C object glib/libglib-2.0.a.p/gqueue.c.obj [79/429] Compiling C object glib/libglib-2.0.a.p/goption.c.obj [80/429] Compiling C object glib/libglib-2.0.a.p/grand.c.obj [81/429] Compiling C object glib/libglib-2.0.a.p/grcbox.c.obj [82/429] Compiling C object glib/libglib-2.0.a.p/grefcount.c.obj [83/429] Compiling C object glib/libglib-2.0.a.p/grefstring.c.obj [84/429] Compiling C object glib/libglib-2.0.a.p/gpoll.c.obj [85/429] Compiling C object glib/libglib-2.0.a.p/gquark.c.obj [86/429] Compiling C object glib/libglib-2.0.a.p/gshell.c.obj [87/429] Compiling C object glib/libglib-2.0.a.p/gscanner.c.obj [88/429] Compiling C object glib/libglib-2.0.a.p/gregex.c.obj [89/429] Compiling C object glib/libglib-2.0.a.p/gsequence.c.obj [90/429] Compiling C object glib/libglib-2.0.a.p/gslist.c.obj [91/429] Compiling C object glib/libglib-2.0.a.p/gstring.c.obj [92/429] Compiling C object glib/libglib-2.0.a.p/gstringchunk.c.obj [93/429] Compiling C object glib/libglib-2.0.a.p/gslice.c.obj [94/429] Compiling C object glib/libglib-2.0.a.p/gstdio.c.obj [95/429] Compiling C object glib/libglib-2.0.a.p/gthreadpool.c.obj [96/429] Compiling C object glib/libglib-2.0.a.p/gstrfuncs.c.obj [97/429] Compiling C object glib/libglib-2.0.a.p/gthread.c.obj [98/429] Compiling C object glib/libglib-2.0.a.p/gtrace.c.obj [99/429] Compiling C object glib/libglib-2.0.a.p/gtranslit.c.obj [100/429] Compiling C object glib/libglib-2.0.a.p/gtrashstack.c.obj [101/429] Compiling C object glib/libglib-2.0.a.p/gtestutils.c.obj [102/429] Compiling C object glib/libglib-2.0.a.p/gtree.c.obj [103/429] Compiling C object glib/libglib-2.0.a.p/gtimer.c.obj [104/429] Compiling C object glib/libglib-2.0.a.p/gunibreak.c.obj [105/429] Compiling C object glib/libglib-2.0.a.p/gunicollate.c.obj [106/429] Compiling C object glib/libglib-2.0.a.p/guniprop.c.obj [107/429] Compiling C object glib/libglib-2.0.a.p/gutf8.c.obj [108/429] Compiling C object glib/libglib-2.0.a.p/gtimezone.c.obj [109/429] Compiling C object glib/libglib-2.0.a.p/guuid.c.obj [110/429] Compiling C object glib/libglib-2.0.a.p/gunidecomp.c.obj [111/429] Compiling C object glib/libglib-2.0.a.p/gvariant-core.c.obj [112/429] Compiling C object glib/libglib-2.0.a.p/guri.c.obj [113/429] Compiling C object glib/libglib-2.0.a.p/gvariant-serialiser.c.obj [114/429] Compiling C object glib/libglib-2.0.a.p/gvarianttypeinfo.c.obj [115/429] Compiling C object glib/libglib-2.0.a.p/gvariant-parser.c.obj [116/429] Compiling C object glib/libglib-2.0.a.p/gversion.c.obj [117/429] Compiling C object glib/libglib-2.0.a.p/gvariant.c.obj [118/429] Compiling C object glib/libglib-2.0.a.p/gprintf.c.obj [119/429] Compiling C object glib/libglib-2.0.a.p/gvarianttype.c.obj [120/429] Compiling C object glib/libglib-2.0.a.p/gutils.c.obj [121/429] Compiling C object glib/libglib-2.0.a.p/gwakeup.c.obj [122/429] Compiling C object glib/libglib-2.0.a.p/gwin32.c.obj [123/429] Compiling C object glib/libglib-2.0.a.p/gspawn-win32.c.obj [124/429] Generating Windows resource for file 'gobject_gobject.rc' with a custom command [125/429] Generating glib_enumtypes_h with a meson_exe.py custom command [126/429] Compiling C object glib/libglib-2.0.a.p/giowin32.c.obj [127/429] Compiling C object glib/libglib-2.0.a.p/gthread-posix.c.obj [128/429] Linking static target glib/libglib-2.0.a [129/429] Compiling C object gobject/libgobject-2.0.a.p/gatomicarray.c.obj [31mFAILED: [0mgobject/libgobject-2.0.a.p/gatomicarray.c.obj x86_64-w64-mingw32-gcc -Igobject/libgobject-2.0.a.p -Igobject -I../gobject -I. -I.. -Iglib -I../glib -I/home/u/Desktop/_working/workdir/toolchain/x86_64-w64-mingw32/home/u/Desktop/_working/workdir/toolchain/x86_64-w64-mingw32/x86_64-w64-mingw32/include -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -O3 -D_GNU_SOURCE -fno-strict-aliasing -DG_DISABLE_CAST_CHECKS -Wduplicated-branches -Wimplicit-fallthrough -Wmisleading-indentation -Wstrict-prototypes -Wunused -Wno-unused-parameter -Wno-bad-function-cast -Wno-cast-function-type -Wno-pedantic -Wno-format-zero-length -Werror=declaration-after-statement -Werror=format=2 -Werror=implicit-function-declaration -Werror=init-self -Werror=missing-include-dirs -Werror=missing-prototypes -Werror=pointer-arith -mms-bitfields -O3 -fstack-protector-all -pthread -O3 -fstack-protector-all -D_FORTIFY_SOURCE=2 -DGLIB_STATIC_COMPILATION '-DG_LOG_DOMAIN="GLib-GObject"' -DGOBJECT_COMPILATION -MD -MQ gobject/libgobject-2.0.a.p/gatomicarray.c.obj -MF gobject/libgobject-2.0.a.p/gatomicarray.c.obj.d -o gobject/libgobject-2.0.a.p/gatomicarray.c.obj -c ../gobject/gatomicarray.c [01m[Kcc1:[m[K [01;31m[Kerror: [m[K/home/u/Desktop/_working/workdir/toolchain/x86_64-w64-mingw32/home/u/Desktop/_working/workdir/toolchain/x86_64-w64-mingw32/x86_64-w64-mingw32/include: No such file or directory [[01;31m[K-Werror=missing-include-dirs[m[K] cc1: some warnings being treated as errors
And meson_environment.txt : [binaries]
c = 'x86_64-w64-mingw32-gcc' cpp = 'x86_64-w64-mingw32-g++' ld = 'bfd' ar = 'x86_64-w64-mingw32-ar' strip = 'x86_64-w64-mingw32-strip' windres = 'x86_64-w64-mingw32-windres' ranlib = 'x86_64-w64-mingw32-ranlib' pkgconfig = 'pkg-config' dlltool = 'x86_64-w64-mingw32-dlltool' gendef = '/home/u/Desktop/_working/workdir/toolchain/x86_64-w64-mingw32/bin/gendef' cmake = 'cmake' #needs_exe_wrapper = false #exe_wrapper = 'wine' # A command used to run generated executables.
[host_machine] system = 'windows' cpu_family = 'x86_64' cpu = 'x86_64' endian = 'little'
[target_machine] system = 'windows' cpu_family = 'x86_64' cpu = 'x86_64' endian = 'little'
[properties] c_link_args = ['-static', '-static-libgcc']
sys_root = Directory that contains 'bin', 'lib', etc for the toolchain and system libraries
sys_root = '/home/u/Desktop/_working/workdir/toolchain/x86_64-w64-mingw32'