Advertisement
Guest User

Mesa 32bit error log

a guest
Dec 21st, 2022
21
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 132.74 KB | Software | 0 0
  1. Build started at 2022-12-21T07:45:30.931173
  2. Main binary: /usr/bin/python
  3. Build Options: -Dprefix=/home/cain/dev/mesa/build_22.2.1 --cross-file=x86-linux-gnu
  4. Python system: Linux
  5. The Meson build system
  6. Version: 0.64.1
  7. Source dir: /home/cain/dev/mesa
  8. Build dir: /home/cain/dev/mesa/build_22.2.1
  9. Build type: cross build
  10. Program python3 found: YES (/usr/bin/python3)
  11. Running command: /usr/bin/python3 bin/meson_get_version.py
  12. --- stdout ---
  13. 22.2.1
  14. --- stderr ---
  15.  
  16.  
  17. Project name: mesa
  18. Project version: 22.2.1
  19. -----
  20. Detecting compiler via: /usr/bin/gcc --version
  21. compiler returned <Popen: returncode: 0 args: ['/usr/bin/gcc', '--version']>
  22. compiler stdout:
  23. gcc (GCC) 12.2.0
  24. Copyright (C) 2022 Free Software Foundation, Inc.
  25. This is free software; see the source for copying conditions. There is NO
  26. warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  27.  
  28.  
  29. compiler stderr:
  30.  
  31. Running command: /usr/bin/gcc -E -dM -
  32. -----
  33. Detecting linker via: /usr/bin/gcc -Wl,--version -m32
  34. linker returned <Popen: returncode: 0 args: ['/usr/bin/gcc', '-Wl,--version', '-m32']>
  35. linker stdout:
  36. GNU ld (GNU Binutils) 2.39.0
  37. Copyright (C) 2022 Free Software Foundation, Inc.
  38. This program is free software; you may redistribute it under the terms of
  39. the GNU General Public License version 3 or (at your option) a later version.
  40. This program has absolutely no warranty.
  41.  
  42. linker stderr:
  43. collect2 version 12.2.0
  44. /usr/bin/ld -plugin /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/lto-wrapper -plugin-opt=-fresolution=/tmp/ccHO79ln.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s --build-id --eh-frame-hdr --hash-style=gnu -m elf_i386 -dynamic-linker /lib/ld-linux.so.2 -pie /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../lib32/Scrt1.o /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../lib32/crti.o /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/32/crtbeginS.o -L/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/32 -L/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../lib32 -L/lib/../lib32 -L/usr/lib/../lib32 -L/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0 -L/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/../../.. --version -lgcc --push-state --as-needed -lgcc_s --pop-state -lc -lgcc --push-state --as-needed -lgcc_s --pop-state /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/32/crtendS.o /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../lib32/crtn.o
  45.  
  46. Sanity testing C compiler: /usr/bin/gcc
  47. Is cross compiler: True.
  48. Sanity check compiler command line: /usr/bin/gcc sanitycheckc.c -o sanitycheckc_cross.exe -m32 -D_FILE_OFFSET_BITS=64 -c
  49. Sanity check compile stdout:
  50.  
  51. -----
  52. Sanity check compile stderr:
  53.  
  54. -----
  55. C compiler for the host machine: /usr/bin/gcc (gcc 12.2.0 "gcc (GCC) 12.2.0")
  56. C linker for the host machine: /usr/bin/gcc ld.bfd 2.39.0
  57. -----
  58. Detecting compiler via: /usr/bin/g++ --version
  59. compiler returned <Popen: returncode: 0 args: ['/usr/bin/g++', '--version']>
  60. compiler stdout:
  61. g++ (GCC) 12.2.0
  62. Copyright (C) 2022 Free Software Foundation, Inc.
  63. This is free software; see the source for copying conditions. There is NO
  64. warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  65.  
  66.  
  67. compiler stderr:
  68.  
  69. Running command: /usr/bin/g++ -E -dM -
  70. -----
  71. Detecting linker via: /usr/bin/g++ -Wl,--version -m32
  72. linker returned <Popen: returncode: 0 args: ['/usr/bin/g++', '-Wl,--version', '-m32']>
  73. linker stdout:
  74. GNU ld (GNU Binutils) 2.39.0
  75. Copyright (C) 2022 Free Software Foundation, Inc.
  76. This program is free software; you may redistribute it under the terms of
  77. the GNU General Public License version 3 or (at your option) a later version.
  78. This program has absolutely no warranty.
  79.  
  80. linker stderr:
  81. collect2 version 12.2.0
  82. /usr/bin/ld -plugin /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/lto-wrapper -plugin-opt=-fresolution=/tmp/ccwGz0rW.res -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc --build-id --eh-frame-hdr --hash-style=gnu -m elf_i386 -dynamic-linker /lib/ld-linux.so.2 -pie /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../lib32/Scrt1.o /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../lib32/crti.o /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/32/crtbeginS.o -L/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/32 -L/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../lib32 -L/lib/../lib32 -L/usr/lib/../lib32 -L/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0 -L/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/../../.. --version -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/32/crtendS.o /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../lib32/crtn.o
  83.  
  84. Sanity testing C++ compiler: /usr/bin/g++
  85. Is cross compiler: True.
  86. Sanity check compiler command line: /usr/bin/g++ sanitycheckcpp.cc -o sanitycheckcpp_cross.exe -m32 -D_FILE_OFFSET_BITS=64 -c
  87. Sanity check compile stdout:
  88.  
  89. -----
  90. Sanity check compile stderr:
  91.  
  92. -----
  93. C++ compiler for the host machine: /usr/bin/g++ (gcc 12.2.0 "g++ (GCC) 12.2.0")
  94. C++ linker for the host machine: /usr/bin/g++ ld.bfd 2.39.0
  95. -----
  96. Detecting compiler via: cc --version
  97. compiler returned <Popen: returncode: 0 args: ['cc', '--version']>
  98. compiler stdout:
  99. cc (GCC) 12.2.0
  100. Copyright (C) 2022 Free Software Foundation, Inc.
  101. This is free software; see the source for copying conditions. There is NO
  102. warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  103.  
  104.  
  105. compiler stderr:
  106.  
  107. Running command: cc -E -dM -
  108. -----
  109. Detecting linker via: cc -Wl,--version
  110. linker returned <Popen: returncode: 0 args: ['cc', '-Wl,--version']>
  111. linker stdout:
  112. GNU ld (GNU Binutils) 2.39.0
  113. Copyright (C) 2022 Free Software Foundation, Inc.
  114. This program is free software; you may redistribute it under the terms of
  115. the GNU General Public License version 3 or (at your option) a later version.
  116. This program has absolutely no warranty.
  117.  
  118. linker stderr:
  119. collect2 version 12.2.0
  120. /usr/bin/ld -plugin /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/lto-wrapper -plugin-opt=-fresolution=/tmp/cc98QWbu.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s --build-id --eh-frame-hdr --hash-style=gnu -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../lib/Scrt1.o /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../lib/crti.o /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/crtbeginS.o -L/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0 -L/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/../../.. --version -lgcc --push-state --as-needed -lgcc_s --pop-state -lc -lgcc --push-state --as-needed -lgcc_s --pop-state /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/crtendS.o /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../lib/crtn.o
  121.  
  122. Sanity testing C compiler: cc
  123. Is cross compiler: False.
  124. Sanity check compiler command line: cc sanitycheckc.c -o sanitycheckc.exe -D_FILE_OFFSET_BITS=64
  125. Sanity check compile stdout:
  126.  
  127. -----
  128. Sanity check compile stderr:
  129.  
  130. -----
  131. Running test binary command: /home/cain/dev/mesa/build_22.2.1/meson-private/sanitycheckc.exe
  132. C compiler for the build machine: cc (gcc 12.2.0 "cc (GCC) 12.2.0")
  133. C linker for the build machine: cc ld.bfd 2.39.0
  134. -----
  135. Detecting compiler via: c++ --version
  136. compiler returned <Popen: returncode: 0 args: ['c++', '--version']>
  137. compiler stdout:
  138. c++ (GCC) 12.2.0
  139. Copyright (C) 2022 Free Software Foundation, Inc.
  140. This is free software; see the source for copying conditions. There is NO
  141. warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  142.  
  143.  
  144. compiler stderr:
  145.  
  146. Running command: c++ -E -dM -
  147. -----
  148. Detecting linker via: c++ -Wl,--version
  149. linker returned <Popen: returncode: 0 args: ['c++', '-Wl,--version']>
  150. linker stdout:
  151. GNU ld (GNU Binutils) 2.39.0
  152. Copyright (C) 2022 Free Software Foundation, Inc.
  153. This program is free software; you may redistribute it under the terms of
  154. the GNU General Public License version 3 or (at your option) a later version.
  155. This program has absolutely no warranty.
  156.  
  157. linker stderr:
  158. collect2 version 12.2.0
  159. /usr/bin/ld -plugin /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/lto-wrapper -plugin-opt=-fresolution=/tmp/ccE9HYLF.res -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc --build-id --eh-frame-hdr --hash-style=gnu -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../lib/Scrt1.o /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../lib/crti.o /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/crtbeginS.o -L/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0 -L/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/../../.. --version -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/crtendS.o /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../lib/crtn.o
  160.  
  161. Sanity testing C++ compiler: c++
  162. Is cross compiler: False.
  163. Sanity check compiler command line: c++ sanitycheckcpp.cc -o sanitycheckcpp.exe -D_FILE_OFFSET_BITS=64
  164. Sanity check compile stdout:
  165.  
  166. -----
  167. Sanity check compile stderr:
  168.  
  169. -----
  170. Running test binary command: /home/cain/dev/mesa/build_22.2.1/meson-private/sanitycheckcpp.exe
  171. C++ compiler for the build machine: c++ (gcc 12.2.0 "c++ (GCC) 12.2.0")
  172. C++ linker for the build machine: c++ ld.bfd 2.39.0
  173. Build machine cpu family: x86_64
  174. Build machine cpu: x86_64
  175. Host machine cpu family: x86
  176. Host machine cpu: i686
  177. Target machine cpu family: x86
  178. Target machine cpu: i686
  179. Running compile:
  180. Working directory: /home/cain/dev/mesa/build_22.2.1/meson-private/tmpdpljfxns
  181. Command line: /usr/bin/gcc /home/cain/dev/mesa/build_22.2.1/meson-private/tmpdpljfxns/testfile.c -o /home/cain/dev/mesa/build_22.2.1/meson-private/tmpdpljfxns/output.exe -m32 -D_FILE_OFFSET_BITS=64 -O0 -std=c11 -mtls-dialect=gnu2 -fpic
  182.  
  183. Code:
  184. int __thread x; int main() { return x; }
  185. Compiler stdout:
  186.  
  187. Compiler stderr:
  188.  
  189. Program stdout:
  190.  
  191.  
  192. Program stderr:
  193.  
  194.  
  195. Checking if "-mtls-dialect=gnu2" runs: YES
  196. Pkg-config binary for 1 is not cached.
  197. Pkg-config binary for 1 specified from cross file, native file, or env var as ['/usr/bin/pkgconf']
  198. Found pkg-config: /usr/bin/pkgconf (1.8.0)
  199. Determining dependency 'vdpau' with pkg-config executable '/usr/bin/pkgconf'
  200. env[PKG_CONFIG_PATH]:
  201. env[PKG_CONFIG_LIBDIR]: /usr/lib32/pkgconfig
  202. Called `/usr/bin/pkgconf --modversion vdpau` -> 1
  203.  
  204. CMake binary for 1 is not cached
  205. CMake binary missing from cross or native file, or env var undefined.
  206. Default target is not allowed for cross use
  207. Found CMake: NO
  208. CMake binary for machine 1 not found. Giving up.
  209. Run-time dependency vdpau found: NO (tried pkgconfig and cmake)
  210. Program glslangValidator found: YES (/usr/bin/glslangValidator)
  211. Running command: /usr/bin/glslangValidator --quiet --version
  212. --- stdout ---
  213. Glslang Version: 10:11.11.0
  214. ESSL Version: OpenGL ES GLSL 3.20 glslang Khronos. 11.11.0
  215. GLSL Version: 4.60 glslang Khronos. 11.11.0
  216. SPIR-V Version 0x00010600, Revision 1
  217. GLSL.std.450 Version 100, Revision 1
  218. Khronos Tool ID 8
  219. SPIR-V Generator Version 10
  220. GL_KHR_vulkan_glsl version 100
  221. ARB_GL_gl_spirv version 100
  222.  
  223. --- stderr ---
  224.  
  225.  
  226. Pkg-config binary for 1 is cached.
  227. Determining dependency 'xvmc' with pkg-config executable '/usr/bin/pkgconf'
  228. env[PKG_CONFIG_PATH]:
  229. env[PKG_CONFIG_LIBDIR]: /usr/lib32/pkgconfig
  230. Called `/usr/bin/pkgconf --modversion xvmc` -> 1
  231.  
  232. CMake binary for 1 is cached as not found
  233. CMake binary for machine 1 not found. Giving up.
  234. Run-time dependency xvmc found: NO (tried pkgconfig and cmake)
  235. Pkg-config binary for 1 is cached.
  236. Determining dependency 'xv' with pkg-config executable '/usr/bin/pkgconf'
  237. env[PKG_CONFIG_PATH]:
  238. env[PKG_CONFIG_LIBDIR]: /usr/lib32/pkgconfig
  239. Called `/usr/bin/pkgconf --modversion xv` -> 1
  240.  
  241. CMake binary for 1 is cached as not found
  242. CMake binary for machine 1 not found. Giving up.
  243. Run-time dependency xv found: NO (tried pkgconfig and cmake)
  244. Pkg-config binary for 1 is cached.
  245. Determining dependency 'libomxil-bellagio' with pkg-config executable '/usr/bin/pkgconf'
  246. env[PKG_CONFIG_PATH]:
  247. env[PKG_CONFIG_LIBDIR]: /usr/lib32/pkgconfig
  248. Called `/usr/bin/pkgconf --modversion libomxil-bellagio` -> 1
  249.  
  250. CMake binary for 1 is cached as not found
  251. CMake binary for machine 1 not found. Giving up.
  252. Run-time dependency libomxil-bellagio found: NO (tried pkgconfig and cmake)
  253. Pkg-config binary for 1 is cached.
  254. Determining dependency 'libtizonia' with pkg-config executable '/usr/bin/pkgconf'
  255. env[PKG_CONFIG_PATH]:
  256. env[PKG_CONFIG_LIBDIR]: /usr/lib32/pkgconfig
  257. Called `/usr/bin/pkgconf --modversion libtizonia` -> 1
  258.  
  259. CMake binary for 1 is cached as not found
  260. CMake binary for machine 1 not found. Giving up.
  261. Run-time dependency libtizonia found: NO (tried pkgconfig and cmake)
  262. Pkg-config binary for 1 is cached.
  263. Determining dependency 'libtizplatform' with pkg-config executable '/usr/bin/pkgconf'
  264. env[PKG_CONFIG_PATH]:
  265. env[PKG_CONFIG_LIBDIR]: /usr/lib32/pkgconfig
  266. Called `/usr/bin/pkgconf --modversion libtizplatform` -> 1
  267.  
  268. CMake binary for 1 is cached as not found
  269. CMake binary for machine 1 not found. Giving up.
  270. Run-time dependency libtizplatform found: NO (tried pkgconfig and cmake)
  271. Pkg-config binary for 1 is cached.
  272. Determining dependency 'tizilheaders' with pkg-config executable '/usr/bin/pkgconf'
  273. env[PKG_CONFIG_PATH]:
  274. env[PKG_CONFIG_LIBDIR]: /usr/lib32/pkgconfig
  275. Called `/usr/bin/pkgconf --modversion tizilheaders` -> 1
  276.  
  277. CMake binary for 1 is cached as not found
  278. CMake binary for machine 1 not found. Giving up.
  279. Run-time dependency tizilheaders found: NO (tried pkgconfig and cmake)
  280. Pkg-config binary for 1 is cached.
  281. Determining dependency 'libva' with pkg-config executable '/usr/bin/pkgconf'
  282. env[PKG_CONFIG_PATH]:
  283. env[PKG_CONFIG_LIBDIR]: /usr/lib32/pkgconfig
  284. Called `/usr/bin/pkgconf --modversion libva` -> 0
  285. 1.16.0
  286. env[PKG_CONFIG_PATH]:
  287. env[PKG_CONFIG_LIBDIR]: /usr/lib32/pkgconfig
  288. Called `/usr/bin/pkgconf --cflags libva` -> 0
  289.  
  290. env[PKG_CONFIG_ALLOW_SYSTEM_LIBS]: 1
  291. env[PKG_CONFIG_PATH]:
  292. env[PKG_CONFIG_LIBDIR]: /usr/lib32/pkgconfig
  293. Called `/usr/bin/pkgconf --libs libva` -> 0
  294. -L/usr/lib32 -lva
  295. env[PKG_CONFIG_PATH]:
  296. env[PKG_CONFIG_LIBDIR]: /usr/lib32/pkgconfig
  297. Called `/usr/bin/pkgconf --libs libva` -> 0
  298. -L/usr/lib32 -lva
  299. Running compile:
  300. Working directory: /home/cain/dev/mesa/build_22.2.1/meson-private/tmp2q1u8ik6
  301. Command line: /usr/bin/g++ /home/cain/dev/mesa/build_22.2.1/meson-private/tmp2q1u8ik6/testfile.cpp -o /home/cain/dev/mesa/build_22.2.1/meson-private/tmp2q1u8ik6/output.obj -c -m32 -D_FILE_OFFSET_BITS=64 -O0 -fpermissive
  302.  
  303. Code:
  304. #include <stdio.h>
  305.  
  306. int main(void) {
  307. void * something;
  308. return 0;
  309. }
  310. Compiler stdout:
  311.  
  312. Compiler stderr:
  313.  
  314. Running compile:
  315. Working directory: /home/cain/dev/mesa/build_22.2.1/meson-private/tmpj5z3g8k5
  316. Command line: /usr/bin/g++ /home/cain/dev/mesa/build_22.2.1/meson-private/tmpj5z3g8k5/testfile.cpp -o /home/cain/dev/mesa/build_22.2.1/meson-private/tmpj5z3g8k5/output.obj -c -m32 -D_FILE_OFFSET_BITS=64 -O0 -fpermissive
  317.  
  318. Code:
  319. #include <stdio.h>
  320.  
  321. int main(void) { static int a[1-2*!(sizeof(void *) >= 0)]; a[0]=0; return 0; }
  322. Compiler stdout:
  323.  
  324. Compiler stderr:
  325.  
  326. Running compile:
  327. Working directory: /home/cain/dev/mesa/build_22.2.1/meson-private/tmp2cnfxe73
  328. Command line: /usr/bin/g++ /home/cain/dev/mesa/build_22.2.1/meson-private/tmp2cnfxe73/testfile.cpp -o /home/cain/dev/mesa/build_22.2.1/meson-private/tmp2cnfxe73/output.obj -c -m32 -D_FILE_OFFSET_BITS=64 -O0 -fpermissive
  329.  
  330. Code:
  331. #include <stdio.h>
  332.  
  333. int main(void) { static int a[1-2*!(sizeof(void *) > 0)]; a[0]=0; return 0; }
  334. Compiler stdout:
  335.  
  336. Compiler stderr:
  337.  
  338. Running compile:
  339. Working directory: /home/cain/dev/mesa/build_22.2.1/meson-private/tmpydmtzqil
  340. Command line: /usr/bin/g++ /home/cain/dev/mesa/build_22.2.1/meson-private/tmpydmtzqil/testfile.cpp -o /home/cain/dev/mesa/build_22.2.1/meson-private/tmpydmtzqil/output.obj -c -m32 -D_FILE_OFFSET_BITS=64 -O0 -fpermissive
  341.  
  342. Code:
  343. #include <stdio.h>
  344.  
  345. int main(void) { static int a[1-2*!(sizeof(void *) > 1)]; a[0]=0; return 0; }
  346. Compiler stdout:
  347.  
  348. Compiler stderr:
  349.  
  350. Running compile:
  351. Working directory: /home/cain/dev/mesa/build_22.2.1/meson-private/tmp23wamopn
  352. Command line: /usr/bin/g++ /home/cain/dev/mesa/build_22.2.1/meson-private/tmp23wamopn/testfile.cpp -o /home/cain/dev/mesa/build_22.2.1/meson-private/tmp23wamopn/output.obj -c -m32 -D_FILE_OFFSET_BITS=64 -O0 -fpermissive
  353.  
  354. Code:
  355. #include <stdio.h>
  356.  
  357. int main(void) { static int a[1-2*!(sizeof(void *) > 3)]; a[0]=0; return 0; }
  358. Compiler stdout:
  359.  
  360. Compiler stderr:
  361.  
  362. Running compile:
  363. Working directory: /home/cain/dev/mesa/build_22.2.1/meson-private/tmpn6d5qxi9
  364. Command line: /usr/bin/g++ /home/cain/dev/mesa/build_22.2.1/meson-private/tmpn6d5qxi9/testfile.cpp -o /home/cain/dev/mesa/build_22.2.1/meson-private/tmpn6d5qxi9/output.obj -c -m32 -D_FILE_OFFSET_BITS=64 -O0 -fpermissive
  365.  
  366. Code:
  367. #include <stdio.h>
  368.  
  369. int main(void) { static int a[1-2*!(sizeof(void *) > 7)]; a[0]=0; return 0; }
  370. Compiler stdout:
  371.  
  372. Compiler stderr:
  373. /home/cain/dev/mesa/build_22.2.1/meson-private/tmpn6d5qxi9/testfile.cpp: In function 'int main()':
  374. /home/cain/dev/mesa/build_22.2.1/meson-private/tmpn6d5qxi9/testfile.cpp:3:64: error: narrowing conversion of '-1' from 'int' to 'unsigned int' [-Wnarrowing]
  375. 3 | int main(void) { static int a[1-2*!(sizeof(void *) > 7)]; a[0]=0; return 0; }
  376. | ^
  377. /home/cain/dev/mesa/build_22.2.1/meson-private/tmpn6d5qxi9/testfile.cpp:3:40: error: size '-1' of array 'a' is negative
  378. 3 | int main(void) { static int a[1-2*!(sizeof(void *) > 7)]; a[0]=0; return 0; }
  379. | ~^~~~~~~~~~~~~~~~~~~~~~~~
  380.  
  381. Running compile:
  382. Working directory: /home/cain/dev/mesa/build_22.2.1/meson-private/tmpfmem23r6
  383. Command line: /usr/bin/g++ /home/cain/dev/mesa/build_22.2.1/meson-private/tmpfmem23r6/testfile.cpp -o /home/cain/dev/mesa/build_22.2.1/meson-private/tmpfmem23r6/output.obj -c -m32 -D_FILE_OFFSET_BITS=64 -O0 -fpermissive
  384.  
  385. Code:
  386. #include <stdio.h>
  387.  
  388. int main(void) { static int a[1-2*!(sizeof(void *) <= 5)]; a[0]=0; return 0; }
  389. Compiler stdout:
  390.  
  391. Compiler stderr:
  392.  
  393. Running compile:
  394. Working directory: /home/cain/dev/mesa/build_22.2.1/meson-private/tmpx_uq1cye
  395. Command line: /usr/bin/g++ /home/cain/dev/mesa/build_22.2.1/meson-private/tmpx_uq1cye/testfile.cpp -o /home/cain/dev/mesa/build_22.2.1/meson-private/tmpx_uq1cye/output.obj -c -m32 -D_FILE_OFFSET_BITS=64 -O0 -fpermissive
  396.  
  397. Code:
  398. #include <stdio.h>
  399.  
  400. int main(void) { static int a[1-2*!(sizeof(void *) <= 4)]; a[0]=0; return 0; }
  401. Compiler stdout:
  402.  
  403. Compiler stderr:
  404.  
  405. Running compile:
  406. Working directory: /home/cain/dev/mesa/build_22.2.1/meson-private/tmpwq74a_20
  407. Command line: /usr/bin/g++ /home/cain/dev/mesa/build_22.2.1/meson-private/tmpwq74a_20/testfile.cpp -o /home/cain/dev/mesa/build_22.2.1/meson-private/tmpwq74a_20/output.obj -c -m32 -D_FILE_OFFSET_BITS=64 -O0 -fpermissive --print-search-dirs
  408.  
  409. Code:
  410.  
  411. Compiler stdout:
  412. install: /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/
  413. programs: =/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/:/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/:/usr/lib/gcc/x86_64-pc-linux-gnu/:/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/:/usr/lib/gcc/x86_64-pc-linux-gnu/:/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../x86_64-pc-linux-gnu/bin/x86_64-pc-linux-gnu/12.2.0/:/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../x86_64-pc-linux-gnu/bin/
  414. libraries: =/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/32/:/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../x86_64-pc-linux-gnu/lib/x86_64-pc-linux-gnu/12.2.0/32/:/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../x86_64-pc-linux-gnu/lib/../lib32/:/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/../../../x86_64-pc-linux-gnu/12.2.0/32/:/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../lib32/:/lib/x86_64-pc-linux-gnu/12.2.0/32/:/lib/../lib32/:/usr/lib/x86_64-pc-linux-gnu/12.2.0/32/:/usr/lib/../lib32/:/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/:/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../x86_64-pc-linux-gnu/lib/x86_64-pc-linux-gnu/12.2.0/:/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../x86_64-pc-linux-gnu/lib/:/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/../../../x86_64-pc-linux-gnu/12.2.0/:/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/../../../:/lib/x86_64-pc-linux-gnu/12.2.0/:/lib/:/usr/lib/x86_64-pc-linux-gnu/12.2.0/:/usr/lib/
  415.  
  416. Compiler stderr:
  417.  
  418. Run-time dependency libva found: YES 1.16.0
  419. Running compile:
  420. Working directory: /home/cain/dev/mesa/build_22.2.1/meson-private/tmp5xk4kdxx
  421. Command line: /usr/bin/gcc /home/cain/dev/mesa/build_22.2.1/meson-private/tmp5xk4kdxx/testfile.c -o /home/cain/dev/mesa/build_22.2.1/meson-private/tmp5xk4kdxx/output.obj -c -m32 -D_FILE_OFFSET_BITS=64 -O0 -std=c11
  422.  
  423. Code:
  424.  
  425. #include <va/va.h>
  426. int main(void) {
  427. /* If it's not defined as a macro, try to use as a symbol */
  428. #ifndef VASurfaceAttribDRMFormatModifiers
  429. VASurfaceAttribDRMFormatModifiers;
  430. #endif
  431. return 0;
  432. }
  433. Compiler stdout:
  434.  
  435. Compiler stderr:
  436.  
  437. Header "va/va.h" has symbol "VASurfaceAttribDRMFormatModifiers" with dependency libva: YES
  438. Program python3 found: YES (/usr/bin/python3)
  439. Running command: /usr/bin/python3 -c
  440. from distutils.version import StrictVersion
  441. import mako
  442. assert StrictVersion(mako.__version__) > StrictVersion("0.8.0")
  443.  
  444. --- stdout ---
  445.  
  446. --- stderr ---
  447. <string>:4: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
  448.  
  449.  
  450. Running compile:
  451. Working directory: /tmp/tmp04qs42mk
  452. Command line: /usr/bin/gcc /tmp/tmp04qs42mk/testfile.c -E -P -m32 -D_FILE_OFFSET_BITS=64 -P -O0 -std=c11
  453.  
  454. Code:
  455.  
  456. #include <errno.h>
  457. #ifndef ETIME
  458. # define ETIME
  459. #endif
  460. "MESON_GET_DEFINE_DELIMITER"
  461. ETIME
  462. Compiler stdout:
  463.  
  464. extern int *__errno_location (void) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__));
  465.  
  466. "MESON_GET_DEFINE_DELIMITER"
  467. 62
  468.  
  469. Compiler stderr:
  470.  
  471. Fetching value of define "ETIME" : 62
  472. Running compile:
  473. Working directory: /home/cain/dev/mesa/build_22.2.1/meson-private/tmpd_ayww8r
  474. Command line: /usr/bin/gcc /home/cain/dev/mesa/build_22.2.1/meson-private/tmpd_ayww8r/testfile.c -o /home/cain/dev/mesa/build_22.2.1/meson-private/tmpd_ayww8r/output.exe -m32 -D_FILE_OFFSET_BITS=64 -O0 -std=c11
  475.  
  476. Code:
  477.  
  478. #define bswap32 meson_disable_define_of_bswap32
  479.  
  480. #include <limits.h>
  481. #undef bswap32
  482.  
  483. #ifdef __cplusplus
  484. extern "C"
  485. #endif
  486. char bswap32 (void);
  487.  
  488. #if defined __stub_bswap32 || defined __stub___bswap32
  489. fail fail fail this function is not going to work
  490. #endif
  491.  
  492. int main(void) {
  493. return bswap32 ();
  494. }
  495. Compiler stdout:
  496.  
  497. Compiler stderr:
  498. /usr/bin/ld: /tmp/ccXwySTA.o: in function `main':
  499. testfile.c:(.text+0x14): undefined reference to `bswap32'
  500. collect2: error: ld returned 1 exit status
  501.  
  502. Running compile:
  503. Working directory: /home/cain/dev/mesa/build_22.2.1/meson-private/tmp513e3ios
  504. Command line: /usr/bin/gcc /home/cain/dev/mesa/build_22.2.1/meson-private/tmp513e3ios/testfile.c -o /home/cain/dev/mesa/build_22.2.1/meson-private/tmp513e3ios/output.exe -m32 -D_FILE_OFFSET_BITS=64 -O0 -std=c11
  505.  
  506. Code:
  507.  
  508. int main(void) {
  509.  
  510. /* With some toolchains (MSYS2/mingw for example) the compiler
  511. * provides various builtins which are not really implemented and
  512. * fall back to the stdlib where they aren't provided and fail at
  513. * build/link time. In case the user provides a header, including
  514. * the header didn't lead to the function being defined, and the
  515. * function we are checking isn't a builtin itself we assume the
  516. * builtin is not functional and we just error out. */
  517. #if !1 && !defined(bswap32) && !0
  518. #error "No definition for __builtin_bswap32 found in the prefix"
  519. #endif
  520.  
  521. #ifdef __has_builtin
  522. #if !__has_builtin(__builtin_bswap32)
  523. #error "__builtin_bswap32 not found"
  524. #endif
  525. #elif ! defined(bswap32)
  526. __builtin_bswap32;
  527. #endif
  528. return 0;
  529. }
  530. Compiler stdout:
  531.  
  532. Compiler stderr:
  533.  
  534. Checking for function "bswap32" : YES
  535. Running compile:
  536. Working directory: /home/cain/dev/mesa/build_22.2.1/meson-private/tmpox1_rcne
  537. Command line: /usr/bin/gcc /home/cain/dev/mesa/build_22.2.1/meson-private/tmpox1_rcne/testfile.c -o /home/cain/dev/mesa/build_22.2.1/meson-private/tmpox1_rcne/output.exe -m32 -D_FILE_OFFSET_BITS=64 -O0 -std=c11
  538.  
  539. Code:
  540.  
  541. #define bswap64 meson_disable_define_of_bswap64
  542.  
  543. #include <limits.h>
  544. #undef bswap64
  545.  
  546. #ifdef __cplusplus
  547. extern "C"
  548. #endif
  549. char bswap64 (void);
  550.  
  551. #if defined __stub_bswap64 || defined __stub___bswap64
  552. fail fail fail this function is not going to work
  553. #endif
  554.  
  555. int main(void) {
  556. return bswap64 ();
  557. }
  558. Compiler stdout:
  559.  
  560. Compiler stderr:
  561. /usr/bin/ld: /tmp/ccyLRjmV.o: in function `main':
  562. testfile.c:(.text+0x14): undefined reference to `bswap64'
  563. collect2: error: ld returned 1 exit status
  564.  
  565. Running compile:
  566. Working directory: /home/cain/dev/mesa/build_22.2.1/meson-private/tmp334wtp6z
  567. Command line: /usr/bin/gcc /home/cain/dev/mesa/build_22.2.1/meson-private/tmp334wtp6z/testfile.c -o /home/cain/dev/mesa/build_22.2.1/meson-private/tmp334wtp6z/output.exe -m32 -D_FILE_OFFSET_BITS=64 -O0 -std=c11
  568.  
  569. Code:
  570.  
  571. int main(void) {
  572.  
  573. /* With some toolchains (MSYS2/mingw for example) the compiler
  574. * provides various builtins which are not really implemented and
  575. * fall back to the stdlib where they aren't provided and fail at
  576. * build/link time. In case the user provides a header, including
  577. * the header didn't lead to the function being defined, and the
  578. * function we are checking isn't a builtin itself we assume the
  579. * builtin is not functional and we just error out. */
  580. #if !1 && !defined(bswap64) && !0
  581. #error "No definition for __builtin_bswap64 found in the prefix"
  582. #endif
  583.  
  584. #ifdef __has_builtin
  585. #if !__has_builtin(__builtin_bswap64)
  586. #error "__builtin_bswap64 not found"
  587. #endif
  588. #elif ! defined(bswap64)
  589. __builtin_bswap64;
  590. #endif
  591. return 0;
  592. }
  593. Compiler stdout:
  594.  
  595. Compiler stderr:
  596.  
  597. Checking for function "bswap64" : YES
  598. Running compile:
  599. Working directory: /home/cain/dev/mesa/build_22.2.1/meson-private/tmpnka4azky
  600. Command line: /usr/bin/gcc /home/cain/dev/mesa/build_22.2.1/meson-private/tmpnka4azky/testfile.c -o /home/cain/dev/mesa/build_22.2.1/meson-private/tmpnka4azky/output.exe -m32 -D_FILE_OFFSET_BITS=64 -O0 -std=c11
  601.  
  602. Code:
  603.  
  604. #define clz meson_disable_define_of_clz
  605.  
  606. #include <limits.h>
  607. #undef clz
  608.  
  609. #ifdef __cplusplus
  610. extern "C"
  611. #endif
  612. char clz (void);
  613.  
  614. #if defined __stub_clz || defined __stub___clz
  615. fail fail fail this function is not going to work
  616. #endif
  617.  
  618. int main(void) {
  619. return clz ();
  620. }
  621. Compiler stdout:
  622.  
  623. Compiler stderr:
  624. /usr/bin/ld: /tmp/ccAWf2Bz.o: in function `main':
  625. testfile.c:(.text+0x14): undefined reference to `clz'
  626. collect2: error: ld returned 1 exit status
  627.  
  628. Running compile:
  629. Working directory: /home/cain/dev/mesa/build_22.2.1/meson-private/tmp3az9a5bp
  630. Command line: /usr/bin/gcc /home/cain/dev/mesa/build_22.2.1/meson-private/tmp3az9a5bp/testfile.c -o /home/cain/dev/mesa/build_22.2.1/meson-private/tmp3az9a5bp/output.exe -m32 -D_FILE_OFFSET_BITS=64 -O0 -std=c11
  631.  
  632. Code:
  633.  
  634. int main(void) {
  635.  
  636. /* With some toolchains (MSYS2/mingw for example) the compiler
  637. * provides various builtins which are not really implemented and
  638. * fall back to the stdlib where they aren't provided and fail at
  639. * build/link time. In case the user provides a header, including
  640. * the header didn't lead to the function being defined, and the
  641. * function we are checking isn't a builtin itself we assume the
  642. * builtin is not functional and we just error out. */
  643. #if !1 && !defined(clz) && !0
  644. #error "No definition for __builtin_clz found in the prefix"
  645. #endif
  646.  
  647. #ifdef __has_builtin
  648. #if !__has_builtin(__builtin_clz)
  649. #error "__builtin_clz not found"
  650. #endif
  651. #elif ! defined(clz)
  652. __builtin_clz;
  653. #endif
  654. return 0;
  655. }
  656. Compiler stdout:
  657.  
  658. Compiler stderr:
  659.  
  660. Checking for function "clz" : YES
  661. Running compile:
  662. Working directory: /home/cain/dev/mesa/build_22.2.1/meson-private/tmpbn616aem
  663. Command line: /usr/bin/gcc /home/cain/dev/mesa/build_22.2.1/meson-private/tmpbn616aem/testfile.c -o /home/cain/dev/mesa/build_22.2.1/meson-private/tmpbn616aem/output.exe -m32 -D_FILE_OFFSET_BITS=64 -O0 -std=c11
  664.  
  665. Code:
  666.  
  667. #define clzll meson_disable_define_of_clzll
  668.  
  669. #include <limits.h>
  670. #undef clzll
  671.  
  672. #ifdef __cplusplus
  673. extern "C"
  674. #endif
  675. char clzll (void);
  676.  
  677. #if defined __stub_clzll || defined __stub___clzll
  678. fail fail fail this function is not going to work
  679. #endif
  680.  
  681. int main(void) {
  682. return clzll ();
  683. }
  684. Compiler stdout:
  685.  
  686. Compiler stderr:
  687. /usr/bin/ld: /tmp/ccQaijux.o: in function `main':
  688. testfile.c:(.text+0x14): undefined reference to `clzll'
  689. collect2: error: ld returned 1 exit status
  690.  
  691. Running compile:
  692. Working directory: /home/cain/dev/mesa/build_22.2.1/meson-private/tmpkll6j39i
  693. Command line: /usr/bin/gcc /home/cain/dev/mesa/build_22.2.1/meson-private/tmpkll6j39i/testfile.c -o /home/cain/dev/mesa/build_22.2.1/meson-private/tmpkll6j39i/output.exe -m32 -D_FILE_OFFSET_BITS=64 -O0 -std=c11
  694.  
  695. Code:
  696.  
  697. int main(void) {
  698.  
  699. /* With some toolchains (MSYS2/mingw for example) the compiler
  700. * provides various builtins which are not really implemented and
  701. * fall back to the stdlib where they aren't provided and fail at
  702. * build/link time. In case the user provides a header, including
  703. * the header didn't lead to the function being defined, and the
  704. * function we are checking isn't a builtin itself we assume the
  705. * builtin is not functional and we just error out. */
  706. #if !1 && !defined(clzll) && !0
  707. #error "No definition for __builtin_clzll found in the prefix"
  708. #endif
  709.  
  710. #ifdef __has_builtin
  711. #if !__has_builtin(__builtin_clzll)
  712. #error "__builtin_clzll not found"
  713. #endif
  714. #elif ! defined(clzll)
  715. __builtin_clzll;
  716. #endif
  717. return 0;
  718. }
  719. Compiler stdout:
  720.  
  721. Compiler stderr:
  722.  
  723. Checking for function "clzll" : YES
  724. Running compile:
  725. Working directory: /home/cain/dev/mesa/build_22.2.1/meson-private/tmpjxs4f6vc
  726. Command line: /usr/bin/gcc /home/cain/dev/mesa/build_22.2.1/meson-private/tmpjxs4f6vc/testfile.c -o /home/cain/dev/mesa/build_22.2.1/meson-private/tmpjxs4f6vc/output.exe -m32 -D_FILE_OFFSET_BITS=64 -O0 -std=c11
  727.  
  728. Code:
  729.  
  730. #define ctz meson_disable_define_of_ctz
  731.  
  732. #include <limits.h>
  733. #undef ctz
  734.  
  735. #ifdef __cplusplus
  736. extern "C"
  737. #endif
  738. char ctz (void);
  739.  
  740. #if defined __stub_ctz || defined __stub___ctz
  741. fail fail fail this function is not going to work
  742. #endif
  743.  
  744. int main(void) {
  745. return ctz ();
  746. }
  747. Compiler stdout:
  748.  
  749. Compiler stderr:
  750. /usr/bin/ld: /tmp/cc9UQYvZ.o: in function `main':
  751. testfile.c:(.text+0x14): undefined reference to `ctz'
  752. collect2: error: ld returned 1 exit status
  753.  
  754. Running compile:
  755. Working directory: /home/cain/dev/mesa/build_22.2.1/meson-private/tmp9hwb_anv
  756. Command line: /usr/bin/gcc /home/cain/dev/mesa/build_22.2.1/meson-private/tmp9hwb_anv/testfile.c -o /home/cain/dev/mesa/build_22.2.1/meson-private/tmp9hwb_anv/output.exe -m32 -D_FILE_OFFSET_BITS=64 -O0 -std=c11
  757.  
  758. Code:
  759.  
  760. int main(void) {
  761.  
  762. /* With some toolchains (MSYS2/mingw for example) the compiler
  763. * provides various builtins which are not really implemented and
  764. * fall back to the stdlib where they aren't provided and fail at
  765. * build/link time. In case the user provides a header, including
  766. * the header didn't lead to the function being defined, and the
  767. * function we are checking isn't a builtin itself we assume the
  768. * builtin is not functional and we just error out. */
  769. #if !1 && !defined(ctz) && !0
  770. #error "No definition for __builtin_ctz found in the prefix"
  771. #endif
  772.  
  773. #ifdef __has_builtin
  774. #if !__has_builtin(__builtin_ctz)
  775. #error "__builtin_ctz not found"
  776. #endif
  777. #elif ! defined(ctz)
  778. __builtin_ctz;
  779. #endif
  780. return 0;
  781. }
  782. Compiler stdout:
  783.  
  784. Compiler stderr:
  785.  
  786. Checking for function "ctz" : YES
  787. Running compile:
  788. Working directory: /home/cain/dev/mesa/build_22.2.1/meson-private/tmpk1drz84f
  789. Command line: /usr/bin/gcc /home/cain/dev/mesa/build_22.2.1/meson-private/tmpk1drz84f/testfile.c -o /home/cain/dev/mesa/build_22.2.1/meson-private/tmpk1drz84f/output.exe -m32 -D_FILE_OFFSET_BITS=64 -O0 -std=c11
  790.  
  791. Code:
  792.  
  793. #define expect meson_disable_define_of_expect
  794.  
  795. #include <limits.h>
  796. #undef expect
  797.  
  798. #ifdef __cplusplus
  799. extern "C"
  800. #endif
  801. char expect (void);
  802.  
  803. #if defined __stub_expect || defined __stub___expect
  804. fail fail fail this function is not going to work
  805. #endif
  806.  
  807. int main(void) {
  808. return expect ();
  809. }
  810. Compiler stdout:
  811.  
  812. Compiler stderr:
  813. /usr/bin/ld: /tmp/ccYEweBc.o: in function `main':
  814. testfile.c:(.text+0x14): undefined reference to `expect'
  815. collect2: error: ld returned 1 exit status
  816.  
  817. Running compile:
  818. Working directory: /home/cain/dev/mesa/build_22.2.1/meson-private/tmp18ftti3v
  819. Command line: /usr/bin/gcc /home/cain/dev/mesa/build_22.2.1/meson-private/tmp18ftti3v/testfile.c -o /home/cain/dev/mesa/build_22.2.1/meson-private/tmp18ftti3v/output.exe -m32 -D_FILE_OFFSET_BITS=64 -O0 -std=c11
  820.  
  821. Code:
  822.  
  823. int main(void) {
  824.  
  825. /* With some toolchains (MSYS2/mingw for example) the compiler
  826. * provides various builtins which are not really implemented and
  827. * fall back to the stdlib where they aren't provided and fail at
  828. * build/link time. In case the user provides a header, including
  829. * the header didn't lead to the function being defined, and the
  830. * function we are checking isn't a builtin itself we assume the
  831. * builtin is not functional and we just error out. */
  832. #if !1 && !defined(expect) && !0
  833. #error "No definition for __builtin_expect found in the prefix"
  834. #endif
  835.  
  836. #ifdef __has_builtin
  837. #if !__has_builtin(__builtin_expect)
  838. #error "__builtin_expect not found"
  839. #endif
  840. #elif ! defined(expect)
  841. __builtin_expect;
  842. #endif
  843. return 0;
  844. }
  845. Compiler stdout:
  846.  
  847. Compiler stderr:
  848.  
  849. Checking for function "expect" : YES
  850. Running compile:
  851. Working directory: /home/cain/dev/mesa/build_22.2.1/meson-private/tmpd2g5pq3d
  852. Command line: /usr/bin/gcc /home/cain/dev/mesa/build_22.2.1/meson-private/tmpd2g5pq3d/testfile.c -o /home/cain/dev/mesa/build_22.2.1/meson-private/tmpd2g5pq3d/output.exe -m32 -D_FILE_OFFSET_BITS=64 -O0 -std=c11
  853.  
  854. Code:
  855.  
  856. #define ffs meson_disable_define_of_ffs
  857.  
  858. #include <limits.h>
  859. #undef ffs
  860.  
  861. #ifdef __cplusplus
  862. extern "C"
  863. #endif
  864. char ffs (void);
  865.  
  866. #if defined __stub_ffs || defined __stub___ffs
  867. fail fail fail this function is not going to work
  868. #endif
  869.  
  870. int main(void) {
  871. return ffs ();
  872. }
  873. Compiler stdout:
  874.  
  875. Compiler stderr:
  876.  
  877. Checking for function "ffs" : YES
  878. Running compile:
  879. Working directory: /home/cain/dev/mesa/build_22.2.1/meson-private/tmpgv4lndrh
  880. Command line: /usr/bin/gcc /home/cain/dev/mesa/build_22.2.1/meson-private/tmpgv4lndrh/testfile.c -o /home/cain/dev/mesa/build_22.2.1/meson-private/tmpgv4lndrh/output.exe -m32 -D_FILE_OFFSET_BITS=64 -O0 -std=c11
  881.  
  882. Code:
  883.  
  884. #define ffsll meson_disable_define_of_ffsll
  885.  
  886. #include <limits.h>
  887. #undef ffsll
  888.  
  889. #ifdef __cplusplus
  890. extern "C"
  891. #endif
  892. char ffsll (void);
  893.  
  894. #if defined __stub_ffsll || defined __stub___ffsll
  895. fail fail fail this function is not going to work
  896. #endif
  897.  
  898. int main(void) {
  899. return ffsll ();
  900. }
  901. Compiler stdout:
  902.  
  903. Compiler stderr:
  904.  
  905. Checking for function "ffsll" : YES
  906. Running compile:
  907. Working directory: /home/cain/dev/mesa/build_22.2.1/meson-private/tmpj70tn_bp
  908. Command line: /usr/bin/gcc /home/cain/dev/mesa/build_22.2.1/meson-private/tmpj70tn_bp/testfile.c -o /home/cain/dev/mesa/build_22.2.1/meson-private/tmpj70tn_bp/output.exe -m32 -D_FILE_OFFSET_BITS=64 -O0 -std=c11
  909.  
  910. Code:
  911.  
  912. #define popcount meson_disable_define_of_popcount
  913.  
  914. #include <limits.h>
  915. #undef popcount
  916.  
  917. #ifdef __cplusplus
  918. extern "C"
  919. #endif
  920. char popcount (void);
  921.  
  922. #if defined __stub_popcount || defined __stub___popcount
  923. fail fail fail this function is not going to work
  924. #endif
  925.  
  926. int main(void) {
  927. return popcount ();
  928. }
  929. Compiler stdout:
  930.  
  931. Compiler stderr:
  932. /usr/bin/ld: /tmp/cck9rTMH.o: in function `main':
  933. testfile.c:(.text+0x14): undefined reference to `popcount'
  934. collect2: error: ld returned 1 exit status
  935.  
  936. Running compile:
  937. Working directory: /home/cain/dev/mesa/build_22.2.1/meson-private/tmp7dp9kzkk
  938. Command line: /usr/bin/gcc /home/cain/dev/mesa/build_22.2.1/meson-private/tmp7dp9kzkk/testfile.c -o /home/cain/dev/mesa/build_22.2.1/meson-private/tmp7dp9kzkk/output.exe -m32 -D_FILE_OFFSET_BITS=64 -O0 -std=c11
  939.  
  940. Code:
  941.  
  942. int main(void) {
  943.  
  944. /* With some toolchains (MSYS2/mingw for example) the compiler
  945. * provides various builtins which are not really implemented and
  946. * fall back to the stdlib where they aren't provided and fail at
  947. * build/link time. In case the user provides a header, including
  948. * the header didn't lead to the function being defined, and the
  949. * function we are checking isn't a builtin itself we assume the
  950. * builtin is not functional and we just error out. */
  951. #if !1 && !defined(popcount) && !0
  952. #error "No definition for __builtin_popcount found in the prefix"
  953. #endif
  954.  
  955. #ifdef __has_builtin
  956. #if !__has_builtin(__builtin_popcount)
  957. #error "__builtin_popcount not found"
  958. #endif
  959. #elif ! defined(popcount)
  960. __builtin_popcount;
  961. #endif
  962. return 0;
  963. }
  964. Compiler stdout:
  965.  
  966. Compiler stderr:
  967.  
  968. Checking for function "popcount" : YES
  969. Running compile:
  970. Working directory: /home/cain/dev/mesa/build_22.2.1/meson-private/tmpep4_j08b
  971. Command line: /usr/bin/gcc /home/cain/dev/mesa/build_22.2.1/meson-private/tmpep4_j08b/testfile.c -o /home/cain/dev/mesa/build_22.2.1/meson-private/tmpep4_j08b/output.exe -m32 -D_FILE_OFFSET_BITS=64 -O0 -std=c11
  972.  
  973. Code:
  974.  
  975. #define popcountll meson_disable_define_of_popcountll
  976.  
  977. #include <limits.h>
  978. #undef popcountll
  979.  
  980. #ifdef __cplusplus
  981. extern "C"
  982. #endif
  983. char popcountll (void);
  984.  
  985. #if defined __stub_popcountll || defined __stub___popcountll
  986. fail fail fail this function is not going to work
  987. #endif
  988.  
  989. int main(void) {
  990. return popcountll ();
  991. }
  992. Compiler stdout:
  993.  
  994. Compiler stderr:
  995. /usr/bin/ld: /tmp/cc1tS5PA.o: in function `main':
  996. testfile.c:(.text+0x14): undefined reference to `popcountll'
  997. collect2: error: ld returned 1 exit status
  998.  
  999. Running compile:
  1000. Working directory: /home/cain/dev/mesa/build_22.2.1/meson-private/tmpkibagmlk
  1001. Command line: /usr/bin/gcc /home/cain/dev/mesa/build_22.2.1/meson-private/tmpkibagmlk/testfile.c -o /home/cain/dev/mesa/build_22.2.1/meson-private/tmpkibagmlk/output.exe -m32 -D_FILE_OFFSET_BITS=64 -O0 -std=c11
  1002.  
  1003. Code:
  1004.  
  1005. int main(void) {
  1006.  
  1007. /* With some toolchains (MSYS2/mingw for example) the compiler
  1008. * provides various builtins which are not really implemented and
  1009. * fall back to the stdlib where they aren't provided and fail at
  1010. * build/link time. In case the user provides a header, including
  1011. * the header didn't lead to the function being defined, and the
  1012. * function we are checking isn't a builtin itself we assume the
  1013. * builtin is not functional and we just error out. */
  1014. #if !1 && !defined(popcountll) && !0
  1015. #error "No definition for __builtin_popcountll found in the prefix"
  1016. #endif
  1017.  
  1018. #ifdef __has_builtin
  1019. #if !__has_builtin(__builtin_popcountll)
  1020. #error "__builtin_popcountll not found"
  1021. #endif
  1022. #elif ! defined(popcountll)
  1023. __builtin_popcountll;
  1024. #endif
  1025. return 0;
  1026. }
  1027. Compiler stdout:
  1028.  
  1029. Compiler stderr:
  1030.  
  1031. Checking for function "popcountll" : YES
  1032. Running compile:
  1033. Working directory: /home/cain/dev/mesa/build_22.2.1/meson-private/tmpwz8duuq2
  1034. Command line: /usr/bin/gcc /home/cain/dev/mesa/build_22.2.1/meson-private/tmpwz8duuq2/testfile.c -o /home/cain/dev/mesa/build_22.2.1/meson-private/tmpwz8duuq2/output.exe -m32 -D_FILE_OFFSET_BITS=64 -O0 -std=c11
  1035.  
  1036. Code:
  1037.  
  1038. #define unreachable meson_disable_define_of_unreachable
  1039.  
  1040. #include <limits.h>
  1041. #undef unreachable
  1042.  
  1043. #ifdef __cplusplus
  1044. extern "C"
  1045. #endif
  1046. char unreachable (void);
  1047.  
  1048. #if defined __stub_unreachable || defined __stub___unreachable
  1049. fail fail fail this function is not going to work
  1050. #endif
  1051.  
  1052. int main(void) {
  1053. return unreachable ();
  1054. }
  1055. Compiler stdout:
  1056.  
  1057. Compiler stderr:
  1058. /usr/bin/ld: /tmp/ccVqrTjS.o: in function `main':
  1059. testfile.c:(.text+0x14): undefined reference to `unreachable'
  1060. collect2: error: ld returned 1 exit status
  1061.  
  1062. Running compile:
  1063. Working directory: /home/cain/dev/mesa/build_22.2.1/meson-private/tmpf3bd7lfg
  1064. Command line: /usr/bin/gcc /home/cain/dev/mesa/build_22.2.1/meson-private/tmpf3bd7lfg/testfile.c -o /home/cain/dev/mesa/build_22.2.1/meson-private/tmpf3bd7lfg/output.exe -m32 -D_FILE_OFFSET_BITS=64 -O0 -std=c11
  1065.  
  1066. Code:
  1067.  
  1068. int main(void) {
  1069.  
  1070. /* With some toolchains (MSYS2/mingw for example) the compiler
  1071. * provides various builtins which are not really implemented and
  1072. * fall back to the stdlib where they aren't provided and fail at
  1073. * build/link time. In case the user provides a header, including
  1074. * the header didn't lead to the function being defined, and the
  1075. * function we are checking isn't a builtin itself we assume the
  1076. * builtin is not functional and we just error out. */
  1077. #if !1 && !defined(unreachable) && !0
  1078. #error "No definition for __builtin_unreachable found in the prefix"
  1079. #endif
  1080.  
  1081. #ifdef __has_builtin
  1082. #if !__has_builtin(__builtin_unreachable)
  1083. #error "__builtin_unreachable not found"
  1084. #endif
  1085. #elif ! defined(unreachable)
  1086. __builtin_unreachable;
  1087. #endif
  1088. return 0;
  1089. }
  1090. Compiler stdout:
  1091.  
  1092. Compiler stderr:
  1093.  
  1094. Checking for function "unreachable" : YES
  1095. Running compile:
  1096. Working directory: /home/cain/dev/mesa/build_22.2.1/meson-private/tmpjvl1s0dk
  1097. Command line: /usr/bin/gcc /home/cain/dev/mesa/build_22.2.1/meson-private/tmpjvl1s0dk/testfile.c -o /home/cain/dev/mesa/build_22.2.1/meson-private/tmpjvl1s0dk/output.exe -m32 -D_FILE_OFFSET_BITS=64 -O0 -std=c11
  1098.  
  1099. Code:
  1100.  
  1101. #define types_compatible_p meson_disable_define_of_types_compatible_p
  1102.  
  1103. #include <limits.h>
  1104. #undef types_compatible_p
  1105.  
  1106. #ifdef __cplusplus
  1107. extern "C"
  1108. #endif
  1109. char types_compatible_p (void);
  1110.  
  1111. #if defined __stub_types_compatible_p || defined __stub___types_compatible_p
  1112. fail fail fail this function is not going to work
  1113. #endif
  1114.  
  1115. int main(void) {
  1116. return types_compatible_p ();
  1117. }
  1118. Compiler stdout:
  1119.  
  1120. Compiler stderr:
  1121. /usr/bin/ld: /tmp/ccEYxlJ2.o: in function `main':
  1122. testfile.c:(.text+0x14): undefined reference to `types_compatible_p'
  1123. collect2: error: ld returned 1 exit status
  1124.  
  1125. Running compile:
  1126. Working directory: /home/cain/dev/mesa/build_22.2.1/meson-private/tmpz1wf5a_l
  1127. Command line: /usr/bin/gcc /home/cain/dev/mesa/build_22.2.1/meson-private/tmpz1wf5a_l/testfile.c -o /home/cain/dev/mesa/build_22.2.1/meson-private/tmpz1wf5a_l/output.exe -m32 -D_FILE_OFFSET_BITS=64 -O0 -std=c11
  1128.  
  1129. Code:
  1130.  
  1131. int main(void) {
  1132.  
  1133. /* With some toolchains (MSYS2/mingw for example) the compiler
  1134. * provides various builtins which are not really implemented and
  1135. * fall back to the stdlib where they aren't provided and fail at
  1136. * build/link time. In case the user provides a header, including
  1137. * the header didn't lead to the function being defined, and the
  1138. * function we are checking isn't a builtin itself we assume the
  1139. * builtin is not functional and we just error out. */
  1140. #if !1 && !defined(types_compatible_p) && !0
  1141. #error "No definition for __builtin_types_compatible_p found in the prefix"
  1142. #endif
  1143.  
  1144. #ifdef __has_builtin
  1145. #if !__has_builtin(__builtin_types_compatible_p)
  1146. #error "__builtin_types_compatible_p not found"
  1147. #endif
  1148. #elif ! defined(types_compatible_p)
  1149. __builtin_types_compatible_p;
  1150. #endif
  1151. return 0;
  1152. }
  1153. Compiler stdout:
  1154.  
  1155. Compiler stderr:
  1156.  
  1157. Checking for function "types_compatible_p" : YES
  1158. Running compile:
  1159. Working directory: /home/cain/dev/mesa/build_22.2.1/meson-private/tmp2enlsg7l
  1160. Command line: /usr/bin/gcc /home/cain/dev/mesa/build_22.2.1/meson-private/tmp2enlsg7l/testfile.c -o /home/cain/dev/mesa/build_22.2.1/meson-private/tmp2enlsg7l/output.obj -c -m32 -D_FILE_OFFSET_BITS=64 -O0 -Werror=attributes
  1161.  
  1162. Code:
  1163. int foo(void) __attribute__((const));
  1164. Compiler stdout:
  1165.  
  1166. Compiler stderr:
  1167.  
  1168. Compiler for C supports function attribute const: YES
  1169. Running compile:
  1170. Working directory: /home/cain/dev/mesa/build_22.2.1/meson-private/tmpt9zx_1ab
  1171. Command line: /usr/bin/gcc /home/cain/dev/mesa/build_22.2.1/meson-private/tmpt9zx_1ab/testfile.c -o /home/cain/dev/mesa/build_22.2.1/meson-private/tmpt9zx_1ab/output.obj -c -m32 -D_FILE_OFFSET_BITS=64 -O0 -Werror=attributes
  1172.  
  1173. Code:
  1174. int foo(void) __attribute__((flatten));
  1175. Compiler stdout:
  1176.  
  1177. Compiler stderr:
  1178.  
  1179. Compiler for C supports function attribute flatten: YES
  1180. Running compile:
  1181. Working directory: /home/cain/dev/mesa/build_22.2.1/meson-private/tmpl8z6u96v
  1182. Command line: /usr/bin/gcc /home/cain/dev/mesa/build_22.2.1/meson-private/tmpl8z6u96v/testfile.c -o /home/cain/dev/mesa/build_22.2.1/meson-private/tmpl8z6u96v/output.obj -c -m32 -D_FILE_OFFSET_BITS=64 -O0 -Werror=attributes
  1183.  
  1184. Code:
  1185. int *foo(void) __attribute__((malloc));
  1186. Compiler stdout:
  1187.  
  1188. Compiler stderr:
  1189.  
  1190. Compiler for C supports function attribute malloc: YES
  1191. Running compile:
  1192. Working directory: /home/cain/dev/mesa/build_22.2.1/meson-private/tmpb8hxr8qi
  1193. Command line: /usr/bin/gcc /home/cain/dev/mesa/build_22.2.1/meson-private/tmpb8hxr8qi/testfile.c -o /home/cain/dev/mesa/build_22.2.1/meson-private/tmpb8hxr8qi/output.obj -c -m32 -D_FILE_OFFSET_BITS=64 -O0 -Werror=attributes
  1194.  
  1195. Code:
  1196. int foo(void) __attribute__((pure));
  1197. Compiler stdout:
  1198.  
  1199. Compiler stderr:
  1200.  
  1201. Compiler for C supports function attribute pure: YES
  1202. Running compile:
  1203. Working directory: /home/cain/dev/mesa/build_22.2.1/meson-private/tmpzbglu7g6
  1204. Command line: /usr/bin/gcc /home/cain/dev/mesa/build_22.2.1/meson-private/tmpzbglu7g6/testfile.c -o /home/cain/dev/mesa/build_22.2.1/meson-private/tmpzbglu7g6/output.obj -c -m32 -D_FILE_OFFSET_BITS=64 -O0 -Werror=attributes
  1205.  
  1206. Code:
  1207. int foo(void) __attribute__((unused));
  1208. Compiler stdout:
  1209.  
  1210. Compiler stderr:
  1211.  
  1212. Compiler for C supports function attribute unused: YES
  1213. Running compile:
  1214. Working directory: /home/cain/dev/mesa/build_22.2.1/meson-private/tmpq6namkqb
  1215. Command line: /usr/bin/gcc /home/cain/dev/mesa/build_22.2.1/meson-private/tmpq6namkqb/testfile.c -o /home/cain/dev/mesa/build_22.2.1/meson-private/tmpq6namkqb/output.obj -c -m32 -D_FILE_OFFSET_BITS=64 -O0 -Werror=attributes
  1216.  
  1217. Code:
  1218. int foo(void) __attribute__((warn_unused_result));
  1219. Compiler stdout:
  1220.  
  1221. Compiler stderr:
  1222.  
  1223. Compiler for C supports function attribute warn_unused_result: YES
  1224. Running compile:
  1225. Working directory: /home/cain/dev/mesa/build_22.2.1/meson-private/tmpjx7ylblj
  1226. Command line: /usr/bin/gcc /home/cain/dev/mesa/build_22.2.1/meson-private/tmpjx7ylblj/testfile.c -o /home/cain/dev/mesa/build_22.2.1/meson-private/tmpjx7ylblj/output.obj -c -m32 -D_FILE_OFFSET_BITS=64 -O0 -Werror=attributes
  1227.  
  1228. Code:
  1229. int foo(void) __attribute__((weak));
  1230. Compiler stdout:
  1231.  
  1232. Compiler stderr:
  1233.  
  1234. Compiler for C supports function attribute weak: YES
  1235. Running compile:
  1236. Working directory: /home/cain/dev/mesa/build_22.2.1/meson-private/tmpe5k_wc_9
  1237. Command line: /usr/bin/gcc /home/cain/dev/mesa/build_22.2.1/meson-private/tmpe5k_wc_9/testfile.c -o /home/cain/dev/mesa/build_22.2.1/meson-private/tmpe5k_wc_9/output.obj -c -m32 -D_FILE_OFFSET_BITS=64 -O0 -Werror=attributes
  1238.  
  1239. Code:
  1240. int foo(const char * p, ...) __attribute__((format(printf, 1, 2)));
  1241. Compiler stdout:
  1242.  
  1243. Compiler stderr:
  1244.  
  1245. Compiler for C supports function attribute format: YES
  1246. Running compile:
  1247. Working directory: /home/cain/dev/mesa/build_22.2.1/meson-private/tmpf65lg8cd
  1248. Command line: /usr/bin/gcc /home/cain/dev/mesa/build_22.2.1/meson-private/tmpf65lg8cd/testfile.c -o /home/cain/dev/mesa/build_22.2.1/meson-private/tmpf65lg8cd/output.obj -c -m32 -D_FILE_OFFSET_BITS=64 -O0 -Werror=attributes
  1249.  
  1250. Code:
  1251. struct __attribute__((packed)) foo { int bar; };
  1252. Compiler stdout:
  1253.  
  1254. Compiler stderr:
  1255.  
  1256. Compiler for C supports function attribute packed: YES
  1257. Running compile:
  1258. Working directory: /home/cain/dev/mesa/build_22.2.1/meson-private/tmp1lhggth0
  1259. Command line: /usr/bin/gcc /home/cain/dev/mesa/build_22.2.1/meson-private/tmp1lhggth0/testfile.c -o /home/cain/dev/mesa/build_22.2.1/meson-private/tmp1lhggth0/output.obj -c -m32 -D_FILE_OFFSET_BITS=64 -O0 -Werror=attributes
  1260.  
  1261. Code:
  1262. int *foo(void) __attribute__((returns_nonnull));
  1263. Compiler stdout:
  1264.  
  1265. Compiler stderr:
  1266.  
  1267. Compiler for C supports function attribute returns_nonnull: YES
  1268. Running compile:
  1269. Working directory: /home/cain/dev/mesa/build_22.2.1/meson-private/tmpqx_of3j7
  1270. Command line: /usr/bin/gcc /home/cain/dev/mesa/build_22.2.1/meson-private/tmpqx_of3j7/testfile.c -o /home/cain/dev/mesa/build_22.2.1/meson-private/tmpqx_of3j7/output.obj -c -m32 -D_FILE_OFFSET_BITS=64 -O0 -Werror=attributes
  1271.  
  1272. Code:
  1273.  
  1274. int foo(void) { return 0; }
  1275. int bar(void) __attribute__((alias("foo")));
  1276. Compiler stdout:
  1277.  
  1278. Compiler stderr:
  1279.  
  1280. Compiler for C supports function attribute alias: YES
  1281. Running compile:
  1282. Working directory: /home/cain/dev/mesa/build_22.2.1/meson-private/tmpwe276bbu
  1283. Command line: /usr/bin/gcc /home/cain/dev/mesa/build_22.2.1/meson-private/tmpwe276bbu/testfile.c -o /home/cain/dev/mesa/build_22.2.1/meson-private/tmpwe276bbu/output.obj -c -m32 -D_FILE_OFFSET_BITS=64 -O0 -Werror=attributes
  1284.  
  1285. Code:
  1286. int foo(void) __attribute__((noreturn));
  1287. Compiler stdout:
  1288.  
  1289. Compiler stderr:
  1290.  
  1291. Compiler for C supports function attribute noreturn: YES
  1292. Running compile:
  1293. Working directory: /home/cain/dev/mesa/build_22.2.1/meson-private/tmpsnpmb660
  1294. Command line: /usr/bin/gcc /home/cain/dev/mesa/build_22.2.1/meson-private/tmpsnpmb660/testfile.c -o /home/cain/dev/mesa/build_22.2.1/meson-private/tmpsnpmb660/output.obj -c -m32 -D_FILE_OFFSET_BITS=64 -O0 -Werror=attributes
  1295.  
  1296. Code:
  1297. int foo(void) __attribute__((visibility("hidden")));
  1298. Compiler stdout:
  1299.  
  1300. Compiler stderr:
  1301.  
  1302. Compiler for C supports function attribute visibility:hidden: YES
  1303. Running compile:
  1304. Working directory: /home/cain/dev/mesa/build_22.2.1/meson-private/tmp2gpk4gbn
  1305. Command line: /usr/bin/gcc /home/cain/dev/mesa/build_22.2.1/meson-private/tmp2gpk4gbn/testfile.c -o /home/cain/dev/mesa/build_22.2.1/meson-private/tmp2gpk4gbn/output.obj -c -m32 -D_FILE_OFFSET_BITS=64 -O0 -std=c11
  1306.  
  1307. Code:
  1308. __uint128_t foo(void) { return 0; }
  1309. Compiler stdout:
  1310.  
  1311. Compiler stderr:
  1312. /home/cain/dev/mesa/build_22.2.1/meson-private/tmp2gpk4gbn/testfile.c:1:1: error: unknown type name '__uint128_t'; did you mean '__int128__'?
  1313. 1 | __uint128_t foo(void) { return 0; }
  1314. | ^~~~~~~~~~~
  1315. | __int128__
  1316.  
  1317. Checking if "__uint128_t" compiles: NO
  1318. Running compile:
  1319. Working directory: /home/cain/dev/mesa/build_22.2.1/meson-private/tmpjpzs2uyr
  1320. Command line: /usr/bin/gcc /home/cain/dev/mesa/build_22.2.1/meson-private/tmpjpzs2uyr/testfile.c -o /home/cain/dev/mesa/build_22.2.1/meson-private/tmpjpzs2uyr/output.exe -m32 -D_FILE_OFFSET_BITS=64 -O0 -std=c11
  1321.  
  1322. Code:
  1323.  
  1324. #define reallocarray meson_disable_define_of_reallocarray
  1325.  
  1326. #include <limits.h>
  1327. #undef reallocarray
  1328.  
  1329. #ifdef __cplusplus
  1330. extern "C"
  1331. #endif
  1332. char reallocarray (void);
  1333.  
  1334. #if defined __stub_reallocarray || defined __stub___reallocarray
  1335. fail fail fail this function is not going to work
  1336. #endif
  1337.  
  1338. int main(void) {
  1339. return reallocarray ();
  1340. }
  1341. Compiler stdout:
  1342.  
  1343. Compiler stderr:
  1344.  
  1345. Checking for function "reallocarray" : YES
  1346. Running compile:
  1347. Working directory: /home/cain/dev/mesa/build_22.2.1/meson-private/tmppgwmf2mu
  1348. Command line: /usr/bin/gcc /home/cain/dev/mesa/build_22.2.1/meson-private/tmppgwmf2mu/testfile.c -o /home/cain/dev/mesa/build_22.2.1/meson-private/tmppgwmf2mu/output.exe -m32 -D_FILE_OFFSET_BITS=64 -O0 -Wl,--fatal-warnings -Wl,--gc-sections
  1349.  
  1350. Code:
  1351. int main(void) { return 0; }
  1352.  
  1353. Compiler stdout:
  1354.  
  1355. Compiler stderr:
  1356.  
  1357. Compiler for C supports link arguments -Wl,--gc-sections: YES
  1358. Running compile:
  1359. Working directory: /home/cain/dev/mesa/build_22.2.1/meson-private/tmpqz4yvzew
  1360. Command line: /usr/bin/gcc /home/cain/dev/mesa/build_22.2.1/meson-private/tmpqz4yvzew/testfile.c -o /home/cain/dev/mesa/build_22.2.1/meson-private/tmpqz4yvzew/output.obj -c -m32 -D_FILE_OFFSET_BITS=64 -O0 -Werror=implicit-function-declaration
  1361.  
  1362. Code:
  1363. extern int i;
  1364. int i;
  1365.  
  1366. Compiler stdout:
  1367.  
  1368. Compiler stderr:
  1369.  
  1370. Compiler for C supports arguments -Werror=implicit-function-declaration: YES
  1371. Running compile:
  1372. Working directory: /home/cain/dev/mesa/build_22.2.1/meson-private/tmp3gvuxjh1
  1373. Command line: /usr/bin/gcc /home/cain/dev/mesa/build_22.2.1/meson-private/tmp3gvuxjh1/testfile.c -o /home/cain/dev/mesa/build_22.2.1/meson-private/tmp3gvuxjh1/output.obj -c -m32 -D_FILE_OFFSET_BITS=64 -O0 -Werror=missing-prototypes
  1374.  
  1375. Code:
  1376. extern int i;
  1377. int i;
  1378.  
  1379. Compiler stdout:
  1380.  
  1381. Compiler stderr:
  1382.  
  1383. Compiler for C supports arguments -Werror=missing-prototypes: YES
  1384. Running compile:
  1385. Working directory: /home/cain/dev/mesa/build_22.2.1/meson-private/tmpo10bb3lg
  1386. Command line: /usr/bin/gcc /home/cain/dev/mesa/build_22.2.1/meson-private/tmpo10bb3lg/testfile.c -o /home/cain/dev/mesa/build_22.2.1/meson-private/tmpo10bb3lg/output.obj -c -m32 -D_FILE_OFFSET_BITS=64 -O0 -Werror=return-type
  1387.  
  1388. Code:
  1389. extern int i;
  1390. int i;
  1391.  
  1392. Compiler stdout:
  1393.  
  1394. Compiler stderr:
  1395.  
  1396. Compiler for C supports arguments -Werror=return-type: YES
  1397. Running compile:
  1398. Working directory: /home/cain/dev/mesa/build_22.2.1/meson-private/tmp0d1itdt7
  1399. Command line: /usr/bin/gcc /home/cain/dev/mesa/build_22.2.1/meson-private/tmp0d1itdt7/testfile.c -o /home/cain/dev/mesa/build_22.2.1/meson-private/tmp0d1itdt7/output.obj -c -m32 -D_FILE_OFFSET_BITS=64 -O0 -Werror=empty-body
  1400.  
  1401. Code:
  1402. extern int i;
  1403. int i;
  1404.  
  1405. Compiler stdout:
  1406.  
  1407. Compiler stderr:
  1408.  
  1409. Compiler for C supports arguments -Werror=empty-body: YES
  1410. Running compile:
  1411. Working directory: /home/cain/dev/mesa/build_22.2.1/meson-private/tmp6ck2sulf
  1412. Command line: /usr/bin/gcc /home/cain/dev/mesa/build_22.2.1/meson-private/tmp6ck2sulf/testfile.c -o /home/cain/dev/mesa/build_22.2.1/meson-private/tmp6ck2sulf/output.obj -c -m32 -D_FILE_OFFSET_BITS=64 -O0 -Werror=incompatible-pointer-types
  1413.  
  1414. Code:
  1415. extern int i;
  1416. int i;
  1417.  
  1418. Compiler stdout:
  1419.  
  1420. Compiler stderr:
  1421.  
  1422. Compiler for C supports arguments -Werror=incompatible-pointer-types: YES
  1423. Running compile:
  1424. Working directory: /home/cain/dev/mesa/build_22.2.1/meson-private/tmpmyzxfhmj
  1425. Command line: /usr/bin/gcc /home/cain/dev/mesa/build_22.2.1/meson-private/tmpmyzxfhmj/testfile.c -o /home/cain/dev/mesa/build_22.2.1/meson-private/tmpmyzxfhmj/output.obj -c -m32 -D_FILE_OFFSET_BITS=64 -O0 -Werror=int-conversion
  1426.  
  1427. Code:
  1428. extern int i;
  1429. int i;
  1430.  
  1431. Compiler stdout:
  1432.  
  1433. Compiler stderr:
  1434.  
  1435. Compiler for C supports arguments -Werror=int-conversion: YES
  1436. Running compile:
  1437. Working directory: /home/cain/dev/mesa/build_22.2.1/meson-private/tmpekdl7pm_
  1438. Command line: /usr/bin/gcc /home/cain/dev/mesa/build_22.2.1/meson-private/tmpekdl7pm_/testfile.c -o /home/cain/dev/mesa/build_22.2.1/meson-private/tmpekdl7pm_/output.obj -c -m32 -D_FILE_OFFSET_BITS=64 -O0 -Wimplicit-fallthrough
  1439.  
  1440. Code:
  1441. extern int i;
  1442. int i;
  1443.  
  1444. Compiler stdout:
  1445.  
  1446. Compiler stderr:
  1447.  
  1448. Compiler for C supports arguments -Wimplicit-fallthrough: YES
  1449. Running compile:
  1450. Working directory: /home/cain/dev/mesa/build_22.2.1/meson-private/tmp076mult0
  1451. Command line: /usr/bin/gcc /home/cain/dev/mesa/build_22.2.1/meson-private/tmp076mult0/testfile.c -o /home/cain/dev/mesa/build_22.2.1/meson-private/tmp076mult0/output.obj -c -m32 -D_FILE_OFFSET_BITS=64 -O0 -Wmissing-field-initializers -Wno-missing-field-initializers
  1452.  
  1453. Code:
  1454. extern int i;
  1455. int i;
  1456.  
  1457. Compiler stdout:
  1458.  
  1459. Compiler stderr:
  1460.  
  1461. Compiler for C supports arguments -Wno-missing-field-initializers: YES
  1462. Running compile:
  1463. Working directory: /home/cain/dev/mesa/build_22.2.1/meson-private/tmpzs474xey
  1464. Command line: /usr/bin/gcc /home/cain/dev/mesa/build_22.2.1/meson-private/tmpzs474xey/testfile.c -o /home/cain/dev/mesa/build_22.2.1/meson-private/tmpzs474xey/output.obj -c -m32 -D_FILE_OFFSET_BITS=64 -O0 -Wformat-truncation -Wno-format-truncation
  1465.  
  1466. Code:
  1467. extern int i;
  1468. int i;
  1469.  
  1470. Compiler stdout:
  1471.  
  1472. Compiler stderr:
  1473.  
  1474. Compiler for C supports arguments -Wno-format-truncation: YES
  1475. Running compile:
  1476. Working directory: /home/cain/dev/mesa/build_22.2.1/meson-private/tmp_2q_ya9a
  1477. Command line: /usr/bin/gcc /home/cain/dev/mesa/build_22.2.1/meson-private/tmp_2q_ya9a/testfile.c -o /home/cain/dev/mesa/build_22.2.1/meson-private/tmp_2q_ya9a/output.obj -c -m32 -D_FILE_OFFSET_BITS=64 -O0 -fno-math-errno
  1478.  
  1479. Code:
  1480. extern int i;
  1481. int i;
  1482.  
  1483. Compiler stdout:
  1484.  
  1485. Compiler stderr:
  1486.  
  1487. Compiler for C supports arguments -fno-math-errno: YES
  1488. Running compile:
  1489. Working directory: /home/cain/dev/mesa/build_22.2.1/meson-private/tmpu38eimjk
  1490. Command line: /usr/bin/gcc /home/cain/dev/mesa/build_22.2.1/meson-private/tmpu38eimjk/testfile.c -o /home/cain/dev/mesa/build_22.2.1/meson-private/tmpu38eimjk/output.obj -c -m32 -D_FILE_OFFSET_BITS=64 -O0 -fno-trapping-math
  1491.  
  1492. Code:
  1493. extern int i;
  1494. int i;
  1495.  
  1496. Compiler stdout:
  1497.  
  1498. Compiler stderr:
  1499.  
  1500. Compiler for C supports arguments -fno-trapping-math: YES
  1501. Running compile:
  1502. Working directory: /home/cain/dev/mesa/build_22.2.1/meson-private/tmpj21yozk8
  1503. Command line: /usr/bin/gcc /home/cain/dev/mesa/build_22.2.1/meson-private/tmpj21yozk8/testfile.c -o /home/cain/dev/mesa/build_22.2.1/meson-private/tmpj21yozk8/output.obj -c -m32 -D_FILE_OFFSET_BITS=64 -O0 -Qunused-arguments
  1504.  
  1505. Code:
  1506. extern int i;
  1507. int i;
  1508.  
  1509. Compiler stdout:
  1510.  
  1511. Compiler stderr:
  1512. gcc: error: unrecognized command-line option '-Qunused-arguments'
  1513.  
  1514. Compiler for C supports arguments -Qunused-arguments: NO
  1515. Running compile:
  1516. Working directory: /home/cain/dev/mesa/build_22.2.1/meson-private/tmp4varfghj
  1517. Command line: /usr/bin/gcc /home/cain/dev/mesa/build_22.2.1/meson-private/tmp4varfghj/testfile.c -o /home/cain/dev/mesa/build_22.2.1/meson-private/tmp4varfghj/output.obj -c -m32 -D_FILE_OFFSET_BITS=64 -O0 -fno-common
  1518.  
  1519. Code:
  1520. extern int i;
  1521. int i;
  1522.  
  1523. Compiler stdout:
  1524.  
  1525. Compiler stderr:
  1526.  
  1527. Compiler for C supports arguments -fno-common: YES
  1528. Running compile:
  1529. Working directory: /home/cain/dev/mesa/build_22.2.1/meson-private/tmpw_oen579
  1530. Command line: /usr/bin/gcc /home/cain/dev/mesa/build_22.2.1/meson-private/tmpw_oen579/testfile.c -o /home/cain/dev/mesa/build_22.2.1/meson-private/tmpw_oen579/output.obj -c -m32 -D_FILE_OFFSET_BITS=64 -O0 -Wmicrosoft-enum-value -Wno-microsoft-enum-value
  1531.  
  1532. Code:
  1533. extern int i;
  1534. int i;
  1535.  
  1536. Compiler stdout:
  1537.  
  1538. Compiler stderr:
  1539. gcc: error: unrecognized command-line option '-Wmicrosoft-enum-value'
  1540.  
  1541. Compiler for C supports arguments -Wno-microsoft-enum-value: NO
  1542. Running compile:
  1543. Working directory: /home/cain/dev/mesa/build_22.2.1/meson-private/tmpc29qku4z
  1544. Command line: /usr/bin/gcc /home/cain/dev/mesa/build_22.2.1/meson-private/tmpc29qku4z/testfile.c -o /home/cain/dev/mesa/build_22.2.1/meson-private/tmpc29qku4z/output.obj -c -m32 -D_FILE_OFFSET_BITS=64 -O0 -Wunused-function -Wno-unused-function
  1545.  
  1546. Code:
  1547. extern int i;
  1548. int i;
  1549.  
  1550. Compiler stdout:
  1551.  
  1552. Compiler stderr:
  1553.  
  1554. Compiler for C supports arguments -Wno-unused-function: YES
  1555. Running compile:
  1556. Working directory: /home/cain/dev/mesa/build_22.2.1/meson-private/tmpamkhs0xz
  1557. Command line: /usr/bin/gcc /home/cain/dev/mesa/build_22.2.1/meson-private/tmpamkhs0xz/testfile.c -o /home/cain/dev/mesa/build_22.2.1/meson-private/tmpamkhs0xz/output.obj -c -m32 -D_FILE_OFFSET_BITS=64 -O0 -Werror=format
  1558.  
  1559. Code:
  1560. extern int i;
  1561. int i;
  1562.  
  1563. Compiler stdout:
  1564.  
  1565. Compiler stderr:
  1566.  
  1567. Compiler for C supports arguments -Werror=format: YES
  1568. Running compile:
  1569. Working directory: /home/cain/dev/mesa/build_22.2.1/meson-private/tmpgpu1uwyy
  1570. Command line: /usr/bin/gcc /home/cain/dev/mesa/build_22.2.1/meson-private/tmpgpu1uwyy/testfile.c -o /home/cain/dev/mesa/build_22.2.1/meson-private/tmpgpu1uwyy/output.obj -c -m32 -D_FILE_OFFSET_BITS=64 -O0 -Wformat-security
  1571.  
  1572. Code:
  1573. extern int i;
  1574. int i;
  1575.  
  1576. Compiler stdout:
  1577.  
  1578. Compiler stderr:
  1579. cc1: warning: '-Wformat-security' ignored without '-Wformat' [-Wformat-security]
  1580.  
  1581. Compiler for C supports arguments -Wformat-security: YES
  1582. Running compile:
  1583. Working directory: /home/cain/dev/mesa/build_22.2.1/meson-private/tmprcsjerdr
  1584. Command line: /usr/bin/gcc /home/cain/dev/mesa/build_22.2.1/meson-private/tmprcsjerdr/testfile.c -o /home/cain/dev/mesa/build_22.2.1/meson-private/tmprcsjerdr/output.obj -c -m32 -D_FILE_OFFSET_BITS=64 -O0 -Werror=thread-safety
  1585.  
  1586. Code:
  1587. extern int i;
  1588. int i;
  1589.  
  1590. Compiler stdout:
  1591.  
  1592. Compiler stderr:
  1593. cc1: error: '-Werror=thread-safety': no option '-Wthread-safety'
  1594.  
  1595. Compiler for C supports arguments -Werror=thread-safety: NO
  1596. Running compile:
  1597. Working directory: /home/cain/dev/mesa/build_22.2.1/meson-private/tmp_0xto4sl
  1598. Command line: /usr/bin/gcc /home/cain/dev/mesa/build_22.2.1/meson-private/tmp_0xto4sl/testfile.c -o /home/cain/dev/mesa/build_22.2.1/meson-private/tmp_0xto4sl/output.obj -c -m32 -D_FILE_OFFSET_BITS=64 -O0 -ffunction-sections
  1599.  
  1600. Code:
  1601. extern int i;
  1602. int i;
  1603.  
  1604. Compiler stdout:
  1605.  
  1606. Compiler stderr:
  1607.  
  1608. Compiler for C supports arguments -ffunction-sections: YES
  1609. Running compile:
  1610. Working directory: /home/cain/dev/mesa/build_22.2.1/meson-private/tmpe2bq6jym
  1611. Command line: /usr/bin/gcc /home/cain/dev/mesa/build_22.2.1/meson-private/tmpe2bq6jym/testfile.c -o /home/cain/dev/mesa/build_22.2.1/meson-private/tmpe2bq6jym/output.obj -c -m32 -D_FILE_OFFSET_BITS=64 -O0 -fdata-sections
  1612.  
  1613. Code:
  1614. extern int i;
  1615. int i;
  1616.  
  1617. Compiler stdout:
  1618.  
  1619. Compiler stderr:
  1620.  
  1621. Compiler for C supports arguments -fdata-sections: YES
  1622. Running compile:
  1623. Working directory: /home/cain/dev/mesa/build_22.2.1/meson-private/tmp0y_t68a2
  1624. Command line: /usr/bin/g++ /home/cain/dev/mesa/build_22.2.1/meson-private/tmp0y_t68a2/testfile.cpp -o /home/cain/dev/mesa/build_22.2.1/meson-private/tmp0y_t68a2/output.obj -c -m32 -D_FILE_OFFSET_BITS=64 -O0 -fpermissive -Werror=return-type
  1625.  
  1626. Code:
  1627. extern int i;
  1628. int i;
  1629.  
  1630. Compiler stdout:
  1631.  
  1632. Compiler stderr:
  1633.  
  1634. Compiler for C++ supports arguments -Werror=return-type: YES
  1635. Running compile:
  1636. Working directory: /home/cain/dev/mesa/build_22.2.1/meson-private/tmpzeanlfwg
  1637. Command line: /usr/bin/g++ /home/cain/dev/mesa/build_22.2.1/meson-private/tmpzeanlfwg/testfile.cpp -o /home/cain/dev/mesa/build_22.2.1/meson-private/tmpzeanlfwg/output.obj -c -m32 -D_FILE_OFFSET_BITS=64 -O0 -fpermissive -Werror=empty-body
  1638.  
  1639. Code:
  1640. extern int i;
  1641. int i;
  1642.  
  1643. Compiler stdout:
  1644.  
  1645. Compiler stderr:
  1646.  
  1647. Compiler for C++ supports arguments -Werror=empty-body: YES
  1648. Running compile:
  1649. Working directory: /home/cain/dev/mesa/build_22.2.1/meson-private/tmpkm803eyt
  1650. Command line: /usr/bin/g++ /home/cain/dev/mesa/build_22.2.1/meson-private/tmpkm803eyt/testfile.cpp -o /home/cain/dev/mesa/build_22.2.1/meson-private/tmpkm803eyt/output.obj -c -m32 -D_FILE_OFFSET_BITS=64 -O0 -fpermissive -Wnon-virtual-dtor -Wno-non-virtual-dtor
  1651.  
  1652. Code:
  1653. extern int i;
  1654. int i;
  1655.  
  1656. Compiler stdout:
  1657.  
  1658. Compiler stderr:
  1659.  
  1660. Compiler for C++ supports arguments -Wno-non-virtual-dtor: YES
  1661. Running compile:
  1662. Working directory: /home/cain/dev/mesa/build_22.2.1/meson-private/tmpgrkzfi5z
  1663. Command line: /usr/bin/g++ /home/cain/dev/mesa/build_22.2.1/meson-private/tmpgrkzfi5z/testfile.cpp -o /home/cain/dev/mesa/build_22.2.1/meson-private/tmpgrkzfi5z/output.obj -c -m32 -D_FILE_OFFSET_BITS=64 -O0 -fpermissive -Wmissing-field-initializers -Wno-missing-field-initializers
  1664.  
  1665. Code:
  1666. extern int i;
  1667. int i;
  1668.  
  1669. Compiler stdout:
  1670.  
  1671. Compiler stderr:
  1672.  
  1673. Compiler for C++ supports arguments -Wno-missing-field-initializers: YES
  1674. Running compile:
  1675. Working directory: /home/cain/dev/mesa/build_22.2.1/meson-private/tmpebubdtlz
  1676. Command line: /usr/bin/g++ /home/cain/dev/mesa/build_22.2.1/meson-private/tmpebubdtlz/testfile.cpp -o /home/cain/dev/mesa/build_22.2.1/meson-private/tmpebubdtlz/output.obj -c -m32 -D_FILE_OFFSET_BITS=64 -O0 -fpermissive -Wformat-truncation -Wno-format-truncation
  1677.  
  1678. Code:
  1679. extern int i;
  1680. int i;
  1681.  
  1682. Compiler stdout:
  1683.  
  1684. Compiler stderr:
  1685.  
  1686. Compiler for C++ supports arguments -Wno-format-truncation: YES
  1687. Running compile:
  1688. Working directory: /home/cain/dev/mesa/build_22.2.1/meson-private/tmp_fe1bp6g
  1689. Command line: /usr/bin/g++ /home/cain/dev/mesa/build_22.2.1/meson-private/tmp_fe1bp6g/testfile.cpp -o /home/cain/dev/mesa/build_22.2.1/meson-private/tmp_fe1bp6g/output.obj -c -m32 -D_FILE_OFFSET_BITS=64 -O0 -fpermissive -fno-math-errno
  1690.  
  1691. Code:
  1692. extern int i;
  1693. int i;
  1694.  
  1695. Compiler stdout:
  1696.  
  1697. Compiler stderr:
  1698.  
  1699. Compiler for C++ supports arguments -fno-math-errno: YES
  1700. Running compile:
  1701. Working directory: /home/cain/dev/mesa/build_22.2.1/meson-private/tmpmhjyg53e
  1702. Command line: /usr/bin/g++ /home/cain/dev/mesa/build_22.2.1/meson-private/tmpmhjyg53e/testfile.cpp -o /home/cain/dev/mesa/build_22.2.1/meson-private/tmpmhjyg53e/output.obj -c -m32 -D_FILE_OFFSET_BITS=64 -O0 -fpermissive -fno-trapping-math
  1703.  
  1704. Code:
  1705. extern int i;
  1706. int i;
  1707.  
  1708. Compiler stdout:
  1709.  
  1710. Compiler stderr:
  1711.  
  1712. Compiler for C++ supports arguments -fno-trapping-math: YES
  1713. Running compile:
  1714. Working directory: /home/cain/dev/mesa/build_22.2.1/meson-private/tmpv00m6123
  1715. Command line: /usr/bin/g++ /home/cain/dev/mesa/build_22.2.1/meson-private/tmpv00m6123/testfile.cpp -o /home/cain/dev/mesa/build_22.2.1/meson-private/tmpv00m6123/output.obj -c -m32 -D_FILE_OFFSET_BITS=64 -O0 -fpermissive -Qunused-arguments
  1716.  
  1717. Code:
  1718. extern int i;
  1719. int i;
  1720.  
  1721. Compiler stdout:
  1722.  
  1723. Compiler stderr:
  1724. g++: error: unrecognized command-line option '-Qunused-arguments'
  1725.  
  1726. Compiler for C++ supports arguments -Qunused-arguments: NO
  1727. Running compile:
  1728. Working directory: /home/cain/dev/mesa/build_22.2.1/meson-private/tmp5kgjspix
  1729. Command line: /usr/bin/g++ /home/cain/dev/mesa/build_22.2.1/meson-private/tmp5kgjspix/testfile.cpp -o /home/cain/dev/mesa/build_22.2.1/meson-private/tmp5kgjspix/output.obj -c -m32 -D_FILE_OFFSET_BITS=64 -O0 -fpermissive -flifetime-dse=1
  1730.  
  1731. Code:
  1732. extern int i;
  1733. int i;
  1734.  
  1735. Compiler stdout:
  1736.  
  1737. Compiler stderr:
  1738.  
  1739. Compiler for C++ supports arguments -flifetime-dse=1: YES
  1740. Running compile:
  1741. Working directory: /home/cain/dev/mesa/build_22.2.1/meson-private/tmpnua8ejj9
  1742. Command line: /usr/bin/g++ /home/cain/dev/mesa/build_22.2.1/meson-private/tmpnua8ejj9/testfile.cpp -o /home/cain/dev/mesa/build_22.2.1/meson-private/tmpnua8ejj9/output.obj -c -m32 -D_FILE_OFFSET_BITS=64 -O0 -fpermissive -Wmicrosoft-enum-value -Wno-microsoft-enum-value
  1743.  
  1744. Code:
  1745. extern int i;
  1746. int i;
  1747.  
  1748. Compiler stdout:
  1749.  
  1750. Compiler stderr:
  1751. g++: error: unrecognized command-line option '-Wmicrosoft-enum-value'
  1752.  
  1753. Compiler for C++ supports arguments -Wno-microsoft-enum-value: NO
  1754. Running compile:
  1755. Working directory: /home/cain/dev/mesa/build_22.2.1/meson-private/tmpb1osmvuo
  1756. Command line: /usr/bin/g++ /home/cain/dev/mesa/build_22.2.1/meson-private/tmpb1osmvuo/testfile.cpp -o /home/cain/dev/mesa/build_22.2.1/meson-private/tmpb1osmvuo/output.obj -c -m32 -D_FILE_OFFSET_BITS=64 -O0 -fpermissive -Werror=format
  1757.  
  1758. Code:
  1759. extern int i;
  1760. int i;
  1761.  
  1762. Compiler stdout:
  1763.  
  1764. Compiler stderr:
  1765.  
  1766. Compiler for C++ supports arguments -Werror=format: YES
  1767. Running compile:
  1768. Working directory: /home/cain/dev/mesa/build_22.2.1/meson-private/tmpuo0thqch
  1769. Command line: /usr/bin/g++ /home/cain/dev/mesa/build_22.2.1/meson-private/tmpuo0thqch/testfile.cpp -o /home/cain/dev/mesa/build_22.2.1/meson-private/tmpuo0thqch/output.obj -c -m32 -D_FILE_OFFSET_BITS=64 -O0 -fpermissive -Wformat-security
  1770.  
  1771. Code:
  1772. extern int i;
  1773. int i;
  1774.  
  1775. Compiler stdout:
  1776.  
  1777. Compiler stderr:
  1778. cc1plus: warning: '-Wformat-security' ignored without '-Wformat' [-Wformat-security]
  1779.  
  1780. Compiler for C++ supports arguments -Wformat-security: YES
  1781. Running compile:
  1782. Working directory: /home/cain/dev/mesa/build_22.2.1/meson-private/tmphyprbgv4
  1783. Command line: /usr/bin/g++ /home/cain/dev/mesa/build_22.2.1/meson-private/tmphyprbgv4/testfile.cpp -o /home/cain/dev/mesa/build_22.2.1/meson-private/tmphyprbgv4/output.obj -c -m32 -D_FILE_OFFSET_BITS=64 -O0 -fpermissive -ffunction-sections
  1784.  
  1785. Code:
  1786. extern int i;
  1787. int i;
  1788.  
  1789. Compiler stdout:
  1790.  
  1791. Compiler stderr:
  1792.  
  1793. Compiler for C++ supports arguments -ffunction-sections: YES
  1794. Running compile:
  1795. Working directory: /home/cain/dev/mesa/build_22.2.1/meson-private/tmp1uct6iy7
  1796. Command line: /usr/bin/g++ /home/cain/dev/mesa/build_22.2.1/meson-private/tmp1uct6iy7/testfile.cpp -o /home/cain/dev/mesa/build_22.2.1/meson-private/tmp1uct6iy7/output.obj -c -m32 -D_FILE_OFFSET_BITS=64 -O0 -fpermissive -fdata-sections
  1797.  
  1798. Code:
  1799. extern int i;
  1800. int i;
  1801.  
  1802. Compiler stdout:
  1803.  
  1804. Compiler stderr:
  1805.  
  1806. Compiler for C++ supports arguments -fdata-sections: YES
  1807. Running compile:
  1808. Working directory: /home/cain/dev/mesa/build_22.2.1/meson-private/tmp2toc9ekz
  1809. Command line: /usr/bin/gcc /home/cain/dev/mesa/build_22.2.1/meson-private/tmp2toc9ekz/testfile.c -o /home/cain/dev/mesa/build_22.2.1/meson-private/tmp2toc9ekz/output.obj -c -m32 -D_FILE_OFFSET_BITS=64 -O0 -Woverride-init -Wno-override-init
  1810.  
  1811. Code:
  1812. extern int i;
  1813. int i;
  1814.  
  1815. Compiler stdout:
  1816.  
  1817. Compiler stderr:
  1818.  
  1819. Compiler for C supports arguments -Wno-override-init: YES
  1820. Running compile:
  1821. Working directory: /home/cain/dev/mesa/build_22.2.1/meson-private/tmp91l8if30
  1822. Command line: /usr/bin/gcc /home/cain/dev/mesa/build_22.2.1/meson-private/tmp91l8if30/testfile.c -o /home/cain/dev/mesa/build_22.2.1/meson-private/tmp91l8if30/output.obj -c -m32 -D_FILE_OFFSET_BITS=64 -O0 -Winitializer-overrides -Wno-initializer-overrides
  1823.  
  1824. Code:
  1825. extern int i;
  1826. int i;
  1827.  
  1828. Compiler stdout:
  1829.  
  1830. Compiler stderr:
  1831. gcc: error: unrecognized command-line option '-Winitializer-overrides'
  1832.  
  1833. Compiler for C supports arguments -Wno-initializer-overrides: NO
  1834. Running compile:
  1835. Working directory: /home/cain/dev/mesa/build_22.2.1/meson-private/tmppj_o8dko
  1836. Command line: /usr/bin/gcc /home/cain/dev/mesa/build_22.2.1/meson-private/tmppj_o8dko/testfile.c -o /home/cain/dev/mesa/build_22.2.1/meson-private/tmppj_o8dko/output.obj -c -m32 -D_FILE_OFFSET_BITS=64 -O0 -Werror=pointer-arith
  1837.  
  1838. Code:
  1839. extern int i;
  1840. int i;
  1841.  
  1842. Compiler stdout:
  1843.  
  1844. Compiler stderr:
  1845.  
  1846. Compiler for C supports arguments -Werror=pointer-arith: YES
  1847. Running compile:
  1848. Working directory: /home/cain/dev/mesa/build_22.2.1/meson-private/tmpannc098c
  1849. Command line: /usr/bin/gcc /home/cain/dev/mesa/build_22.2.1/meson-private/tmpannc098c/testfile.c -o /home/cain/dev/mesa/build_22.2.1/meson-private/tmpannc098c/output.obj -c -m32 -D_FILE_OFFSET_BITS=64 -O0 -Werror=vla
  1850.  
  1851. Code:
  1852. extern int i;
  1853. int i;
  1854.  
  1855. Compiler stdout:
  1856.  
  1857. Compiler stderr:
  1858.  
  1859. Compiler for C supports arguments -Werror=vla: YES
  1860. Running compile:
  1861. Working directory: /home/cain/dev/mesa/build_22.2.1/meson-private/tmp4lbl3wn7
  1862. Command line: /usr/bin/gcc /home/cain/dev/mesa/build_22.2.1/meson-private/tmp4lbl3wn7/testfile.c -o /home/cain/dev/mesa/build_22.2.1/meson-private/tmp4lbl3wn7/output.obj -c -m32 -D_FILE_OFFSET_BITS=64 -O0 -Werror=gnu-empty-initializer
  1863.  
  1864. Code:
  1865. extern int i;
  1866. int i;
  1867.  
  1868. Compiler stdout:
  1869.  
  1870. Compiler stderr:
  1871. cc1: error: '-Werror=gnu-empty-initializer': no option '-Wgnu-empty-initializer'
  1872.  
  1873. Compiler for C supports arguments -Werror=gnu-empty-initializer: NO
  1874. Running compile:
  1875. Working directory: /home/cain/dev/mesa/build_22.2.1/meson-private/tmpp83__927
  1876. Command line: /usr/bin/g++ /home/cain/dev/mesa/build_22.2.1/meson-private/tmpp83__927/testfile.cpp -o /home/cain/dev/mesa/build_22.2.1/meson-private/tmpp83__927/output.obj -c -m32 -D_FILE_OFFSET_BITS=64 -O0 -fpermissive -Werror=pointer-arith
  1877.  
  1878. Code:
  1879. extern int i;
  1880. int i;
  1881.  
  1882. Compiler stdout:
  1883.  
  1884. Compiler stderr:
  1885.  
  1886. Compiler for C++ supports arguments -Werror=pointer-arith: YES
  1887. Running compile:
  1888. Working directory: /home/cain/dev/mesa/build_22.2.1/meson-private/tmpl3quhv1c
  1889. Command line: /usr/bin/g++ /home/cain/dev/mesa/build_22.2.1/meson-private/tmpl3quhv1c/testfile.cpp -o /home/cain/dev/mesa/build_22.2.1/meson-private/tmpl3quhv1c/output.obj -c -m32 -D_FILE_OFFSET_BITS=64 -O0 -fpermissive -Werror=vla
  1890.  
  1891. Code:
  1892. extern int i;
  1893. int i;
  1894.  
  1895. Compiler stdout:
  1896.  
  1897. Compiler stderr:
  1898.  
  1899. Compiler for C++ supports arguments -Werror=vla: YES
  1900. Running compile:
  1901. Working directory: /home/cain/dev/mesa/build_22.2.1/meson-private/tmpz00a4vww
  1902. Command line: /usr/bin/g++ /home/cain/dev/mesa/build_22.2.1/meson-private/tmpz00a4vww/testfile.cpp -o /home/cain/dev/mesa/build_22.2.1/meson-private/tmpz00a4vww/output.obj -c -m32 -D_FILE_OFFSET_BITS=64 -O0 -fpermissive -Werror=gnu-empty-initializer
  1903.  
  1904. Code:
  1905. extern int i;
  1906. int i;
  1907.  
  1908. Compiler stdout:
  1909.  
  1910. Compiler stderr:
  1911. cc1plus: error: '-Werror=gnu-empty-initializer': no option '-Wgnu-empty-initializer'
  1912.  
  1913. Compiler for C++ supports arguments -Werror=gnu-empty-initializer: NO
  1914. Running compile:
  1915. Working directory: /home/cain/dev/mesa/build_22.2.1/meson-private/tmp_zeoki0g
  1916. Command line: /usr/bin/gcc /home/cain/dev/mesa/build_22.2.1/meson-private/tmp_zeoki0g/testfile.c -o /home/cain/dev/mesa/build_22.2.1/meson-private/tmp_zeoki0g/output.obj -c -m32 -D_FILE_OFFSET_BITS=64 -O0 -std=c11
  1917.  
  1918. Code:
  1919. #include <stdint.h>
  1920. int main() {
  1921. struct {
  1922. uint64_t *v;
  1923. } x;
  1924. return (int)__atomic_load_n(x.v, __ATOMIC_ACQUIRE) &
  1925. (int)__atomic_add_fetch(x.v, (uint64_t)1, __ATOMIC_ACQ_REL);
  1926.  
  1927. }
  1928. Compiler stdout:
  1929.  
  1930. Compiler stderr:
  1931.  
  1932. Checking if "GCC atomic builtins" compiles: YES
  1933. Running compile:
  1934. Working directory: /home/cain/dev/mesa/build_22.2.1/meson-private/tmpvnn7_7r7
  1935. Command line: /usr/bin/gcc /home/cain/dev/mesa/build_22.2.1/meson-private/tmpvnn7_7r7/testfile.c -o /home/cain/dev/mesa/build_22.2.1/meson-private/tmpvnn7_7r7/output.exe -m32 -D_FILE_OFFSET_BITS=64 -O0 -std=c11
  1936.  
  1937. Code:
  1938. #include <stdint.h>
  1939. int main() {
  1940. struct {
  1941. uint64_t *v;
  1942. } x;
  1943. return (int)__atomic_load_n(x.v, __ATOMIC_ACQUIRE) &
  1944. (int)__atomic_add_fetch(x.v, (uint64_t)1, __ATOMIC_ACQ_REL);
  1945. }
  1946. Compiler stdout:
  1947.  
  1948. Compiler stderr:
  1949.  
  1950. Checking if "GCC atomic builtins required -latomic" : links: YES
  1951. Running compile:
  1952. Working directory: /home/cain/dev/mesa/build_22.2.1/meson-private/tmpowtnggc4
  1953. Command line: /usr/bin/gcc /home/cain/dev/mesa/build_22.2.1/meson-private/tmpowtnggc4/testfile.c -o /home/cain/dev/mesa/build_22.2.1/meson-private/tmpowtnggc4/output.exe -m32 -D_FILE_OFFSET_BITS=64 -O0 -std=c11
  1954.  
  1955. Code:
  1956. #include <stdint.h>
  1957. uint64_t v;
  1958. int main() {
  1959. return __sync_add_and_fetch(&v, (uint64_t)1);
  1960. }
  1961. Compiler stdout:
  1962.  
  1963. Compiler stderr:
  1964.  
  1965. Checking if "GCC 64bit atomics" with dependency : links: YES
  1966. Running compile:
  1967. Working directory: /home/cain/dev/mesa/build_22.2.1/meson-private/tmp7aymd8st
  1968. Command line: /usr/bin/gcc /home/cain/dev/mesa/build_22.2.1/meson-private/tmp7aymd8st/testfile.c -o /home/cain/dev/mesa/build_22.2.1/meson-private/tmp7aymd8st/output.exe -m32 -D_FILE_OFFSET_BITS=64 -O0 -Wl,--start-group -lws2_32 -Wl,--end-group -Wl,--allow-shlib-undefined
  1969.  
  1970. Code:
  1971. int main(void) { return 0; }
  1972.  
  1973. Compiler stdout:
  1974.  
  1975. Compiler stderr:
  1976. /usr/bin/ld: cannot find -lws2_32: No such file or directory
  1977. collect2: error: ld returned 1 exit status
  1978.  
  1979. Running compile:
  1980. Working directory: /home/cain/dev/mesa/build_22.2.1/meson-private/tmpgi7yaace
  1981. Command line: /usr/bin/gcc /home/cain/dev/mesa/build_22.2.1/meson-private/tmpgi7yaace/testfile.c -o /home/cain/dev/mesa/build_22.2.1/meson-private/tmpgi7yaace/output.obj -c -m32 -D_FILE_OFFSET_BITS=64 -O0
  1982.  
  1983. Code:
  1984. #include <stdio.h>
  1985.  
  1986. int main(void) {
  1987. void * something;
  1988. return 0;
  1989. }
  1990. Compiler stdout:
  1991.  
  1992. Compiler stderr:
  1993.  
  1994. Running compile:
  1995. Working directory: /home/cain/dev/mesa/build_22.2.1/meson-private/tmpdteh9b5m
  1996. Command line: /usr/bin/gcc /home/cain/dev/mesa/build_22.2.1/meson-private/tmpdteh9b5m/testfile.c -o /home/cain/dev/mesa/build_22.2.1/meson-private/tmpdteh9b5m/output.obj -c -m32 -D_FILE_OFFSET_BITS=64 -O0
  1997.  
  1998. Code:
  1999. #include <stdio.h>
  2000.  
  2001. int main(void) { static int a[1-2*!(sizeof(void *) >= 0)]; a[0]=0; return 0; }
  2002. Compiler stdout:
  2003.  
  2004. Compiler stderr:
  2005.  
  2006. Running compile:
  2007. Working directory: /home/cain/dev/mesa/build_22.2.1/meson-private/tmp69en_hdq
  2008. Command line: /usr/bin/gcc /home/cain/dev/mesa/build_22.2.1/meson-private/tmp69en_hdq/testfile.c -o /home/cain/dev/mesa/build_22.2.1/meson-private/tmp69en_hdq/output.obj -c -m32 -D_FILE_OFFSET_BITS=64 -O0
  2009.  
  2010. Code:
  2011. #include <stdio.h>
  2012.  
  2013. int main(void) { static int a[1-2*!(sizeof(void *) > 0)]; a[0]=0; return 0; }
  2014. Compiler stdout:
  2015.  
  2016. Compiler stderr:
  2017.  
  2018. Running compile:
  2019. Working directory: /home/cain/dev/mesa/build_22.2.1/meson-private/tmpc_fmboev
  2020. Command line: /usr/bin/gcc /home/cain/dev/mesa/build_22.2.1/meson-private/tmpc_fmboev/testfile.c -o /home/cain/dev/mesa/build_22.2.1/meson-private/tmpc_fmboev/output.obj -c -m32 -D_FILE_OFFSET_BITS=64 -O0
  2021.  
  2022. Code:
  2023. #include <stdio.h>
  2024.  
  2025. int main(void) { static int a[1-2*!(sizeof(void *) > 1)]; a[0]=0; return 0; }
  2026. Compiler stdout:
  2027.  
  2028. Compiler stderr:
  2029.  
  2030. Running compile:
  2031. Working directory: /home/cain/dev/mesa/build_22.2.1/meson-private/tmp0tf341xl
  2032. Command line: /usr/bin/gcc /home/cain/dev/mesa/build_22.2.1/meson-private/tmp0tf341xl/testfile.c -o /home/cain/dev/mesa/build_22.2.1/meson-private/tmp0tf341xl/output.obj -c -m32 -D_FILE_OFFSET_BITS=64 -O0
  2033.  
  2034. Code:
  2035. #include <stdio.h>
  2036.  
  2037. int main(void) { static int a[1-2*!(sizeof(void *) > 3)]; a[0]=0; return 0; }
  2038. Compiler stdout:
  2039.  
  2040. Compiler stderr:
  2041.  
  2042. Running compile:
  2043. Working directory: /home/cain/dev/mesa/build_22.2.1/meson-private/tmpure7nq7t
  2044. Command line: /usr/bin/gcc /home/cain/dev/mesa/build_22.2.1/meson-private/tmpure7nq7t/testfile.c -o /home/cain/dev/mesa/build_22.2.1/meson-private/tmpure7nq7t/output.obj -c -m32 -D_FILE_OFFSET_BITS=64 -O0
  2045.  
  2046. Code:
  2047. #include <stdio.h>
  2048.  
  2049. int main(void) { static int a[1-2*!(sizeof(void *) > 7)]; a[0]=0; return 0; }
  2050. Compiler stdout:
  2051.  
  2052. Compiler stderr:
  2053. /home/cain/dev/mesa/build_22.2.1/meson-private/tmpure7nq7t/testfile.c: In function 'main':
  2054. /home/cain/dev/mesa/build_22.2.1/meson-private/tmpure7nq7t/testfile.c:3:37: error: size of array 'a' is negative
  2055. 3 | int main(void) { static int a[1-2*!(sizeof(void *) > 7)]; a[0]=0; return 0; }
  2056. | ^
  2057.  
  2058. Running compile:
  2059. Working directory: /home/cain/dev/mesa/build_22.2.1/meson-private/tmpl16s_3on
  2060. Command line: /usr/bin/gcc /home/cain/dev/mesa/build_22.2.1/meson-private/tmpl16s_3on/testfile.c -o /home/cain/dev/mesa/build_22.2.1/meson-private/tmpl16s_3on/output.obj -c -m32 -D_FILE_OFFSET_BITS=64 -O0
  2061.  
  2062. Code:
  2063. #include <stdio.h>
  2064.  
  2065. int main(void) { static int a[1-2*!(sizeof(void *) <= 5)]; a[0]=0; return 0; }
  2066. Compiler stdout:
  2067.  
  2068. Compiler stderr:
  2069.  
  2070. Running compile:
  2071. Working directory: /home/cain/dev/mesa/build_22.2.1/meson-private/tmpljzpjiq3
  2072. Command line: /usr/bin/gcc /home/cain/dev/mesa/build_22.2.1/meson-private/tmpljzpjiq3/testfile.c -o /home/cain/dev/mesa/build_22.2.1/meson-private/tmpljzpjiq3/output.obj -c -m32 -D_FILE_OFFSET_BITS=64 -O0
  2073.  
  2074. Code:
  2075. #include <stdio.h>
  2076.  
  2077. int main(void) { static int a[1-2*!(sizeof(void *) <= 4)]; a[0]=0; return 0; }
  2078. Compiler stdout:
  2079.  
  2080. Compiler stderr:
  2081.  
  2082. Running compile:
  2083. Working directory: /home/cain/dev/mesa/build_22.2.1/meson-private/tmp15vpmief
  2084. Command line: /usr/bin/gcc /home/cain/dev/mesa/build_22.2.1/meson-private/tmp15vpmief/testfile.c -o /home/cain/dev/mesa/build_22.2.1/meson-private/tmp15vpmief/output.obj -c -m32 -D_FILE_OFFSET_BITS=64 -O0 --print-search-dirs
  2085.  
  2086. Code:
  2087.  
  2088. Compiler stdout:
  2089. install: /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/
  2090. programs: =/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/:/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/:/usr/lib/gcc/x86_64-pc-linux-gnu/:/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/:/usr/lib/gcc/x86_64-pc-linux-gnu/:/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../x86_64-pc-linux-gnu/bin/x86_64-pc-linux-gnu/12.2.0/:/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../x86_64-pc-linux-gnu/bin/
  2091. libraries: =/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/32/:/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../x86_64-pc-linux-gnu/lib/x86_64-pc-linux-gnu/12.2.0/32/:/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../x86_64-pc-linux-gnu/lib/../lib32/:/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/../../../x86_64-pc-linux-gnu/12.2.0/32/:/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../lib32/:/lib/x86_64-pc-linux-gnu/12.2.0/32/:/lib/../lib32/:/usr/lib/x86_64-pc-linux-gnu/12.2.0/32/:/usr/lib/../lib32/:/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/:/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../x86_64-pc-linux-gnu/lib/x86_64-pc-linux-gnu/12.2.0/:/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../x86_64-pc-linux-gnu/lib/:/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/../../../x86_64-pc-linux-gnu/12.2.0/:/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/../../../:/lib/x86_64-pc-linux-gnu/12.2.0/:/lib/:/usr/lib/x86_64-pc-linux-gnu/12.2.0/:/usr/lib/
  2092.  
  2093. Compiler stderr:
  2094.  
  2095. Library ws2_32 found: NO
  2096. Running compile:
  2097. Working directory: /home/cain/dev/mesa/build_22.2.1/meson-private/tmponkrxphi
  2098. Command line: /usr/bin/gcc /home/cain/dev/mesa/build_22.2.1/meson-private/tmponkrxphi/testfile.c -o /home/cain/dev/mesa/build_22.2.1/meson-private/tmponkrxphi/output.obj -c -m32 -D_FILE_OFFSET_BITS=64 -O0 -std=c11
  2099.  
  2100. Code:
  2101.  
  2102. #include <sys/sysmacros.h>
  2103. int main(void) {
  2104. /* If it's not defined as a macro, try to use as a symbol */
  2105. #ifndef major
  2106. major;
  2107. #endif
  2108. return 0;
  2109. }
  2110. Compiler stdout:
  2111.  
  2112. Compiler stderr:
  2113.  
  2114. Header "sys/sysmacros.h" has symbol "major" : YES
  2115. Running compile:
  2116. Working directory: /home/cain/dev/mesa/build_22.2.1/meson-private/tmpgp8500g6
  2117. Command line: /usr/bin/gcc /home/cain/dev/mesa/build_22.2.1/meson-private/tmpgp8500g6/testfile.c -o /home/cain/dev/mesa/build_22.2.1/meson-private/tmpgp8500g6/output.obj -c -m32 -D_FILE_OFFSET_BITS=64 -O0 -std=c11
  2118.  
  2119. Code:
  2120.  
  2121. #include <sys/sysmacros.h>
  2122. int main(void) {
  2123. /* If it's not defined as a macro, try to use as a symbol */
  2124. #ifndef minor
  2125. minor;
  2126. #endif
  2127. return 0;
  2128. }
  2129. Compiler stdout:
  2130.  
  2131. Compiler stderr:
  2132.  
  2133. Header "sys/sysmacros.h" has symbol "minor" : YES
  2134. Running compile:
  2135. Working directory: /home/cain/dev/mesa/build_22.2.1/meson-private/tmpyycl_le3
  2136. Command line: /usr/bin/gcc /home/cain/dev/mesa/build_22.2.1/meson-private/tmpyycl_le3/testfile.c -o /home/cain/dev/mesa/build_22.2.1/meson-private/tmpyycl_le3/output.obj -c -m32 -D_FILE_OFFSET_BITS=64 -O0 -std=c11
  2137.  
  2138. Code:
  2139.  
  2140. #include <sys/sysmacros.h>
  2141. int main(void) {
  2142. /* If it's not defined as a macro, try to use as a symbol */
  2143. #ifndef makedev
  2144. makedev;
  2145. #endif
  2146. return 0;
  2147. }
  2148. Compiler stdout:
  2149.  
  2150. Compiler stderr:
  2151.  
  2152. Header "sys/sysmacros.h" has symbol "makedev" : YES
  2153. Running compile:
  2154. Working directory: /home/cain/dev/mesa/build_22.2.1/meson-private/tmpd_43prbd
  2155. Command line: /usr/bin/gcc /home/cain/dev/mesa/build_22.2.1/meson-private/tmpd_43prbd/testfile.c -o /home/cain/dev/mesa/build_22.2.1/meson-private/tmpd_43prbd/output.obj -c -m32 -D_FILE_OFFSET_BITS=64 -O0 -std=c11
  2156.  
  2157. Code:
  2158.  
  2159. #include <sys/mkdev.h>
  2160. int main(void) {
  2161. /* If it's not defined as a macro, try to use as a symbol */
  2162. #ifndef major
  2163. major;
  2164. #endif
  2165. return 0;
  2166. }
  2167. Compiler stdout:
  2168.  
  2169. Compiler stderr:
  2170. /home/cain/dev/mesa/build_22.2.1/meson-private/tmpd_43prbd/testfile.c:2:18: fatal error: sys/mkdev.h: No such file or directory
  2171. 2 | #include <sys/mkdev.h>
  2172. | ^~~~~~~~~~~~~
  2173. compilation terminated.
  2174.  
  2175. Header "sys/mkdev.h" has symbol "major" : NO
  2176. Running compile:
  2177. Working directory: /home/cain/dev/mesa/build_22.2.1/meson-private/tmp1wvcd2fi
  2178. Command line: /usr/bin/gcc /home/cain/dev/mesa/build_22.2.1/meson-private/tmp1wvcd2fi/testfile.c -o /home/cain/dev/mesa/build_22.2.1/meson-private/tmp1wvcd2fi/output.obj -c -m32 -D_FILE_OFFSET_BITS=64 -O0 -std=c11
  2179.  
  2180. Code:
  2181.  
  2182. #include <sched.h>
  2183. Compiler stdout:
  2184.  
  2185. Compiler stderr:
  2186.  
  2187. Check usable header "sched.h" : YES
  2188. Running compile:
  2189. Working directory: /home/cain/dev/mesa/build_22.2.1/meson-private/tmpnmzwb9xv
  2190. Command line: /usr/bin/gcc /home/cain/dev/mesa/build_22.2.1/meson-private/tmpnmzwb9xv/testfile.c -o /home/cain/dev/mesa/build_22.2.1/meson-private/tmpnmzwb9xv/output.exe -m32 -D_FILE_OFFSET_BITS=64 -O0 -std=c11
  2191.  
  2192. Code:
  2193.  
  2194. #define sched_getaffinity meson_disable_define_of_sched_getaffinity
  2195.  
  2196. #include <limits.h>
  2197. #undef sched_getaffinity
  2198.  
  2199. #ifdef __cplusplus
  2200. extern "C"
  2201. #endif
  2202. char sched_getaffinity (void);
  2203.  
  2204. #if defined __stub_sched_getaffinity || defined __stub___sched_getaffinity
  2205. fail fail fail this function is not going to work
  2206. #endif
  2207.  
  2208. int main(void) {
  2209. return sched_getaffinity ();
  2210. }
  2211. Compiler stdout:
  2212.  
  2213. Compiler stderr:
  2214.  
  2215. Checking for function "sched_getaffinity" : YES
  2216. Running compile:
  2217. Working directory: /home/cain/dev/mesa/build_22.2.1/meson-private/tmpvazb00s6
  2218. Command line: /usr/bin/gcc /home/cain/dev/mesa/build_22.2.1/meson-private/tmpvazb00s6/testfile.c -o /home/cain/dev/mesa/build_22.2.1/meson-private/tmpvazb00s6/output.obj -c -m32 -D_FILE_OFFSET_BITS=64 -O0 -std=c11
  2219.  
  2220. Code:
  2221.  
  2222. #include <xlocale.h>
  2223. Compiler stdout:
  2224.  
  2225. Compiler stderr:
  2226. /home/cain/dev/mesa/build_22.2.1/meson-private/tmpvazb00s6/testfile.c:2:18: fatal error: xlocale.h: No such file or directory
  2227. 2 | #include <xlocale.h>
  2228. | ^~~~~~~~~~~
  2229. compilation terminated.
  2230.  
  2231. Check usable header "xlocale.h" : NO
  2232. Running compile:
  2233. Working directory: /home/cain/dev/mesa/build_22.2.1/meson-private/tmpm2bzo3kq
  2234. Command line: /usr/bin/gcc /home/cain/dev/mesa/build_22.2.1/meson-private/tmpm2bzo3kq/testfile.c -o /home/cain/dev/mesa/build_22.2.1/meson-private/tmpm2bzo3kq/output.obj -c -m32 -D_FILE_OFFSET_BITS=64 -O0 -std=c11
  2235.  
  2236. Code:
  2237.  
  2238. #include <linux/futex.h>
  2239. Compiler stdout:
  2240.  
  2241. Compiler stderr:
  2242.  
  2243. Check usable header "linux/futex.h" : YES
  2244. Running compile:
  2245. Working directory: /home/cain/dev/mesa/build_22.2.1/meson-private/tmp_l6jlmwp
  2246. Command line: /usr/bin/gcc /home/cain/dev/mesa/build_22.2.1/meson-private/tmp_l6jlmwp/testfile.c -o /home/cain/dev/mesa/build_22.2.1/meson-private/tmp_l6jlmwp/output.obj -c -m32 -D_FILE_OFFSET_BITS=64 -O0 -std=c11
  2247.  
  2248. Code:
  2249.  
  2250. #include <endian.h>
  2251. Compiler stdout:
  2252.  
  2253. Compiler stderr:
  2254.  
  2255. Check usable header "endian.h" : YES
  2256. Running compile:
  2257. Working directory: /home/cain/dev/mesa/build_22.2.1/meson-private/tmpq5rtvuu8
  2258. Command line: /usr/bin/gcc /home/cain/dev/mesa/build_22.2.1/meson-private/tmpq5rtvuu8/testfile.c -o /home/cain/dev/mesa/build_22.2.1/meson-private/tmpq5rtvuu8/output.obj -c -m32 -D_FILE_OFFSET_BITS=64 -O0 -std=c11
  2259.  
  2260. Code:
  2261.  
  2262. #include <dlfcn.h>
  2263. Compiler stdout:
  2264.  
  2265. Compiler stderr:
  2266.  
  2267. Check usable header "dlfcn.h" : YES
  2268. Running compile:
  2269. Working directory: /home/cain/dev/mesa/build_22.2.1/meson-private/tmp7hz9s109
  2270. Command line: /usr/bin/gcc /home/cain/dev/mesa/build_22.2.1/meson-private/tmp7hz9s109/testfile.c -o /home/cain/dev/mesa/build_22.2.1/meson-private/tmp7hz9s109/output.obj -c -m32 -D_FILE_OFFSET_BITS=64 -O0 -std=c11
  2271.  
  2272. Code:
  2273.  
  2274. #include <sys/shm.h>
  2275. Compiler stdout:
  2276.  
  2277. Compiler stderr:
  2278.  
  2279. Check usable header "sys/shm.h" : YES
  2280. Running compile:
  2281. Working directory: /home/cain/dev/mesa/build_22.2.1/meson-private/tmpeyp2arg0
  2282. Command line: /usr/bin/gcc /home/cain/dev/mesa/build_22.2.1/meson-private/tmpeyp2arg0/testfile.c -o /home/cain/dev/mesa/build_22.2.1/meson-private/tmpeyp2arg0/output.obj -c -m32 -D_FILE_OFFSET_BITS=64 -O0 -std=c11
  2283.  
  2284. Code:
  2285.  
  2286. #include <cet.h>
  2287. Compiler stdout:
  2288.  
  2289. Compiler stderr:
  2290.  
  2291. Check usable header "cet.h" : YES
  2292. Running compile:
  2293. Working directory: /home/cain/dev/mesa/build_22.2.1/meson-private/tmp1up_kbzi
  2294. Command line: /usr/bin/gcc /home/cain/dev/mesa/build_22.2.1/meson-private/tmp1up_kbzi/testfile.c -o /home/cain/dev/mesa/build_22.2.1/meson-private/tmp1up_kbzi/output.obj -c -m32 -D_FILE_OFFSET_BITS=64 -O0 -std=c11
  2295.  
  2296. Code:
  2297.  
  2298. #include <pthread_np.h>
  2299. Compiler stdout:
  2300.  
  2301. Compiler stderr:
  2302. /home/cain/dev/mesa/build_22.2.1/meson-private/tmp1up_kbzi/testfile.c:2:18: fatal error: pthread_np.h: No such file or directory
  2303. 2 | #include <pthread_np.h>
  2304. | ^~~~~~~~~~~~~~
  2305. compilation terminated.
  2306.  
  2307. Check usable header "pthread_np.h" : NO
  2308. Running compile:
  2309. Working directory: /home/cain/dev/mesa/build_22.2.1/meson-private/tmp2g0f5vot
  2310. Command line: /usr/bin/gcc /home/cain/dev/mesa/build_22.2.1/meson-private/tmp2g0f5vot/testfile.c -o /home/cain/dev/mesa/build_22.2.1/meson-private/tmp2g0f5vot/output.exe -m32 -D_FILE_OFFSET_BITS=64 -O0 -std=c11
  2311.  
  2312. Code:
  2313.  
  2314. #define strtof meson_disable_define_of_strtof
  2315.  
  2316. #include <limits.h>
  2317. #undef strtof
  2318.  
  2319. #ifdef __cplusplus
  2320. extern "C"
  2321. #endif
  2322. char strtof (void);
  2323.  
  2324. #if defined __stub_strtof || defined __stub___strtof
  2325. fail fail fail this function is not going to work
  2326. #endif
  2327.  
  2328. int main(void) {
  2329. return strtof ();
  2330. }
  2331. Compiler stdout:
  2332.  
  2333. Compiler stderr:
  2334.  
  2335. Checking for function "strtof" : YES
  2336. Running compile:
  2337. Working directory: /home/cain/dev/mesa/build_22.2.1/meson-private/tmpu1xqdsb1
  2338. Command line: /usr/bin/gcc /home/cain/dev/mesa/build_22.2.1/meson-private/tmpu1xqdsb1/testfile.c -o /home/cain/dev/mesa/build_22.2.1/meson-private/tmpu1xqdsb1/output.exe -m32 -D_FILE_OFFSET_BITS=64 -O0 -std=c11
  2339.  
  2340. Code:
  2341.  
  2342. #define mkostemp meson_disable_define_of_mkostemp
  2343.  
  2344. #include <limits.h>
  2345. #undef mkostemp
  2346.  
  2347. #ifdef __cplusplus
  2348. extern "C"
  2349. #endif
  2350. char mkostemp (void);
  2351.  
  2352. #if defined __stub_mkostemp || defined __stub___mkostemp
  2353. fail fail fail this function is not going to work
  2354. #endif
  2355.  
  2356. int main(void) {
  2357. return mkostemp ();
  2358. }
  2359. Compiler stdout:
  2360.  
  2361. Compiler stderr:
  2362.  
  2363. Checking for function "mkostemp" : YES
  2364. Running compile:
  2365. Working directory: /home/cain/dev/mesa/build_22.2.1/meson-private/tmphox0o0ke
  2366. Command line: /usr/bin/gcc /home/cain/dev/mesa/build_22.2.1/meson-private/tmphox0o0ke/testfile.c -o /home/cain/dev/mesa/build_22.2.1/meson-private/tmphox0o0ke/output.exe -m32 -D_FILE_OFFSET_BITS=64 -O0 -std=c11
  2367.  
  2368. Code:
  2369. #include <time.h>
  2370. #include <limits.h>
  2371.  
  2372. #if defined __stub_timespec_get || defined __stub___timespec_get
  2373. fail fail fail this function is not going to work
  2374. #endif
  2375.  
  2376. int main(void) {
  2377. void *a = (void*) &timespec_get;
  2378. long long b = (long long) a;
  2379. return (int) b;
  2380. }
  2381. Compiler stdout:
  2382.  
  2383. Compiler stderr:
  2384. /home/cain/dev/mesa/build_22.2.1/meson-private/tmphox0o0ke/testfile.c: In function 'main':
  2385. /home/cain/dev/mesa/build_22.2.1/meson-private/tmphox0o0ke/testfile.c:10:27: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  2386. 10 | long long b = (long long) a;
  2387. | ^
  2388.  
  2389. Checking for function "timespec_get" : YES
  2390. Running compile:
  2391. Working directory: /home/cain/dev/mesa/build_22.2.1/meson-private/tmpcajqrjne
  2392. Command line: /usr/bin/gcc /home/cain/dev/mesa/build_22.2.1/meson-private/tmpcajqrjne/testfile.c -o /home/cain/dev/mesa/build_22.2.1/meson-private/tmpcajqrjne/output.exe -m32 -D_FILE_OFFSET_BITS=64 -O0 -std=c11
  2393.  
  2394. Code:
  2395.  
  2396. #define memfd_create meson_disable_define_of_memfd_create
  2397.  
  2398. #include <limits.h>
  2399. #undef memfd_create
  2400.  
  2401. #ifdef __cplusplus
  2402. extern "C"
  2403. #endif
  2404. char memfd_create (void);
  2405.  
  2406. #if defined __stub_memfd_create || defined __stub___memfd_create
  2407. fail fail fail this function is not going to work
  2408. #endif
  2409.  
  2410. int main(void) {
  2411. return memfd_create ();
  2412. }
  2413. Compiler stdout:
  2414.  
  2415. Compiler stderr:
  2416.  
  2417. Checking for function "memfd_create" : YES
  2418. Running compile:
  2419. Working directory: /home/cain/dev/mesa/build_22.2.1/meson-private/tmpit23vt6l
  2420. Command line: /usr/bin/gcc /home/cain/dev/mesa/build_22.2.1/meson-private/tmpit23vt6l/testfile.c -o /home/cain/dev/mesa/build_22.2.1/meson-private/tmpit23vt6l/output.exe -m32 -D_FILE_OFFSET_BITS=64 -O0 -std=c11
  2421.  
  2422. Code:
  2423.  
  2424. #define random_r meson_disable_define_of_random_r
  2425.  
  2426. #include <limits.h>
  2427. #undef random_r
  2428.  
  2429. #ifdef __cplusplus
  2430. extern "C"
  2431. #endif
  2432. char random_r (void);
  2433.  
  2434. #if defined __stub_random_r || defined __stub___random_r
  2435. fail fail fail this function is not going to work
  2436. #endif
  2437.  
  2438. int main(void) {
  2439. return random_r ();
  2440. }
  2441. Compiler stdout:
  2442.  
  2443. Compiler stderr:
  2444.  
  2445. Checking for function "random_r" : YES
  2446. Running compile:
  2447. Working directory: /home/cain/dev/mesa/build_22.2.1/meson-private/tmpnw74g8tu
  2448. Command line: /usr/bin/gcc /home/cain/dev/mesa/build_22.2.1/meson-private/tmpnw74g8tu/testfile.c -o /home/cain/dev/mesa/build_22.2.1/meson-private/tmpnw74g8tu/output.exe -m32 -D_FILE_OFFSET_BITS=64 -O0 -std=c11
  2449.  
  2450. Code:
  2451.  
  2452. #define flock meson_disable_define_of_flock
  2453.  
  2454. #include <limits.h>
  2455. #undef flock
  2456.  
  2457. #ifdef __cplusplus
  2458. extern "C"
  2459. #endif
  2460. char flock (void);
  2461.  
  2462. #if defined __stub_flock || defined __stub___flock
  2463. fail fail fail this function is not going to work
  2464. #endif
  2465.  
  2466. int main(void) {
  2467. return flock ();
  2468. }
  2469. Compiler stdout:
  2470.  
  2471. Compiler stderr:
  2472.  
  2473. Checking for function "flock" : YES
  2474. Running compile:
  2475. Working directory: /home/cain/dev/mesa/build_22.2.1/meson-private/tmp8l8xhvg_
  2476. Command line: /usr/bin/gcc /home/cain/dev/mesa/build_22.2.1/meson-private/tmp8l8xhvg_/testfile.c -o /home/cain/dev/mesa/build_22.2.1/meson-private/tmp8l8xhvg_/output.exe -m32 -D_FILE_OFFSET_BITS=64 -O0 -std=c11
  2477.  
  2478. Code:
  2479.  
  2480. #define strtok_r meson_disable_define_of_strtok_r
  2481.  
  2482. #include <limits.h>
  2483. #undef strtok_r
  2484.  
  2485. #ifdef __cplusplus
  2486. extern "C"
  2487. #endif
  2488. char strtok_r (void);
  2489.  
  2490. #if defined __stub_strtok_r || defined __stub___strtok_r
  2491. fail fail fail this function is not going to work
  2492. #endif
  2493.  
  2494. int main(void) {
  2495. return strtok_r ();
  2496. }
  2497. Compiler stdout:
  2498.  
  2499. Compiler stderr:
  2500.  
  2501. Checking for function "strtok_r" : YES
  2502. Running compile:
  2503. Working directory: /home/cain/dev/mesa/build_22.2.1/meson-private/tmptn4y0dzt
  2504. Command line: /usr/bin/gcc /home/cain/dev/mesa/build_22.2.1/meson-private/tmptn4y0dzt/testfile.c -o /home/cain/dev/mesa/build_22.2.1/meson-private/tmptn4y0dzt/output.exe -m32 -D_FILE_OFFSET_BITS=64 -O0 -std=c11
  2505.  
  2506. Code:
  2507.  
  2508. #define getrandom meson_disable_define_of_getrandom
  2509.  
  2510. #include <limits.h>
  2511. #undef getrandom
  2512.  
  2513. #ifdef __cplusplus
  2514. extern "C"
  2515. #endif
  2516. char getrandom (void);
  2517.  
  2518. #if defined __stub_getrandom || defined __stub___getrandom
  2519. fail fail fail this function is not going to work
  2520. #endif
  2521.  
  2522. int main(void) {
  2523. return getrandom ();
  2524. }
  2525. Compiler stdout:
  2526.  
  2527. Compiler stderr:
  2528.  
  2529. Checking for function "getrandom" : YES
  2530. Running compile:
  2531. Working directory: /home/cain/dev/mesa/build_22.2.1/meson-private/tmpdytc2pip
  2532. Command line: /usr/bin/gcc /home/cain/dev/mesa/build_22.2.1/meson-private/tmpdytc2pip/testfile.c -o /home/cain/dev/mesa/build_22.2.1/meson-private/tmpdytc2pip/output.exe -m32 -D_FILE_OFFSET_BITS=64 -O0 -std=c11
  2533.  
  2534. Code:
  2535.  
  2536. #define qsort_r meson_disable_define_of_qsort_r
  2537.  
  2538. #include <limits.h>
  2539. #undef qsort_r
  2540.  
  2541. #ifdef __cplusplus
  2542. extern "C"
  2543. #endif
  2544. char qsort_r (void);
  2545.  
  2546. #if defined __stub_qsort_r || defined __stub___qsort_r
  2547. fail fail fail this function is not going to work
  2548. #endif
  2549.  
  2550. int main(void) {
  2551. return qsort_r ();
  2552. }
  2553. Compiler stdout:
  2554.  
  2555. Compiler stderr:
  2556.  
  2557. Checking for function "qsort_r" : YES
  2558. Running compile:
  2559. Working directory: /home/cain/dev/mesa/build_22.2.1/meson-private/tmpfs6r4p6w
  2560. Command line: /usr/bin/gcc /home/cain/dev/mesa/build_22.2.1/meson-private/tmpfs6r4p6w/testfile.c -o /home/cain/dev/mesa/build_22.2.1/meson-private/tmpfs6r4p6w/output.exe -m32 -D_FILE_OFFSET_BITS=64 -O0 -std=c11
  2561.  
  2562. Code:
  2563.  
  2564. #define qsort_s meson_disable_define_of_qsort_s
  2565.  
  2566. #include <limits.h>
  2567. #undef qsort_s
  2568.  
  2569. #ifdef __cplusplus
  2570. extern "C"
  2571. #endif
  2572. char qsort_s (void);
  2573.  
  2574. #if defined __stub_qsort_s || defined __stub___qsort_s
  2575. fail fail fail this function is not going to work
  2576. #endif
  2577.  
  2578. int main(void) {
  2579. return qsort_s ();
  2580. }
  2581. Compiler stdout:
  2582.  
  2583. Compiler stderr:
  2584. /usr/bin/ld: /tmp/ccICkldl.o: in function `main':
  2585. testfile.c:(.text+0x14): undefined reference to `qsort_s'
  2586. collect2: error: ld returned 1 exit status
  2587.  
  2588. Running compile:
  2589. Working directory: /home/cain/dev/mesa/build_22.2.1/meson-private/tmp4jxhfo2s
  2590. Command line: /usr/bin/gcc /home/cain/dev/mesa/build_22.2.1/meson-private/tmp4jxhfo2s/testfile.c -o /home/cain/dev/mesa/build_22.2.1/meson-private/tmp4jxhfo2s/output.exe -m32 -D_FILE_OFFSET_BITS=64 -O0 -std=c11
  2591.  
  2592. Code:
  2593.  
  2594. int main(void) {
  2595.  
  2596. /* With some toolchains (MSYS2/mingw for example) the compiler
  2597. * provides various builtins which are not really implemented and
  2598. * fall back to the stdlib where they aren't provided and fail at
  2599. * build/link time. In case the user provides a header, including
  2600. * the header didn't lead to the function being defined, and the
  2601. * function we are checking isn't a builtin itself we assume the
  2602. * builtin is not functional and we just error out. */
  2603. #if !1 && !defined(qsort_s) && !0
  2604. #error "No definition for __builtin_qsort_s found in the prefix"
  2605. #endif
  2606.  
  2607. #ifdef __has_builtin
  2608. #if !__has_builtin(__builtin_qsort_s)
  2609. #error "__builtin_qsort_s not found"
  2610. #endif
  2611. #elif ! defined(qsort_s)
  2612. __builtin_qsort_s;
  2613. #endif
  2614. return 0;
  2615. }
  2616. Compiler stdout:
  2617.  
  2618. Compiler stderr:
  2619. /home/cain/dev/mesa/build_22.2.1/meson-private/tmp4jxhfo2s/testfile.c: In function 'main':
  2620. /home/cain/dev/mesa/build_22.2.1/meson-private/tmp4jxhfo2s/testfile.c:17:18: error: #error "__builtin_qsort_s not found"
  2621. 17 | #error "__builtin_qsort_s not found"
  2622. | ^~~~~
  2623.  
  2624. Checking for function "qsort_s" : NO
  2625. Running compile:
  2626. Working directory: /home/cain/dev/mesa/build_22.2.1/meson-private/tmpsbc5lxbv
  2627. Command line: /usr/bin/gcc /home/cain/dev/mesa/build_22.2.1/meson-private/tmpsbc5lxbv/testfile.c -o /home/cain/dev/mesa/build_22.2.1/meson-private/tmpsbc5lxbv/output.obj -c -m32 -D_FILE_OFFSET_BITS=64 -O0 -std=c11
  2628.  
  2629. Code:
  2630.  
  2631. #include <time.h>
  2632. int main(void) {
  2633. /* If it's not defined as a macro, try to use as a symbol */
  2634. #ifndef struct timespec
  2635. struct timespec;
  2636. #endif
  2637. return 0;
  2638. }
  2639. Compiler stdout:
  2640.  
  2641. Compiler stderr:
  2642. /home/cain/dev/mesa/build_22.2.1/meson-private/tmpsbc5lxbv/testfile.c: In function 'main':
  2643. /home/cain/dev/mesa/build_22.2.1/meson-private/tmpsbc5lxbv/testfile.c:5:28: warning: extra tokens at end of #ifndef directive
  2644. 5 | #ifndef struct timespec
  2645. | ^~~~~~~~
  2646.  
  2647. Header "time.h" has symbol "struct timespec" : YES
  2648. Running compile:
  2649. Working directory: /home/cain/dev/mesa/build_22.2.1/meson-private/tmpgfwvaxqv
  2650. Command line: /usr/bin/gcc /home/cain/dev/mesa/build_22.2.1/meson-private/tmpgfwvaxqv/testfile.c -o /home/cain/dev/mesa/build_22.2.1/meson-private/tmpgfwvaxqv/output.exe -m32 -D_FILE_OFFSET_BITS=64 -O0 -std=c11
  2651.  
  2652. Code:
  2653. #include <threads.h>
  2654. #include <limits.h>
  2655.  
  2656. #if defined __stub_thrd_create || defined __stub___thrd_create
  2657. fail fail fail this function is not going to work
  2658. #endif
  2659.  
  2660. int main(void) {
  2661. void *a = (void*) &thrd_create;
  2662. long long b = (long long) a;
  2663. return (int) b;
  2664. }
  2665. Compiler stdout:
  2666.  
  2667. Compiler stderr:
  2668. /home/cain/dev/mesa/build_22.2.1/meson-private/tmpgfwvaxqv/testfile.c: In function 'main':
  2669. /home/cain/dev/mesa/build_22.2.1/meson-private/tmpgfwvaxqv/testfile.c:10:27: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  2670. 10 | long long b = (long long) a;
  2671. | ^
  2672.  
  2673. Checking for function "thrd_create" : YES
  2674. Running compile:
  2675. Working directory: /home/cain/dev/mesa/build_22.2.1/meson-private/tmp12o2n_ow
  2676. Command line: /usr/bin/gcc /home/cain/dev/mesa/build_22.2.1/meson-private/tmp12o2n_ow/testfile.c -o /home/cain/dev/mesa/build_22.2.1/meson-private/tmp12o2n_ow/output.obj -c -m32 -D_FILE_OFFSET_BITS=64 -O0 -std=c11 -D_GNU_SOURCE
  2677.  
  2678. Code:
  2679.  
  2680. #include <errno.h>
  2681. int main(void) {
  2682. /* If it's not defined as a macro, try to use as a symbol */
  2683. #ifndef program_invocation_name
  2684. program_invocation_name;
  2685. #endif
  2686. return 0;
  2687. }
  2688. Compiler stdout:
  2689.  
  2690. Compiler stderr:
  2691.  
  2692. Header "errno.h" has symbol "program_invocation_name" : YES
  2693. Running compile:
  2694. Working directory: /home/cain/dev/mesa/build_22.2.1/meson-private/tmp7wl8rlg0
  2695. Command line: /usr/bin/gcc /home/cain/dev/mesa/build_22.2.1/meson-private/tmp7wl8rlg0/testfile.c -o /home/cain/dev/mesa/build_22.2.1/meson-private/tmp7wl8rlg0/output.obj -c -m32 -D_FILE_OFFSET_BITS=64 -O0 -std=c11 -D_GNU_SOURCE
  2696.  
  2697. Code:
  2698.  
  2699. #include <math.h>
  2700. int main(void) {
  2701. /* If it's not defined as a macro, try to use as a symbol */
  2702. #ifndef issignaling
  2703. issignaling;
  2704. #endif
  2705. return 0;
  2706. }
  2707. Compiler stdout:
  2708.  
  2709. Compiler stderr:
  2710.  
  2711. Header "math.h" has symbol "issignaling" : YES
  2712. Running compile:
  2713. Working directory: /home/cain/dev/mesa/build_22.2.1/meson-private/tmppsqgg9ll
  2714. Command line: /usr/bin/gcc /home/cain/dev/mesa/build_22.2.1/meson-private/tmppsqgg9ll/testfile.c -o /home/cain/dev/mesa/build_22.2.1/meson-private/tmppsqgg9ll/output.exe -m32 -D_FILE_OFFSET_BITS=64 -O0 -std=c11
  2715.  
  2716. Code:
  2717.  
  2718. #define posix_memalign meson_disable_define_of_posix_memalign
  2719.  
  2720. #include <limits.h>
  2721. #undef posix_memalign
  2722.  
  2723. #ifdef __cplusplus
  2724. extern "C"
  2725. #endif
  2726. char posix_memalign (void);
  2727.  
  2728. #if defined __stub_posix_memalign || defined __stub___posix_memalign
  2729. fail fail fail this function is not going to work
  2730. #endif
  2731.  
  2732. int main(void) {
  2733. return posix_memalign ();
  2734. }
  2735. Compiler stdout:
  2736.  
  2737. Compiler stderr:
  2738.  
  2739. Checking for function "posix_memalign" : YES
  2740. Running compile:
  2741. Working directory: /home/cain/dev/mesa/build_22.2.1/meson-private/tmptg6f2b5r
  2742. Command line: /usr/bin/gcc /home/cain/dev/mesa/build_22.2.1/meson-private/tmptg6f2b5r/testfile.c -o /home/cain/dev/mesa/build_22.2.1/meson-private/tmptg6f2b5r/output.obj -c -m32 -D_FILE_OFFSET_BITS=64 -O0 -std=c11
  2743.  
  2744. Code:
  2745. #include <sys/types.h>
  2746. #include <dirent.h>
  2747. void bar(void) {
  2748. struct dirent foo;
  2749. foo.d_type;
  2750.  
  2751. }
  2752. Compiler stdout:
  2753.  
  2754. Compiler stderr:
  2755.  
  2756. Checking whether type "struct dirent" has member "d_type" : YES
  2757. Running compile:
  2758. Working directory: /home/cain/dev/mesa/build_22.2.1/meson-private/tmp03malzma
  2759. Command line: /usr/bin/gcc /home/cain/dev/mesa/build_22.2.1/meson-private/tmp03malzma/testfile.c -o /home/cain/dev/mesa/build_22.2.1/meson-private/tmp03malzma/output.exe -m32 -D_FILE_OFFSET_BITS=64 -O0 -std=c11 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -DPACKAGE_VERSION="22.2.1" -DPACKAGE_BUGREPORT="https://gitlab.freedesktop.org/mesa/mesa/-/issues" -DHAVE_R300 -DHAVE_R600 -DHAVE_RADEONSI -DHAVE_NOUVEAU -DHAVE_VIRGL -DHAVE_SVGA -DHAVE_SWRAST -DHAVE_IRIS -DHAVE_CROCUS -DHAVE_I915 -DVIDEO_CODEC_VC1DEC=0 -DVIDEO_CODEC_H264DEC=0 -DVIDEO_CODEC_H264ENC=0 -DVIDEO_CODEC_H265DEC=0 -DVIDEO_CODEC_H265ENC=0 -DHAVE_X11_PLATFORM -DHAVE_WAYLAND_PLATFORM -DHAVE_SURFACELESS_PLATFORM -DHAVE_DRM_PLATFORM -DHAVE_XCB_PLATFORM -DENABLE_ST_OMX_BELLAGIO=0 -DENABLE_ST_OMX_TIZONIA=0 -DHAVE_VA_SURFACE_ATTRIB_DRM_FORMAT_MODIFIERS -DGLX_INDIRECT_RENDERING -DGLX_DIRECT_RENDERING -DGLX_USE_DRM -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___BUILTIN_TYPES_COMPATIBLE_P -DHAVE_FUNC_ATTRIBUTE_CONST -DHAVE_FUNC_ATTRIBUTE_FLATTEN -DHAVE_FUNC_ATTRIBUTE_MALLOC -DHAVE_FUNC_ATTRIBUTE_PURE -DHAVE_FUNC_ATTRIBUTE_UNUSED -DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT -DHAVE_FUNC_ATTRIBUTE_WEAK -DHAVE_FUNC_ATTRIBUTE_FORMAT -DHAVE_FUNC_ATTRIBUTE_PACKED -DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL -DHAVE_FUNC_ATTRIBUTE_ALIAS -DHAVE_FUNC_ATTRIBUTE_NORETURN -DHAVE_FUNC_ATTRIBUTE_VISIBILITY -DHAVE_REALLOCARRAY -D_GNU_SOURCE -DUSE_SSE41 -DUSE_GCC_ATOMIC_BUILTINS -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM -DMAJOR_IN_SYSMACROS -DHAS_SCHED_H -DHAS_SCHED_GETAFFINITY -DHAVE_LINUX_FUTEX_H -DHAVE_ENDIAN_H -DHAVE_DLFCN_H -DHAVE_SYS_SHM_H -DHAVE_CET_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_TIMESPEC_GET -DHAVE_MEMFD_CREATE -DHAVE_RANDOM_R -DHAVE_FLOCK -DHAVE_STRTOK_R -DHAVE_GETRANDOM -DHAVE_QSORT_R -DHAVE_STRUCT_TIMESPEC -DHAVE_PROGRAM_INVOCATION_NAME -DHAVE_ISSIGNALING -DHAVE_POSIX_MEMALIGN -DHAVE_DIRENT_D_TYPE
  2760.  
  2761. Code:
  2762.  
  2763. #define _GNU_SOURCE
  2764. #include <stdlib.h>
  2765. #include <locale.h>
  2766. #ifdef HAVE_XLOCALE_H
  2767. #include <xlocale.h>
  2768. #endif
  2769. int main() {
  2770. locale_t loc = newlocale(LC_CTYPE_MASK, "C", NULL);
  2771. const char *s = "1.0";
  2772. char *end;
  2773. double d = strtod_l(s, end, loc);
  2774. float f = strtof_l(s, end, loc);
  2775. freelocale(loc);
  2776. return 0;
  2777. }
  2778. Compiler stdout:
  2779.  
  2780. Compiler stderr:
  2781. /home/cain/dev/mesa/build_22.2.1/meson-private/tmp03malzma/testfile.c:2: warning: "_GNU_SOURCE" redefined
  2782. 2 | #define _GNU_SOURCE
  2783. |
  2784. <command-line>: note: this is the location of the previous definition
  2785. /home/cain/dev/mesa/build_22.2.1/meson-private/tmp03malzma/testfile.c: In function 'main':
  2786. /home/cain/dev/mesa/build_22.2.1/meson-private/tmp03malzma/testfile.c:12:30: warning: passing argument 2 of 'strtod_l' from incompatible pointer type [-Wincompatible-pointer-types]
  2787. 12 | double d = strtod_l(s, end, loc);
  2788. | ^~~
  2789. | |
  2790. | char *
  2791. In file included from /home/cain/dev/mesa/build_22.2.1/meson-private/tmp03malzma/testfile.c:3:
  2792. /usr/include/stdlib.h:297:43: note: expected 'char ** restrict' but argument is of type 'char *'
  2793. 297 | char **__restrict __endptr, locale_t __loc)
  2794. | ~~~~~~~~~~~~~~~~~~^~~~~~~~
  2795. /home/cain/dev/mesa/build_22.2.1/meson-private/tmp03malzma/testfile.c:13:29: warning: passing argument 2 of 'strtof_l' from incompatible pointer type [-Wincompatible-pointer-types]
  2796. 13 | float f = strtof_l(s, end, loc);
  2797. | ^~~
  2798. | |
  2799. | char *
  2800. /usr/include/stdlib.h:301:42: note: expected 'char ** restrict' but argument is of type 'char *'
  2801. 301 | char **__restrict __endptr, locale_t __loc)
  2802. | ~~~~~~~~~~~~~~~~~~^~~~~~~~
  2803.  
  2804. Checking if "strtod has locale support" : links: YES
  2805. Running compile:
  2806. Working directory: /home/cain/dev/mesa/build_22.2.1/meson-private/tmpggitggwi
  2807. Command line: /usr/bin/gcc /home/cain/dev/mesa/build_22.2.1/meson-private/tmpggitggwi/testfile.c -o /home/cain/dev/mesa/build_22.2.1/meson-private/tmpggitggwi/output.exe -m32 -D_FILE_OFFSET_BITS=64 -O0 -std=c11 -Wl,-Bsymbolic
  2808.  
  2809. Code:
  2810. int main() { return 0; }
  2811. Compiler stdout:
  2812.  
  2813. Compiler stderr:
  2814.  
  2815. Checking if "Bsymbolic" : links: YES
  2816. Running compile:
  2817. Working directory: /home/cain/dev/mesa/build_22.2.1/meson-private/tmpng7778tq
  2818. Command line: /usr/bin/gcc /home/cain/dev/mesa/build_22.2.1/meson-private/tmpng7778tq/testfile.c -o /home/cain/dev/mesa/build_22.2.1/meson-private/tmpng7778tq/output.exe -m32 -D_FILE_OFFSET_BITS=64 -O0 -std=c11 -Wl,--gc-sections
  2819.  
  2820. Code:
  2821. static char unused() { return 5; } int main() { return 0; }
  2822. Compiler stdout:
  2823.  
  2824. Compiler stderr:
  2825.  
  2826. Checking if "gc-sections" : links: YES
  2827. Running compile:
  2828. Working directory: /home/cain/dev/mesa/build_22.2.1/meson-private/tmpp_o4_tpl
  2829. Command line: /usr/bin/gcc /home/cain/dev/mesa/build_22.2.1/meson-private/tmpp_o4_tpl/testfile.c -o /home/cain/dev/mesa/build_22.2.1/meson-private/tmpp_o4_tpl/output.exe -m32 -D_FILE_OFFSET_BITS=64 -O0 -std=c11 -Wl,--version-script=/home/cain/dev/mesa/build-support/conftest.map
  2830.  
  2831. Code:
  2832. int main() { return 0; }
  2833. Compiler stdout:
  2834.  
  2835. Compiler stderr:
  2836.  
  2837. Checking if "version-script" : links: YES
  2838. Running compile:
  2839. Working directory: /home/cain/dev/mesa/build_22.2.1/meson-private/tmpavf9soap
  2840. Command line: /usr/bin/gcc /home/cain/dev/mesa/build_22.2.1/meson-private/tmpavf9soap/testfile.c -o /home/cain/dev/mesa/build_22.2.1/meson-private/tmpavf9soap/output.exe -m32 -D_FILE_OFFSET_BITS=64 -O0 -std=c11 -Wl,--dynamic-list=/home/cain/dev/mesa/build-support/conftest.dyn
  2841.  
  2842. Code:
  2843. int main() { return 0; }
  2844. Compiler stdout:
  2845.  
  2846. Compiler stderr:
  2847.  
  2848. Checking if "dynamic-list" : links: YES
  2849. Running compile:
  2850. Working directory: /home/cain/dev/mesa/build_22.2.1/meson-private/tmpf8u9pk0g
  2851. Command line: /usr/bin/gcc /home/cain/dev/mesa/build_22.2.1/meson-private/tmpf8u9pk0g/testfile.c -o /home/cain/dev/mesa/build_22.2.1/meson-private/tmpf8u9pk0g/output.exe -m32 -D_FILE_OFFSET_BITS=64 -O0 -Wl,--fatal-warnings -Wl,--build-id=sha1
  2852.  
  2853. Code:
  2854. int main(void) { return 0; }
  2855.  
  2856. Compiler stdout:
  2857.  
  2858. Compiler stderr:
  2859.  
  2860. Compiler for C supports link arguments -Wl,--build-id=sha1: YES
  2861. Running compile:
  2862. Working directory: /home/cain/dev/mesa/build_22.2.1/meson-private/tmphqpepui6
  2863. Command line: /usr/bin/gcc /home/cain/dev/mesa/build_22.2.1/meson-private/tmphqpepui6/testfile.c -o /home/cain/dev/mesa/build_22.2.1/meson-private/tmphqpepui6/output.exe -m32 -D_FILE_OFFSET_BITS=64 -O0 -std=c11
  2864.  
  2865. Code:
  2866.  
  2867. #define dlopen meson_disable_define_of_dlopen
  2868.  
  2869. #include <limits.h>
  2870. #undef dlopen
  2871.  
  2872. #ifdef __cplusplus
  2873. extern "C"
  2874. #endif
  2875. char dlopen (void);
  2876.  
  2877. #if defined __stub_dlopen || defined __stub___dlopen
  2878. fail fail fail this function is not going to work
  2879. #endif
  2880.  
  2881. int main(void) {
  2882. return dlopen ();
  2883. }
  2884. Compiler stdout:
  2885.  
  2886. Compiler stderr:
  2887.  
  2888. Checking for function "dlopen" : YES
  2889. Running compile:
  2890. Working directory: /home/cain/dev/mesa/build_22.2.1/meson-private/tmpbp90i8vi
  2891. Command line: /usr/bin/gcc /home/cain/dev/mesa/build_22.2.1/meson-private/tmpbp90i8vi/testfile.c -o /home/cain/dev/mesa/build_22.2.1/meson-private/tmpbp90i8vi/output.exe -m32 -D_FILE_OFFSET_BITS=64 -O0 -std=c11
  2892.  
  2893. Code:
  2894.  
  2895. #define dladdr meson_disable_define_of_dladdr
  2896.  
  2897. #include <limits.h>
  2898. #undef dladdr
  2899.  
  2900. #ifdef __cplusplus
  2901. extern "C"
  2902. #endif
  2903. char dladdr (void);
  2904.  
  2905. #if defined __stub_dladdr || defined __stub___dladdr
  2906. fail fail fail this function is not going to work
  2907. #endif
  2908.  
  2909. int main(void) {
  2910. return dladdr ();
  2911. }
  2912. Compiler stdout:
  2913.  
  2914. Compiler stderr:
  2915.  
  2916. Checking for function "dladdr" with dependency : YES
  2917. Running compile:
  2918. Working directory: /home/cain/dev/mesa/build_22.2.1/meson-private/tmpqppbe27i
  2919. Command line: /usr/bin/gcc /home/cain/dev/mesa/build_22.2.1/meson-private/tmpqppbe27i/testfile.c -o /home/cain/dev/mesa/build_22.2.1/meson-private/tmpqppbe27i/output.exe -m32 -D_FILE_OFFSET_BITS=64 -O0 -std=c11
  2920.  
  2921. Code:
  2922.  
  2923. #define dl_iterate_phdr meson_disable_define_of_dl_iterate_phdr
  2924.  
  2925. #include <limits.h>
  2926. #undef dl_iterate_phdr
  2927.  
  2928. #ifdef __cplusplus
  2929. extern "C"
  2930. #endif
  2931. char dl_iterate_phdr (void);
  2932.  
  2933. #if defined __stub_dl_iterate_phdr || defined __stub___dl_iterate_phdr
  2934. fail fail fail this function is not going to work
  2935. #endif
  2936.  
  2937. int main(void) {
  2938. return dl_iterate_phdr ();
  2939. }
  2940. Compiler stdout:
  2941.  
  2942. Compiler stderr:
  2943.  
  2944. Checking for function "dl_iterate_phdr" : YES
  2945. Running compile:
  2946. Working directory: /home/cain/dev/mesa/build_22.2.1/meson-private/tmpl7nr6_6_
  2947. Command line: /usr/bin/gcc /home/cain/dev/mesa/build_22.2.1/meson-private/tmpl7nr6_6_/testfile.c -o /home/cain/dev/mesa/build_22.2.1/meson-private/tmpl7nr6_6_/output.exe -m32 -D_FILE_OFFSET_BITS=64 -O0 -std=c11
  2948.  
  2949. Code:
  2950.  
  2951. #define clock_gettime meson_disable_define_of_clock_gettime
  2952.  
  2953. #include <limits.h>
  2954. #undef clock_gettime
  2955.  
  2956. #ifdef __cplusplus
  2957. extern "C"
  2958. #endif
  2959. char clock_gettime (void);
  2960.  
  2961. #if defined __stub_clock_gettime || defined __stub___clock_gettime
  2962. fail fail fail this function is not going to work
  2963. #endif
  2964.  
  2965. int main(void) {
  2966. return clock_gettime ();
  2967. }
  2968. Compiler stdout:
  2969.  
  2970. Compiler stderr:
  2971.  
  2972. Checking for function "clock_gettime" : YES
  2973. Pkg-config binary for 1 is cached.
  2974. Determining dependency 'zlib' with pkg-config executable '/usr/bin/pkgconf'
  2975. env[PKG_CONFIG_PATH]:
  2976. env[PKG_CONFIG_LIBDIR]: /usr/lib32/pkgconfig
  2977. Called `/usr/bin/pkgconf --modversion zlib` -> 0
  2978. 1.2.13
  2979. env[PKG_CONFIG_PATH]:
  2980. env[PKG_CONFIG_LIBDIR]: /usr/lib32/pkgconfig
  2981. Called `/usr/bin/pkgconf --cflags zlib` -> 0
  2982.  
  2983. env[PKG_CONFIG_ALLOW_SYSTEM_LIBS]: 1
  2984. env[PKG_CONFIG_PATH]:
  2985. env[PKG_CONFIG_LIBDIR]: /usr/lib32/pkgconfig
  2986. Called `/usr/bin/pkgconf --libs zlib` -> 0
  2987. -L/usr/lib32 -lz
  2988. env[PKG_CONFIG_PATH]:
  2989. env[PKG_CONFIG_LIBDIR]: /usr/lib32/pkgconfig
  2990. Called `/usr/bin/pkgconf --libs zlib` -> 0
  2991. -L/usr/lib32 -lz
  2992. Run-time dependency zlib found: YES 1.2.13
  2993. Pkg-config binary for 1 is cached.
  2994. Determining dependency 'libzstd' with pkg-config executable '/usr/bin/pkgconf'
  2995. env[PKG_CONFIG_PATH]:
  2996. env[PKG_CONFIG_LIBDIR]: /usr/lib32/pkgconfig
  2997. Called `/usr/bin/pkgconf --modversion libzstd` -> 0
  2998. 1.5.2
  2999. env[PKG_CONFIG_PATH]:
  3000. env[PKG_CONFIG_LIBDIR]: /usr/lib32/pkgconfig
  3001. Called `/usr/bin/pkgconf --cflags libzstd` -> 0
  3002. -I/usr/local/include
  3003. env[PKG_CONFIG_ALLOW_SYSTEM_LIBS]: 1
  3004. env[PKG_CONFIG_PATH]:
  3005. env[PKG_CONFIG_LIBDIR]: /usr/lib32/pkgconfig
  3006. Called `/usr/bin/pkgconf --libs libzstd` -> 0
  3007. -L/usr/local/lib -lzstd
  3008. env[PKG_CONFIG_PATH]:
  3009. env[PKG_CONFIG_LIBDIR]: /usr/lib32/pkgconfig
  3010. Called `/usr/bin/pkgconf --libs libzstd` -> 0
  3011. -L/usr/local/lib -lzstd
  3012. Run-time dependency libzstd found: YES 1.5.2
  3013. Run-time dependency threads found: YES
  3014. Running compile:
  3015. Working directory: /home/cain/dev/mesa/build_22.2.1/meson-private/tmplv9cl1rr
  3016. Command line: /usr/bin/gcc /home/cain/dev/mesa/build_22.2.1/meson-private/tmplv9cl1rr/testfile.c -o /home/cain/dev/mesa/build_22.2.1/meson-private/tmplv9cl1rr/output.exe -pthread -m32 -D_FILE_OFFSET_BITS=64 -O0 -std=c11 -D_GNU_SOURCE
  3017.  
  3018. Code:
  3019. #include <pthread.h>
  3020. #include <limits.h>
  3021.  
  3022. #if defined __stub_pthread_setaffinity_np || defined __stub___pthread_setaffinity_np
  3023. fail fail fail this function is not going to work
  3024. #endif
  3025.  
  3026. int main(void) {
  3027. void *a = (void*) &pthread_setaffinity_np;
  3028. long long b = (long long) a;
  3029. return (int) b;
  3030. }
  3031. Compiler stdout:
  3032.  
  3033. Compiler stderr:
  3034. /home/cain/dev/mesa/build_22.2.1/meson-private/tmplv9cl1rr/testfile.c: In function 'main':
  3035. /home/cain/dev/mesa/build_22.2.1/meson-private/tmplv9cl1rr/testfile.c:10:27: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  3036. 10 | long long b = (long long) a;
  3037. | ^
  3038.  
  3039. Checking for function "pthread_setaffinity_np" with dependency threads: YES
  3040. Pkg-config binary for 1 is cached.
  3041. Determining dependency 'expat' with pkg-config executable '/usr/bin/pkgconf'
  3042. env[PKG_CONFIG_PATH]:
  3043. env[PKG_CONFIG_LIBDIR]: /usr/lib32/pkgconfig
  3044. Called `/usr/bin/pkgconf --modversion expat` -> 0
  3045. 2.5.0
  3046. env[PKG_CONFIG_PATH]:
  3047. env[PKG_CONFIG_LIBDIR]: /usr/lib32/pkgconfig
  3048. Called `/usr/bin/pkgconf --cflags expat` -> 0
  3049.  
  3050. env[PKG_CONFIG_ALLOW_SYSTEM_LIBS]: 1
  3051. env[PKG_CONFIG_PATH]:
  3052. env[PKG_CONFIG_LIBDIR]: /usr/lib32/pkgconfig
  3053. Called `/usr/bin/pkgconf --libs expat` -> 0
  3054. -L/usr/lib32 -lexpat
  3055. env[PKG_CONFIG_PATH]:
  3056. env[PKG_CONFIG_LIBDIR]: /usr/lib32/pkgconfig
  3057. Called `/usr/bin/pkgconf --libs expat` -> 0
  3058. -L/usr/lib32 -lexpat
  3059. Run-time dependency expat found: YES 2.5.0
  3060. Running compile:
  3061. Working directory: /home/cain/dev/mesa/build_22.2.1/meson-private/tmpnh14zyd4
  3062. Command line: /usr/bin/gcc /home/cain/dev/mesa/build_22.2.1/meson-private/tmpnh14zyd4/testfile.c -o /home/cain/dev/mesa/build_22.2.1/meson-private/tmpnh14zyd4/output.exe -m32 -D_FILE_OFFSET_BITS=64 -O0 -Wl,--start-group -lm -Wl,--end-group -Wl,--allow-shlib-undefined
  3063.  
  3064. Code:
  3065. int main(void) { return 0; }
  3066.  
  3067. Compiler stdout:
  3068.  
  3069. Compiler stderr:
  3070.  
  3071. Library m found: YES
  3072. Message: libdrm 2.4.110 needed because amdgpu has the highest requirement
  3073. Pkg-config binary for 1 is cached.
  3074. Determining dependency 'libdrm_intel' with pkg-config executable '/usr/bin/pkgconf'
  3075. env[PKG_CONFIG_PATH]:
  3076. env[PKG_CONFIG_LIBDIR]: /usr/lib32/pkgconfig
  3077. Called `/usr/bin/pkgconf --modversion libdrm_intel` -> 0
  3078. 2.4.114
  3079. env[PKG_CONFIG_PATH]:
  3080. env[PKG_CONFIG_LIBDIR]: /usr/lib32/pkgconfig
  3081. Called `/usr/bin/pkgconf --cflags libdrm_intel` -> 0
  3082. -I/usr/include/libdrm
  3083. env[PKG_CONFIG_ALLOW_SYSTEM_LIBS]: 1
  3084. env[PKG_CONFIG_PATH]:
  3085. env[PKG_CONFIG_LIBDIR]: /usr/lib32/pkgconfig
  3086. Called `/usr/bin/pkgconf --libs libdrm_intel` -> 0
  3087. -L/usr/lib32 -ldrm_intel -ldrm
  3088. env[PKG_CONFIG_PATH]:
  3089. env[PKG_CONFIG_LIBDIR]: /usr/lib32/pkgconfig
  3090. Called `/usr/bin/pkgconf --libs libdrm_intel` -> 0
  3091. -L/usr/lib32 -ldrm_intel -ldrm
  3092. Run-time dependency libdrm_intel found: YES 2.4.114
  3093. Pkg-config binary for 1 is cached.
  3094. Determining dependency 'libdrm_amdgpu' with pkg-config executable '/usr/bin/pkgconf'
  3095. env[PKG_CONFIG_PATH]:
  3096. env[PKG_CONFIG_LIBDIR]: /usr/lib32/pkgconfig
  3097. Called `/usr/bin/pkgconf --modversion libdrm_amdgpu` -> 0
  3098. 2.4.114
  3099. env[PKG_CONFIG_PATH]:
  3100. env[PKG_CONFIG_LIBDIR]: /usr/lib32/pkgconfig
  3101. Called `/usr/bin/pkgconf --cflags libdrm_amdgpu` -> 0
  3102. -I/usr/include/libdrm
  3103. env[PKG_CONFIG_ALLOW_SYSTEM_LIBS]: 1
  3104. env[PKG_CONFIG_PATH]:
  3105. env[PKG_CONFIG_LIBDIR]: /usr/lib32/pkgconfig
  3106. Called `/usr/bin/pkgconf --libs libdrm_amdgpu` -> 0
  3107. -L/usr/lib32 -ldrm_amdgpu
  3108. env[PKG_CONFIG_PATH]:
  3109. env[PKG_CONFIG_LIBDIR]: /usr/lib32/pkgconfig
  3110. Called `/usr/bin/pkgconf --libs libdrm_amdgpu` -> 0
  3111. -L/usr/lib32 -ldrm_amdgpu
  3112. Run-time dependency libdrm_amdgpu found: YES 2.4.114
  3113. Pkg-config binary for 1 is cached.
  3114. Determining dependency 'libdrm_radeon' with pkg-config executable '/usr/bin/pkgconf'
  3115. env[PKG_CONFIG_PATH]:
  3116. env[PKG_CONFIG_LIBDIR]: /usr/lib32/pkgconfig
  3117. Called `/usr/bin/pkgconf --modversion libdrm_radeon` -> 0
  3118. 2.4.114
  3119. env[PKG_CONFIG_PATH]:
  3120. env[PKG_CONFIG_LIBDIR]: /usr/lib32/pkgconfig
  3121. Called `/usr/bin/pkgconf --cflags libdrm_radeon` -> 0
  3122. -I/usr/include/libdrm
  3123. env[PKG_CONFIG_ALLOW_SYSTEM_LIBS]: 1
  3124. env[PKG_CONFIG_PATH]:
  3125. env[PKG_CONFIG_LIBDIR]: /usr/lib32/pkgconfig
  3126. Called `/usr/bin/pkgconf --libs libdrm_radeon` -> 0
  3127. -L/usr/lib32 -ldrm_radeon
  3128. env[PKG_CONFIG_PATH]:
  3129. env[PKG_CONFIG_LIBDIR]: /usr/lib32/pkgconfig
  3130. Called `/usr/bin/pkgconf --libs libdrm_radeon` -> 0
  3131. -L/usr/lib32 -ldrm_radeon
  3132. Run-time dependency libdrm_radeon found: YES 2.4.114
  3133. Pkg-config binary for 1 is cached.
  3134. Determining dependency 'libdrm_nouveau' with pkg-config executable '/usr/bin/pkgconf'
  3135. env[PKG_CONFIG_PATH]:
  3136. env[PKG_CONFIG_LIBDIR]: /usr/lib32/pkgconfig
  3137. Called `/usr/bin/pkgconf --modversion libdrm_nouveau` -> 0
  3138. 2.4.114
  3139. env[PKG_CONFIG_PATH]:
  3140. env[PKG_CONFIG_LIBDIR]: /usr/lib32/pkgconfig
  3141. Called `/usr/bin/pkgconf --cflags libdrm_nouveau` -> 0
  3142. -I/usr/include/libdrm -I/usr/include/libdrm/nouveau
  3143. env[PKG_CONFIG_ALLOW_SYSTEM_LIBS]: 1
  3144. env[PKG_CONFIG_PATH]:
  3145. env[PKG_CONFIG_LIBDIR]: /usr/lib32/pkgconfig
  3146. Called `/usr/bin/pkgconf --libs libdrm_nouveau` -> 0
  3147. -L/usr/lib32 -ldrm_nouveau
  3148. env[PKG_CONFIG_PATH]:
  3149. env[PKG_CONFIG_LIBDIR]: /usr/lib32/pkgconfig
  3150. Called `/usr/bin/pkgconf --libs libdrm_nouveau` -> 0
  3151. -L/usr/lib32 -ldrm_nouveau
  3152. Run-time dependency libdrm_nouveau found: YES 2.4.114
  3153. Pkg-config binary for 1 is cached.
  3154. Determining dependency 'libdrm' with pkg-config executable '/usr/bin/pkgconf'
  3155. env[PKG_CONFIG_PATH]:
  3156. env[PKG_CONFIG_LIBDIR]: /usr/lib32/pkgconfig
  3157. Called `/usr/bin/pkgconf --modversion libdrm` -> 0
  3158. 2.4.114
  3159. env[PKG_CONFIG_PATH]:
  3160. env[PKG_CONFIG_LIBDIR]: /usr/lib32/pkgconfig
  3161. Called `/usr/bin/pkgconf --cflags libdrm` -> 0
  3162. -I/usr/include/libdrm
  3163. env[PKG_CONFIG_ALLOW_SYSTEM_LIBS]: 1
  3164. env[PKG_CONFIG_PATH]:
  3165. env[PKG_CONFIG_LIBDIR]: /usr/lib32/pkgconfig
  3166. Called `/usr/bin/pkgconf --libs libdrm` -> 0
  3167. -L/usr/lib32 -ldrm
  3168. env[PKG_CONFIG_PATH]:
  3169. env[PKG_CONFIG_LIBDIR]: /usr/lib32/pkgconfig
  3170. Called `/usr/bin/pkgconf --libs libdrm` -> 0
  3171. -L/usr/lib32 -ldrm
  3172. Run-time dependency libdrm found: YES 2.4.114
  3173. Pkg-config binary for 1 is cached.
  3174. Determining dependency 'libudev' with pkg-config executable '/usr/bin/pkgconf'
  3175. env[PKG_CONFIG_PATH]:
  3176. env[PKG_CONFIG_LIBDIR]: /usr/lib32/pkgconfig
  3177. Called `/usr/bin/pkgconf --modversion libudev` -> 0
  3178. 252
  3179. env[PKG_CONFIG_PATH]:
  3180. env[PKG_CONFIG_LIBDIR]: /usr/lib32/pkgconfig
  3181. Called `/usr/bin/pkgconf --cflags libudev` -> 0
  3182.  
  3183. env[PKG_CONFIG_ALLOW_SYSTEM_LIBS]: 1
  3184. env[PKG_CONFIG_PATH]:
  3185. env[PKG_CONFIG_LIBDIR]: /usr/lib32/pkgconfig
  3186. Called `/usr/bin/pkgconf --libs libudev` -> 0
  3187. -L/usr/lib32 -ludev
  3188. env[PKG_CONFIG_PATH]:
  3189. env[PKG_CONFIG_LIBDIR]: /usr/lib32/pkgconfig
  3190. Called `/usr/bin/pkgconf --libs libudev` -> 0
  3191. -L/usr/lib32 -ludev
  3192. Run-time dependency libudev found: YES 252
  3193. CMake binary for 1 is cached as not found
  3194. CMake binary for machine 1 not found. Giving up.
  3195. WARNING: Ignoring LLVM CMake dependency because dynamic was requested
  3196. llvm-config binary for 1 specified from cross file, native file, or env var as ['/usr/bin/llvm-config32']
  3197. llvm-config found: YES (/usr/bin/llvm-config32) 14.0.6
  3198. Run-time dependency LLVM (modules: amdgpu, asmparser, bitreader, bitwriter, core, engine, executionengine, instcombine, ipo, mcdisassembler, mcjit, native, scalaropts, transformutils, coroutines) found: YES 14.0.6
  3199. Got config-tool variable has-rtti : YES
  3200. Pkg-config binary for 1 is cached.
  3201. Determining dependency 'libelf' with pkg-config executable '/usr/bin/pkgconf'
  3202. env[PKG_CONFIG_PATH]:
  3203. env[PKG_CONFIG_LIBDIR]: /usr/lib32/pkgconfig
  3204. Called `/usr/bin/pkgconf --modversion libelf` -> 0
  3205. 0.188
  3206. env[PKG_CONFIG_PATH]:
  3207. env[PKG_CONFIG_LIBDIR]: /usr/lib32/pkgconfig
  3208. Called `/usr/bin/pkgconf --cflags libelf` -> 0
  3209.  
  3210. env[PKG_CONFIG_ALLOW_SYSTEM_LIBS]: 1
  3211. env[PKG_CONFIG_PATH]:
  3212. env[PKG_CONFIG_LIBDIR]: /usr/lib32/pkgconfig
  3213. Called `/usr/bin/pkgconf --libs libelf` -> 0
  3214. -L/usr/lib32 -lelf
  3215. env[PKG_CONFIG_PATH]:
  3216. env[PKG_CONFIG_LIBDIR]: /usr/lib32/pkgconfig
  3217. Called `/usr/bin/pkgconf --libs libelf` -> 0
  3218. -L/usr/lib32 -lelf
  3219. Run-time dependency libelf found: YES 0.188
  3220. Pkg-config binary for 1 is cached.
  3221. Determining dependency 'valgrind' with pkg-config executable '/usr/bin/pkgconf'
  3222. env[PKG_CONFIG_PATH]:
  3223. env[PKG_CONFIG_LIBDIR]: /usr/lib32/pkgconfig
  3224. Called `/usr/bin/pkgconf --modversion valgrind` -> 1
  3225.  
  3226. Run-time dependency valgrind found: NO (tried pkgconfig)
  3227. Program bison found: YES (/usr/bin/bison)
  3228. Running command: /usr/bin/bison --version
  3229. --- stdout ---
  3230. bison (GNU Bison) 3.8.2
  3231. Written by Robert Corbett and Richard Stallman.
  3232.  
  3233. Copyright (C) 2021 Free Software Foundation, Inc.
  3234. This is free software; see the source for copying conditions. There is NO
  3235. warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  3236.  
  3237. --- stderr ---
  3238.  
  3239.  
  3240. Program bison found: YES 3.8.2 (/usr/bin/bison)
  3241. Program flex found: YES (/usr/bin/flex)
  3242. Pkg-config binary for 1 is cached.
  3243. Determining dependency 'libunwind' with pkg-config executable '/usr/bin/pkgconf'
  3244. env[PKG_CONFIG_PATH]:
  3245. env[PKG_CONFIG_LIBDIR]: /usr/lib32/pkgconfig
  3246. Called `/usr/bin/pkgconf --modversion libunwind` -> 0
  3247. 1.6.2
  3248. env[PKG_CONFIG_PATH]:
  3249. env[PKG_CONFIG_LIBDIR]: /usr/lib32/pkgconfig
  3250. Called `/usr/bin/pkgconf --cflags libunwind` -> 0
  3251.  
  3252. env[PKG_CONFIG_ALLOW_SYSTEM_LIBS]: 1
  3253. env[PKG_CONFIG_PATH]:
  3254. env[PKG_CONFIG_LIBDIR]: /usr/lib32/pkgconfig
  3255. Called `/usr/bin/pkgconf --libs libunwind` -> 0
  3256. -L/usr/lib32 -lunwind
  3257. env[PKG_CONFIG_PATH]:
  3258. env[PKG_CONFIG_LIBDIR]: /usr/lib32/pkgconfig
  3259. Called `/usr/bin/pkgconf --libs libunwind` -> 0
  3260. -L/usr/lib32 -lunwind
  3261. Run-time dependency libunwind found: YES 1.6.2
  3262. Pkg-config binary for 0 is not cached.
  3263. Pkg-config binary missing from cross or native file, or env var undefined.
  3264. Trying a default Pkg-config fallback at pkg-config
  3265. Found pkg-config: /usr/bin/pkg-config (1.8.0)
  3266. Determining dependency 'wayland-scanner' with pkg-config executable '/usr/bin/pkg-config'
  3267. env[PKG_CONFIG_PATH]:
  3268. Called `/usr/bin/pkg-config --modversion wayland-scanner` -> 0
  3269. 1.21.0
  3270. env[PKG_CONFIG_PATH]:
  3271. Called `/usr/bin/pkg-config --cflags wayland-scanner` -> 0
  3272.  
  3273. env[PKG_CONFIG_ALLOW_SYSTEM_LIBS]: 1
  3274. env[PKG_CONFIG_PATH]:
  3275. Called `/usr/bin/pkg-config --libs wayland-scanner` -> 0
  3276.  
  3277. env[PKG_CONFIG_PATH]:
  3278. Called `/usr/bin/pkg-config --libs wayland-scanner` -> 0
  3279.  
  3280. Build-time dependency wayland-scanner found: YES 1.21.0
  3281. env[PKG_CONFIG_PATH]:
  3282. Called `/usr/bin/pkg-config --variable=wayland_scanner wayland-scanner` -> 0
  3283. /usr/bin/wayland-scanner
  3284. Got pkgconfig variable wayland_scanner : /usr/bin/wayland-scanner
  3285. Program /usr/bin/wayland-scanner found: YES (/usr/bin/wayland-scanner)
  3286. Pkg-config binary for 1 is cached.
  3287. Determining dependency 'wayland-protocols' with pkg-config executable '/usr/bin/pkgconf'
  3288. env[PKG_CONFIG_PATH]:
  3289. env[PKG_CONFIG_LIBDIR]: /usr/lib32/pkgconfig
  3290. Called `/usr/bin/pkgconf --modversion wayland-protocols` -> 0
  3291. 1.31
  3292. env[PKG_CONFIG_PATH]:
  3293. env[PKG_CONFIG_LIBDIR]: /usr/lib32/pkgconfig
  3294. Called `/usr/bin/pkgconf --cflags wayland-protocols` -> 0
  3295.  
  3296. env[PKG_CONFIG_ALLOW_SYSTEM_LIBS]: 1
  3297. env[PKG_CONFIG_PATH]:
  3298. env[PKG_CONFIG_LIBDIR]: /usr/lib32/pkgconfig
  3299. Called `/usr/bin/pkgconf --libs wayland-protocols` -> 0
  3300.  
  3301. env[PKG_CONFIG_PATH]:
  3302. env[PKG_CONFIG_LIBDIR]: /usr/lib32/pkgconfig
  3303. Called `/usr/bin/pkgconf --libs wayland-protocols` -> 0
  3304.  
  3305. Run-time dependency wayland-protocols found: YES 1.31
  3306. Pkg-config binary for 1 is cached.
  3307. Determining dependency 'wayland-client' with pkg-config executable '/usr/bin/pkgconf'
  3308. env[PKG_CONFIG_PATH]:
  3309. env[PKG_CONFIG_LIBDIR]: /usr/lib32/pkgconfig
  3310. Called `/usr/bin/pkgconf --modversion wayland-client` -> 0
  3311. 1.21.0
  3312. env[PKG_CONFIG_PATH]:
  3313. env[PKG_CONFIG_LIBDIR]: /usr/lib32/pkgconfig
  3314. Called `/usr/bin/pkgconf --cflags wayland-client` -> 0
  3315.  
  3316. env[PKG_CONFIG_ALLOW_SYSTEM_LIBS]: 1
  3317. env[PKG_CONFIG_PATH]:
  3318. env[PKG_CONFIG_LIBDIR]: /usr/lib32/pkgconfig
  3319. Called `/usr/bin/pkgconf --libs wayland-client` -> 0
  3320. -L/usr/lib32 -lwayland-client
  3321. env[PKG_CONFIG_PATH]:
  3322. env[PKG_CONFIG_LIBDIR]: /usr/lib32/pkgconfig
  3323. Called `/usr/bin/pkgconf --libs wayland-client` -> 0
  3324. -L/usr/lib32 -lwayland-client
  3325. Run-time dependency wayland-client found: YES 1.21.0
  3326. Pkg-config binary for 1 is cached.
  3327. Determining dependency 'wayland-server' with pkg-config executable '/usr/bin/pkgconf'
  3328. env[PKG_CONFIG_PATH]:
  3329. env[PKG_CONFIG_LIBDIR]: /usr/lib32/pkgconfig
  3330. Called `/usr/bin/pkgconf --modversion wayland-server` -> 0
  3331. 1.21.0
  3332. env[PKG_CONFIG_PATH]:
  3333. env[PKG_CONFIG_LIBDIR]: /usr/lib32/pkgconfig
  3334. Called `/usr/bin/pkgconf --cflags wayland-server` -> 0
  3335.  
  3336. env[PKG_CONFIG_ALLOW_SYSTEM_LIBS]: 1
  3337. env[PKG_CONFIG_PATH]:
  3338. env[PKG_CONFIG_LIBDIR]: /usr/lib32/pkgconfig
  3339. Called `/usr/bin/pkgconf --libs wayland-server` -> 0
  3340. -L/usr/lib32 -lwayland-server
  3341. env[PKG_CONFIG_PATH]:
  3342. env[PKG_CONFIG_LIBDIR]: /usr/lib32/pkgconfig
  3343. Called `/usr/bin/pkgconf --libs wayland-server` -> 0
  3344. -L/usr/lib32 -lwayland-server
  3345. Run-time dependency wayland-server found: YES 1.21.0
  3346. Pkg-config binary for 1 is cached.
  3347. Determining dependency 'wayland-egl-backend' with pkg-config executable '/usr/bin/pkgconf'
  3348. env[PKG_CONFIG_PATH]:
  3349. env[PKG_CONFIG_LIBDIR]: /usr/lib32/pkgconfig
  3350. Called `/usr/bin/pkgconf --modversion wayland-egl-backend` -> 0
  3351. 3
  3352. env[PKG_CONFIG_PATH]:
  3353. env[PKG_CONFIG_LIBDIR]: /usr/lib32/pkgconfig
  3354. Called `/usr/bin/pkgconf --cflags wayland-egl-backend` -> 0
  3355.  
  3356. env[PKG_CONFIG_ALLOW_SYSTEM_LIBS]: 1
  3357. env[PKG_CONFIG_PATH]:
  3358. env[PKG_CONFIG_LIBDIR]: /usr/lib32/pkgconfig
  3359. Called `/usr/bin/pkgconf --libs wayland-egl-backend` -> 0
  3360.  
  3361. env[PKG_CONFIG_PATH]:
  3362. env[PKG_CONFIG_LIBDIR]: /usr/lib32/pkgconfig
  3363. Called `/usr/bin/pkgconf --libs wayland-egl-backend` -> 0
  3364.  
  3365. Run-time dependency wayland-egl-backend found: YES 3
  3366. env[PKG_CONFIG_PATH]:
  3367. env[PKG_CONFIG_LIBDIR]: /usr/lib32/pkgconfig
  3368. Called `/usr/bin/pkgconf --variable=pkgdatadir wayland-protocols` -> 0
  3369. //usr/share/wayland-protocols
  3370. Got pkgconfig variable pkgdatadir : //usr/share/wayland-protocols
  3371. Pkg-config binary for 1 is cached.
  3372. Determining dependency 'x11' with pkg-config executable '/usr/bin/pkgconf'
  3373. env[PKG_CONFIG_PATH]:
  3374. env[PKG_CONFIG_LIBDIR]: /usr/lib32/pkgconfig
  3375. Called `/usr/bin/pkgconf --modversion x11` -> 1
  3376.  
  3377. CMake binary for 1 is cached as not found
  3378. Dependency lookup for x11 with method 'cmake' failed: CMake binary for machine 1 not found. Giving up.
  3379. Run-time dependency x11 found: NO (tried pkgconfig)
  3380.  
  3381. meson.build:2102:4: ERROR: Dependency "x11" not found, tried pkgconfig
  3382.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement