Build started at 2018-08-07T00:10:38.269581 Main binary: /usr/bin/python Python system: Linux The Meson build system Version: 0.47.1 Source dir: /home/user/diosch/yaourt-tmp-user/aur-mesa-git/src/mesa Build dir: /home/user/diosch/yaourt-tmp-user/aur-mesa-git/src/_build Build type: native build Program python found: YES (/usr/bin/python) Running command: /usr/bin/python bin/meson_get_version.py --- stdout --- 18.3.0-devel --- stderr --- Project name: mesa Project version: 18.3.0-devel Sanity testing C compiler: cc Is cross compiler: False. Sanity check compiler command line: cc /home/user/diosch/yaourt-tmp-user/aur-mesa-git/src/_build/meson-private/sanitycheckc.c -o /home/user/diosch/yaourt-tmp-user/aur-mesa-git/src/_build/meson-private/sanitycheckc.exe Sanity check compile stdout: ----- Sanity check compile stderr: ----- Running test binary command: /home/user/diosch/yaourt-tmp-user/aur-mesa-git/src/_build/meson-private/sanitycheckc.exe Appending CFLAGS from environment: '-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong' Appending LDFLAGS from environment: '-Wl,-O1,--sort-common,--as-needed,-z,relro' Appending CPPFLAGS from environment: '-D_FORTIFY_SOURCE=2' Native C compiler: cc (gcc 8.1.1 "cc (GCC) 8.1.1 20180531") Sanity testing C++ compiler: c++ Is cross compiler: False. Sanity check compiler command line: c++ /home/user/diosch/yaourt-tmp-user/aur-mesa-git/src/_build/meson-private/sanitycheckcpp.cc -o /home/user/diosch/yaourt-tmp-user/aur-mesa-git/src/_build/meson-private/sanitycheckcpp.exe Sanity check compile stdout: ----- Sanity check compile stderr: ----- Running test binary command: /home/user/diosch/yaourt-tmp-user/aur-mesa-git/src/_build/meson-private/sanitycheckcpp.exe Appending CXXFLAGS from environment: '-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong' Appending LDFLAGS from environment: '-Wl,-O1,--sort-common,--as-needed,-z,relro' Appending CPPFLAGS from environment: '-D_FORTIFY_SOURCE=2' Native C++ compiler: c++ (gcc 8.1.1 "c++ (GCC) 8.1.1 20180531") Build machine cpu family: x86_64 Build machine cpu: x86_64 Program pkg-config found: YES (/usr/bin/pkg-config) Found pkg-config: /usr/bin/pkg-config (1.5.3) Determining dependency 'vdpau' with pkg-config executable '/usr/bin/pkg-config' Called `/usr/bin/pkg-config --modversion vdpau` -> 0 1.1.1 Called `/usr/bin/pkg-config --cflags vdpau` -> 0 Called `/usr/bin/pkg-config vdpau --libs` -> 0 -L/usr/lib -lvdpau Called `/usr/bin/pkg-config vdpau --libs` -> 0 -lvdpau Native dependency vdpau found: YES 1.1.1 Running command: /usr/bin/pkg-config vdpau --cflags --- stdout --- --- stderr --- Determining dependency 'libomxil-bellagio' with pkg-config executable '/usr/bin/pkg-config' Called `/usr/bin/pkg-config --modversion libomxil-bellagio` -> 0 0.9.3 Called `/usr/bin/pkg-config --cflags libomxil-bellagio` -> 0 -I/usr/include/bellagio Called `/usr/bin/pkg-config libomxil-bellagio --libs` -> 0 -L/usr/lib -lomxil-bellagio Called `/usr/bin/pkg-config libomxil-bellagio --libs` -> 0 -lomxil-bellagio Native dependency libomxil-bellagio found: YES 0.9.3 Called `/usr/bin/pkg-config --variable=libdir libomxil-bellagio` -> 0 /usr/lib Got pkgconfig variable libdir : /usr/lib Called `/usr/bin/pkg-config --variable=pluginsdir libomxil-bellagio` -> 0 /usr/lib/bellagio Got pkgconfig variable pluginsdir : /usr/lib/bellagio Determining dependency 'libva' with pkg-config executable '/usr/bin/pkg-config' Called `/usr/bin/pkg-config --modversion libva` -> 0 1.2.0 Called `/usr/bin/pkg-config --cflags libva` -> 0 Called `/usr/bin/pkg-config libva --libs` -> 0 -L/usr/lib -lva Called `/usr/bin/pkg-config libva --libs` -> 0 -lva Native dependency libva found: YES 1.2.0 Running command: /usr/bin/pkg-config libva --cflags --- stdout --- --- stderr --- Determining dependency 'libclc' with pkg-config executable '/usr/bin/pkg-config' Called `/usr/bin/pkg-config --modversion libclc` -> 0 0.2.0 Called `/usr/bin/pkg-config --cflags libclc` -> 0 Called `/usr/bin/pkg-config libclc --libs` -> 0 -L/usr/lib/clc Called `/usr/bin/pkg-config libclc --libs` -> 0 -L/usr/lib/clc Native dependency libclc found: YES 0.2.0 Program python2 found: YES (/usr/bin/python2) Running command: /usr/bin/python2 -c import mako --- stdout --- --- stderr --- Running compile: Working directory: /tmp/tmpm_8wugnq Command line: cc /tmp/tmpm_8wugnq/testfile.c -pipe -D_FILE_OFFSET_BITS=64 -o /tmp/tmpm_8wugnq/output.exe -march=x86-64 -mtune=generic -O2 -fstack-protector-strong -Wl,-O1,--sort-common,--as-needed,-z,relro -O0 -std=c99 Code: #define bswap32 meson_disable_define_of_bswap32 #include #undef bswap32 #ifdef __cplusplus extern "C" #endif char bswap32 (); #if defined __stub_bswap32 || defined __stub___bswap32 fail fail fail this function is not going to work #endif int main () { return bswap32 (); } Compiler stdout: Compiler stderr: /tmp/ccszrPu4.o: nella funzione "main": testfile.c:(.text+0xa): riferimento non definito a "bswap32" collect2: error: ld returned 1 exit status Running compile: Working directory: /tmp/tmpy8950ese Command line: cc /tmp/tmpy8950ese/testfile.c -pipe -D_FILE_OFFSET_BITS=64 -o /tmp/tmpy8950ese/output.exe -march=x86-64 -mtune=generic -O2 -fstack-protector-strong -Wl,-O1,--sort-common,--as-needed,-z,relro -O0 -std=c99 Code: int main() { #ifdef __has_builtin #if !__has_builtin(__builtin_bswap32) #error "__builtin_bswap32 not found" #endif #elif ! defined(bswap32) /* Check for __builtin_bswap32 only if no includes were added to the * prefix above, which means no definition of bswap32 can be found. * We would always check for this, but we get false positives on * MSYS2 if we do. Their toolchain is broken, but we can at least * give them a workaround. */ #if 1 __builtin_bswap32; #else #error "No definition for __builtin_bswap32 found in the prefix" #endif #endif } Compiler stdout: Compiler stderr: Checking for function "bswap32" : YES Running compile: Working directory: /tmp/tmp8h6rgelc Command line: cc /tmp/tmp8h6rgelc/testfile.c -pipe -D_FILE_OFFSET_BITS=64 -o /tmp/tmp8h6rgelc/output.exe -march=x86-64 -mtune=generic -O2 -fstack-protector-strong -Wl,-O1,--sort-common,--as-needed,-z,relro -O0 -std=c99 Code: #define bswap64 meson_disable_define_of_bswap64 #include #undef bswap64 #ifdef __cplusplus extern "C" #endif char bswap64 (); #if defined __stub_bswap64 || defined __stub___bswap64 fail fail fail this function is not going to work #endif int main () { return bswap64 (); } Compiler stdout: Compiler stderr: /tmp/ccGcvBrv.o: nella funzione "main": testfile.c:(.text+0xa): riferimento non definito a "bswap64" collect2: error: ld returned 1 exit status Running compile: Working directory: /tmp/tmpksr9ytzy Command line: cc /tmp/tmpksr9ytzy/testfile.c -pipe -D_FILE_OFFSET_BITS=64 -o /tmp/tmpksr9ytzy/output.exe -march=x86-64 -mtune=generic -O2 -fstack-protector-strong -Wl,-O1,--sort-common,--as-needed,-z,relro -O0 -std=c99 Code: int main() { #ifdef __has_builtin #if !__has_builtin(__builtin_bswap64) #error "__builtin_bswap64 not found" #endif #elif ! defined(bswap64) /* Check for __builtin_bswap64 only if no includes were added to the * prefix above, which means no definition of bswap64 can be found. * We would always check for this, but we get false positives on * MSYS2 if we do. Their toolchain is broken, but we can at least * give them a workaround. */ #if 1 __builtin_bswap64; #else #error "No definition for __builtin_bswap64 found in the prefix" #endif #endif } Compiler stdout: Compiler stderr: Checking for function "bswap64" : YES Running compile: Working directory: /tmp/tmp3qyku7zi Command line: cc /tmp/tmp3qyku7zi/testfile.c -pipe -D_FILE_OFFSET_BITS=64 -o /tmp/tmp3qyku7zi/output.exe -march=x86-64 -mtune=generic -O2 -fstack-protector-strong -Wl,-O1,--sort-common,--as-needed,-z,relro -O0 -std=c99 Code: #define clz meson_disable_define_of_clz #include #undef clz #ifdef __cplusplus extern "C" #endif char clz (); #if defined __stub_clz || defined __stub___clz fail fail fail this function is not going to work #endif int main () { return clz (); } Compiler stdout: Compiler stderr: /tmp/cce9ygYV.o: nella funzione "main": testfile.c:(.text+0xa): riferimento non definito a "clz" collect2: error: ld returned 1 exit status Running compile: Working directory: /tmp/tmpbzf_gi0o Command line: cc /tmp/tmpbzf_gi0o/testfile.c -pipe -D_FILE_OFFSET_BITS=64 -o /tmp/tmpbzf_gi0o/output.exe -march=x86-64 -mtune=generic -O2 -fstack-protector-strong -Wl,-O1,--sort-common,--as-needed,-z,relro -O0 -std=c99 Code: int main() { #ifdef __has_builtin #if !__has_builtin(__builtin_clz) #error "__builtin_clz not found" #endif #elif ! defined(clz) /* Check for __builtin_clz only if no includes were added to the * prefix above, which means no definition of clz can be found. * We would always check for this, but we get false positives on * MSYS2 if we do. Their toolchain is broken, but we can at least * give them a workaround. */ #if 1 __builtin_clz; #else #error "No definition for __builtin_clz found in the prefix" #endif #endif } Compiler stdout: Compiler stderr: Checking for function "clz" : YES Running compile: Working directory: /tmp/tmp0u5dpamt Command line: cc /tmp/tmp0u5dpamt/testfile.c -pipe -D_FILE_OFFSET_BITS=64 -o /tmp/tmp0u5dpamt/output.exe -march=x86-64 -mtune=generic -O2 -fstack-protector-strong -Wl,-O1,--sort-common,--as-needed,-z,relro -O0 -std=c99 Code: #define clzll meson_disable_define_of_clzll #include #undef clzll #ifdef __cplusplus extern "C" #endif char clzll (); #if defined __stub_clzll || defined __stub___clzll fail fail fail this function is not going to work #endif int main () { return clzll (); } Compiler stdout: Compiler stderr: /tmp/ccdZ6fwd.o: nella funzione "main": testfile.c:(.text+0xa): riferimento non definito a "clzll" collect2: error: ld returned 1 exit status Running compile: Working directory: /tmp/tmpnp8nih5a Command line: cc /tmp/tmpnp8nih5a/testfile.c -pipe -D_FILE_OFFSET_BITS=64 -o /tmp/tmpnp8nih5a/output.exe -march=x86-64 -mtune=generic -O2 -fstack-protector-strong -Wl,-O1,--sort-common,--as-needed,-z,relro -O0 -std=c99 Code: int main() { #ifdef __has_builtin #if !__has_builtin(__builtin_clzll) #error "__builtin_clzll not found" #endif #elif ! defined(clzll) /* Check for __builtin_clzll only if no includes were added to the * prefix above, which means no definition of clzll can be found. * We would always check for this, but we get false positives on * MSYS2 if we do. Their toolchain is broken, but we can at least * give them a workaround. */ #if 1 __builtin_clzll; #else #error "No definition for __builtin_clzll found in the prefix" #endif #endif } Compiler stdout: Compiler stderr: Checking for function "clzll" : YES Running compile: Working directory: /tmp/tmpgl4c_lih Command line: cc /tmp/tmpgl4c_lih/testfile.c -pipe -D_FILE_OFFSET_BITS=64 -o /tmp/tmpgl4c_lih/output.exe -march=x86-64 -mtune=generic -O2 -fstack-protector-strong -Wl,-O1,--sort-common,--as-needed,-z,relro -O0 -std=c99 Code: #define ctz meson_disable_define_of_ctz #include #undef ctz #ifdef __cplusplus extern "C" #endif char ctz (); #if defined __stub_ctz || defined __stub___ctz fail fail fail this function is not going to work #endif int main () { return ctz (); } Compiler stdout: Compiler stderr: /tmp/cckyrxYA.o: nella funzione "main": testfile.c:(.text+0xa): riferimento non definito a "ctz" collect2: error: ld returned 1 exit status Running compile: Working directory: /tmp/tmp0kp_tsq5 Command line: cc /tmp/tmp0kp_tsq5/testfile.c -pipe -D_FILE_OFFSET_BITS=64 -o /tmp/tmp0kp_tsq5/output.exe -march=x86-64 -mtune=generic -O2 -fstack-protector-strong -Wl,-O1,--sort-common,--as-needed,-z,relro -O0 -std=c99 Code: int main() { #ifdef __has_builtin #if !__has_builtin(__builtin_ctz) #error "__builtin_ctz not found" #endif #elif ! defined(ctz) /* Check for __builtin_ctz only if no includes were added to the * prefix above, which means no definition of ctz can be found. * We would always check for this, but we get false positives on * MSYS2 if we do. Their toolchain is broken, but we can at least * give them a workaround. */ #if 1 __builtin_ctz; #else #error "No definition for __builtin_ctz found in the prefix" #endif #endif } Compiler stdout: Compiler stderr: Checking for function "ctz" : YES Running compile: Working directory: /tmp/tmp86elmcf0 Command line: cc /tmp/tmp86elmcf0/testfile.c -pipe -D_FILE_OFFSET_BITS=64 -o /tmp/tmp86elmcf0/output.exe -march=x86-64 -mtune=generic -O2 -fstack-protector-strong -Wl,-O1,--sort-common,--as-needed,-z,relro -O0 -std=c99 Code: #define expect meson_disable_define_of_expect #include #undef expect #ifdef __cplusplus extern "C" #endif char expect (); #if defined __stub_expect || defined __stub___expect fail fail fail this function is not going to work #endif int main () { return expect (); } Compiler stdout: Compiler stderr: /tmp/ccPTVBpT.o: nella funzione "main": testfile.c:(.text+0xa): riferimento non definito a "expect" collect2: error: ld returned 1 exit status Running compile: Working directory: /tmp/tmp0zjizbvz Command line: cc /tmp/tmp0zjizbvz/testfile.c -pipe -D_FILE_OFFSET_BITS=64 -o /tmp/tmp0zjizbvz/output.exe -march=x86-64 -mtune=generic -O2 -fstack-protector-strong -Wl,-O1,--sort-common,--as-needed,-z,relro -O0 -std=c99 Code: int main() { #ifdef __has_builtin #if !__has_builtin(__builtin_expect) #error "__builtin_expect not found" #endif #elif ! defined(expect) /* Check for __builtin_expect only if no includes were added to the * prefix above, which means no definition of expect can be found. * We would always check for this, but we get false positives on * MSYS2 if we do. Their toolchain is broken, but we can at least * give them a workaround. */ #if 1 __builtin_expect; #else #error "No definition for __builtin_expect found in the prefix" #endif #endif } Compiler stdout: Compiler stderr: Checking for function "expect" : YES Running compile: Working directory: /tmp/tmpsz0imihj Command line: cc /tmp/tmpsz0imihj/testfile.c -pipe -D_FILE_OFFSET_BITS=64 -o /tmp/tmpsz0imihj/output.exe -march=x86-64 -mtune=generic -O2 -fstack-protector-strong -Wl,-O1,--sort-common,--as-needed,-z,relro -O0 -std=c99 Code: #define ffs meson_disable_define_of_ffs #include #undef ffs #ifdef __cplusplus extern "C" #endif char ffs (); #if defined __stub_ffs || defined __stub___ffs fail fail fail this function is not going to work #endif int main () { return ffs (); } Compiler stdout: Compiler stderr: Checking for function "ffs" : YES Running compile: Working directory: /tmp/tmpin4ciwhu Command line: cc /tmp/tmpin4ciwhu/testfile.c -pipe -D_FILE_OFFSET_BITS=64 -o /tmp/tmpin4ciwhu/output.exe -march=x86-64 -mtune=generic -O2 -fstack-protector-strong -Wl,-O1,--sort-common,--as-needed,-z,relro -O0 -std=c99 Code: #define ffsll meson_disable_define_of_ffsll #include #undef ffsll #ifdef __cplusplus extern "C" #endif char ffsll (); #if defined __stub_ffsll || defined __stub___ffsll fail fail fail this function is not going to work #endif int main () { return ffsll (); } Compiler stdout: Compiler stderr: Checking for function "ffsll" : YES Running compile: Working directory: /tmp/tmp7dhns7gy Command line: cc /tmp/tmp7dhns7gy/testfile.c -pipe -D_FILE_OFFSET_BITS=64 -o /tmp/tmp7dhns7gy/output.exe -march=x86-64 -mtune=generic -O2 -fstack-protector-strong -Wl,-O1,--sort-common,--as-needed,-z,relro -O0 -std=c99 Code: #define popcount meson_disable_define_of_popcount #include #undef popcount #ifdef __cplusplus extern "C" #endif char popcount (); #if defined __stub_popcount || defined __stub___popcount fail fail fail this function is not going to work #endif int main () { return popcount (); } Compiler stdout: Compiler stderr: /tmp/ccDbuo6J.o: nella funzione "main": testfile.c:(.text+0xa): riferimento non definito a "popcount" collect2: error: ld returned 1 exit status Running compile: Working directory: /tmp/tmpu2cnaf82 Command line: cc /tmp/tmpu2cnaf82/testfile.c -pipe -D_FILE_OFFSET_BITS=64 -o /tmp/tmpu2cnaf82/output.exe -march=x86-64 -mtune=generic -O2 -fstack-protector-strong -Wl,-O1,--sort-common,--as-needed,-z,relro -O0 -std=c99 Code: int main() { #ifdef __has_builtin #if !__has_builtin(__builtin_popcount) #error "__builtin_popcount not found" #endif #elif ! defined(popcount) /* Check for __builtin_popcount only if no includes were added to the * prefix above, which means no definition of popcount can be found. * We would always check for this, but we get false positives on * MSYS2 if we do. Their toolchain is broken, but we can at least * give them a workaround. */ #if 1 __builtin_popcount; #else #error "No definition for __builtin_popcount found in the prefix" #endif #endif } Compiler stdout: Compiler stderr: Checking for function "popcount" : YES Running compile: Working directory: /tmp/tmpyhtypry0 Command line: cc /tmp/tmpyhtypry0/testfile.c -pipe -D_FILE_OFFSET_BITS=64 -o /tmp/tmpyhtypry0/output.exe -march=x86-64 -mtune=generic -O2 -fstack-protector-strong -Wl,-O1,--sort-common,--as-needed,-z,relro -O0 -std=c99 Code: #define popcountll meson_disable_define_of_popcountll #include #undef popcountll #ifdef __cplusplus extern "C" #endif char popcountll (); #if defined __stub_popcountll || defined __stub___popcountll fail fail fail this function is not going to work #endif int main () { return popcountll (); } Compiler stdout: Compiler stderr: /tmp/ccGkjkwZ.o: nella funzione "main": testfile.c:(.text+0xa): riferimento non definito a "popcountll" collect2: error: ld returned 1 exit status Running compile: Working directory: /tmp/tmpgx6znb9t Command line: cc /tmp/tmpgx6znb9t/testfile.c -pipe -D_FILE_OFFSET_BITS=64 -o /tmp/tmpgx6znb9t/output.exe -march=x86-64 -mtune=generic -O2 -fstack-protector-strong -Wl,-O1,--sort-common,--as-needed,-z,relro -O0 -std=c99 Code: int main() { #ifdef __has_builtin #if !__has_builtin(__builtin_popcountll) #error "__builtin_popcountll not found" #endif #elif ! defined(popcountll) /* Check for __builtin_popcountll only if no includes were added to the * prefix above, which means no definition of popcountll can be found. * We would always check for this, but we get false positives on * MSYS2 if we do. Their toolchain is broken, but we can at least * give them a workaround. */ #if 1 __builtin_popcountll; #else #error "No definition for __builtin_popcountll found in the prefix" #endif #endif } Compiler stdout: Compiler stderr: Checking for function "popcountll" : YES Running compile: Working directory: /tmp/tmpgc56yqez Command line: cc /tmp/tmpgc56yqez/testfile.c -pipe -D_FILE_OFFSET_BITS=64 -o /tmp/tmpgc56yqez/output.exe -march=x86-64 -mtune=generic -O2 -fstack-protector-strong -Wl,-O1,--sort-common,--as-needed,-z,relro -O0 -std=c99 Code: #define unreachable meson_disable_define_of_unreachable #include #undef unreachable #ifdef __cplusplus extern "C" #endif char unreachable (); #if defined __stub_unreachable || defined __stub___unreachable fail fail fail this function is not going to work #endif int main () { return unreachable (); } Compiler stdout: Compiler stderr: /tmp/ccDkubaq.o: nella funzione "main": testfile.c:(.text+0xa): riferimento non definito a "unreachable" collect2: error: ld returned 1 exit status Running compile: Working directory: /tmp/tmph5u111b6 Command line: cc /tmp/tmph5u111b6/testfile.c -pipe -D_FILE_OFFSET_BITS=64 -o /tmp/tmph5u111b6/output.exe -march=x86-64 -mtune=generic -O2 -fstack-protector-strong -Wl,-O1,--sort-common,--as-needed,-z,relro -O0 -std=c99 Code: int main() { #ifdef __has_builtin #if !__has_builtin(__builtin_unreachable) #error "__builtin_unreachable not found" #endif #elif ! defined(unreachable) /* Check for __builtin_unreachable only if no includes were added to the * prefix above, which means no definition of unreachable can be found. * We would always check for this, but we get false positives on * MSYS2 if we do. Their toolchain is broken, but we can at least * give them a workaround. */ #if 1 __builtin_unreachable; #else #error "No definition for __builtin_unreachable found in the prefix" #endif #endif } Compiler stdout: Compiler stderr: Checking for function "unreachable" : YES Running compile: Working directory: /tmp/tmphzf0f_4t Command line: cc /tmp/tmphzf0f_4t/testfile.c -pipe -D_FILE_OFFSET_BITS=64 -c -o /tmp/tmphzf0f_4t/output.obj -march=x86-64 -mtune=generic -O2 -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O0 -std=c99 Code: int foo(void) __attribute__((const)); Compiler stdout: Compiler stderr: Checking if "__attribute__((const))" compiles: YES Running compile: Working directory: /tmp/tmp_wzuompl Command line: cc /tmp/tmp_wzuompl/testfile.c -pipe -D_FILE_OFFSET_BITS=64 -c -o /tmp/tmp_wzuompl/output.obj -march=x86-64 -mtune=generic -O2 -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O0 -std=c99 Code: int foo(void) __attribute__((flatten)); Compiler stdout: Compiler stderr: Checking if "__attribute__((flatten))" compiles: YES Running compile: Working directory: /tmp/tmp6fbycoor Command line: cc /tmp/tmp6fbycoor/testfile.c -pipe -D_FILE_OFFSET_BITS=64 -c -o /tmp/tmp6fbycoor/output.obj -march=x86-64 -mtune=generic -O2 -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O0 -std=c99 Code: int foo(void) __attribute__((malloc)); Compiler stdout: Compiler stderr: /tmp/tmp6fbycoor/testfile.c:1:1: warning: ‘malloc’ attribute ignored [-Wattributes] int foo(void) __attribute__((malloc)); ^~~ Checking if "__attribute__((malloc))" compiles: YES Running compile: Working directory: /tmp/tmpjqmnifeg Command line: cc /tmp/tmpjqmnifeg/testfile.c -pipe -D_FILE_OFFSET_BITS=64 -c -o /tmp/tmpjqmnifeg/output.obj -march=x86-64 -mtune=generic -O2 -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O0 -std=c99 Code: int foo(void) __attribute__((pure)); Compiler stdout: Compiler stderr: Checking if "__attribute__((pure))" compiles: YES Running compile: Working directory: /tmp/tmp9syvis2z Command line: cc /tmp/tmp9syvis2z/testfile.c -pipe -D_FILE_OFFSET_BITS=64 -c -o /tmp/tmp9syvis2z/output.obj -march=x86-64 -mtune=generic -O2 -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O0 -std=c99 Code: int foo(void) __attribute__((unused)); Compiler stdout: Compiler stderr: Checking if "__attribute__((unused))" compiles: YES Running compile: Working directory: /tmp/tmphp7y3a6_ Command line: cc /tmp/tmphp7y3a6_/testfile.c -pipe -D_FILE_OFFSET_BITS=64 -c -o /tmp/tmphp7y3a6_/output.obj -march=x86-64 -mtune=generic -O2 -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O0 -std=c99 Code: int foo(void) __attribute__((warn_unused_result)); Compiler stdout: Compiler stderr: Checking if "__attribute__((warn_unused_result))" compiles: YES Running compile: Working directory: /tmp/tmp3_7651v3 Command line: cc /tmp/tmp3_7651v3/testfile.c -pipe -D_FILE_OFFSET_BITS=64 -c -o /tmp/tmp3_7651v3/output.obj -march=x86-64 -mtune=generic -O2 -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O0 -std=c99 Code: int foo(void) __attribute__((weak)); Compiler stdout: Compiler stderr: Checking if "__attribute__((weak))" compiles: YES Running compile: Working directory: /tmp/tmp8r4gjbya Command line: cc /tmp/tmp8r4gjbya/testfile.c -pipe -D_FILE_OFFSET_BITS=64 -c -o /tmp/tmp8r4gjbya/output.obj -march=x86-64 -mtune=generic -O2 -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O0 -std=c99 Code: int foo(const char *p, ...) __attribute__((format(printf, 1, 2))); Compiler stdout: Compiler stderr: Checking if "__attribute__((format(...)))" compiles: YES Running compile: Working directory: /tmp/tmpz_nm0akl Command line: cc /tmp/tmpz_nm0akl/testfile.c -pipe -D_FILE_OFFSET_BITS=64 -c -o /tmp/tmpz_nm0akl/output.obj -march=x86-64 -mtune=generic -O2 -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O0 -std=c99 Code: struct __attribute__((packed)) foo { int bar; }; Compiler stdout: Compiler stderr: Checking if "__attribute__((packed))" compiles: YES Running compile: Working directory: /tmp/tmpvd254g6t Command line: cc /tmp/tmpvd254g6t/testfile.c -pipe -D_FILE_OFFSET_BITS=64 -c -o /tmp/tmpvd254g6t/output.obj -march=x86-64 -mtune=generic -O2 -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O0 -std=c99 Code: int *foo(void) __attribute__((returns_nonnull)); Compiler stdout: Compiler stderr: Checking if "__attribute__((returns_nonnull))" compiles: YES Running compile: Working directory: /tmp/tmp39od9xfy Command line: cc /tmp/tmp39od9xfy/testfile.c -pipe -D_FILE_OFFSET_BITS=64 -c -o /tmp/tmp39od9xfy/output.obj -march=x86-64 -mtune=generic -O2 -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O0 -std=c99 Code: int foo_def(void) __attribute__((visibility("default"))); int foo_hid(void) __attribute__((visibility("hidden"))); int foo_int(void) __attribute__((visibility("internal"))); int foo_pro(void) __attribute__((visibility("protected"))); Compiler stdout: Compiler stderr: Checking if "__attribute__((visibility(...)))" compiles: YES Running compile: Working directory: /tmp/tmph5lvlsts Command line: cc /tmp/tmph5lvlsts/testfile.c -pipe -D_FILE_OFFSET_BITS=64 -c -o /tmp/tmph5lvlsts/output.obj -march=x86-64 -mtune=generic -O2 -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O0 -std=c99 Code: int foo(void) { return 0; } int bar(void) __attribute__((alias("foo"))); Compiler stdout: Compiler stderr: Checking if "__attribute__((alias(...)))" compiles: YES Running compile: Working directory: /tmp/tmpnxkib09z Command line: cc /tmp/tmpnxkib09z/testfile.c -pipe -D_FILE_OFFSET_BITS=64 -c -o /tmp/tmpnxkib09z/output.obj -march=x86-64 -mtune=generic -O2 -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O0 -std=c99 Code: int foo(void) __attribute__((__noreturn__)); Compiler stdout: Compiler stderr: Checking if "__attribute__((__noreturn__))" compiles: YES Running compile: Working directory: /tmp/tmps7wx4fr5 Command line: cc /tmp/tmps7wx4fr5/testfile.c -pipe -D_FILE_OFFSET_BITS=64 -c -o /tmp/tmps7wx4fr5/output.obj -march=x86-64 -mtune=generic -O2 -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O0 -Wall Code: int i; Compiler stdout: Compiler stderr: Compiler for C supports arguments -Wall: YES Running compile: Working directory: /tmp/tmpkcqjx0fo Command line: cc /tmp/tmpkcqjx0fo/testfile.c -pipe -D_FILE_OFFSET_BITS=64 -c -o /tmp/tmpkcqjx0fo/output.obj -march=x86-64 -mtune=generic -O2 -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O0 -Werror=implicit-function-declaration Code: int i; Compiler stdout: Compiler stderr: Compiler for C supports arguments -Werror=implicit-function-declaration: YES Running compile: Working directory: /tmp/tmpvj_fpg0x Command line: cc /tmp/tmpvj_fpg0x/testfile.c -pipe -D_FILE_OFFSET_BITS=64 -c -o /tmp/tmpvj_fpg0x/output.obj -march=x86-64 -mtune=generic -O2 -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O0 -Werror=missing-prototypes Code: int i; Compiler stdout: Compiler stderr: Compiler for C supports arguments -Werror=missing-prototypes: YES Running compile: Working directory: /tmp/tmpgngiiq9r Command line: cc /tmp/tmpgngiiq9r/testfile.c -pipe -D_FILE_OFFSET_BITS=64 -c -o /tmp/tmpgngiiq9r/output.obj -march=x86-64 -mtune=generic -O2 -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O0 -fno-math-errno Code: int i; Compiler stdout: Compiler stderr: Compiler for C supports arguments -fno-math-errno: YES Running compile: Working directory: /tmp/tmpu9xzyuf6 Command line: cc /tmp/tmpu9xzyuf6/testfile.c -pipe -D_FILE_OFFSET_BITS=64 -c -o /tmp/tmpu9xzyuf6/output.obj -march=x86-64 -mtune=generic -O2 -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O0 -fno-trapping-math Code: int i; Compiler stdout: Compiler stderr: Compiler for C supports arguments -fno-trapping-math: YES Running compile: Working directory: /tmp/tmphjfc5ifj Command line: cc /tmp/tmphjfc5ifj/testfile.c -pipe -D_FILE_OFFSET_BITS=64 -c -o /tmp/tmphjfc5ifj/output.obj -march=x86-64 -mtune=generic -O2 -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O0 -Qunused-arguments Code: int i; Compiler stdout: Compiler stderr: cc: error: unrecognized command line option ‘-Qunused-arguments’; did you mean ‘-Wunused-parameter’? Compiler for C supports arguments -Qunused-arguments: NO Running compile: Working directory: /tmp/tmpsb4mypcn Command line: cc /tmp/tmpsb4mypcn/testfile.c -pipe -D_FILE_OFFSET_BITS=64 -c -o /tmp/tmpsb4mypcn/output.obj -march=x86-64 -mtune=generic -O2 -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O0 -Wmissing-field-initializers Code: int i; Compiler stdout: Compiler stderr: Compiler for C supports arguments -Wmissing-field-initializers: YES Running compile: Working directory: /tmp/tmp0x_5u5uv Command line: cc /tmp/tmp0x_5u5uv/testfile.c -pipe -D_FILE_OFFSET_BITS=64 -c -o /tmp/tmp0x_5u5uv/output.obj -march=x86-64 -mtune=generic -O2 -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O0 -fvisibility=hidden Code: int i; Compiler stdout: Compiler stderr: Compiler for C supports arguments -fvisibility=hidden: YES Running compile: Working directory: /tmp/tmpvhds139a Command line: c++ /tmp/tmpvhds139a/testfile.cpp -pipe -D_FILE_OFFSET_BITS=64 -c -o /tmp/tmpvhds139a/output.obj -march=x86-64 -mtune=generic -O2 -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O0 -fpermissive -Wall Code: int i; Compiler stdout: Compiler stderr: Compiler for C++ supports arguments -Wall: YES Running compile: Working directory: /tmp/tmpwpuhwzd3 Command line: c++ /tmp/tmpwpuhwzd3/testfile.cpp -pipe -D_FILE_OFFSET_BITS=64 -c -o /tmp/tmpwpuhwzd3/output.obj -march=x86-64 -mtune=generic -O2 -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O0 -fpermissive -fno-math-errno Code: int i; Compiler stdout: Compiler stderr: Compiler for C++ supports arguments -fno-math-errno: YES Running compile: Working directory: /tmp/tmpoa4uqx2a Command line: c++ /tmp/tmpoa4uqx2a/testfile.cpp -pipe -D_FILE_OFFSET_BITS=64 -c -o /tmp/tmpoa4uqx2a/output.obj -march=x86-64 -mtune=generic -O2 -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O0 -fpermissive -fno-trapping-math Code: int i; Compiler stdout: Compiler stderr: Compiler for C++ supports arguments -fno-trapping-math: YES Running compile: Working directory: /tmp/tmpxsxhh87v Command line: c++ /tmp/tmpxsxhh87v/testfile.cpp -pipe -D_FILE_OFFSET_BITS=64 -c -o /tmp/tmpxsxhh87v/output.obj -march=x86-64 -mtune=generic -O2 -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O0 -fpermissive -Qunused-arguments Code: int i; Compiler stdout: Compiler stderr: c++: error: unrecognized command line option ‘-Qunused-arguments’; did you mean ‘-Wunused-parameter’? Compiler for C++ supports arguments -Qunused-arguments: NO Running compile: Working directory: /tmp/tmpl0hj7xr9 Command line: c++ /tmp/tmpl0hj7xr9/testfile.cpp -pipe -D_FILE_OFFSET_BITS=64 -c -o /tmp/tmpl0hj7xr9/output.obj -march=x86-64 -mtune=generic -O2 -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O0 -fpermissive -Wnon-virtual-dtor Code: int i; Compiler stdout: Compiler stderr: Compiler for C++ supports arguments -Wnon-virtual-dtor: YES Running compile: Working directory: /tmp/tmpktwy35v2 Command line: c++ /tmp/tmpktwy35v2/testfile.cpp -pipe -D_FILE_OFFSET_BITS=64 -c -o /tmp/tmpktwy35v2/output.obj -march=x86-64 -mtune=generic -O2 -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O0 -fpermissive -Wmissing-field-initializers Code: int i; Compiler stdout: Compiler stderr: Compiler for C++ supports arguments -Wmissing-field-initializers: YES Running compile: Working directory: /tmp/tmpvenefxlq Command line: cc /tmp/tmpvenefxlq/testfile.c -pipe -D_FILE_OFFSET_BITS=64 -c -o /tmp/tmpvenefxlq/output.obj -march=x86-64 -mtune=generic -O2 -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O0 -Woverride-init Code: int i; Compiler stdout: Compiler stderr: Compiler for C supports arguments -Woverride-init: YES Running compile: Working directory: /tmp/tmpqiacii3q Command line: cc /tmp/tmpqiacii3q/testfile.c -pipe -D_FILE_OFFSET_BITS=64 -c -o /tmp/tmpqiacii3q/output.obj -march=x86-64 -mtune=generic -O2 -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O0 -Winitializer-overrides Code: int i; Compiler stdout: Compiler stderr: cc: error: unrecognized command line option ‘-Winitializer-overrides’; did you mean ‘-Wno-suggest-override’? Compiler for C supports arguments -Winitializer-overrides: NO Running compile: Working directory: /tmp/tmpcm2rsflp Command line: c++ /tmp/tmpcm2rsflp/testfile.cpp -pipe -D_FILE_OFFSET_BITS=64 -c -o /tmp/tmpcm2rsflp/output.obj -march=x86-64 -mtune=generic -O2 -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O0 -fpermissive -fvisibility=hidden Code: int i; Compiler stdout: Compiler stderr: Compiler for C++ supports arguments -fvisibility=hidden: YES Running compile: Working directory: /tmp/tmpwwndz4c9 Command line: cc /tmp/tmpwwndz4c9/testfile.c -pipe -D_FILE_OFFSET_BITS=64 -c -o /tmp/tmpwwndz4c9/output.obj -march=x86-64 -mtune=generic -O2 -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O0 -Werror=pointer-arith Code: int i; Compiler stdout: Compiler stderr: Compiler for C supports arguments -Werror=pointer-arith: YES Running compile: Working directory: /tmp/tmpwzj5zpy9 Command line: c++ /tmp/tmpwzj5zpy9/testfile.cpp -pipe -D_FILE_OFFSET_BITS=64 -c -o /tmp/tmpwzj5zpy9/output.obj -march=x86-64 -mtune=generic -O2 -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O0 -fpermissive -Werror=pointer-arith Code: int i; Compiler stdout: Compiler stderr: Compiler for C++ supports arguments -Werror=pointer-arith: YES Running compile: Working directory: /tmp/tmp7gyrszod Command line: cc /tmp/tmp7gyrszod/testfile.c -pipe -D_FILE_OFFSET_BITS=64 -c -o /tmp/tmp7gyrszod/output.obj -march=x86-64 -mtune=generic -O2 -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O0 -Werror=vla Code: int i; Compiler stdout: Compiler stderr: Compiler for C supports arguments -Werror=vla: YES Running compile: Working directory: /tmp/tmpoywgxa8i Command line: c++ /tmp/tmpoywgxa8i/testfile.cpp -pipe -D_FILE_OFFSET_BITS=64 -c -o /tmp/tmpoywgxa8i/output.obj -march=x86-64 -mtune=generic -O2 -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O0 -fpermissive -Werror=vla Code: int i; Compiler stdout: Compiler stderr: Compiler for C++ supports arguments -Werror=vla: YES Running compile: Working directory: /tmp/tmp4uske3pa Command line: cc /tmp/tmp4uske3pa/testfile.c -pipe -D_FILE_OFFSET_BITS=64 -c -o /tmp/tmp4uske3pa/output.obj -march=x86-64 -mtune=generic -O2 -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O0 -std=c99 Code: #include int main() { struct { uint64_t *v; } x; return (int)__atomic_load_n(x.v, __ATOMIC_ACQUIRE) & (int)__atomic_add_fetch(x.v, (uint64_t)1, __ATOMIC_ACQ_REL); } Compiler stdout: Compiler stderr: In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdint.h:26, from /usr/lib/gcc/x86_64-pc-linux-gnu/8.1.1/include/stdint.h:9, from /tmp/tmp4uske3pa/testfile.c:1: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ Checking if "GCC atomic builtins" compiles: YES Running compile: Working directory: /tmp/tmpbux_d4iv Command line: cc /tmp/tmpbux_d4iv/testfile.c -pipe -D_FILE_OFFSET_BITS=64 -o /tmp/tmpbux_d4iv/output.exe -march=x86-64 -mtune=generic -O2 -fstack-protector-strong -Wl,-O1,--sort-common,--as-needed,-z,relro -O0 -std=c99 Code: #include int main() { struct { uint64_t *v; } x; return (int)__atomic_load_n(x.v, __ATOMIC_ACQUIRE) & (int)__atomic_add_fetch(x.v, (uint64_t)1, __ATOMIC_ACQ_REL); } Compiler stdout: Compiler stderr: Checking if "GCC atomic builtins required -latomic" links: YES Running compile: Working directory: /tmp/tmp4lejompp Command line: cc /tmp/tmp4lejompp/testfile.c -pipe -D_FILE_OFFSET_BITS=64 -o /tmp/tmp4lejompp/output.exe -march=x86-64 -mtune=generic -O2 -fstack-protector-strong -Wl,-O1,--sort-common,--as-needed,-z,relro -O0 -std=c99 Code: #include uint64_t v; int main() { return __sync_add_and_fetch(&v, (uint64_t)1); } Compiler stdout: Compiler stderr: Checking if "GCC 64bit atomics" links: YES Running compile: Working directory: /tmp/tmpxdsuup1f Command line: cc /tmp/tmpxdsuup1f/testfile.c -pipe -D_FILE_OFFSET_BITS=64 -c -o /tmp/tmpxdsuup1f/output.obj -march=x86-64 -mtune=generic -O2 -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O0 -std=c99 Code: #include int main () { /* If it's not defined as a macro, try to use as a symbol */ #ifndef major major; #endif } Compiler stdout: Compiler stderr: In file included from /usr/include/sys/sysmacros.h:39, from /tmp/tmpxdsuup1f/testfile.c:2: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ Header has symbol "major": YES Running compile: Working directory: /tmp/tmpzrmj35o4 Command line: cc /tmp/tmpzrmj35o4/testfile.c -pipe -D_FILE_OFFSET_BITS=64 -c -o /tmp/tmpzrmj35o4/output.obj -march=x86-64 -mtune=generic -O2 -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O0 -std=c99 Code: #include Compiler stdout: Compiler stderr: /tmp/tmpzrmj35o4/testfile.c:1:10: fatal error: xlocale.h: File o directory non esistente #include ^~~~~~~~~~~ compilation terminated. Checking if "xlocale.h" compiles: NO Running compile: Working directory: /tmp/tmpy4s9ymi_ Command line: cc /tmp/tmpy4s9ymi_/testfile.c -pipe -D_FILE_OFFSET_BITS=64 -c -o /tmp/tmpy4s9ymi_/output.obj -march=x86-64 -mtune=generic -O2 -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O0 -std=c99 Code: #include Compiler stdout: Compiler stderr: In file included from /usr/include/sys/sysctl.h:21, from /tmp/tmpy4s9ymi_/testfile.c:1: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ Checking if "sys/sysctl.h" compiles: YES Running compile: Working directory: /tmp/tmp6tbz44k8 Command line: cc /tmp/tmp6tbz44k8/testfile.c -pipe -D_FILE_OFFSET_BITS=64 -c -o /tmp/tmp6tbz44k8/output.obj -march=x86-64 -mtune=generic -O2 -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O0 -std=c99 Code: #include Compiler stdout: Compiler stderr: Checking if "linux/futex.h" compiles: YES Running compile: Working directory: /tmp/tmpvylp6ufm Command line: cc /tmp/tmpvylp6ufm/testfile.c -pipe -D_FILE_OFFSET_BITS=64 -c -o /tmp/tmpvylp6ufm/output.obj -march=x86-64 -mtune=generic -O2 -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O0 -std=c99 Code: #include Compiler stdout: Compiler stderr: In file included from /usr/include/endian.h:21, from /tmp/tmpvylp6ufm/testfile.c:1: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ Checking if "endian.h" compiles: YES Running compile: Working directory: /tmp/tmp40ptly55 Command line: cc /tmp/tmp40ptly55/testfile.c -pipe -D_FILE_OFFSET_BITS=64 -c -o /tmp/tmp40ptly55/output.obj -march=x86-64 -mtune=generic -O2 -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O0 -std=c99 Code: #include Compiler stdout: Compiler stderr: In file included from /usr/include/dlfcn.h:22, from /tmp/tmp40ptly55/testfile.c:1: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ Checking if "dlfcn.h" compiles: YES Running compile: Working directory: /tmp/tmpcldjxgwt Command line: cc /tmp/tmpcldjxgwt/testfile.c -pipe -D_FILE_OFFSET_BITS=64 -o /tmp/tmpcldjxgwt/output.exe -march=x86-64 -mtune=generic -O2 -fstack-protector-strong -Wl,-O1,--sort-common,--as-needed,-z,relro -O0 -std=c99 Code: #define strtof meson_disable_define_of_strtof #include #undef strtof #ifdef __cplusplus extern "C" #endif char strtof (); #if defined __stub_strtof || defined __stub___strtof fail fail fail this function is not going to work #endif int main () { return strtof (); } Compiler stdout: Compiler stderr: Checking for function "strtof" : YES Running compile: Working directory: /tmp/tmpru12_gzg Command line: cc /tmp/tmpru12_gzg/testfile.c -pipe -D_FILE_OFFSET_BITS=64 -o /tmp/tmpru12_gzg/output.exe -march=x86-64 -mtune=generic -O2 -fstack-protector-strong -Wl,-O1,--sort-common,--as-needed,-z,relro -O0 -std=c99 Code: #define mkostemp meson_disable_define_of_mkostemp #include #undef mkostemp #ifdef __cplusplus extern "C" #endif char mkostemp (); #if defined __stub_mkostemp || defined __stub___mkostemp fail fail fail this function is not going to work #endif int main () { return mkostemp (); } Compiler stdout: Compiler stderr: Checking for function "mkostemp" : YES Running compile: Working directory: /tmp/tmpihbl_6lv Command line: cc /tmp/tmpihbl_6lv/testfile.c -pipe -D_FILE_OFFSET_BITS=64 -o /tmp/tmpihbl_6lv/output.exe -march=x86-64 -mtune=generic -O2 -fstack-protector-strong -Wl,-O1,--sort-common,--as-needed,-z,relro -O0 -std=c99 Code: #define posix_memalign meson_disable_define_of_posix_memalign #include #undef posix_memalign #ifdef __cplusplus extern "C" #endif char posix_memalign (); #if defined __stub_posix_memalign || defined __stub___posix_memalign fail fail fail this function is not going to work #endif int main () { return posix_memalign (); } Compiler stdout: Compiler stderr: Checking for function "posix_memalign" : YES Running compile: Working directory: /tmp/tmpr4jl9b60 Command line: cc /tmp/tmpr4jl9b60/testfile.c -pipe -D_FILE_OFFSET_BITS=64 -o /tmp/tmpr4jl9b60/output.exe -march=x86-64 -mtune=generic -O2 -fstack-protector-strong -Wl,-O1,--sort-common,--as-needed,-z,relro -O0 -std=c99 Code: #define timespec_get meson_disable_define_of_timespec_get #include #undef timespec_get #ifdef __cplusplus extern "C" #endif char timespec_get (); #if defined __stub_timespec_get || defined __stub___timespec_get fail fail fail this function is not going to work #endif int main () { return timespec_get (); } Compiler stdout: Compiler stderr: Checking for function "timespec_get" : YES Running compile: Working directory: /tmp/tmp04f0f57l Command line: cc /tmp/tmp04f0f57l/testfile.c -pipe -D_FILE_OFFSET_BITS=64 -o /tmp/tmp04f0f57l/output.exe -march=x86-64 -mtune=generic -O2 -fstack-protector-strong -Wl,-O1,--sort-common,--as-needed,-z,relro -O0 -std=c99 Code: #define memfd_create meson_disable_define_of_memfd_create #include #undef memfd_create #ifdef __cplusplus extern "C" #endif char memfd_create (); #if defined __stub_memfd_create || defined __stub___memfd_create fail fail fail this function is not going to work #endif int main () { return memfd_create (); } Compiler stdout: Compiler stderr: Checking for function "memfd_create" : YES Running compile: Working directory: /tmp/tmpb_4sqjez Command line: cc /tmp/tmpb_4sqjez/testfile.c -pipe -D_FILE_OFFSET_BITS=64 -o /tmp/tmpb_4sqjez/output.exe -march=x86-64 -mtune=generic -O2 -fstack-protector-strong -Wl,-O1,--sort-common,--as-needed,-z,relro -O0 -std=c99 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -DVERSION="18.3.0-devel" -DPACKAGE_VERSION=VERSION -DPACKAGE_BUGREPORT="https://bugs.freedesktop.org/enter_bug.cgi?product=Mesa" -DGLX_USE_TLS -DHAVE_ST_VDPAU -DENABLE_ST_OMX_BELLAGIO=1 -DENABLE_ST_OMX_TIZONIA=0 -DHAVE_X11_PLATFORM -DGLX_INDIRECT_RENDERING -DGLX_DIRECT_RENDERING -DGLX_USE_DRM -DHAVE_DRM_PLATFORM -DHAVE_SURFACELESS_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_VISIBILITY -DHAVE_FUNC_ATTRIBUTE_ALIAS -DHAVE_FUNC_ATTRIBUTE_NORETURN -D_GNU_SOURCE -DUSE_SSE41 -DUSE_GCC_ATOMIC_BUILTINS -DUSE_X86_64_ASM -DMAJOR_IN_SYSMACROS -DHAVE_SYS_SYSCTL_H -DHAVE_LINUX_FUTEX_H -DHAVE_ENDIAN_H -DHAVE_DLFCN_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_POSIX_MEMALIGN -DHAVE_TIMESPEC_GET -DHAVE_MEMFD_CREATE Code: #define _GNU_SOURCE #include #include #ifdef HAVE_XLOCALE_H #include #endif int main() { locale_t loc = newlocale(LC_CTYPE_MASK, "C", NULL); const char *s = "1.0"; char *end; double d = strtod_l(s, end, loc); float f = strtof_l(s, end, loc); freelocale(loc); return 0; } Compiler stdout: Compiler stderr: /tmp/tmpb_4sqjez/testfile.c:2: warning: "_GNU_SOURCE" redefined #define _GNU_SOURCE : note: this is the location of the previous definition /tmp/tmpb_4sqjez/testfile.c: In function ‘main’: /tmp/tmpb_4sqjez/testfile.c:12:30: warning: passing argument 2 of ‘strtod_l’ from incompatible pointer type [-Wincompatible-pointer-types] double d = strtod_l(s, end, loc); ^~~ In file included from /tmp/tmpb_4sqjez/testfile.c:3: /usr/include/stdlib.h:296:22: note: expected ‘char ** restrict’ but argument is of type ‘char *’ char **__restrict __endptr, locale_t __loc) ~~~~~~~~~~~~~~~~~~^~~~~~~~ /tmp/tmpb_4sqjez/testfile.c:13:29: warning: passing argument 2 of ‘strtof_l’ from incompatible pointer type [-Wincompatible-pointer-types] float f = strtof_l(s, end, loc); ^~~ In file included from /tmp/tmpb_4sqjez/testfile.c:3: /usr/include/stdlib.h:300:28: note: expected ‘char ** restrict’ but argument is of type ‘char *’ char **__restrict __endptr, locale_t __loc) ~~~~~~~~~~~~~~~~~~^~~~~~~~ Checking if "strtod has locale support" links: YES Running compile: Working directory: /tmp/tmp9gx707j3 Command line: cc /tmp/tmp9gx707j3/testfile.c -pipe -D_FILE_OFFSET_BITS=64 -o /tmp/tmp9gx707j3/output.exe -march=x86-64 -mtune=generic -O2 -fstack-protector-strong -Wl,-O1,--sort-common,--as-needed,-z,relro -O0 -std=c99 -Wl,-Bsymbolic Code: int main() { return 0; } Compiler stdout: Compiler stderr: Checking if "Bsymbolic" links: YES Running compile: Working directory: /tmp/tmpnyk9oqed Command line: cc /tmp/tmpnyk9oqed/testfile.c -pipe -D_FILE_OFFSET_BITS=64 -o /tmp/tmpnyk9oqed/output.exe -march=x86-64 -mtune=generic -O2 -fstack-protector-strong -Wl,-O1,--sort-common,--as-needed,-z,relro -O0 -std=c99 -Wl,--gc-sections Code: static char unused() { return 5; } int main() { return 0; } Compiler stdout: Compiler stderr: Checking if "gc-sections" links: YES Running compile: Working directory: /tmp/tmp_rinc6st Command line: cc /tmp/tmp_rinc6st/testfile.c -pipe -D_FILE_OFFSET_BITS=64 -o /tmp/tmp_rinc6st/output.exe -march=x86-64 -mtune=generic -O2 -fstack-protector-strong -Wl,-O1,--sort-common,--as-needed,-z,relro -O0 -std=c99 -Wl,--version-script=/home/user/yaourt-tmp-user/aur-mesa-git/src/mesa/build-support/conftest.map Code: int main() { return 0; } Compiler stdout: Compiler stderr: Checking if "version-script" links: YES Running compile: Working directory: /tmp/tmp0vvel7vz Command line: cc /tmp/tmp0vvel7vz/testfile.c -pipe -D_FILE_OFFSET_BITS=64 -o /tmp/tmp0vvel7vz/output.exe -march=x86-64 -mtune=generic -O2 -fstack-protector-strong -Wl,-O1,--sort-common,--as-needed,-z,relro -O0 -std=c99 -Wl,--dynamic-list=/home/user/yaourt-tmp-user/aur-mesa-git/src/mesa/build-support/conftest.dyn Code: int main() { return 0; } Compiler stdout: Compiler stderr: Checking if "dynamic-list" links: YES Running compile: Working directory: /tmp/tmptzqeaxjm Command line: cc /tmp/tmptzqeaxjm/testfile.c -pipe -D_FILE_OFFSET_BITS=64 -o /tmp/tmptzqeaxjm/output.exe -march=x86-64 -mtune=generic -O2 -fstack-protector-strong -Wl,-O1,--sort-common,--as-needed,-z,relro -O0 -std=c99 Code: #define dlopen meson_disable_define_of_dlopen #include #undef dlopen #ifdef __cplusplus extern "C" #endif char dlopen (); #if defined __stub_dlopen || defined __stub___dlopen fail fail fail this function is not going to work #endif int main () { return dlopen (); } Compiler stdout: Compiler stderr: /tmp/cc5yu0pr.o: nella funzione "main": testfile.c:(.text+0xa): riferimento non definito a "dlopen" collect2: error: ld returned 1 exit status Running compile: Working directory: /tmp/tmptigjvle8 Command line: cc /tmp/tmptigjvle8/testfile.c -pipe -D_FILE_OFFSET_BITS=64 -o /tmp/tmptigjvle8/output.exe -march=x86-64 -mtune=generic -O2 -fstack-protector-strong -Wl,-O1,--sort-common,--as-needed,-z,relro -O0 -std=c99 Code: int main() { #ifdef __has_builtin #if !__has_builtin(__builtin_dlopen) #error "__builtin_dlopen not found" #endif #elif ! defined(dlopen) /* Check for __builtin_dlopen only if no includes were added to the * prefix above, which means no definition of dlopen can be found. * We would always check for this, but we get false positives on * MSYS2 if we do. Their toolchain is broken, but we can at least * give them a workaround. */ #if 1 __builtin_dlopen; #else #error "No definition for __builtin_dlopen found in the prefix" #endif #endif } Compiler stdout: Compiler stderr: /tmp/tmptigjvle8/testfile.c: In function ‘main’: /tmp/tmptigjvle8/testfile.c:14:17: error: ‘__builtin_dlopen’ undeclared (first use in this function); did you mean ‘__builtin_drem’? __builtin_dlopen; ^~~~~~~~~~~~~~~~ __builtin_drem /tmp/tmptigjvle8/testfile.c:14:17: note: each undeclared identifier is reported only once for each function it appears in Checking for function "dlopen" : NO Running compile: Working directory: /tmp/tmplw9xeawi Command line: cc /tmp/tmplw9xeawi/testfile.c -pipe -D_FILE_OFFSET_BITS=64 -o /tmp/tmplw9xeawi/output.exe -march=x86-64 -mtune=generic -O2 -fstack-protector-strong -Wl,-O1,--sort-common,--as-needed,-z,relro -O0 -Wl,--start-group -ldl -Wl,--end-group Code: int main(int argc, char **argv) { return 0; } Compiler stdout: Compiler stderr: Library dl found: YES Running compile: Working directory: /tmp/tmpkud_hpik Command line: cc /tmp/tmpkud_hpik/testfile.c -pipe -D_FILE_OFFSET_BITS=64 -o /tmp/tmpkud_hpik/output.exe -Wl,--start-group -ldl -Wl,--end-group -march=x86-64 -mtune=generic -O2 -fstack-protector-strong -Wl,-O1,--sort-common,--as-needed,-z,relro -O0 -std=c99 Code: #define dladdr meson_disable_define_of_dladdr #include #undef dladdr #ifdef __cplusplus extern "C" #endif char dladdr (); #if defined __stub_dladdr || defined __stub___dladdr fail fail fail this function is not going to work #endif int main () { return dladdr (); } Compiler stdout: Compiler stderr: Checking for function "dladdr" : YES Running compile: Working directory: /tmp/tmpeme4abmk Command line: cc /tmp/tmpeme4abmk/testfile.c -pipe -D_FILE_OFFSET_BITS=64 -o /tmp/tmpeme4abmk/output.exe -march=x86-64 -mtune=generic -O2 -fstack-protector-strong -Wl,-O1,--sort-common,--as-needed,-z,relro -O0 -std=c99 Code: #define dl_iterate_phdr meson_disable_define_of_dl_iterate_phdr #include #undef dl_iterate_phdr #ifdef __cplusplus extern "C" #endif char dl_iterate_phdr (); #if defined __stub_dl_iterate_phdr || defined __stub___dl_iterate_phdr fail fail fail this function is not going to work #endif int main () { return dl_iterate_phdr (); } Compiler stdout: Compiler stderr: Checking for function "dl_iterate_phdr" : YES Running compile: Working directory: /tmp/tmpp4mbhumj Command line: cc /tmp/tmpp4mbhumj/testfile.c -pipe -D_FILE_OFFSET_BITS=64 -o /tmp/tmpp4mbhumj/output.exe -march=x86-64 -mtune=generic -O2 -fstack-protector-strong -Wl,-O1,--sort-common,--as-needed,-z,relro -O0 -std=c99 Code: #define clock_gettime meson_disable_define_of_clock_gettime #include #undef clock_gettime #ifdef __cplusplus extern "C" #endif char clock_gettime (); #if defined __stub_clock_gettime || defined __stub___clock_gettime fail fail fail this function is not going to work #endif int main () { return clock_gettime (); } Compiler stdout: Compiler stderr: Checking for function "clock_gettime" : YES Determining dependency 'zlib' with pkg-config executable '/usr/bin/pkg-config' Called `/usr/bin/pkg-config --modversion zlib` -> 0 1.2.11 Called `/usr/bin/pkg-config --cflags zlib` -> 0 Called `/usr/bin/pkg-config zlib --libs` -> 0 -L/usr/lib -lz Called `/usr/bin/pkg-config zlib --libs` -> 0 -lz Native dependency zlib found: YES 1.2.11 Dependency threads found: YES Determining dependency 'libelf' with pkg-config executable '/usr/bin/pkg-config' Called `/usr/bin/pkg-config --modversion libelf` -> 0 0.171 Called `/usr/bin/pkg-config --cflags libelf` -> 0 Called `/usr/bin/pkg-config libelf --libs` -> 0 -L/usr/lib -lelf Called `/usr/bin/pkg-config libelf --libs` -> 0 -lelf Native dependency libelf found: YES 0.171 Determining dependency 'expat' with pkg-config executable '/usr/bin/pkg-config' Called `/usr/bin/pkg-config --modversion expat` -> 0 2.2.5 Called `/usr/bin/pkg-config --cflags expat` -> 0 Called `/usr/bin/pkg-config expat --libs` -> 0 -L/usr/lib -lexpat Called `/usr/bin/pkg-config expat --libs` -> 0 -lexpat Native dependency expat found: YES 2.2.5 Running compile: Working directory: /tmp/tmpnor396h8 Command line: cc /tmp/tmpnor396h8/testfile.c -pipe -D_FILE_OFFSET_BITS=64 -o /tmp/tmpnor396h8/output.exe -march=x86-64 -mtune=generic -O2 -fstack-protector-strong -Wl,-O1,--sort-common,--as-needed,-z,relro -O0 -Wl,--start-group -lm -Wl,--end-group Code: int main(int argc, char **argv) { return 0; } Compiler stdout: Compiler stderr: Library m found: YES Determining dependency 'libdrm_intel' with pkg-config executable '/usr/bin/pkg-config' Called `/usr/bin/pkg-config --modversion libdrm_intel` -> 0 2.4.92 Native dependency libdrm_intel found: NO found '2.4.92' but need: '>=2.4.93' meson.build:1119:4: ERROR: Invalid version of dependency, need 'libdrm_intel' ['>=2.4.93'] found '2.4.92'.