Advertisement
Guest User

meson git + lcc @ e2k

a guest
Feb 22nd, 2018
187
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 195.15 KB | None | 0 0
  1.  
  2. sakuya /usr/src/meson/meson # ./run_unittests.py
  3. .........s....F
  4. Stdout:
  5. The Meson build system
  6. Version: 0.45.0.dev1
  7. Source dir: /usr/src/meson/meson/test cases/common/64 custom header generator
  8. Build dir: /tmp/tmp4zcapp37
  9. Build type: native build
  10. Project name: custom header generator
  11. Native C compiler: cc (gcc 4.8.0 "lcc:1.21.22:Oct-15-2017:e2k-v4-linux")
  12. Build machine cpu family: e2k
  13. Build machine cpu: e2k
  14. Program makeheader.py found: YES (/usr/bin/env python3 /usr/src/meson/meson/test cases/common/64 custom header generator/makeheader.py)
  15. Build targets in project: 2
  16. Found ninja-1.8.2 at /usr/bin/ninja
  17.  
  18. ninja explain: deps for 'prog@exe/prog.c.o' are missing
  19. ninja explain: output myheader.lh doesn't exist
  20. ninja explain: prog@exe/prog.c.o is dirty
  21. ninja explain: prog is dirty
  22. [1/3] Generating makeheader.py with a custom command.
  23. [2/3] Compiling C object 'prog@exe/prog.c.o'.
  24. [3/3] Linking target prog.
  25.  
  26. ninja explain: output ../../usr/src/meson/meson/test of phony edge with no inputs doesn't exist
  27. ninja explain: ../../usr/src/meson/meson/test is dirty
  28. ninja explain: output cases/common/64 of phony edge with no inputs doesn't exist
  29. ninja explain: cases/common/64 is dirty
  30. ninja explain: output custom of phony edge with no inputs doesn't exist
  31. ninja explain: custom is dirty
  32. ninja explain: output header of phony edge with no inputs doesn't exist
  33. ninja explain: header is dirty
  34. ninja explain: output generator/prog.c of phony edge with no inputs doesn't exist
  35. ninja explain: generator/prog.c is dirty
  36. ninja explain: prog@exe/prog.c.o is dirty
  37. ninja explain: prog is dirty
  38. [1/2] Compiling C object 'prog@exe/prog.c.o'.
  39. [2/2] Linking target prog.
  40.  
  41. ...........E
  42. Stdout:
  43. Traceback (most recent call last):
  44. File "/usr/src/meson/meson/mesonbuild/mesonmain.py", line 363, in run
  45. app.generate()
  46. File "/usr/src/meson/meson/mesonbuild/mesonmain.py", line 150, in generate
  47. self._generate(env)
  48. File "/usr/src/meson/meson/mesonbuild/mesonmain.py", line 197, in _generate
  49. intr.run()
  50. File "/usr/src/meson/meson/mesonbuild/interpreter.py", line 2987, in run
  51. super().run()
  52. File "/usr/src/meson/meson/mesonbuild/interpreterbase.py", line 173, in run
  53. self.evaluate_codeblock(self.ast, start=1)
  54. File "/usr/src/meson/meson/mesonbuild/interpreterbase.py", line 195, in evaluate_codeblock
  55. raise e
  56. File "/usr/src/meson/meson/mesonbuild/interpreterbase.py", line 189, in evaluate_codeblock
  57. self.evaluate_statement(cur)
  58. File "/usr/src/meson/meson/mesonbuild/interpreterbase.py", line 202, in evaluate_statement
  59. return self.assignment(cur)
  60. File "/usr/src/meson/meson/mesonbuild/interpreterbase.py", line 674, in assignment
  61. value = self.evaluate_statement(node.value)
  62. File "/usr/src/meson/meson/mesonbuild/interpreterbase.py", line 200, in evaluate_statement
  63. return self.function_call(cur)
  64. File "/usr/src/meson/meson/mesonbuild/interpreterbase.py", line 456, in function_call
  65. return self.funcs[func_name](node, self.flatten(posargs), kwargs)
  66. File "/usr/src/meson/meson/mesonbuild/interpreterbase.py", line 79, in wrapped
  67. return f(s, node_or_state, args, kwargs)
  68. File "/usr/src/meson/meson/mesonbuild/interpreter.py", line 2292, in func_dependency
  69. dep = dependencies.find_external_dependency(name, self.environment, kwargs)
  70. File "/usr/src/meson/meson/mesonbuild/dependencies/base.py", line 973, in find_external_dependency
  71. raise pkg_exc
  72. File "/usr/src/meson/meson/mesonbuild/dependencies/base.py", line 960, in find_external_dependency
  73. pkgdep = PkgConfigDependency(name, env, kwargs)
  74. File "/usr/src/meson/meson/mesonbuild/dependencies/base.py", line 442, in __init__
  75. self._set_libs()
  76. File "/usr/src/meson/meson/mesonbuild/dependencies/base.py", line 531, in _set_libs
  77. args = self.compiler.find_library(lib[2:], self.env, libpaths, libtype='static')
  78. File "/usr/src/meson/meson/mesonbuild/compilers/c.py", line 786, in find_library
  79. extra_dirs += self.get_library_dirs()
  80. File "/usr/src/meson/meson/mesonbuild/compilers/c.py", line 164, in get_library_dirs
  81. libstr = line.split('=', 1)[1]
  82. IndexError: list index out of range
  83. The Meson build system
  84. Version: 0.45.0.dev1
  85. Source dir: /usr/src/meson/meson/test cases/unit/17 pkgconfig static
  86. Build dir: /tmp/tmpnqdibp55
  87. Build type: native build
  88. Project name: pkg-config static
  89. Native C compiler: cc (gcc 4.8.0 "lcc:1.21.22:Oct-15-2017:e2k-v4-linux")
  90. Build machine cpu family: e2k
  91. Build machine cpu: e2k
  92. Message: /usr/src/meson/meson/test cases/unit/17 pkgconfig static
  93. Configuring foo.pc using configuration
  94. Found pkg-config: /usr/bin/pkg-config (0.29)
  95.  
  96. Build started at 2018-02-22T18:24:32.046575
  97. Main binary: /usr/bin/python3
  98. Python system: Linux
  99. The Meson build system
  100. Version: 0.45.0.dev1
  101. Source dir: /usr/src/meson/meson/test cases/unit/17 pkgconfig static
  102. Build dir: /tmp/tmpnqdibp55
  103. Build type: native build
  104. Project name: pkg-config static
  105. Sanity testing C compiler: cc
  106. Is cross compiler: False.
  107. Sanity check compiler command line: cc /tmp/tmpnqdibp55/meson-private/sanitycheckc.c -o /tmp/tmpnqdibp55/meson-private/sanitycheckc.exe
  108. Sanity check compile stdout:
  109.  
  110. -----
  111. Sanity check compile stderr:
  112.  
  113. -----
  114. Running test binary command: /tmp/tmpnqdibp55/meson-private/sanitycheckc.exe
  115. Native C compiler: cc (gcc 4.8.0 "lcc:1.21.22:Oct-15-2017:e2k-v4-linux")
  116. Build machine cpu family: e2k
  117. Build machine cpu: e2k
  118. Message: /usr/src/meson/meson/test cases/unit/17 pkgconfig static
  119. Configuring foo.pc using configuration
  120. Found pkg-config: /usr/bin/pkg-config (0.29)
  121. Determining dependency 'foo' with pkg-config executable '/usr/bin/pkg-config'
  122.  
  123. .E
  124. Stdout:
  125. Traceback (most recent call last):
  126. File "/usr/src/meson/meson/mesonbuild/mesonmain.py", line 363, in run
  127. app.generate()
  128. File "/usr/src/meson/meson/mesonbuild/mesonmain.py", line 150, in generate
  129. self._generate(env)
  130. File "/usr/src/meson/meson/mesonbuild/mesonmain.py", line 197, in _generate
  131. intr.run()
  132. File "/usr/src/meson/meson/mesonbuild/interpreter.py", line 2987, in run
  133. super().run()
  134. File "/usr/src/meson/meson/mesonbuild/interpreterbase.py", line 173, in run
  135. self.evaluate_codeblock(self.ast, start=1)
  136. File "/usr/src/meson/meson/mesonbuild/interpreterbase.py", line 195, in evaluate_codeblock
  137. raise e
  138. File "/usr/src/meson/meson/mesonbuild/interpreterbase.py", line 189, in evaluate_codeblock
  139. self.evaluate_statement(cur)
  140. File "/usr/src/meson/meson/mesonbuild/interpreterbase.py", line 202, in evaluate_statement
  141. return self.assignment(cur)
  142. File "/usr/src/meson/meson/mesonbuild/interpreterbase.py", line 674, in assignment
  143. value = self.evaluate_statement(node.value)
  144. File "/usr/src/meson/meson/mesonbuild/interpreterbase.py", line 204, in evaluate_statement
  145. return self.method_call(cur)
  146. File "/usr/src/meson/meson/mesonbuild/interpreterbase.py", line 490, in method_call
  147. return obj.method_call(method_name, self.flatten(args), kwargs)
  148. File "/usr/src/meson/meson/mesonbuild/interpreterbase.py", line 98, in method_call
  149. return self.methods[method_name](args, kwargs)
  150. File "/usr/src/meson/meson/mesonbuild/interpreter.py", line 1046, in find_library_method
  151. linkargs = self.compiler.find_library(libname, self.environment, search_dirs)
  152. File "/usr/src/meson/meson/mesonbuild/compilers/c.py", line 786, in find_library
  153. extra_dirs += self.get_library_dirs()
  154. File "/usr/src/meson/meson/mesonbuild/compilers/c.py", line 164, in get_library_dirs
  155. libstr = line.split('=', 1)[1]
  156. IndexError: list index out of range
  157. The Meson build system
  158. Version: 0.45.0.dev1
  159. Source dir: /usr/src/meson/meson/test cases/unit/16 prebuilt shared
  160. Build dir: /tmp/tmp4qh6xfjk
  161. Build type: native build
  162. Project name: prebuilt shared library
  163. Native C compiler: cc (gcc 4.8.0 "lcc:1.21.22:Oct-15-2017:e2k-v4-linux")
  164. Build machine cpu family: e2k
  165. Build machine cpu: e2k
  166.  
  167. Build started at 2018-02-22T18:24:36.846080
  168. Main binary: /usr/bin/python3
  169. Python system: Linux
  170. The Meson build system
  171. Version: 0.45.0.dev1
  172. Source dir: /usr/src/meson/meson/test cases/unit/16 prebuilt shared
  173. Build dir: /tmp/tmp4qh6xfjk
  174. Build type: native build
  175. Project name: prebuilt shared library
  176. Sanity testing C compiler: cc
  177. Is cross compiler: False.
  178. Sanity check compiler command line: cc /tmp/tmp4qh6xfjk/meson-private/sanitycheckc.c -o /tmp/tmp4qh6xfjk/meson-private/sanitycheckc.exe
  179. Sanity check compile stdout:
  180.  
  181. -----
  182. Sanity check compile stderr:
  183.  
  184. -----
  185. Running test binary command: /tmp/tmp4qh6xfjk/meson-private/sanitycheckc.exe
  186. Native C compiler: cc (gcc 4.8.0 "lcc:1.21.22:Oct-15-2017:e2k-v4-linux")
  187. Build machine cpu family: e2k
  188. Build machine cpu: e2k
  189.  
  190. E
  191. Stdout:
  192. Traceback (most recent call last):
  193. File "/usr/src/meson/meson/mesonbuild/mesonmain.py", line 363, in run
  194. app.generate()
  195. File "/usr/src/meson/meson/mesonbuild/mesonmain.py", line 150, in generate
  196. self._generate(env)
  197. File "/usr/src/meson/meson/mesonbuild/mesonmain.py", line 197, in _generate
  198. intr.run()
  199. File "/usr/src/meson/meson/mesonbuild/interpreter.py", line 2987, in run
  200. super().run()
  201. File "/usr/src/meson/meson/mesonbuild/interpreterbase.py", line 173, in run
  202. self.evaluate_codeblock(self.ast, start=1)
  203. File "/usr/src/meson/meson/mesonbuild/interpreterbase.py", line 195, in evaluate_codeblock
  204. raise e
  205. File "/usr/src/meson/meson/mesonbuild/interpreterbase.py", line 189, in evaluate_codeblock
  206. self.evaluate_statement(cur)
  207. File "/usr/src/meson/meson/mesonbuild/interpreterbase.py", line 200, in evaluate_statement
  208. return self.function_call(cur)
  209. File "/usr/src/meson/meson/mesonbuild/interpreterbase.py", line 456, in function_call
  210. return self.funcs[func_name](node, self.flatten(posargs), kwargs)
  211. File "/usr/src/meson/meson/mesonbuild/interpreterbase.py", line 79, in wrapped
  212. return f(s, node_or_state, args, kwargs)
  213. File "/usr/src/meson/meson/mesonbuild/interpreter.py", line 2656, in func_subdir
  214. self.evaluate_codeblock(codeblock)
  215. File "/usr/src/meson/meson/mesonbuild/interpreterbase.py", line 195, in evaluate_codeblock
  216. raise e
  217. File "/usr/src/meson/meson/mesonbuild/interpreterbase.py", line 189, in evaluate_codeblock
  218. self.evaluate_statement(cur)
  219. File "/usr/src/meson/meson/mesonbuild/interpreterbase.py", line 202, in evaluate_statement
  220. return self.assignment(cur)
  221. File "/usr/src/meson/meson/mesonbuild/interpreterbase.py", line 674, in assignment
  222. value = self.evaluate_statement(node.value)
  223. File "/usr/src/meson/meson/mesonbuild/interpreterbase.py", line 204, in evaluate_statement
  224. return self.method_call(cur)
  225. File "/usr/src/meson/meson/mesonbuild/interpreterbase.py", line 490, in method_call
  226. return obj.method_call(method_name, self.flatten(args), kwargs)
  227. File "/usr/src/meson/meson/mesonbuild/interpreterbase.py", line 98, in method_call
  228. return self.methods[method_name](args, kwargs)
  229. File "/usr/src/meson/meson/mesonbuild/interpreter.py", line 1046, in find_library_method
  230. linkargs = self.compiler.find_library(libname, self.environment, search_dirs)
  231. File "/usr/src/meson/meson/mesonbuild/compilers/c.py", line 786, in find_library
  232. extra_dirs += self.get_library_dirs()
  233. File "/usr/src/meson/meson/mesonbuild/compilers/c.py", line 164, in get_library_dirs
  234. libstr = line.split('=', 1)[1]
  235. IndexError: list index out of range
  236. The Meson build system
  237. Version: 0.45.0.dev1
  238. Source dir: /usr/src/meson/meson/test cases/unit/15 prebuilt static
  239. Build dir: /tmp/tmpxgs84azh
  240. Build type: native build
  241. Project name: prebuilt static lib
  242. Native C compiler: cc (gcc 4.8.0 "lcc:1.21.22:Oct-15-2017:e2k-v4-linux")
  243. Build machine cpu family: e2k
  244. Build machine cpu: e2k
  245.  
  246. Build started at 2018-02-22T18:24:38.133173
  247. Main binary: /usr/bin/python3
  248. Python system: Linux
  249. The Meson build system
  250. Version: 0.45.0.dev1
  251. Source dir: /usr/src/meson/meson/test cases/unit/15 prebuilt static
  252. Build dir: /tmp/tmpxgs84azh
  253. Build type: native build
  254. Project name: prebuilt static lib
  255. Sanity testing C compiler: cc
  256. Is cross compiler: False.
  257. Sanity check compiler command line: cc /tmp/tmpxgs84azh/meson-private/sanitycheckc.c -o /tmp/tmpxgs84azh/meson-private/sanitycheckc.exe
  258. Sanity check compile stdout:
  259.  
  260. -----
  261. Sanity check compile stderr:
  262.  
  263. -----
  264. Running test binary command: /tmp/tmpxgs84azh/meson-private/sanitycheckc.exe
  265. Native C compiler: cc (gcc 4.8.0 "lcc:1.21.22:Oct-15-2017:e2k-v4-linux")
  266. Build machine cpu family: e2k
  267. Build machine cpu: e2k
  268.  
  269. .E
  270. Stdout:
  271. The Meson build system
  272. Version: 0.45.0.dev1
  273. Source dir: /usr/src/meson/meson/test cases/common/140 get define
  274. Build dir: /tmp/tmp87y3zakx
  275. Build type: native build
  276. Project name: get define
  277. Native C compiler: cc (gcc 4.8.0 "lcc:1.21.22:Oct-15-2017:e2k-v4-linux")
  278. Appending CFLAGS from environment: '-DMESON_FAIL_VALUE=cflags-read'
  279. Appending CPPFLAGS from environment: '-DMESON_TEST_DEFINE_VALUE="spaces and fun!@$^&*()-=_+{}[]:;<>?,./~`"'
  280. Native C++ compiler: c++ (gcc 4.8.0 "lcc:1.21.22:Oct-15-2017:e2k-v4-linux")
  281. Appending CPPFLAGS from environment: '-DMESON_TEST_DEFINE_VALUE="spaces and fun!@$^&*()-=_+{}[]:;<>?,./~`"'
  282. Build machine cpu family: e2k
  283. Build machine cpu: e2k
  284. Fetching value of define "__linux__": 1
  285. Library z found: YES
  286. Fetching value of define "ZLIB_VER_MAJOR": 1
  287. Fetching value of define "MESON_FAIL_VALUE":
  288. Fetching value of define "MESON_TEST_DEFINE_VALUE": spaces and fun! @$^ & *()-=_+{}[]:;< >?,./~`
  289.  
  290. meson.build:63:2: ERROR: Assert failed: MESON_TEST_DEFINE_VALUE value is "spaces and fun! @$^ & *()-=_+{}[]:;< >?,./~`" instead of "spaces and fun!@$^&*()-=_+{}[]:;<>?,./~`"
  291.  
  292. A full log can be found at /tmp/tmp87y3zakx/meson-logs/meson-log.txt
  293.  
  294. Build started at 2018-02-22T18:24:45.263989
  295. Main binary: /usr/bin/python3
  296. Python system: Linux
  297. The Meson build system
  298. Version: 0.45.0.dev1
  299. Source dir: /usr/src/meson/meson/test cases/common/140 get define
  300. Build dir: /tmp/tmp87y3zakx
  301. Build type: native build
  302. Project name: get define
  303. Sanity testing C compiler: cc
  304. Is cross compiler: False.
  305. Sanity check compiler command line: cc /tmp/tmp87y3zakx/meson-private/sanitycheckc.c -o /tmp/tmp87y3zakx/meson-private/sanitycheckc.exe
  306. Sanity check compile stdout:
  307.  
  308. -----
  309. Sanity check compile stderr:
  310.  
  311. -----
  312. Running test binary command: /tmp/tmp87y3zakx/meson-private/sanitycheckc.exe
  313. Native C compiler: cc (gcc 4.8.0 "lcc:1.21.22:Oct-15-2017:e2k-v4-linux")
  314. Appending CFLAGS from environment: '-DMESON_FAIL_VALUE=cflags-read'
  315. Appending CPPFLAGS from environment: '-DMESON_TEST_DEFINE_VALUE="spaces and fun!@$^&*()-=_+{}[]:;<>?,./~`"'
  316. Sanity testing C++ compiler: c++
  317. Is cross compiler: False.
  318. Sanity check compiler command line: c++ /tmp/tmp87y3zakx/meson-private/sanitycheckcpp.cc -o /tmp/tmp87y3zakx/meson-private/sanitycheckcpp.exe
  319. Sanity check compile stdout:
  320.  
  321. -----
  322. Sanity check compile stderr:
  323.  
  324. -----
  325. Running test binary command: /tmp/tmp87y3zakx/meson-private/sanitycheckcpp.exe
  326. Native C++ compiler: c++ (gcc 4.8.0 "lcc:1.21.22:Oct-15-2017:e2k-v4-linux")
  327. Appending CPPFLAGS from environment: '-DMESON_TEST_DEFINE_VALUE="spaces and fun!@$^&*()-=_+{}[]:;<>?,./~`"'
  328. Build machine cpu family: e2k
  329. Build machine cpu: e2k
  330. Running compile:
  331. Working directory: /tmp/tmpah0zoxaz
  332. Command line: cc /tmp/tmpah0zoxaz/testfile.c -DMESON_TEST_DEFINE_VALUE=spaces and fun!@$^&*()-=_+{}[]:;<>?,./~` -O0 -pipe -D_FILE_OFFSET_BITS=64 -E -P
  333.  
  334. Code:
  335.  
  336.  
  337. #ifndef __linux__
  338. # define __linux__
  339. #endif
  340. "MESON_GET_DEFINE_DELIMITER"
  341. __linux__
  342. Compiler stdout:
  343.  
  344.  
  345. "MESON_GET_DEFINE_DELIMITER"
  346. 1
  347.  
  348. Compiler stderr:
  349.  
  350. Fetching value of define "__linux__": 1
  351. Running compile:
  352. Working directory: /tmp/tmpkb3zxr26
  353. Command line: cc /tmp/tmpkb3zxr26/testfile.c -DMESON_FAIL_VALUE=cflags-read -O0 -Wl,--start-group -lz -Wl,--end-group -pipe -D_FILE_OFFSET_BITS=64 -o /tmp/tmpkb3zxr26/output.exe
  354.  
  355. Code:
  356. int main(int argc, char **argv) { return 0; }
  357. Compiler stdout:
  358.  
  359. Compiler stderr:
  360.  
  361. Library z found: YES
  362. Running compile:
  363. Working directory: /tmp/tmpnjq1nf9w
  364. Command line: cc /tmp/tmpnjq1nf9w/testfile.c -DMESON_TEST_DEFINE_VALUE=spaces and fun!@$^&*()-=_+{}[]:;<>?,./~` -O0 -pipe -D_FILE_OFFSET_BITS=64 -E -P
  365.  
  366. Code:
  367.  
  368. #include <zlib.h>
  369. #ifndef ZLIB_VER_MAJOR
  370. # define ZLIB_VER_MAJOR
  371. #endif
  372. "MESON_GET_DEFINE_DELIMITER"
  373. ZLIB_VER_MAJOR
  374. Compiler stdout:
  375.  
  376.  
  377.  
  378.  
  379.  
  380.  
  381.  
  382.  
  383.  
  384.  
  385.  
  386.  
  387.  
  388.  
  389.  
  390.  
  391.  
  392.  
  393.  
  394.  
  395.  
  396.  
  397.  
  398.  
  399.  
  400.  
  401.  
  402.  
  403.  
  404.  
  405.  
  406.  
  407.  
  408.  
  409.  
  410.  
  411.  
  412.  
  413.  
  414.  
  415.  
  416.  
  417.  
  418.  
  419.  
  420.  
  421.  
  422.  
  423.  
  424.  
  425.  
  426.  
  427.  
  428.  
  429.  
  430.  
  431.  
  432.  
  433.  
  434.  
  435.  
  436.  
  437.  
  438.  
  439.  
  440.  
  441.  
  442.  
  443.  
  444.  
  445.  
  446.  
  447.  
  448.  
  449.  
  450.  
  451.  
  452.  
  453.  
  454.  
  455.  
  456.  
  457.  
  458.  
  459.  
  460.  
  461.  
  462.  
  463.  
  464.  
  465.  
  466.  
  467.  
  468.  
  469.  
  470. typedef unsigned char Byte;
  471. typedef unsigned int uInt;
  472. typedef unsigned long uLong;
  473.  
  474. typedef Byte Bytef;
  475. typedef char charf;
  476. typedef int intf;
  477. typedef uInt uIntf;
  478. typedef uLong uLongf;
  479.  
  480. typedef void const *voidpc;
  481. typedef void *voidpf;
  482. typedef void *voidp;
  483.  
  484.  
  485.  
  486.  
  487.  
  488.  
  489.  
  490.  
  491.  
  492.  
  493.  
  494.  
  495.  
  496.  
  497.  
  498.  
  499.  
  500.  
  501.  
  502.  
  503.  
  504.  
  505.  
  506.  
  507.  
  508.  
  509.  
  510.  
  511.  
  512.  
  513.  
  514.  
  515.  
  516.  
  517.  
  518.  
  519.  
  520.  
  521.  
  522.  
  523.  
  524.  
  525.  
  526.  
  527.  
  528.  
  529.  
  530.  
  531.  
  532.  
  533.  
  534.  
  535.  
  536.  
  537.  
  538.  
  539.  
  540.  
  541.  
  542.  
  543.  
  544.  
  545.  
  546.  
  547.  
  548.  
  549.  
  550.  
  551.  
  552.  
  553.  
  554.  
  555.  
  556.  
  557.  
  558.  
  559.  
  560.  
  561.  
  562.  
  563.  
  564.  
  565.  
  566.  
  567.  
  568.  
  569.  
  570.  
  571.  
  572.  
  573.  
  574.  
  575.  
  576.  
  577.  
  578.  
  579.  
  580.  
  581.  
  582.  
  583.  
  584.  
  585.  
  586.  
  587.  
  588.  
  589.  
  590.  
  591.  
  592.  
  593.  
  594.  
  595.  
  596.  
  597.  
  598.  
  599.  
  600.  
  601.  
  602.  
  603.  
  604.  
  605.  
  606.  
  607.  
  608.  
  609.  
  610.  
  611.  
  612.  
  613.  
  614.  
  615.  
  616.  
  617.  
  618.  
  619.  
  620.  
  621.  
  622.  
  623.  
  624.  
  625.  
  626.  
  627.  
  628.  
  629.  
  630.  
  631.  
  632.  
  633.  
  634.  
  635.  
  636.  
  637.  
  638.  
  639.  
  640.  
  641.  
  642.  
  643.  
  644.  
  645.  
  646.  
  647.  
  648.  
  649.  
  650.  
  651.  
  652.  
  653.  
  654.  
  655.  
  656.  
  657.  
  658.  
  659.  
  660.  
  661.  
  662.  
  663.  
  664.  
  665.  
  666.  
  667.  
  668.  
  669.  
  670.  
  671.  
  672.  
  673.  
  674.  
  675.  
  676.  
  677.  
  678.  
  679.  
  680.  
  681.  
  682.  
  683.  
  684.  
  685.  
  686.  
  687.  
  688.  
  689.  
  690.  
  691.  
  692.  
  693.  
  694.  
  695.  
  696.  
  697.  
  698.  
  699.  
  700.  
  701.  
  702.  
  703.  
  704.  
  705.  
  706.  
  707.  
  708.  
  709.  
  710.  
  711.  
  712.  
  713.  
  714.  
  715.  
  716.  
  717.  
  718.  
  719.  
  720.  
  721.  
  722.  
  723.  
  724.  
  725.  
  726.  
  727.  
  728.  
  729.  
  730.  
  731.  
  732.  
  733.  
  734.  
  735.  
  736.  
  737.  
  738.  
  739.  
  740.  
  741.  
  742.  
  743.  
  744.  
  745.  
  746.  
  747.  
  748.  
  749.  
  750.  
  751.  
  752.  
  753.  
  754.  
  755.  
  756.  
  757.  
  758.  
  759.  
  760.  
  761.  
  762.  
  763.  
  764.  
  765.  
  766.  
  767.  
  768.  
  769.  
  770.  
  771.  
  772.  
  773.  
  774.  
  775.  
  776.  
  777.  
  778.  
  779.  
  780.  
  781.  
  782.  
  783.  
  784.  
  785.  
  786.  
  787.  
  788.  
  789.  
  790.  
  791.  
  792.  
  793.  
  794.  
  795.  
  796.  
  797.  
  798.  
  799.  
  800.  
  801.  
  802.  
  803.  
  804.  
  805.  
  806.  
  807.  
  808.  
  809.  
  810.  
  811.  
  812.  
  813.  
  814.  
  815.  
  816.  
  817.  
  818.  
  819.  
  820.  
  821.  
  822.  
  823.  
  824.  
  825.  
  826.  
  827.  
  828.  
  829.  
  830.  
  831.  
  832.  
  833.  
  834.  
  835.  
  836.  
  837.  
  838.  
  839.  
  840.  
  841.  
  842.  
  843.  
  844.  
  845.  
  846.  
  847.  
  848.  
  849.  
  850.  
  851.  
  852.  
  853.  
  854.  
  855.  
  856.  
  857.  
  858.  
  859.  
  860.  
  861.  
  862.  
  863.  
  864.  
  865.  
  866.  
  867.  
  868.  
  869.  
  870.  
  871.  
  872.  
  873.  
  874.  
  875.  
  876.  
  877.  
  878.  
  879.  
  880.  
  881.  
  882.  
  883.  
  884.  
  885.  
  886.  
  887.  
  888.  
  889.  
  890.  
  891.  
  892.  
  893.  
  894.  
  895.  
  896.  
  897.  
  898.  
  899.  
  900.  
  901.  
  902.  
  903.  
  904.  
  905.  
  906.  
  907.  
  908.  
  909.  
  910.  
  911.  
  912.  
  913.  
  914.  
  915.  
  916.  
  917.  
  918.  
  919.  
  920.  
  921.  
  922.  
  923.  
  924.  
  925.  
  926.  
  927.  
  928.  
  929.  
  930.  
  931.  
  932.  
  933.  
  934.  
  935.  
  936.  
  937.  
  938.  
  939.  
  940.  
  941.  
  942.  
  943.  
  944.  
  945.  
  946.  
  947.  
  948.  
  949.  
  950.  
  951.  
  952.  
  953.  
  954.  
  955.  
  956.  
  957.  
  958.  
  959.  
  960.  
  961.  
  962.  
  963.  
  964.  
  965.  
  966.  
  967.  
  968.  
  969.  
  970.  
  971.  
  972.  
  973.  
  974.  
  975.  
  976.  
  977.  
  978.  
  979.  
  980.  
  981.  
  982.  
  983.  
  984.  
  985.  
  986.  
  987.  
  988.  
  989.  
  990.  
  991.  
  992.  
  993.  
  994.  
  995.  
  996.  
  997.  
  998.  
  999.  
  1000.  
  1001.  
  1002.  
  1003.  
  1004.  
  1005.  
  1006.  
  1007.  
  1008.  
  1009.  
  1010.  
  1011.  
  1012.  
  1013.  
  1014.  
  1015.  
  1016.  
  1017.  
  1018.  
  1019.  
  1020.  
  1021.  
  1022.  
  1023.  
  1024.  
  1025.  
  1026.  
  1027.  
  1028.  
  1029.  
  1030.  
  1031.  
  1032.  
  1033.  
  1034.  
  1035.  
  1036.  
  1037.  
  1038.  
  1039.  
  1040.  
  1041.  
  1042.  
  1043.  
  1044.  
  1045.  
  1046.  
  1047.  
  1048.  
  1049.  
  1050.  
  1051.  
  1052.  
  1053.  
  1054.  
  1055.  
  1056.  
  1057.  
  1058.  
  1059.  
  1060.  
  1061.  
  1062.  
  1063.  
  1064.  
  1065.  
  1066.  
  1067.  
  1068.  
  1069.  
  1070.  
  1071.  
  1072.  
  1073.  
  1074.  
  1075.  
  1076.  
  1077.  
  1078.  
  1079.  
  1080.  
  1081.  
  1082.  
  1083.  
  1084.  
  1085.  
  1086.  
  1087.  
  1088.  
  1089.  
  1090.  
  1091.  
  1092.  
  1093.  
  1094.  
  1095.  
  1096.  
  1097.  
  1098.  
  1099.  
  1100.  
  1101.  
  1102.  
  1103.  
  1104.  
  1105.  
  1106.  
  1107.  
  1108.  
  1109.  
  1110.  
  1111.  
  1112.  
  1113.  
  1114.  
  1115.  
  1116.  
  1117.  
  1118.  
  1119.  
  1120.  
  1121.  
  1122.  
  1123.  
  1124.  
  1125.  
  1126.  
  1127.  
  1128.  
  1129.  
  1130.  
  1131.  
  1132.  
  1133.  
  1134.  
  1135.  
  1136.  
  1137.  
  1138.  
  1139.  
  1140.  
  1141.  
  1142.  
  1143.  
  1144.  
  1145.  
  1146.  
  1147.  
  1148.  
  1149.  
  1150.  
  1151.  
  1152.  
  1153.  
  1154.  
  1155.  
  1156.  
  1157.  
  1158.  
  1159.  
  1160.  
  1161.  
  1162.  
  1163.  
  1164.  
  1165.  
  1166.  
  1167.  
  1168.  
  1169.  
  1170.  
  1171.  
  1172.  
  1173.  
  1174.  
  1175.  
  1176.  
  1177.  
  1178.  
  1179.  
  1180.  
  1181.  
  1182.  
  1183.  
  1184.  
  1185. typedef unsigned z_crc_t;
  1186.  
  1187.  
  1188.  
  1189.  
  1190.  
  1191.  
  1192.  
  1193.  
  1194.  
  1195.  
  1196.  
  1197.  
  1198.  
  1199.  
  1200.  
  1201.  
  1202.  
  1203.  
  1204.  
  1205.  
  1206.  
  1207.  
  1208.  
  1209.  
  1210.  
  1211.  
  1212.  
  1213.  
  1214.  
  1215.  
  1216.  
  1217.  
  1218.  
  1219.  
  1220.  
  1221.  
  1222.  
  1223.  
  1224.  
  1225.  
  1226.  
  1227.  
  1228.  
  1229.  
  1230.  
  1231.  
  1232.  
  1233.  
  1234.  
  1235.  
  1236.  
  1237.  
  1238.  
  1239.  
  1240.  
  1241.  
  1242.  
  1243.  
  1244.  
  1245.  
  1246.  
  1247.  
  1248.  
  1249.  
  1250.  
  1251.  
  1252.  
  1253.  
  1254.  
  1255.  
  1256.  
  1257. typedef unsigned char __u_char;
  1258. typedef unsigned short int __u_short;
  1259. typedef unsigned int __u_int;
  1260. typedef unsigned long int __u_long;
  1261.  
  1262.  
  1263. typedef signed char __int8_t;
  1264. typedef unsigned char __uint8_t;
  1265. typedef signed short int __int16_t;
  1266. typedef unsigned short int __uint16_t;
  1267. typedef signed int __int32_t;
  1268. typedef unsigned int __uint32_t;
  1269. typedef signed long int __int64_t;
  1270. typedef unsigned long int __uint64_t;
  1271.  
  1272.  
  1273. typedef long int __quad_t;
  1274. typedef unsigned long int __u_quad_t;
  1275.  
  1276.  
  1277.  
  1278.  
  1279.  
  1280.  
  1281.  
  1282.  
  1283.  
  1284.  
  1285.  
  1286.  
  1287.  
  1288.  
  1289.  
  1290.  
  1291.  
  1292.  
  1293.  
  1294.  
  1295.  
  1296.  
  1297.  
  1298.  
  1299.  
  1300.  
  1301.  
  1302.  
  1303.  
  1304.  
  1305.  
  1306.  
  1307.  
  1308.  
  1309.  
  1310.  
  1311.  
  1312.  
  1313.  
  1314.  
  1315.  
  1316.  
  1317.  
  1318.  
  1319.  
  1320.  
  1321.  
  1322.  
  1323.  
  1324.  
  1325.  
  1326.  
  1327.  
  1328.  
  1329.  
  1330.  
  1331.  
  1332.  
  1333.  
  1334.  
  1335.  
  1336.  
  1337.  
  1338.  
  1339.  
  1340.  
  1341.  
  1342. typedef unsigned long int __dev_t;
  1343. typedef unsigned int __uid_t;
  1344. typedef unsigned int __gid_t;
  1345. typedef unsigned long int __ino_t;
  1346. typedef unsigned long int __ino64_t;
  1347. typedef unsigned int __mode_t;
  1348. typedef unsigned long int __nlink_t;
  1349. typedef long int __off_t;
  1350. typedef long int __off64_t;
  1351. typedef int __pid_t;
  1352. typedef struct { int __val[2]; } __fsid_t;
  1353. typedef long int __clock_t;
  1354. typedef unsigned long int __rlim_t;
  1355. typedef unsigned long int __rlim64_t;
  1356. typedef unsigned int __id_t;
  1357. typedef long int __time_t;
  1358. typedef unsigned int __useconds_t;
  1359. typedef long int __suseconds_t;
  1360.  
  1361. typedef int __daddr_t;
  1362. typedef int __key_t;
  1363.  
  1364.  
  1365. typedef int __clockid_t;
  1366.  
  1367.  
  1368. typedef void * __timer_t;
  1369.  
  1370.  
  1371. typedef long int __blksize_t;
  1372.  
  1373.  
  1374.  
  1375.  
  1376. typedef long int __blkcnt_t;
  1377. typedef long int __blkcnt64_t;
  1378.  
  1379.  
  1380. typedef unsigned long int __fsblkcnt_t;
  1381. typedef unsigned long int __fsblkcnt64_t;
  1382.  
  1383.  
  1384. typedef unsigned long int __fsfilcnt_t;
  1385. typedef unsigned long int __fsfilcnt64_t;
  1386.  
  1387.  
  1388. typedef long int __fsword_t;
  1389.  
  1390. typedef long int __ssize_t;
  1391.  
  1392.  
  1393. typedef long int __syscall_slong_t;
  1394.  
  1395. typedef unsigned long int __syscall_ulong_t;
  1396.  
  1397.  
  1398.  
  1399. typedef __off64_t __loff_t;
  1400. typedef __quad_t *__qaddr_t;
  1401. typedef char *__caddr_t;
  1402.  
  1403.  
  1404. typedef long int __intptr_t;
  1405.  
  1406.  
  1407. typedef unsigned int __socklen_t;
  1408.  
  1409.  
  1410.  
  1411.  
  1412. typedef __u_char u_char;
  1413. typedef __u_short u_short;
  1414. typedef __u_int u_int;
  1415. typedef __u_long u_long;
  1416. typedef __quad_t quad_t;
  1417. typedef __u_quad_t u_quad_t;
  1418. typedef __fsid_t fsid_t;
  1419.  
  1420. typedef __loff_t loff_t;
  1421.  
  1422. typedef __ino64_t ino_t;
  1423.  
  1424. typedef __dev_t dev_t;
  1425.  
  1426. typedef __gid_t gid_t;
  1427.  
  1428. typedef __mode_t mode_t;
  1429.  
  1430. typedef __nlink_t nlink_t;
  1431.  
  1432. typedef __uid_t uid_t;
  1433.  
  1434. typedef __off64_t off_t;
  1435.  
  1436. typedef __pid_t pid_t;
  1437.  
  1438. typedef __id_t id_t;
  1439.  
  1440. typedef __ssize_t ssize_t;
  1441.  
  1442. typedef __daddr_t daddr_t;
  1443. typedef __caddr_t caddr_t;
  1444.  
  1445. typedef __key_t key_t;
  1446.  
  1447.  
  1448.  
  1449.  
  1450.  
  1451.  
  1452.  
  1453.  
  1454.  
  1455.  
  1456.  
  1457.  
  1458.  
  1459.  
  1460.  
  1461.  
  1462.  
  1463.  
  1464.  
  1465.  
  1466.  
  1467.  
  1468.  
  1469.  
  1470.  
  1471.  
  1472.  
  1473.  
  1474.  
  1475. typedef __clock_t clock_t;
  1476.  
  1477.  
  1478.  
  1479.  
  1480.  
  1481.  
  1482.  
  1483.  
  1484. typedef __time_t time_t;
  1485.  
  1486.  
  1487.  
  1488.  
  1489.  
  1490.  
  1491.  
  1492. typedef __clockid_t clockid_t;
  1493.  
  1494.  
  1495.  
  1496.  
  1497.  
  1498. typedef __timer_t timer_t;
  1499.  
  1500.  
  1501.  
  1502.  
  1503.  
  1504.  
  1505.  
  1506.  
  1507.  
  1508.  
  1509.  
  1510.  
  1511.  
  1512.  
  1513.  
  1514.  
  1515.  
  1516.  
  1517.  
  1518.  
  1519.  
  1520.  
  1521.  
  1522.  
  1523.  
  1524.  
  1525.  
  1526.  
  1527.  
  1528.  
  1529.  
  1530.  
  1531.  
  1532.  
  1533.  
  1534.  
  1535.  
  1536.  
  1537.  
  1538.  
  1539.  
  1540.  
  1541.  
  1542.  
  1543.  
  1544.  
  1545.  
  1546.  
  1547.  
  1548.  
  1549.  
  1550.  
  1551. typedef unsigned long size_t;
  1552.  
  1553.  
  1554.  
  1555.  
  1556.  
  1557.  
  1558.  
  1559.  
  1560.  
  1561.  
  1562.  
  1563.  
  1564.  
  1565.  
  1566.  
  1567.  
  1568.  
  1569.  
  1570.  
  1571.  
  1572.  
  1573.  
  1574. typedef unsigned long int ulong;
  1575. typedef unsigned short int ushort;
  1576. typedef unsigned int uint;
  1577.  
  1578.  
  1579.  
  1580.  
  1581.  
  1582.  
  1583. typedef int int8_t __attribute__ ((__mode__ (__QI__)));
  1584. typedef int int16_t __attribute__ ((__mode__ (__HI__)));
  1585. typedef int int32_t __attribute__ ((__mode__ (__SI__)));
  1586. typedef int int64_t __attribute__ ((__mode__ (__DI__)));
  1587.  
  1588. typedef unsigned int u_int8_t __attribute__ ((__mode__ (__QI__)));
  1589. typedef unsigned int u_int16_t __attribute__ ((__mode__ (__HI__)));
  1590. typedef unsigned int u_int32_t __attribute__ ((__mode__ (__SI__)));
  1591. typedef unsigned int u_int64_t __attribute__ ((__mode__ (__DI__)));
  1592.  
  1593. typedef int register_t __attribute__ ((__mode__ (__word__)));
  1594.  
  1595.  
  1596.  
  1597.  
  1598.  
  1599.  
  1600.  
  1601.  
  1602.  
  1603.  
  1604.  
  1605.  
  1606.  
  1607.  
  1608.  
  1609.  
  1610.  
  1611.  
  1612.  
  1613.  
  1614.  
  1615.  
  1616.  
  1617.  
  1618.  
  1619.  
  1620.  
  1621.  
  1622.  
  1623.  
  1624.  
  1625.  
  1626.  
  1627.  
  1628.  
  1629.  
  1630.  
  1631.  
  1632.  
  1633.  
  1634.  
  1635.  
  1636.  
  1637.  
  1638.  
  1639.  
  1640.  
  1641.  
  1642.  
  1643.  
  1644.  
  1645.  
  1646.  
  1647.  
  1648.  
  1649.  
  1650.  
  1651.  
  1652.  
  1653.  
  1654.  
  1655.  
  1656.  
  1657.  
  1658.  
  1659.  
  1660.  
  1661.  
  1662.  
  1663.  
  1664.  
  1665.  
  1666.  
  1667.  
  1668.  
  1669.  
  1670.  
  1671.  
  1672.  
  1673.  
  1674.  
  1675.  
  1676.  
  1677.  
  1678.  
  1679.  
  1680.  
  1681.  
  1682.  
  1683.  
  1684.  
  1685.  
  1686.  
  1687.  
  1688.  
  1689.  
  1690.  
  1691.  
  1692.  
  1693.  
  1694.  
  1695.  
  1696.  
  1697.  
  1698.  
  1699.  
  1700.  
  1701.  
  1702.  
  1703.  
  1704.  
  1705.  
  1706.  
  1707.  
  1708.  
  1709.  
  1710.  
  1711.  
  1712.  
  1713.  
  1714.  
  1715.  
  1716.  
  1717.  
  1718.  
  1719.  
  1720.  
  1721.  
  1722.  
  1723.  
  1724.  
  1725.  
  1726.  
  1727.  
  1728.  
  1729.  
  1730.  
  1731.  
  1732.  
  1733.  
  1734.  
  1735.  
  1736.  
  1737.  
  1738.  
  1739.  
  1740.  
  1741.  
  1742.  
  1743.  
  1744.  
  1745.  
  1746.  
  1747.  
  1748.  
  1749.  
  1750.  
  1751.  
  1752. typedef int __sig_atomic_t;
  1753.  
  1754.  
  1755.  
  1756. typedef struct
  1757. {
  1758. unsigned long int __val[(1024 / (8 * sizeof (unsigned long int)))];
  1759. } __sigset_t;
  1760.  
  1761.  
  1762.  
  1763.  
  1764.  
  1765.  
  1766.  
  1767.  
  1768.  
  1769.  
  1770. typedef __sigset_t sigset_t;
  1771.  
  1772.  
  1773.  
  1774.  
  1775.  
  1776.  
  1777.  
  1778.  
  1779.  
  1780.  
  1781.  
  1782.  
  1783.  
  1784.  
  1785.  
  1786.  
  1787.  
  1788.  
  1789.  
  1790.  
  1791.  
  1792.  
  1793.  
  1794.  
  1795.  
  1796.  
  1797.  
  1798.  
  1799.  
  1800.  
  1801.  
  1802.  
  1803.  
  1804.  
  1805.  
  1806. struct timespec
  1807. {
  1808. __time_t tv_sec;
  1809. __syscall_slong_t tv_nsec;
  1810. };
  1811.  
  1812.  
  1813.  
  1814.  
  1815.  
  1816.  
  1817.  
  1818.  
  1819.  
  1820.  
  1821.  
  1822.  
  1823.  
  1824.  
  1825.  
  1826.  
  1827.  
  1828.  
  1829.  
  1830.  
  1831.  
  1832.  
  1833.  
  1834.  
  1835.  
  1836.  
  1837.  
  1838.  
  1839.  
  1840. struct timeval
  1841. {
  1842. __time_t tv_sec;
  1843. __suseconds_t tv_usec;
  1844. };
  1845.  
  1846.  
  1847.  
  1848. typedef __suseconds_t suseconds_t;
  1849.  
  1850.  
  1851.  
  1852. typedef long int __fd_mask;
  1853.  
  1854.  
  1855.  
  1856.  
  1857.  
  1858. typedef struct
  1859. {
  1860.  
  1861.  
  1862. __fd_mask __fds_bits[1024 / (8 * (int) sizeof (__fd_mask))];
  1863. } fd_set;
  1864.  
  1865.  
  1866.  
  1867.  
  1868. typedef __fd_mask fd_mask;
  1869.  
  1870.  
  1871.  
  1872.  
  1873.  
  1874.  
  1875.  
  1876.  
  1877.  
  1878.  
  1879.  
  1880.  
  1881.  
  1882.  
  1883.  
  1884.  
  1885.  
  1886. extern int select (int __nfds, fd_set *__restrict __readfds,
  1887. fd_set *__restrict __writefds,
  1888. fd_set *__restrict __exceptfds,
  1889. struct timeval *__restrict __timeout);
  1890.  
  1891.  
  1892.  
  1893.  
  1894.  
  1895.  
  1896.  
  1897. extern int pselect (int __nfds, fd_set *__restrict __readfds,
  1898. fd_set *__restrict __writefds,
  1899. fd_set *__restrict __exceptfds,
  1900. const struct timespec *__restrict __timeout,
  1901. const __sigset_t *__restrict __sigmask);
  1902.  
  1903.  
  1904.  
  1905.  
  1906.  
  1907.  
  1908.  
  1909.  
  1910.  
  1911.  
  1912.  
  1913.  
  1914.  
  1915.  
  1916.  
  1917.  
  1918.  
  1919.  
  1920.  
  1921.  
  1922.  
  1923.  
  1924.  
  1925.  
  1926.  
  1927.  
  1928.  
  1929.  
  1930.  
  1931.  
  1932. __extension__
  1933. extern unsigned int gnu_dev_major (unsigned long long int __dev)
  1934. __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__));
  1935. __extension__
  1936. extern unsigned int gnu_dev_minor (unsigned long long int __dev)
  1937. __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__));
  1938. __extension__
  1939. extern unsigned long long int gnu_dev_makedev (unsigned int __major,
  1940. unsigned int __minor)
  1941. __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__));
  1942.  
  1943.  
  1944.  
  1945.  
  1946.  
  1947.  
  1948.  
  1949. typedef __blksize_t blksize_t;
  1950.  
  1951.  
  1952. typedef __blkcnt64_t blkcnt_t;
  1953. typedef __fsblkcnt64_t fsblkcnt_t;
  1954. typedef __fsfilcnt64_t fsfilcnt_t;
  1955.  
  1956.  
  1957.  
  1958.  
  1959.  
  1960.  
  1961.  
  1962.  
  1963.  
  1964.  
  1965.  
  1966.  
  1967.  
  1968.  
  1969.  
  1970.  
  1971.  
  1972.  
  1973.  
  1974.  
  1975.  
  1976.  
  1977.  
  1978.  
  1979.  
  1980.  
  1981.  
  1982.  
  1983.  
  1984.  
  1985.  
  1986.  
  1987.  
  1988.  
  1989.  
  1990.  
  1991.  
  1992.  
  1993.  
  1994.  
  1995.  
  1996.  
  1997.  
  1998.  
  1999.  
  2000.  
  2001.  
  2002.  
  2003. typedef unsigned long int pthread_t;
  2004.  
  2005.  
  2006. union pthread_attr_t
  2007. {
  2008. char __size[56];
  2009. long int __align;
  2010. };
  2011. typedef union pthread_attr_t pthread_attr_t;
  2012.  
  2013.  
  2014. typedef struct __pthread_internal_list
  2015. {
  2016. struct __pthread_internal_list *__prev;
  2017. struct __pthread_internal_list *__next;
  2018. } __pthread_list_t;
  2019.  
  2020.  
  2021.  
  2022.  
  2023. typedef union
  2024. {
  2025. struct __pthread_mutex_s
  2026. {
  2027. int __lock;
  2028. unsigned int __count;
  2029. int __owner;
  2030. unsigned int __nusers;
  2031.  
  2032.  
  2033. int __kind;
  2034. int __spins;
  2035. __pthread_list_t __list;
  2036. } __data;
  2037. char __size[40];
  2038. long int __align;
  2039. } pthread_mutex_t;
  2040.  
  2041.  
  2042.  
  2043. typedef union
  2044. {
  2045. char __size[4];
  2046. int __align;
  2047. } pthread_mutexattr_t;
  2048.  
  2049.  
  2050.  
  2051.  
  2052. typedef union
  2053. {
  2054. struct
  2055. {
  2056. int __lock;
  2057. unsigned int __futex;
  2058. __extension__ unsigned long long int __total_seq;
  2059. __extension__ unsigned long long int __wakeup_seq;
  2060. __extension__ unsigned long long int __woken_seq;
  2061. void *__mutex;
  2062. unsigned int __nwaiters;
  2063. unsigned int __broadcast_seq;
  2064. } __data;
  2065. char __size[48];
  2066. __extension__ long long int __align;
  2067. } pthread_cond_t;
  2068.  
  2069. typedef union
  2070. {
  2071. char __size[4];
  2072. int __align;
  2073. } pthread_condattr_t;
  2074.  
  2075.  
  2076.  
  2077. typedef unsigned int pthread_key_t;
  2078.  
  2079.  
  2080.  
  2081. typedef int pthread_once_t;
  2082.  
  2083.  
  2084.  
  2085.  
  2086. typedef union
  2087. {
  2088. struct
  2089. {
  2090. int __lock;
  2091. unsigned int __nr_readers;
  2092. unsigned int __readers_wakeup;
  2093. unsigned int __writer_wakeup;
  2094. unsigned int __nr_readers_queued;
  2095. unsigned int __nr_writers_queued;
  2096. int __writer;
  2097. int __shared;
  2098. unsigned long int __pad1;
  2099. unsigned long int __pad2;
  2100.  
  2101.  
  2102. unsigned int __flags;
  2103. } __data;
  2104. char __size[56];
  2105. long int __align;
  2106. } pthread_rwlock_t;
  2107.  
  2108.  
  2109. typedef union
  2110. {
  2111. char __size[8];
  2112. long int __align;
  2113. } pthread_rwlockattr_t;
  2114.  
  2115.  
  2116.  
  2117. typedef volatile int pthread_spinlock_t;
  2118.  
  2119.  
  2120.  
  2121.  
  2122. typedef union
  2123. {
  2124. char __size[32];
  2125. long int __align;
  2126. } pthread_barrier_t;
  2127.  
  2128. typedef union
  2129. {
  2130. char __size[4];
  2131. int __align;
  2132. } pthread_barrierattr_t;
  2133.  
  2134.  
  2135.  
  2136.  
  2137.  
  2138.  
  2139.  
  2140.  
  2141.  
  2142.  
  2143.  
  2144.  
  2145. typedef __builtin_va_list va_list;
  2146.  
  2147.  
  2148. typedef __builtin_va_list __gnuc_va_list;
  2149.  
  2150.  
  2151.  
  2152.  
  2153.  
  2154.  
  2155.  
  2156.  
  2157.  
  2158.  
  2159.  
  2160.  
  2161.  
  2162.  
  2163.  
  2164.  
  2165.  
  2166.  
  2167.  
  2168.  
  2169.  
  2170.  
  2171.  
  2172.  
  2173.  
  2174.  
  2175.  
  2176.  
  2177.  
  2178.  
  2179.  
  2180.  
  2181.  
  2182.  
  2183.  
  2184.  
  2185.  
  2186.  
  2187.  
  2188.  
  2189.  
  2190.  
  2191.  
  2192.  
  2193.  
  2194.  
  2195.  
  2196.  
  2197.  
  2198.  
  2199.  
  2200.  
  2201.  
  2202.  
  2203.  
  2204.  
  2205.  
  2206.  
  2207.  
  2208.  
  2209.  
  2210.  
  2211.  
  2212.  
  2213.  
  2214.  
  2215.  
  2216.  
  2217.  
  2218.  
  2219.  
  2220.  
  2221.  
  2222.  
  2223.  
  2224.  
  2225.  
  2226.  
  2227.  
  2228.  
  2229.  
  2230.  
  2231.  
  2232.  
  2233.  
  2234.  
  2235.  
  2236.  
  2237.  
  2238.  
  2239.  
  2240.  
  2241.  
  2242.  
  2243.  
  2244.  
  2245.  
  2246.  
  2247.  
  2248.  
  2249.  
  2250.  
  2251.  
  2252.  
  2253.  
  2254.  
  2255.  
  2256.  
  2257.  
  2258.  
  2259.  
  2260.  
  2261.  
  2262.  
  2263.  
  2264.  
  2265.  
  2266.  
  2267.  
  2268.  
  2269.  
  2270.  
  2271.  
  2272.  
  2273.  
  2274.  
  2275.  
  2276.  
  2277.  
  2278.  
  2279.  
  2280.  
  2281.  
  2282.  
  2283.  
  2284.  
  2285.  
  2286.  
  2287.  
  2288.  
  2289.  
  2290.  
  2291.  
  2292.  
  2293.  
  2294.  
  2295.  
  2296.  
  2297.  
  2298.  
  2299.  
  2300.  
  2301.  
  2302.  
  2303.  
  2304.  
  2305.  
  2306.  
  2307.  
  2308.  
  2309.  
  2310.  
  2311.  
  2312.  
  2313.  
  2314.  
  2315.  
  2316.  
  2317.  
  2318.  
  2319.  
  2320.  
  2321.  
  2322.  
  2323.  
  2324.  
  2325.  
  2326.  
  2327.  
  2328.  
  2329.  
  2330.  
  2331.  
  2332.  
  2333.  
  2334.  
  2335.  
  2336.  
  2337.  
  2338.  
  2339.  
  2340.  
  2341.  
  2342.  
  2343.  
  2344.  
  2345.  
  2346.  
  2347.  
  2348.  
  2349.  
  2350.  
  2351.  
  2352.  
  2353.  
  2354.  
  2355.  
  2356.  
  2357.  
  2358.  
  2359.  
  2360.  
  2361.  
  2362.  
  2363.  
  2364.  
  2365.  
  2366.  
  2367.  
  2368.  
  2369.  
  2370.  
  2371.  
  2372.  
  2373.  
  2374.  
  2375.  
  2376.  
  2377.  
  2378.  
  2379.  
  2380.  
  2381.  
  2382.  
  2383.  
  2384.  
  2385.  
  2386.  
  2387.  
  2388.  
  2389.  
  2390.  
  2391.  
  2392.  
  2393.  
  2394.  
  2395.  
  2396.  
  2397.  
  2398.  
  2399.  
  2400.  
  2401.  
  2402.  
  2403.  
  2404.  
  2405.  
  2406.  
  2407.  
  2408.  
  2409.  
  2410.  
  2411.  
  2412.  
  2413.  
  2414.  
  2415.  
  2416.  
  2417.  
  2418.  
  2419.  
  2420.  
  2421.  
  2422.  
  2423.  
  2424.  
  2425.  
  2426.  
  2427.  
  2428.  
  2429.  
  2430.  
  2431.  
  2432.  
  2433.  
  2434.  
  2435.  
  2436.  
  2437.  
  2438.  
  2439.  
  2440.  
  2441.  
  2442.  
  2443.  
  2444.  
  2445.  
  2446.  
  2447.  
  2448.  
  2449.  
  2450.  
  2451.  
  2452.  
  2453.  
  2454.  
  2455.  
  2456.  
  2457.  
  2458.  
  2459.  
  2460.  
  2461.  
  2462.  
  2463.  
  2464.  
  2465.  
  2466.  
  2467.  
  2468.  
  2469.  
  2470.  
  2471.  
  2472.  
  2473.  
  2474.  
  2475.  
  2476.  
  2477.  
  2478.  
  2479.  
  2480.  
  2481.  
  2482.  
  2483.  
  2484.  
  2485.  
  2486.  
  2487.  
  2488.  
  2489.  
  2490.  
  2491.  
  2492.  
  2493.  
  2494.  
  2495.  
  2496.  
  2497.  
  2498.  
  2499.  
  2500.  
  2501.  
  2502.  
  2503.  
  2504.  
  2505.  
  2506.  
  2507.  
  2508.  
  2509.  
  2510.  
  2511.  
  2512.  
  2513.  
  2514.  
  2515.  
  2516.  
  2517.  
  2518.  
  2519.  
  2520.  
  2521.  
  2522.  
  2523.  
  2524.  
  2525.  
  2526.  
  2527.  
  2528.  
  2529.  
  2530.  
  2531.  
  2532.  
  2533.  
  2534.  
  2535.  
  2536.  
  2537.  
  2538.  
  2539.  
  2540.  
  2541.  
  2542.  
  2543.  
  2544.  
  2545.  
  2546.  
  2547.  
  2548.  
  2549.  
  2550.  
  2551.  
  2552.  
  2553.  
  2554.  
  2555.  
  2556.  
  2557.  
  2558.  
  2559.  
  2560.  
  2561.  
  2562.  
  2563.  
  2564.  
  2565.  
  2566.  
  2567.  
  2568.  
  2569.  
  2570.  
  2571.  
  2572.  
  2573.  
  2574.  
  2575.  
  2576.  
  2577.  
  2578.  
  2579.  
  2580.  
  2581.  
  2582.  
  2583. typedef __useconds_t useconds_t;
  2584.  
  2585.  
  2586. typedef __intptr_t intptr_t;
  2587.  
  2588. typedef __socklen_t socklen_t;
  2589.  
  2590.  
  2591.  
  2592.  
  2593.  
  2594. extern int access (const char *__name, int __type) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
  2595.  
  2596.  
  2597.  
  2598.  
  2599.  
  2600. extern int faccessat (int __fd, const char *__file, int __type, int __flag)
  2601. __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))) ;
  2602.  
  2603.  
  2604.  
  2605.  
  2606.  
  2607.  
  2608.  
  2609.  
  2610.  
  2611.  
  2612.  
  2613.  
  2614. extern __off64_t lseek (int __fd, __off64_t __offset, int __whence) __asm__ ("" "lseek64") __attribute__ ((__nothrow__ , __leaf__));
  2615.  
  2616.  
  2617.  
  2618.  
  2619.  
  2620. extern int close (int __fd);
  2621.  
  2622.  
  2623.  
  2624.  
  2625.  
  2626.  
  2627. extern ssize_t read (int __fd, void *__buf, size_t __nbytes) ;
  2628.  
  2629.  
  2630.  
  2631.  
  2632.  
  2633. extern ssize_t write (int __fd, const void *__buf, size_t __n) ;
  2634.  
  2635. extern ssize_t pread (int __fd, void *__buf, size_t __nbytes, __off64_t __offset) __asm__ ("" "pread64") ;
  2636. extern ssize_t pwrite (int __fd, const void *__buf, size_t __nbytes, __off64_t __offset) __asm__ ("" "pwrite64") ;
  2637.  
  2638.  
  2639.  
  2640.  
  2641.  
  2642.  
  2643. extern int pipe (int __pipedes[2]) __attribute__ ((__nothrow__ , __leaf__)) ;
  2644.  
  2645.  
  2646.  
  2647.  
  2648.  
  2649.  
  2650.  
  2651.  
  2652.  
  2653. extern unsigned int alarm (unsigned int __seconds) __attribute__ ((__nothrow__ , __leaf__));
  2654.  
  2655.  
  2656.  
  2657.  
  2658.  
  2659.  
  2660.  
  2661.  
  2662.  
  2663.  
  2664.  
  2665. extern unsigned int sleep (unsigned int __seconds);
  2666.  
  2667.  
  2668.  
  2669.  
  2670.  
  2671. extern __useconds_t ualarm (__useconds_t __value, __useconds_t __interval)
  2672. __attribute__ ((__nothrow__ , __leaf__));
  2673.  
  2674.  
  2675.  
  2676.  
  2677.  
  2678.  
  2679. extern int usleep (__useconds_t __useconds);
  2680.  
  2681.  
  2682.  
  2683.  
  2684.  
  2685.  
  2686.  
  2687. extern int pause (void);
  2688.  
  2689.  
  2690.  
  2691. extern int chown (const char *__file, __uid_t __owner, __gid_t __group)
  2692. __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) ;
  2693.  
  2694.  
  2695. extern int fchown (int __fd, __uid_t __owner, __gid_t __group) __attribute__ ((__nothrow__ , __leaf__)) ;
  2696.  
  2697.  
  2698.  
  2699.  
  2700. extern int lchown (const char *__file, __uid_t __owner, __gid_t __group)
  2701. __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) ;
  2702.  
  2703.  
  2704.  
  2705.  
  2706. extern int fchownat (int __fd, const char *__file, __uid_t __owner,
  2707. __gid_t __group, int __flag)
  2708. __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))) ;
  2709.  
  2710.  
  2711. extern int chdir (const char *__path) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) ;
  2712.  
  2713.  
  2714. extern int fchdir (int __fd) __attribute__ ((__nothrow__ , __leaf__)) ;
  2715.  
  2716.  
  2717.  
  2718.  
  2719.  
  2720.  
  2721.  
  2722.  
  2723. extern char *getcwd (char *__buf, size_t __size) __attribute__ ((__nothrow__ , __leaf__)) ;
  2724.  
  2725.  
  2726.  
  2727.  
  2728.  
  2729. extern char *getwd (char *__buf)
  2730. __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__deprecated__)) ;
  2731.  
  2732.  
  2733.  
  2734. extern int dup (int __fd) __attribute__ ((__nothrow__ , __leaf__)) ;
  2735.  
  2736.  
  2737. extern int dup2 (int __fd, int __fd2) __attribute__ ((__nothrow__ , __leaf__));
  2738.  
  2739.  
  2740.  
  2741. extern char **__environ;
  2742.  
  2743.  
  2744.  
  2745.  
  2746. extern int execve (const char *__path, char *const __argv[],
  2747. char *const __envp[]) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
  2748.  
  2749.  
  2750.  
  2751. extern int fexecve (int __fd, char *const __argv[], char *const __envp[])
  2752. __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2)));
  2753.  
  2754.  
  2755.  
  2756. extern int execv (const char *__path, char *const __argv[])
  2757. __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
  2758.  
  2759.  
  2760.  
  2761. extern int execle (const char *__path, const char *__arg, ...)
  2762. __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
  2763.  
  2764.  
  2765.  
  2766. extern int execl (const char *__path, const char *__arg, ...)
  2767. __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
  2768.  
  2769.  
  2770.  
  2771. extern int execvp (const char *__file, char *const __argv[])
  2772. __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
  2773.  
  2774.  
  2775.  
  2776.  
  2777. extern int execlp (const char *__file, const char *__arg, ...)
  2778. __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
  2779.  
  2780.  
  2781.  
  2782.  
  2783. extern int nice (int __inc) __attribute__ ((__nothrow__ , __leaf__)) ;
  2784.  
  2785.  
  2786.  
  2787. extern void _exit (int __status) __attribute__ ((__noreturn__));
  2788.  
  2789.  
  2790.  
  2791.  
  2792.  
  2793.  
  2794.  
  2795.  
  2796.  
  2797.  
  2798.  
  2799.  
  2800.  
  2801.  
  2802.  
  2803.  
  2804.  
  2805.  
  2806.  
  2807.  
  2808.  
  2809.  
  2810.  
  2811.  
  2812.  
  2813. enum
  2814. {
  2815. _PC_LINK_MAX,
  2816. _PC_MAX_CANON,
  2817. _PC_MAX_INPUT,
  2818. _PC_NAME_MAX,
  2819. _PC_PATH_MAX,
  2820. _PC_PIPE_BUF,
  2821. _PC_CHOWN_RESTRICTED,
  2822. _PC_NO_TRUNC,
  2823. _PC_VDISABLE,
  2824. _PC_SYNC_IO,
  2825. _PC_ASYNC_IO,
  2826. _PC_PRIO_IO,
  2827. _PC_SOCK_MAXBUF,
  2828. _PC_FILESIZEBITS,
  2829. _PC_REC_INCR_XFER_SIZE,
  2830. _PC_REC_MAX_XFER_SIZE,
  2831. _PC_REC_MIN_XFER_SIZE,
  2832. _PC_REC_XFER_ALIGN,
  2833. _PC_ALLOC_SIZE_MIN,
  2834. _PC_SYMLINK_MAX,
  2835. _PC_2_SYMLINKS
  2836. };
  2837.  
  2838.  
  2839. enum
  2840. {
  2841. _SC_ARG_MAX,
  2842. _SC_CHILD_MAX,
  2843. _SC_CLK_TCK,
  2844. _SC_NGROUPS_MAX,
  2845. _SC_OPEN_MAX,
  2846. _SC_STREAM_MAX,
  2847. _SC_TZNAME_MAX,
  2848. _SC_JOB_CONTROL,
  2849. _SC_SAVED_IDS,
  2850. _SC_REALTIME_SIGNALS,
  2851. _SC_PRIORITY_SCHEDULING,
  2852. _SC_TIMERS,
  2853. _SC_ASYNCHRONOUS_IO,
  2854. _SC_PRIORITIZED_IO,
  2855. _SC_SYNCHRONIZED_IO,
  2856. _SC_FSYNC,
  2857. _SC_MAPPED_FILES,
  2858. _SC_MEMLOCK,
  2859. _SC_MEMLOCK_RANGE,
  2860. _SC_MEMORY_PROTECTION,
  2861. _SC_MESSAGE_PASSING,
  2862. _SC_SEMAPHORES,
  2863. _SC_SHARED_MEMORY_OBJECTS,
  2864. _SC_AIO_LISTIO_MAX,
  2865. _SC_AIO_MAX,
  2866. _SC_AIO_PRIO_DELTA_MAX,
  2867. _SC_DELAYTIMER_MAX,
  2868. _SC_MQ_OPEN_MAX,
  2869. _SC_MQ_PRIO_MAX,
  2870. _SC_VERSION,
  2871. _SC_PAGESIZE,
  2872. _SC_RTSIG_MAX,
  2873. _SC_SEM_NSEMS_MAX,
  2874. _SC_SEM_VALUE_MAX,
  2875. _SC_SIGQUEUE_MAX,
  2876. _SC_TIMER_MAX,
  2877.  
  2878.  
  2879.  
  2880. _SC_BC_BASE_MAX,
  2881. _SC_BC_DIM_MAX,
  2882. _SC_BC_SCALE_MAX,
  2883. _SC_BC_STRING_MAX,
  2884. _SC_COLL_WEIGHTS_MAX,
  2885. _SC_EQUIV_CLASS_MAX,
  2886. _SC_EXPR_NEST_MAX,
  2887. _SC_LINE_MAX,
  2888. _SC_RE_DUP_MAX,
  2889. _SC_CHARCLASS_NAME_MAX,
  2890.  
  2891. _SC_2_VERSION,
  2892. _SC_2_C_BIND,
  2893. _SC_2_C_DEV,
  2894. _SC_2_FORT_DEV,
  2895. _SC_2_FORT_RUN,
  2896. _SC_2_SW_DEV,
  2897. _SC_2_LOCALEDEF,
  2898.  
  2899. _SC_PII,
  2900. _SC_PII_XTI,
  2901. _SC_PII_SOCKET,
  2902. _SC_PII_INTERNET,
  2903. _SC_PII_OSI,
  2904. _SC_POLL,
  2905. _SC_SELECT,
  2906. _SC_UIO_MAXIOV,
  2907. _SC_IOV_MAX = _SC_UIO_MAXIOV,
  2908. _SC_PII_INTERNET_STREAM,
  2909. _SC_PII_INTERNET_DGRAM,
  2910. _SC_PII_OSI_COTS,
  2911. _SC_PII_OSI_CLTS,
  2912. _SC_PII_OSI_M,
  2913. _SC_T_IOV_MAX,
  2914.  
  2915.  
  2916. _SC_THREADS,
  2917. _SC_THREAD_SAFE_FUNCTIONS,
  2918. _SC_GETGR_R_SIZE_MAX,
  2919. _SC_GETPW_R_SIZE_MAX,
  2920. _SC_LOGIN_NAME_MAX,
  2921. _SC_TTY_NAME_MAX,
  2922. _SC_THREAD_DESTRUCTOR_ITERATIONS,
  2923. _SC_THREAD_KEYS_MAX,
  2924. _SC_THREAD_STACK_MIN,
  2925. _SC_THREAD_THREADS_MAX,
  2926. _SC_THREAD_ATTR_STACKADDR,
  2927. _SC_THREAD_ATTR_STACKSIZE,
  2928. _SC_THREAD_PRIORITY_SCHEDULING,
  2929. _SC_THREAD_PRIO_INHERIT,
  2930. _SC_THREAD_PRIO_PROTECT,
  2931. _SC_THREAD_PROCESS_SHARED,
  2932.  
  2933. _SC_NPROCESSORS_CONF,
  2934. _SC_NPROCESSORS_ONLN,
  2935. _SC_PHYS_PAGES,
  2936. _SC_AVPHYS_PAGES,
  2937. _SC_ATEXIT_MAX,
  2938. _SC_PASS_MAX,
  2939.  
  2940. _SC_XOPEN_VERSION,
  2941. _SC_XOPEN_XCU_VERSION,
  2942. _SC_XOPEN_UNIX,
  2943. _SC_XOPEN_CRYPT,
  2944. _SC_XOPEN_ENH_I18N,
  2945. _SC_XOPEN_SHM,
  2946.  
  2947. _SC_2_CHAR_TERM,
  2948. _SC_2_C_VERSION,
  2949. _SC_2_UPE,
  2950.  
  2951. _SC_XOPEN_XPG2,
  2952. _SC_XOPEN_XPG3,
  2953. _SC_XOPEN_XPG4,
  2954.  
  2955. _SC_CHAR_BIT,
  2956. _SC_CHAR_MAX,
  2957. _SC_CHAR_MIN,
  2958. _SC_INT_MAX,
  2959. _SC_INT_MIN,
  2960. _SC_LONG_BIT,
  2961. _SC_WORD_BIT,
  2962. _SC_MB_LEN_MAX,
  2963. _SC_NZERO,
  2964. _SC_SSIZE_MAX,
  2965. _SC_SCHAR_MAX,
  2966. _SC_SCHAR_MIN,
  2967. _SC_SHRT_MAX,
  2968. _SC_SHRT_MIN,
  2969. _SC_UCHAR_MAX,
  2970. _SC_UINT_MAX,
  2971. _SC_ULONG_MAX,
  2972. _SC_USHRT_MAX,
  2973.  
  2974. _SC_NL_ARGMAX,
  2975. _SC_NL_LANGMAX,
  2976. _SC_NL_MSGMAX,
  2977. _SC_NL_NMAX,
  2978. _SC_NL_SETMAX,
  2979. _SC_NL_TEXTMAX,
  2980.  
  2981. _SC_XBS5_ILP32_OFF32,
  2982. _SC_XBS5_ILP32_OFFBIG,
  2983. _SC_XBS5_LP64_OFF64,
  2984. _SC_XBS5_LPBIG_OFFBIG,
  2985.  
  2986. _SC_XOPEN_LEGACY,
  2987. _SC_XOPEN_REALTIME,
  2988. _SC_XOPEN_REALTIME_THREADS,
  2989.  
  2990. _SC_ADVISORY_INFO,
  2991. _SC_BARRIERS,
  2992. _SC_BASE,
  2993. _SC_C_LANG_SUPPORT,
  2994. _SC_C_LANG_SUPPORT_R,
  2995. _SC_CLOCK_SELECTION,
  2996. _SC_CPUTIME,
  2997. _SC_THREAD_CPUTIME,
  2998. _SC_DEVICE_IO,
  2999. _SC_DEVICE_SPECIFIC,
  3000. _SC_DEVICE_SPECIFIC_R,
  3001. _SC_FD_MGMT,
  3002. _SC_FIFO,
  3003. _SC_PIPE,
  3004. _SC_FILE_ATTRIBUTES,
  3005. _SC_FILE_LOCKING,
  3006. _SC_FILE_SYSTEM,
  3007. _SC_MONOTONIC_CLOCK,
  3008. _SC_MULTI_PROCESS,
  3009. _SC_SINGLE_PROCESS,
  3010. _SC_NETWORKING,
  3011. _SC_READER_WRITER_LOCKS,
  3012. _SC_SPIN_LOCKS,
  3013. _SC_REGEXP,
  3014. _SC_REGEX_VERSION,
  3015. _SC_SHELL,
  3016. _SC_SIGNALS,
  3017. _SC_SPAWN,
  3018. _SC_SPORADIC_SERVER,
  3019. _SC_THREAD_SPORADIC_SERVER,
  3020. _SC_SYSTEM_DATABASE,
  3021. _SC_SYSTEM_DATABASE_R,
  3022. _SC_TIMEOUTS,
  3023. _SC_TYPED_MEMORY_OBJECTS,
  3024. _SC_USER_GROUPS,
  3025. _SC_USER_GROUPS_R,
  3026. _SC_2_PBS,
  3027. _SC_2_PBS_ACCOUNTING,
  3028. _SC_2_PBS_LOCATE,
  3029. _SC_2_PBS_MESSAGE,
  3030. _SC_2_PBS_TRACK,
  3031. _SC_SYMLOOP_MAX,
  3032. _SC_STREAMS,
  3033. _SC_2_PBS_CHECKPOINT,
  3034.  
  3035. _SC_V6_ILP32_OFF32,
  3036. _SC_V6_ILP32_OFFBIG,
  3037. _SC_V6_LP64_OFF64,
  3038. _SC_V6_LPBIG_OFFBIG,
  3039.  
  3040. _SC_HOST_NAME_MAX,
  3041. _SC_TRACE,
  3042. _SC_TRACE_EVENT_FILTER,
  3043. _SC_TRACE_INHERIT,
  3044. _SC_TRACE_LOG,
  3045.  
  3046. _SC_LEVEL1_ICACHE_SIZE,
  3047. _SC_LEVEL1_ICACHE_ASSOC,
  3048. _SC_LEVEL1_ICACHE_LINESIZE,
  3049. _SC_LEVEL1_DCACHE_SIZE,
  3050. _SC_LEVEL1_DCACHE_ASSOC,
  3051. _SC_LEVEL1_DCACHE_LINESIZE,
  3052. _SC_LEVEL2_CACHE_SIZE,
  3053. _SC_LEVEL2_CACHE_ASSOC,
  3054. _SC_LEVEL2_CACHE_LINESIZE,
  3055. _SC_LEVEL3_CACHE_SIZE,
  3056. _SC_LEVEL3_CACHE_ASSOC,
  3057. _SC_LEVEL3_CACHE_LINESIZE,
  3058. _SC_LEVEL4_CACHE_SIZE,
  3059. _SC_LEVEL4_CACHE_ASSOC,
  3060. _SC_LEVEL4_CACHE_LINESIZE,
  3061.  
  3062.  
  3063. _SC_IPV6 = _SC_LEVEL1_ICACHE_SIZE + 50,
  3064. _SC_RAW_SOCKETS,
  3065.  
  3066. _SC_V7_ILP32_OFF32,
  3067. _SC_V7_ILP32_OFFBIG,
  3068. _SC_V7_LP64_OFF64,
  3069. _SC_V7_LPBIG_OFFBIG,
  3070.  
  3071. _SC_SS_REPL_MAX,
  3072.  
  3073. _SC_TRACE_EVENT_NAME_MAX,
  3074. _SC_TRACE_NAME_MAX,
  3075. _SC_TRACE_SYS_MAX,
  3076. _SC_TRACE_USER_EVENT_MAX,
  3077.  
  3078. _SC_XOPEN_STREAMS,
  3079.  
  3080. _SC_THREAD_ROBUST_PRIO_INHERIT,
  3081. _SC_THREAD_ROBUST_PRIO_PROTECT
  3082. };
  3083.  
  3084.  
  3085. enum
  3086. {
  3087. _CS_PATH,
  3088.  
  3089. _CS_V6_WIDTH_RESTRICTED_ENVS,
  3090.  
  3091. _CS_GNU_LIBC_VERSION,
  3092. _CS_GNU_LIBPTHREAD_VERSION,
  3093.  
  3094. _CS_V5_WIDTH_RESTRICTED_ENVS,
  3095.  
  3096. _CS_V7_WIDTH_RESTRICTED_ENVS,
  3097.  
  3098. _CS_LFS_CFLAGS = 1000,
  3099. _CS_LFS_LDFLAGS,
  3100. _CS_LFS_LIBS,
  3101. _CS_LFS_LINTFLAGS,
  3102. _CS_LFS64_CFLAGS,
  3103. _CS_LFS64_LDFLAGS,
  3104. _CS_LFS64_LIBS,
  3105. _CS_LFS64_LINTFLAGS,
  3106.  
  3107. _CS_XBS5_ILP32_OFF32_CFLAGS = 1100,
  3108. _CS_XBS5_ILP32_OFF32_LDFLAGS,
  3109. _CS_XBS5_ILP32_OFF32_LIBS,
  3110. _CS_XBS5_ILP32_OFF32_LINTFLAGS,
  3111. _CS_XBS5_ILP32_OFFBIG_CFLAGS,
  3112. _CS_XBS5_ILP32_OFFBIG_LDFLAGS,
  3113. _CS_XBS5_ILP32_OFFBIG_LIBS,
  3114. _CS_XBS5_ILP32_OFFBIG_LINTFLAGS,
  3115. _CS_XBS5_LP64_OFF64_CFLAGS,
  3116. _CS_XBS5_LP64_OFF64_LDFLAGS,
  3117. _CS_XBS5_LP64_OFF64_LIBS,
  3118. _CS_XBS5_LP64_OFF64_LINTFLAGS,
  3119. _CS_XBS5_LPBIG_OFFBIG_CFLAGS,
  3120. _CS_XBS5_LPBIG_OFFBIG_LDFLAGS,
  3121. _CS_XBS5_LPBIG_OFFBIG_LIBS,
  3122. _CS_XBS5_LPBIG_OFFBIG_LINTFLAGS,
  3123.  
  3124. _CS_POSIX_V6_ILP32_OFF32_CFLAGS,
  3125. _CS_POSIX_V6_ILP32_OFF32_LDFLAGS,
  3126. _CS_POSIX_V6_ILP32_OFF32_LIBS,
  3127. _CS_POSIX_V6_ILP32_OFF32_LINTFLAGS,
  3128. _CS_POSIX_V6_ILP32_OFFBIG_CFLAGS,
  3129. _CS_POSIX_V6_ILP32_OFFBIG_LDFLAGS,
  3130. _CS_POSIX_V6_ILP32_OFFBIG_LIBS,
  3131. _CS_POSIX_V6_ILP32_OFFBIG_LINTFLAGS,
  3132. _CS_POSIX_V6_LP64_OFF64_CFLAGS,
  3133. _CS_POSIX_V6_LP64_OFF64_LDFLAGS,
  3134. _CS_POSIX_V6_LP64_OFF64_LIBS,
  3135. _CS_POSIX_V6_LP64_OFF64_LINTFLAGS,
  3136. _CS_POSIX_V6_LPBIG_OFFBIG_CFLAGS,
  3137. _CS_POSIX_V6_LPBIG_OFFBIG_LDFLAGS,
  3138. _CS_POSIX_V6_LPBIG_OFFBIG_LIBS,
  3139. _CS_POSIX_V6_LPBIG_OFFBIG_LINTFLAGS,
  3140.  
  3141. _CS_POSIX_V7_ILP32_OFF32_CFLAGS,
  3142. _CS_POSIX_V7_ILP32_OFF32_LDFLAGS,
  3143. _CS_POSIX_V7_ILP32_OFF32_LIBS,
  3144. _CS_POSIX_V7_ILP32_OFF32_LINTFLAGS,
  3145. _CS_POSIX_V7_ILP32_OFFBIG_CFLAGS,
  3146. _CS_POSIX_V7_ILP32_OFFBIG_LDFLAGS,
  3147. _CS_POSIX_V7_ILP32_OFFBIG_LIBS,
  3148. _CS_POSIX_V7_ILP32_OFFBIG_LINTFLAGS,
  3149. _CS_POSIX_V7_LP64_OFF64_CFLAGS,
  3150. _CS_POSIX_V7_LP64_OFF64_LDFLAGS,
  3151. _CS_POSIX_V7_LP64_OFF64_LIBS,
  3152. _CS_POSIX_V7_LP64_OFF64_LINTFLAGS,
  3153. _CS_POSIX_V7_LPBIG_OFFBIG_CFLAGS,
  3154. _CS_POSIX_V7_LPBIG_OFFBIG_LDFLAGS,
  3155. _CS_POSIX_V7_LPBIG_OFFBIG_LIBS,
  3156. _CS_POSIX_V7_LPBIG_OFFBIG_LINTFLAGS,
  3157.  
  3158. _CS_V6_ENV,
  3159. _CS_V7_ENV
  3160. };
  3161.  
  3162.  
  3163. extern long int pathconf (const char *__path, int __name)
  3164. __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
  3165.  
  3166.  
  3167. extern long int fpathconf (int __fd, int __name) __attribute__ ((__nothrow__ , __leaf__));
  3168.  
  3169.  
  3170. extern long int sysconf (int __name) __attribute__ ((__nothrow__ , __leaf__));
  3171.  
  3172.  
  3173. extern size_t confstr (int __name, char *__buf, size_t __len) __attribute__ ((__nothrow__ , __leaf__));
  3174.  
  3175.  
  3176.  
  3177. extern __pid_t getpid (void) __attribute__ ((__nothrow__ , __leaf__));
  3178.  
  3179.  
  3180. extern __pid_t getppid (void) __attribute__ ((__nothrow__ , __leaf__));
  3181.  
  3182.  
  3183. extern __pid_t getpgrp (void) __attribute__ ((__nothrow__ , __leaf__));
  3184.  
  3185.  
  3186. extern __pid_t __getpgid (__pid_t __pid) __attribute__ ((__nothrow__ , __leaf__));
  3187. extern __pid_t getpgid (__pid_t __pid) __attribute__ ((__nothrow__ , __leaf__));
  3188.  
  3189.  
  3190.  
  3191.  
  3192.  
  3193. extern int setpgid (__pid_t __pid, __pid_t __pgid) __attribute__ ((__nothrow__ , __leaf__));
  3194.  
  3195.  
  3196.  
  3197.  
  3198.  
  3199.  
  3200.  
  3201.  
  3202.  
  3203.  
  3204.  
  3205.  
  3206. extern int setpgrp (void) __attribute__ ((__nothrow__ , __leaf__));
  3207.  
  3208.  
  3209.  
  3210.  
  3211.  
  3212. extern __pid_t setsid (void) __attribute__ ((__nothrow__ , __leaf__));
  3213.  
  3214.  
  3215. extern __pid_t getsid (__pid_t __pid) __attribute__ ((__nothrow__ , __leaf__));
  3216.  
  3217.  
  3218. extern __uid_t getuid (void) __attribute__ ((__nothrow__ , __leaf__));
  3219.  
  3220.  
  3221. extern __uid_t geteuid (void) __attribute__ ((__nothrow__ , __leaf__));
  3222.  
  3223.  
  3224. extern __gid_t getgid (void) __attribute__ ((__nothrow__ , __leaf__));
  3225.  
  3226.  
  3227. extern __gid_t getegid (void) __attribute__ ((__nothrow__ , __leaf__));
  3228.  
  3229.  
  3230.  
  3231.  
  3232. extern int getgroups (int __size, __gid_t __list[]) __attribute__ ((__nothrow__ , __leaf__)) ;
  3233.  
  3234.  
  3235.  
  3236.  
  3237.  
  3238.  
  3239. extern int setuid (__uid_t __uid) __attribute__ ((__nothrow__ , __leaf__)) ;
  3240.  
  3241.  
  3242.  
  3243. extern int setreuid (__uid_t __ruid, __uid_t __euid) __attribute__ ((__nothrow__ , __leaf__)) ;
  3244.  
  3245.  
  3246. extern int seteuid (__uid_t __uid) __attribute__ ((__nothrow__ , __leaf__)) ;
  3247.  
  3248.  
  3249.  
  3250.  
  3251.  
  3252. extern int setgid (__gid_t __gid) __attribute__ ((__nothrow__ , __leaf__)) ;
  3253.  
  3254.  
  3255.  
  3256. extern int setregid (__gid_t __rgid, __gid_t __egid) __attribute__ ((__nothrow__ , __leaf__)) ;
  3257.  
  3258.  
  3259. extern int setegid (__gid_t __gid) __attribute__ ((__nothrow__ , __leaf__)) ;
  3260.  
  3261.  
  3262.  
  3263.  
  3264.  
  3265.  
  3266. extern __pid_t fork (void) __attribute__ ((__nothrow__));
  3267.  
  3268.  
  3269.  
  3270.  
  3271.  
  3272. extern __pid_t vfork (void) __attribute__ ((__nothrow__ , __leaf__));
  3273.  
  3274.  
  3275.  
  3276.  
  3277. extern char *ttyname (int __fd) __attribute__ ((__nothrow__ , __leaf__));
  3278.  
  3279.  
  3280.  
  3281. extern int ttyname_r (int __fd, char *__buf, size_t __buflen)
  3282. __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))) ;
  3283.  
  3284.  
  3285.  
  3286. extern int isatty (int __fd) __attribute__ ((__nothrow__ , __leaf__));
  3287.  
  3288.  
  3289.  
  3290. extern int ttyslot (void) __attribute__ ((__nothrow__ , __leaf__));
  3291.  
  3292.  
  3293.  
  3294. extern int link (const char *__from, const char *__to)
  3295. __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))) ;
  3296.  
  3297.  
  3298.  
  3299. extern int linkat (int __fromfd, const char *__from, int __tofd,
  3300. const char *__to, int __flags)
  3301. __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2, 4))) ;
  3302.  
  3303.  
  3304. extern int symlink (const char *__from, const char *__to)
  3305. __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))) ;
  3306.  
  3307.  
  3308.  
  3309.  
  3310. extern ssize_t readlink (const char *__restrict __path,
  3311. char *__restrict __buf, size_t __len)
  3312. __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))) ;
  3313.  
  3314.  
  3315. extern int symlinkat (const char *__from, int __tofd,
  3316. const char *__to) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 3))) ;
  3317.  
  3318.  
  3319. extern ssize_t readlinkat (int __fd, const char *__restrict __path,
  3320. char *__restrict __buf, size_t __len)
  3321. __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2, 3))) ;
  3322.  
  3323.  
  3324. extern int unlink (const char *__name) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
  3325.  
  3326.  
  3327. extern int unlinkat (int __fd, const char *__name, int __flag)
  3328. __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2)));
  3329.  
  3330.  
  3331. extern int rmdir (const char *__path) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
  3332.  
  3333.  
  3334.  
  3335. extern __pid_t tcgetpgrp (int __fd) __attribute__ ((__nothrow__ , __leaf__));
  3336.  
  3337.  
  3338. extern int tcsetpgrp (int __fd, __pid_t __pgrp_id) __attribute__ ((__nothrow__ , __leaf__));
  3339.  
  3340.  
  3341.  
  3342.  
  3343.  
  3344.  
  3345. extern char *getlogin (void);
  3346.  
  3347.  
  3348.  
  3349.  
  3350.  
  3351.  
  3352. extern int getlogin_r (char *__name, size_t __name_len) __attribute__ ((__nonnull__ (1)));
  3353.  
  3354.  
  3355. extern int setlogin (const char *__name) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
  3356.  
  3357.  
  3358.  
  3359.  
  3360.  
  3361.  
  3362.  
  3363.  
  3364.  
  3365.  
  3366.  
  3367.  
  3368.  
  3369.  
  3370.  
  3371.  
  3372.  
  3373.  
  3374.  
  3375.  
  3376.  
  3377.  
  3378.  
  3379.  
  3380.  
  3381.  
  3382.  
  3383.  
  3384.  
  3385.  
  3386.  
  3387.  
  3388.  
  3389.  
  3390.  
  3391.  
  3392.  
  3393.  
  3394.  
  3395.  
  3396.  
  3397. extern char *optarg;
  3398.  
  3399.  
  3400.  
  3401.  
  3402.  
  3403.  
  3404.  
  3405.  
  3406.  
  3407.  
  3408.  
  3409.  
  3410.  
  3411. extern int optind;
  3412.  
  3413.  
  3414.  
  3415.  
  3416. extern int opterr;
  3417.  
  3418.  
  3419.  
  3420. extern int optopt;
  3421.  
  3422.  
  3423.  
  3424.  
  3425.  
  3426.  
  3427.  
  3428.  
  3429.  
  3430.  
  3431.  
  3432.  
  3433.  
  3434.  
  3435.  
  3436.  
  3437.  
  3438.  
  3439.  
  3440.  
  3441.  
  3442.  
  3443.  
  3444.  
  3445.  
  3446.  
  3447.  
  3448.  
  3449.  
  3450.  
  3451. extern int getopt (int ___argc, char *const *___argv, const char *__shortopts)
  3452. __attribute__ ((__nothrow__ , __leaf__));
  3453.  
  3454.  
  3455.  
  3456.  
  3457.  
  3458.  
  3459.  
  3460.  
  3461.  
  3462.  
  3463.  
  3464. extern int gethostname (char *__name, size_t __len) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
  3465.  
  3466.  
  3467.  
  3468.  
  3469. extern int sethostname (const char *__name, size_t __len)
  3470. __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) ;
  3471.  
  3472.  
  3473.  
  3474. extern int sethostid (long int __id) __attribute__ ((__nothrow__ , __leaf__)) ;
  3475.  
  3476.  
  3477.  
  3478.  
  3479.  
  3480. extern int getdomainname (char *__name, size_t __len)
  3481. __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) ;
  3482. extern int setdomainname (const char *__name, size_t __len)
  3483. __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) ;
  3484.  
  3485.  
  3486.  
  3487.  
  3488.  
  3489. extern int vhangup (void) __attribute__ ((__nothrow__ , __leaf__));
  3490.  
  3491.  
  3492. extern int revoke (const char *__file) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) ;
  3493.  
  3494.  
  3495.  
  3496.  
  3497.  
  3498.  
  3499.  
  3500. extern int profil (unsigned short int *__sample_buffer, size_t __size,
  3501. size_t __offset, unsigned int __scale)
  3502. __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
  3503.  
  3504.  
  3505.  
  3506.  
  3507.  
  3508. extern int acct (const char *__name) __attribute__ ((__nothrow__ , __leaf__));
  3509.  
  3510.  
  3511.  
  3512. extern char *getusershell (void) __attribute__ ((__nothrow__ , __leaf__));
  3513. extern void endusershell (void) __attribute__ ((__nothrow__ , __leaf__));
  3514. extern void setusershell (void) __attribute__ ((__nothrow__ , __leaf__));
  3515.  
  3516.  
  3517.  
  3518.  
  3519.  
  3520. extern int daemon (int __nochdir, int __noclose) __attribute__ ((__nothrow__ , __leaf__)) ;
  3521.  
  3522.  
  3523.  
  3524.  
  3525. extern int chroot (const char *__path) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) ;
  3526.  
  3527.  
  3528.  
  3529. extern char *getpass (const char *__prompt) __attribute__ ((__nonnull__ (1)));
  3530.  
  3531.  
  3532.  
  3533.  
  3534.  
  3535.  
  3536. extern int fsync (int __fd);
  3537.  
  3538.  
  3539.  
  3540.  
  3541.  
  3542.  
  3543. extern long int gethostid (void);
  3544.  
  3545.  
  3546. extern void sync (void) __attribute__ ((__nothrow__ , __leaf__));
  3547.  
  3548.  
  3549.  
  3550.  
  3551. extern int getpagesize (void) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__));
  3552.  
  3553.  
  3554.  
  3555.  
  3556. extern int getdtablesize (void) __attribute__ ((__nothrow__ , __leaf__));
  3557.  
  3558.  
  3559.  
  3560.  
  3561.  
  3562. extern int truncate (const char *__file, __off64_t __length) __asm__ ("" "truncate64") __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) ;
  3563.  
  3564.  
  3565.  
  3566.  
  3567. extern int ftruncate (int __fd, __off64_t __length) __asm__ ("" "ftruncate64") __attribute__ ((__nothrow__ , __leaf__)) ;
  3568.  
  3569.  
  3570.  
  3571.  
  3572.  
  3573.  
  3574. extern int brk (void *__addr) __attribute__ ((__nothrow__ , __leaf__)) ;
  3575.  
  3576.  
  3577.  
  3578.  
  3579.  
  3580. extern void *sbrk (intptr_t __delta) __attribute__ ((__nothrow__ , __leaf__));
  3581.  
  3582.  
  3583.  
  3584.  
  3585.  
  3586.  
  3587.  
  3588.  
  3589.  
  3590.  
  3591.  
  3592.  
  3593. extern long int syscall (long int __sysno, ...) __attribute__ ((__nothrow__ , __leaf__));
  3594.  
  3595.  
  3596.  
  3597.  
  3598.  
  3599.  
  3600.  
  3601.  
  3602.  
  3603.  
  3604.  
  3605.  
  3606.  
  3607.  
  3608.  
  3609. extern int lockf (int __fd, int __cmd, __off64_t __len) __asm__ ("" "lockf64") ;
  3610.  
  3611.  
  3612.  
  3613.  
  3614.  
  3615. extern int fdatasync (int __fildes);
  3616.  
  3617.  
  3618.  
  3619.  
  3620.  
  3621.  
  3622.  
  3623.  
  3624.  
  3625.  
  3626.  
  3627.  
  3628.  
  3629.  
  3630.  
  3631.  
  3632.  
  3633.  
  3634.  
  3635.  
  3636.  
  3637.  
  3638.  
  3639.  
  3640.  
  3641.  
  3642.  
  3643.  
  3644.  
  3645.  
  3646.  
  3647.  
  3648.  
  3649.  
  3650.  
  3651.  
  3652.  
  3653.  
  3654.  
  3655.  
  3656.  
  3657.  
  3658.  
  3659.  
  3660.  
  3661.  
  3662.  
  3663.  
  3664.  
  3665.  
  3666.  
  3667.  
  3668.  
  3669.  
  3670.  
  3671.  
  3672.  
  3673.  
  3674.  
  3675. typedef voidpf (*alloc_func) (voidpf opaque, uInt items, uInt size);
  3676. typedef void (*free_func) (voidpf opaque, voidpf address);
  3677.  
  3678. struct internal_state;
  3679.  
  3680. typedef struct z_stream_s {
  3681. Bytef *next_in;
  3682. uInt avail_in;
  3683. uLong total_in;
  3684.  
  3685. Bytef *next_out;
  3686. uInt avail_out;
  3687. uLong total_out;
  3688.  
  3689. char *msg;
  3690. struct internal_state *state;
  3691.  
  3692. alloc_func zalloc;
  3693. free_func zfree;
  3694. voidpf opaque;
  3695.  
  3696. int data_type;
  3697. uLong adler;
  3698. uLong reserved;
  3699. } z_stream;
  3700.  
  3701. typedef z_stream *z_streamp;
  3702.  
  3703.  
  3704.  
  3705.  
  3706.  
  3707. typedef struct gz_header_s {
  3708. int text;
  3709. uLong time;
  3710. int xflags;
  3711. int os;
  3712. Bytef *extra;
  3713. uInt extra_len;
  3714. uInt extra_max;
  3715. Bytef *name;
  3716. uInt name_max;
  3717. Bytef *comment;
  3718. uInt comm_max;
  3719. int hcrc;
  3720. int done;
  3721.  
  3722. } gz_header;
  3723.  
  3724. typedef gz_header *gz_headerp;
  3725.  
  3726.  
  3727.  
  3728.  
  3729.  
  3730.  
  3731.  
  3732.  
  3733.  
  3734.  
  3735.  
  3736.  
  3737.  
  3738.  
  3739.  
  3740.  
  3741.  
  3742.  
  3743.  
  3744.  
  3745.  
  3746.  
  3747.  
  3748.  
  3749.  
  3750.  
  3751.  
  3752.  
  3753.  
  3754.  
  3755.  
  3756.  
  3757.  
  3758.  
  3759.  
  3760.  
  3761.  
  3762.  
  3763.  
  3764.  
  3765.  
  3766.  
  3767.  
  3768.  
  3769.  
  3770.  
  3771.  
  3772.  
  3773.  
  3774.  
  3775.  
  3776.  
  3777.  
  3778.  
  3779. extern const char * zlibVersion (void);
  3780.  
  3781.  
  3782.  
  3783.  
  3784.  
  3785.  
  3786.  
  3787.  
  3788.  
  3789.  
  3790.  
  3791.  
  3792.  
  3793.  
  3794.  
  3795.  
  3796.  
  3797.  
  3798.  
  3799.  
  3800.  
  3801.  
  3802.  
  3803.  
  3804.  
  3805.  
  3806.  
  3807.  
  3808.  
  3809. extern int deflate (z_streamp strm, int flush);
  3810.  
  3811.  
  3812.  
  3813.  
  3814.  
  3815.  
  3816.  
  3817.  
  3818.  
  3819.  
  3820.  
  3821.  
  3822.  
  3823.  
  3824.  
  3825.  
  3826.  
  3827.  
  3828.  
  3829.  
  3830.  
  3831.  
  3832.  
  3833.  
  3834.  
  3835.  
  3836.  
  3837.  
  3838.  
  3839.  
  3840.  
  3841.  
  3842.  
  3843.  
  3844.  
  3845.  
  3846.  
  3847.  
  3848.  
  3849.  
  3850.  
  3851.  
  3852.  
  3853.  
  3854.  
  3855.  
  3856.  
  3857.  
  3858.  
  3859.  
  3860.  
  3861.  
  3862.  
  3863.  
  3864.  
  3865.  
  3866.  
  3867.  
  3868.  
  3869.  
  3870.  
  3871.  
  3872.  
  3873.  
  3874.  
  3875.  
  3876.  
  3877.  
  3878.  
  3879.  
  3880.  
  3881.  
  3882.  
  3883.  
  3884.  
  3885.  
  3886.  
  3887.  
  3888.  
  3889.  
  3890.  
  3891.  
  3892.  
  3893.  
  3894.  
  3895.  
  3896.  
  3897.  
  3898.  
  3899.  
  3900.  
  3901.  
  3902.  
  3903.  
  3904.  
  3905.  
  3906.  
  3907.  
  3908.  
  3909.  
  3910.  
  3911.  
  3912.  
  3913.  
  3914.  
  3915.  
  3916. extern int deflateEnd (z_streamp strm);
  3917.  
  3918.  
  3919.  
  3920.  
  3921.  
  3922.  
  3923.  
  3924.  
  3925.  
  3926.  
  3927.  
  3928.  
  3929.  
  3930.  
  3931.  
  3932.  
  3933.  
  3934.  
  3935.  
  3936.  
  3937.  
  3938.  
  3939.  
  3940.  
  3941.  
  3942.  
  3943.  
  3944.  
  3945.  
  3946.  
  3947.  
  3948.  
  3949.  
  3950.  
  3951.  
  3952.  
  3953.  
  3954.  
  3955. extern int inflate (z_streamp strm, int flush);
  3956.  
  3957.  
  3958.  
  3959.  
  3960.  
  3961.  
  3962.  
  3963.  
  3964.  
  3965.  
  3966.  
  3967.  
  3968.  
  3969.  
  3970.  
  3971.  
  3972.  
  3973.  
  3974.  
  3975.  
  3976.  
  3977.  
  3978.  
  3979.  
  3980.  
  3981.  
  3982.  
  3983.  
  3984.  
  3985.  
  3986.  
  3987.  
  3988.  
  3989.  
  3990.  
  3991.  
  3992.  
  3993.  
  3994.  
  3995.  
  3996.  
  3997.  
  3998.  
  3999.  
  4000.  
  4001.  
  4002.  
  4003.  
  4004.  
  4005.  
  4006.  
  4007.  
  4008.  
  4009.  
  4010.  
  4011.  
  4012.  
  4013.  
  4014.  
  4015.  
  4016.  
  4017.  
  4018.  
  4019.  
  4020.  
  4021.  
  4022.  
  4023.  
  4024.  
  4025.  
  4026.  
  4027.  
  4028.  
  4029.  
  4030.  
  4031.  
  4032.  
  4033.  
  4034.  
  4035.  
  4036.  
  4037.  
  4038.  
  4039.  
  4040.  
  4041.  
  4042.  
  4043.  
  4044.  
  4045.  
  4046.  
  4047.  
  4048.  
  4049.  
  4050.  
  4051.  
  4052.  
  4053.  
  4054.  
  4055.  
  4056.  
  4057.  
  4058.  
  4059.  
  4060.  
  4061.  
  4062.  
  4063.  
  4064.  
  4065.  
  4066.  
  4067.  
  4068.  
  4069.  
  4070.  
  4071. extern int inflateEnd (z_streamp strm);
  4072.  
  4073.  
  4074.  
  4075.  
  4076.  
  4077.  
  4078.  
  4079.  
  4080.  
  4081.  
  4082.  
  4083.  
  4084.  
  4085.  
  4086.  
  4087.  
  4088.  
  4089.  
  4090.  
  4091.  
  4092.  
  4093.  
  4094.  
  4095.  
  4096.  
  4097.  
  4098.  
  4099.  
  4100.  
  4101.  
  4102.  
  4103.  
  4104.  
  4105.  
  4106.  
  4107.  
  4108.  
  4109.  
  4110.  
  4111.  
  4112.  
  4113.  
  4114.  
  4115.  
  4116.  
  4117.  
  4118.  
  4119.  
  4120.  
  4121.  
  4122.  
  4123.  
  4124.  
  4125.  
  4126.  
  4127.  
  4128.  
  4129.  
  4130.  
  4131.  
  4132.  
  4133.  
  4134.  
  4135.  
  4136.  
  4137.  
  4138.  
  4139.  
  4140.  
  4141.  
  4142.  
  4143.  
  4144.  
  4145.  
  4146.  
  4147.  
  4148.  
  4149.  
  4150. extern int deflateSetDictionary (z_streamp strm, const Bytef *dictionary, uInt dictLength);
  4151.  
  4152.  
  4153.  
  4154.  
  4155.  
  4156.  
  4157.  
  4158.  
  4159.  
  4160.  
  4161.  
  4162.  
  4163.  
  4164.  
  4165.  
  4166.  
  4167.  
  4168.  
  4169.  
  4170.  
  4171.  
  4172.  
  4173.  
  4174.  
  4175.  
  4176.  
  4177.  
  4178.  
  4179.  
  4180.  
  4181.  
  4182.  
  4183.  
  4184.  
  4185.  
  4186.  
  4187.  
  4188.  
  4189.  
  4190.  
  4191.  
  4192. extern int deflateCopy (z_streamp dest, z_streamp source);
  4193.  
  4194.  
  4195.  
  4196.  
  4197.  
  4198.  
  4199.  
  4200.  
  4201.  
  4202.  
  4203.  
  4204.  
  4205.  
  4206.  
  4207.  
  4208.  
  4209. extern int deflateReset (z_streamp strm);
  4210.  
  4211.  
  4212.  
  4213.  
  4214.  
  4215.  
  4216.  
  4217.  
  4218.  
  4219.  
  4220. extern int deflateParams (z_streamp strm, int level, int strategy);
  4221.  
  4222.  
  4223.  
  4224.  
  4225.  
  4226.  
  4227.  
  4228.  
  4229.  
  4230.  
  4231.  
  4232.  
  4233.  
  4234.  
  4235.  
  4236.  
  4237.  
  4238.  
  4239. extern int deflateTune (z_streamp strm, int good_length, int max_lazy, int nice_length, int max_chain);
  4240.  
  4241.  
  4242.  
  4243.  
  4244.  
  4245.  
  4246.  
  4247.  
  4248.  
  4249.  
  4250.  
  4251.  
  4252. extern uLong deflateBound (z_streamp strm, uLong sourceLen);
  4253.  
  4254.  
  4255.  
  4256.  
  4257.  
  4258.  
  4259.  
  4260.  
  4261.  
  4262.  
  4263.  
  4264.  
  4265.  
  4266. extern int deflatePending (z_streamp strm, unsigned *pending, int *bits);
  4267.  
  4268.  
  4269.  
  4270.  
  4271.  
  4272.  
  4273.  
  4274.  
  4275.  
  4276.  
  4277.  
  4278.  
  4279. extern int deflatePrime (z_streamp strm, int bits, int value);
  4280.  
  4281.  
  4282.  
  4283.  
  4284.  
  4285.  
  4286.  
  4287.  
  4288.  
  4289.  
  4290.  
  4291.  
  4292.  
  4293.  
  4294. extern int deflateSetHeader (z_streamp strm, gz_headerp head);
  4295.  
  4296.  
  4297.  
  4298.  
  4299.  
  4300.  
  4301.  
  4302.  
  4303.  
  4304.  
  4305.  
  4306.  
  4307.  
  4308.  
  4309.  
  4310.  
  4311.  
  4312.  
  4313.  
  4314.  
  4315.  
  4316.  
  4317.  
  4318.  
  4319.  
  4320.  
  4321.  
  4322.  
  4323.  
  4324.  
  4325.  
  4326.  
  4327.  
  4328.  
  4329.  
  4330.  
  4331.  
  4332.  
  4333.  
  4334.  
  4335.  
  4336.  
  4337.  
  4338.  
  4339.  
  4340.  
  4341.  
  4342.  
  4343.  
  4344.  
  4345.  
  4346.  
  4347.  
  4348.  
  4349.  
  4350.  
  4351.  
  4352.  
  4353.  
  4354.  
  4355.  
  4356.  
  4357.  
  4358.  
  4359.  
  4360.  
  4361.  
  4362.  
  4363.  
  4364.  
  4365.  
  4366.  
  4367. extern int inflateSetDictionary (z_streamp strm, const Bytef *dictionary, uInt dictLength);
  4368.  
  4369.  
  4370.  
  4371.  
  4372.  
  4373.  
  4374.  
  4375.  
  4376.  
  4377.  
  4378.  
  4379.  
  4380.  
  4381.  
  4382.  
  4383.  
  4384.  
  4385.  
  4386.  
  4387.  
  4388. extern int inflateGetDictionary (z_streamp strm, Bytef *dictionary, uInt *dictLength);
  4389.  
  4390.  
  4391.  
  4392.  
  4393.  
  4394.  
  4395.  
  4396.  
  4397.  
  4398.  
  4399.  
  4400.  
  4401. extern int inflateSync (z_streamp strm);
  4402.  
  4403.  
  4404.  
  4405.  
  4406.  
  4407.  
  4408.  
  4409.  
  4410.  
  4411.  
  4412.  
  4413.  
  4414.  
  4415.  
  4416.  
  4417.  
  4418.  
  4419.  
  4420. extern int inflateCopy (z_streamp dest, z_streamp source);
  4421.  
  4422.  
  4423.  
  4424.  
  4425.  
  4426.  
  4427.  
  4428.  
  4429.  
  4430.  
  4431.  
  4432.  
  4433.  
  4434.  
  4435. extern int inflateReset (z_streamp strm);
  4436.  
  4437.  
  4438.  
  4439.  
  4440.  
  4441.  
  4442.  
  4443.  
  4444.  
  4445. extern int inflateReset2 (z_streamp strm, int windowBits);
  4446.  
  4447.  
  4448.  
  4449.  
  4450.  
  4451.  
  4452.  
  4453.  
  4454.  
  4455.  
  4456. extern int inflatePrime (z_streamp strm, int bits, int value);
  4457.  
  4458.  
  4459.  
  4460.  
  4461.  
  4462.  
  4463.  
  4464.  
  4465.  
  4466.  
  4467.  
  4468.  
  4469.  
  4470.  
  4471.  
  4472.  
  4473.  
  4474.  
  4475. extern long inflateMark (z_streamp strm);
  4476.  
  4477.  
  4478.  
  4479.  
  4480.  
  4481.  
  4482.  
  4483.  
  4484.  
  4485.  
  4486.  
  4487.  
  4488.  
  4489.  
  4490.  
  4491.  
  4492.  
  4493.  
  4494.  
  4495.  
  4496.  
  4497.  
  4498.  
  4499.  
  4500.  
  4501.  
  4502.  
  4503. extern int inflateGetHeader (z_streamp strm, gz_headerp head);
  4504.  
  4505.  
  4506.  
  4507.  
  4508.  
  4509.  
  4510.  
  4511.  
  4512.  
  4513.  
  4514.  
  4515.  
  4516.  
  4517.  
  4518.  
  4519.  
  4520.  
  4521.  
  4522.  
  4523.  
  4524.  
  4525.  
  4526.  
  4527.  
  4528.  
  4529.  
  4530.  
  4531.  
  4532.  
  4533.  
  4534.  
  4535.  
  4536.  
  4537.  
  4538.  
  4539.  
  4540.  
  4541.  
  4542.  
  4543.  
  4544.  
  4545.  
  4546.  
  4547.  
  4548.  
  4549.  
  4550.  
  4551.  
  4552.  
  4553.  
  4554.  
  4555.  
  4556.  
  4557.  
  4558.  
  4559.  
  4560.  
  4561.  
  4562.  
  4563.  
  4564. typedef unsigned (*in_func) (void *, unsigned char * *);
  4565. typedef int (*out_func) (void *, unsigned char *, unsigned);
  4566.  
  4567. extern int inflateBack (z_streamp strm, in_func in, void *in_desc, out_func out, void *out_desc);
  4568.  
  4569.  
  4570.  
  4571.  
  4572.  
  4573.  
  4574.  
  4575.  
  4576.  
  4577.  
  4578.  
  4579.  
  4580.  
  4581.  
  4582.  
  4583.  
  4584.  
  4585.  
  4586.  
  4587.  
  4588.  
  4589.  
  4590.  
  4591.  
  4592.  
  4593.  
  4594.  
  4595.  
  4596.  
  4597.  
  4598.  
  4599.  
  4600.  
  4601.  
  4602.  
  4603.  
  4604.  
  4605.  
  4606.  
  4607.  
  4608.  
  4609.  
  4610.  
  4611.  
  4612.  
  4613.  
  4614.  
  4615.  
  4616.  
  4617.  
  4618.  
  4619.  
  4620.  
  4621.  
  4622.  
  4623.  
  4624.  
  4625.  
  4626.  
  4627.  
  4628.  
  4629.  
  4630.  
  4631.  
  4632.  
  4633.  
  4634.  
  4635. extern int inflateBackEnd (z_streamp strm);
  4636.  
  4637.  
  4638.  
  4639.  
  4640.  
  4641.  
  4642.  
  4643. extern uLong zlibCompileFlags (void);
  4644.  
  4645.  
  4646.  
  4647.  
  4648.  
  4649.  
  4650.  
  4651.  
  4652.  
  4653.  
  4654.  
  4655.  
  4656.  
  4657.  
  4658.  
  4659.  
  4660.  
  4661.  
  4662.  
  4663.  
  4664.  
  4665.  
  4666.  
  4667.  
  4668.  
  4669.  
  4670.  
  4671.  
  4672.  
  4673.  
  4674.  
  4675.  
  4676.  
  4677.  
  4678.  
  4679.  
  4680.  
  4681.  
  4682.  
  4683.  
  4684.  
  4685.  
  4686.  
  4687.  
  4688.  
  4689.  
  4690.  
  4691.  
  4692.  
  4693.  
  4694.  
  4695. extern int compress (Bytef *dest, uLongf *destLen, const Bytef *source, uLong sourceLen);
  4696.  
  4697.  
  4698.  
  4699.  
  4700.  
  4701.  
  4702.  
  4703.  
  4704.  
  4705.  
  4706.  
  4707.  
  4708. extern int compress2 (Bytef *dest, uLongf *destLen, const Bytef *source, uLong sourceLen, int level);
  4709.  
  4710.  
  4711.  
  4712.  
  4713.  
  4714.  
  4715.  
  4716.  
  4717.  
  4718.  
  4719.  
  4720.  
  4721.  
  4722. extern uLong compressBound (uLong sourceLen);
  4723.  
  4724.  
  4725.  
  4726.  
  4727.  
  4728.  
  4729. extern int uncompress (Bytef *dest, uLongf *destLen, const Bytef *source, uLong sourceLen);
  4730.  
  4731.  
  4732.  
  4733.  
  4734.  
  4735.  
  4736.  
  4737.  
  4738.  
  4739.  
  4740.  
  4741.  
  4742.  
  4743.  
  4744.  
  4745.  
  4746.  
  4747.  
  4748.  
  4749.  
  4750.  
  4751.  
  4752.  
  4753.  
  4754.  
  4755. typedef struct gzFile_s *gzFile;
  4756.  
  4757.  
  4758.  
  4759.  
  4760.  
  4761.  
  4762.  
  4763.  
  4764.  
  4765.  
  4766.  
  4767.  
  4768.  
  4769.  
  4770.  
  4771.  
  4772.  
  4773.  
  4774.  
  4775.  
  4776.  
  4777.  
  4778.  
  4779.  
  4780.  
  4781.  
  4782.  
  4783.  
  4784.  
  4785.  
  4786.  
  4787.  
  4788.  
  4789.  
  4790.  
  4791.  
  4792.  
  4793.  
  4794.  
  4795. extern gzFile gzdopen (int fd, const char *mode);
  4796.  
  4797.  
  4798.  
  4799.  
  4800.  
  4801.  
  4802.  
  4803.  
  4804.  
  4805.  
  4806.  
  4807.  
  4808.  
  4809.  
  4810.  
  4811.  
  4812.  
  4813.  
  4814.  
  4815.  
  4816.  
  4817.  
  4818. extern int gzbuffer (gzFile file, unsigned size);
  4819.  
  4820.  
  4821.  
  4822.  
  4823.  
  4824.  
  4825.  
  4826.  
  4827.  
  4828.  
  4829.  
  4830.  
  4831.  
  4832.  
  4833.  
  4834.  
  4835. extern int gzsetparams (gzFile file, int level, int strategy);
  4836.  
  4837.  
  4838.  
  4839.  
  4840.  
  4841.  
  4842.  
  4843.  
  4844. extern int gzread (gzFile file, voidp buf, unsigned len);
  4845.  
  4846.  
  4847.  
  4848.  
  4849.  
  4850.  
  4851.  
  4852.  
  4853.  
  4854.  
  4855.  
  4856.  
  4857.  
  4858.  
  4859.  
  4860.  
  4861.  
  4862.  
  4863.  
  4864.  
  4865.  
  4866.  
  4867.  
  4868.  
  4869.  
  4870.  
  4871.  
  4872. extern int gzwrite (gzFile file, voidpc buf, unsigned len);
  4873.  
  4874.  
  4875.  
  4876.  
  4877.  
  4878.  
  4879. extern int gzprintf (gzFile file, const char *format, ...);
  4880.  
  4881.  
  4882.  
  4883.  
  4884.  
  4885.  
  4886.  
  4887.  
  4888.  
  4889.  
  4890.  
  4891.  
  4892.  
  4893.  
  4894. extern int gzputs (gzFile file, const char *s);
  4895.  
  4896.  
  4897.  
  4898.  
  4899.  
  4900.  
  4901.  
  4902. extern char * gzgets (gzFile file, char *buf, int len);
  4903.  
  4904.  
  4905.  
  4906.  
  4907.  
  4908.  
  4909.  
  4910.  
  4911.  
  4912.  
  4913.  
  4914.  
  4915. extern int gzputc (gzFile file, int c);
  4916.  
  4917.  
  4918.  
  4919.  
  4920.  
  4921. extern int gzgetc (gzFile file);
  4922.  
  4923.  
  4924.  
  4925.  
  4926.  
  4927.  
  4928.  
  4929.  
  4930. extern int gzungetc (int c, gzFile file);
  4931.  
  4932.  
  4933.  
  4934.  
  4935.  
  4936.  
  4937.  
  4938.  
  4939.  
  4940.  
  4941.  
  4942. extern int gzflush (gzFile file, int flush);
  4943.  
  4944.  
  4945.  
  4946.  
  4947.  
  4948.  
  4949.  
  4950.  
  4951.  
  4952.  
  4953.  
  4954.  
  4955.  
  4956.  
  4957.  
  4958.  
  4959.  
  4960.  
  4961.  
  4962.  
  4963.  
  4964.  
  4965.  
  4966.  
  4967.  
  4968.  
  4969.  
  4970.  
  4971.  
  4972.  
  4973.  
  4974.  
  4975.  
  4976.  
  4977. extern int gzrewind (gzFile file);
  4978.  
  4979.  
  4980.  
  4981.  
  4982.  
  4983.  
  4984.  
  4985.  
  4986.  
  4987.  
  4988.  
  4989.  
  4990.  
  4991.  
  4992.  
  4993.  
  4994.  
  4995.  
  4996.  
  4997.  
  4998.  
  4999.  
  5000.  
  5001.  
  5002.  
  5003.  
  5004.  
  5005. extern int gzeof (gzFile file);
  5006.  
  5007.  
  5008.  
  5009.  
  5010.  
  5011.  
  5012.  
  5013.  
  5014.  
  5015.  
  5016.  
  5017.  
  5018.  
  5019.  
  5020. extern int gzdirect (gzFile file);
  5021.  
  5022.  
  5023.  
  5024.  
  5025.  
  5026.  
  5027.  
  5028.  
  5029.  
  5030.  
  5031.  
  5032.  
  5033.  
  5034.  
  5035.  
  5036.  
  5037.  
  5038.  
  5039.  
  5040.  
  5041. extern int gzclose (gzFile file);
  5042.  
  5043.  
  5044.  
  5045.  
  5046.  
  5047.  
  5048.  
  5049.  
  5050.  
  5051.  
  5052.  
  5053.  
  5054. extern int gzclose_r (gzFile file);
  5055. extern int gzclose_w (gzFile file);
  5056.  
  5057.  
  5058.  
  5059.  
  5060.  
  5061.  
  5062.  
  5063.  
  5064.  
  5065.  
  5066. extern const char * gzerror (gzFile file, int *errnum);
  5067.  
  5068.  
  5069.  
  5070.  
  5071.  
  5072.  
  5073.  
  5074.  
  5075.  
  5076.  
  5077.  
  5078.  
  5079.  
  5080.  
  5081.  
  5082. extern void gzclearerr (gzFile file);
  5083.  
  5084.  
  5085.  
  5086.  
  5087.  
  5088.  
  5089.  
  5090.  
  5091.  
  5092.  
  5093.  
  5094.  
  5095.  
  5096.  
  5097.  
  5098. extern uLong adler32 (uLong adler, const Bytef *buf, uInt len);
  5099.  
  5100.  
  5101.  
  5102.  
  5103.  
  5104.  
  5105.  
  5106.  
  5107.  
  5108.  
  5109.  
  5110.  
  5111.  
  5112.  
  5113.  
  5114.  
  5115.  
  5116.  
  5117.  
  5118.  
  5119.  
  5120.  
  5121.  
  5122.  
  5123.  
  5124.  
  5125.  
  5126.  
  5127.  
  5128.  
  5129. extern uLong crc32 (uLong crc, const Bytef *buf, uInt len);
  5130.  
  5131.  
  5132.  
  5133.  
  5134.  
  5135.  
  5136.  
  5137.  
  5138.  
  5139.  
  5140.  
  5141.  
  5142.  
  5143.  
  5144.  
  5145.  
  5146.  
  5147.  
  5148.  
  5149.  
  5150.  
  5151.  
  5152.  
  5153.  
  5154.  
  5155.  
  5156.  
  5157.  
  5158.  
  5159.  
  5160.  
  5161.  
  5162. extern int deflateInit_ (z_streamp strm, int level, const char *version, int stream_size);
  5163. extern int inflateInit_ (z_streamp strm, const char *version, int stream_size);
  5164. extern int deflateInit2_ (z_streamp strm, int level, int method, int windowBits, int memLevel, int strategy, const char *version, int stream_size);
  5165. extern int inflateInit2_ (z_streamp strm, int windowBits, const char *version, int stream_size);
  5166. extern int inflateBackInit_ (z_streamp strm, int windowBits, unsigned char *window, const char *version, int stream_size);
  5167.  
  5168.  
  5169.  
  5170.  
  5171.  
  5172.  
  5173.  
  5174.  
  5175.  
  5176. struct gzFile_s {
  5177. unsigned have;
  5178. unsigned char *next;
  5179. off_t pos;
  5180. };
  5181. extern int gzgetc_ (gzFile file);
  5182.  
  5183.  
  5184.  
  5185.  
  5186.  
  5187.  
  5188.  
  5189.  
  5190. extern gzFile gzopen64 (const char *, const char *);
  5191. extern off_t gzseek64 (gzFile, off_t, int);
  5192. extern off_t gztell64 (gzFile);
  5193. extern off_t gzoffset64 (gzFile);
  5194. extern uLong adler32_combine64 (uLong, uLong, off_t);
  5195. extern uLong crc32_combine64 (uLong, uLong, off_t);
  5196.  
  5197.  
  5198.  
  5199. struct internal_state {int dummy;};
  5200.  
  5201.  
  5202. extern const char * zError (int);
  5203. extern int inflateSyncPoint (z_streamp);
  5204. extern const z_crc_t * get_crc_table (void);
  5205. extern int inflateUndermine (z_streamp, int);
  5206. extern int inflateResetKeep (z_streamp);
  5207. extern int deflateResetKeep (z_streamp);
  5208. extern int gzvprintf (gzFile file, const char *format, va_list va);
  5209.  
  5210.  
  5211. "MESON_GET_DEFINE_DELIMITER"
  5212. 1
  5213.  
  5214. Compiler stderr:
  5215.  
  5216. Fetching value of define "ZLIB_VER_MAJOR": 1
  5217. Running compile:
  5218. Working directory: /tmp/tmpqdragswu
  5219. Command line: cc /tmp/tmpqdragswu/testfile.c -DMESON_TEST_DEFINE_VALUE=spaces and fun!@$^&*()-=_+{}[]:;<>?,./~` -O0 -pipe -D_FILE_OFFSET_BITS=64 -E -P
  5220.  
  5221. Code:
  5222.  
  5223.  
  5224. #ifndef MESON_FAIL_VALUE
  5225. # define MESON_FAIL_VALUE
  5226. #endif
  5227. "MESON_GET_DEFINE_DELIMITER"
  5228. MESON_FAIL_VALUE
  5229. Compiler stdout:
  5230.  
  5231.  
  5232. "MESON_GET_DEFINE_DELIMITER"
  5233.  
  5234.  
  5235. Compiler stderr:
  5236.  
  5237. Fetching value of define "MESON_FAIL_VALUE":
  5238. Running compile:
  5239. Working directory: /tmp/tmp2jix4fq6
  5240. Command line: cc /tmp/tmp2jix4fq6/testfile.c -DMESON_TEST_DEFINE_VALUE=spaces and fun!@$^&*()-=_+{}[]:;<>?,./~` -O0 -pipe -D_FILE_OFFSET_BITS=64 -E -P
  5241.  
  5242. Code:
  5243.  
  5244.  
  5245. #ifndef MESON_TEST_DEFINE_VALUE
  5246. # define MESON_TEST_DEFINE_VALUE
  5247. #endif
  5248. "MESON_GET_DEFINE_DELIMITER"
  5249. MESON_TEST_DEFINE_VALUE
  5250. Compiler stdout:
  5251.  
  5252.  
  5253. "MESON_GET_DEFINE_DELIMITER"
  5254. spaces and fun! @$^ & *()-=_+{}[]:;< >?,./~`
  5255.  
  5256. Compiler stderr:
  5257.  
  5258. Fetching value of define "MESON_TEST_DEFINE_VALUE": spaces and fun! @$^ & *()-=_+{}[]:;< >?,./~`
  5259.  
  5260. meson.build:63:2: ERROR: Assert failed: MESON_TEST_DEFINE_VALUE value is "spaces and fun! @$^ & *()-=_+{}[]:;< >?,./~`" instead of "spaces and fun!@$^&*()-=_+{}[]:;<>?,./~`"
  5261.  
  5262. ..F
  5263. Stdout:
  5264. The Meson build system
  5265. Version: 0.45.0.dev1
  5266. Source dir: /usr/src/meson/meson/test cases/common/22 header in file list
  5267. Build dir: /tmp/tmpb86auoiy
  5268. Build type: native build
  5269. Project name: header in file list
  5270. Native C compiler: cc (gcc 4.8.0 "lcc:1.21.22:Oct-15-2017:e2k-v4-linux")
  5271. Build machine cpu family: e2k
  5272. Build machine cpu: e2k
  5273. Build targets in project: 1
  5274. Found ninja-1.8.2 at /usr/bin/ninja
  5275.  
  5276. ninja explain: deps for 'prog@exe/prog.c.o' are missing
  5277. ninja explain: prog@exe/prog.c.o is dirty
  5278. ninja explain: prog is dirty
  5279. [1/2] Compiling C object 'prog@exe/prog.c.o'.
  5280. [2/2] Linking target prog.
  5281.  
  5282. ninja explain: output ../../usr/src/meson/meson/test of phony edge with no inputs doesn't exist
  5283. ninja explain: ../../usr/src/meson/meson/test is dirty
  5284. ninja explain: output cases/common/22 of phony edge with no inputs doesn't exist
  5285. ninja explain: cases/common/22 is dirty
  5286. ninja explain: output header of phony edge with no inputs doesn't exist
  5287. ninja explain: header is dirty
  5288. ninja explain: output in of phony edge with no inputs doesn't exist
  5289. ninja explain: in is dirty
  5290. ninja explain: output file of phony edge with no inputs doesn't exist
  5291. ninja explain: file is dirty
  5292. ninja explain: output list/prog.c of phony edge with no inputs doesn't exist
  5293. ninja explain: list/prog.c is dirty
  5294. ninja explain: ../../usr/src/meson/meson/test is dirty
  5295. ninja explain: cases/common/22 is dirty
  5296. ninja explain: header is dirty
  5297. ninja explain: in is dirty
  5298. ninja explain: file is dirty
  5299. ninja explain: output list/header.h of phony edge with no inputs doesn't exist
  5300. ninja explain: list/header.h is dirty
  5301. ninja explain: prog@exe/prog.c.o is dirty
  5302. ninja explain: prog is dirty
  5303. [1/2] Compiling C object 'prog@exe/prog.c.o'.
  5304. [2/2] Linking target prog.
  5305.  
  5306. .E
  5307. Stdout:
  5308. The Meson build system
  5309. Version: 0.45.0.dev1
  5310. Source dir: /usr/src/meson/meson/test cases/common/5 linkstatic
  5311. Build dir: /tmp/tmpunozg49e
  5312. Build type: native build
  5313. Project name: static library linking test
  5314. Native C compiler: cc (gcc 4.8.0 "lcc:1.21.22:Oct-15-2017:e2k-v4-linux")
  5315. Build machine cpu family: e2k
  5316. Build machine cpu: e2k
  5317. Build targets in project: 2
  5318. Found ninja-1.8.2 at /usr/bin/ninja
  5319.  
  5320. ninja explain: deps for 'mylib@sta/libfile.c.o' are missing
  5321. ninja explain: mylib@sta/libfile.c.o is dirty
  5322. ninja explain: deps for 'mylib@sta/libfile2.c.o' are missing
  5323. ninja explain: mylib@sta/libfile2.c.o is dirty
  5324. ninja explain: deps for 'mylib@sta/libfile3.c.o' are missing
  5325. ninja explain: mylib@sta/libfile3.c.o is dirty
  5326. ninja explain: deps for 'mylib@sta/libfile4.c.o' are missing
  5327. ninja explain: mylib@sta/libfile4.c.o is dirty
  5328. ninja explain: libmylib.a is dirty
  5329. ninja explain: deps for 'prog@exe/main.c.o' are missing
  5330. ninja explain: prog@exe/main.c.o is dirty
  5331. ninja explain: libmylib.a is dirty
  5332. ninja explain: prog is dirty
  5333. [1/7] Compiling C object 'mylib@sta/libfile.c.o'.
  5334. FAILED: mylib@sta/libfile.c.o
  5335. cc -Imylib@sta -I. '-I../../usr/src/meson/meson/test cases/common/5 linkstatic' -flto -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O0 -g -fPIC -MD -MQ 'mylib@sta/libfile.c.o' -MF 'mylib@sta/libfile.c.o.d' -o 'mylib@sta/libfile.c.o' -c '../../usr/src/meson/meson/test cases/common/5 linkstatic/libfile.c'
  5336. lcc: ошибка: неизвестная опция "-flto"
  5337. [2/7] Compiling C object 'mylib@sta/libfile3.c.o'.
  5338. FAILED: mylib@sta/libfile3.c.o
  5339. cc -Imylib@sta -I. '-I../../usr/src/meson/meson/test cases/common/5 linkstatic' -flto -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O0 -g -fPIC -MD -MQ 'mylib@sta/libfile3.c.o' -MF 'mylib@sta/libfile3.c.o.d' -o 'mylib@sta/libfile3.c.o' -c '../../usr/src/meson/meson/test cases/common/5 linkstatic/libfile3.c'
  5340. lcc: ошибка: неизвестная опция "-flto"
  5341. [3/7] Compiling C object 'mylib@sta/libfile4.c.o'.
  5342. FAILED: mylib@sta/libfile4.c.o
  5343. cc -Imylib@sta -I. '-I../../usr/src/meson/meson/test cases/common/5 linkstatic' -flto -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O0 -g -fPIC -MD -MQ 'mylib@sta/libfile4.c.o' -MF 'mylib@sta/libfile4.c.o.d' -o 'mylib@sta/libfile4.c.o' -c '../../usr/src/meson/meson/test cases/common/5 linkstatic/libfile4.c'
  5344. lcc: ошибка: неизвестная опция "-flto"
  5345. [4/7] Compiling C object 'prog@exe/main.c.o'.
  5346. FAILED: prog@exe/main.c.o
  5347. cc -Iprog@exe -I. '-I../../usr/src/meson/meson/test cases/common/5 linkstatic' -flto -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O0 -g -MD -MQ 'prog@exe/main.c.o' -MF 'prog@exe/main.c.o.d' -o 'prog@exe/main.c.o' -c '../../usr/src/meson/meson/test cases/common/5 linkstatic/main.c'
  5348. lcc: ошибка: неизвестная опция "-flto"
  5349. [5/7] Compiling C object 'mylib@sta/libfile2.c.o'.
  5350. FAILED: mylib@sta/libfile2.c.o
  5351. cc -Imylib@sta -I. '-I../../usr/src/meson/meson/test cases/common/5 linkstatic' -flto -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O0 -g -fPIC -MD -MQ 'mylib@sta/libfile2.c.o' -MF 'mylib@sta/libfile2.c.o.d' -o 'mylib@sta/libfile2.c.o' -c '../../usr/src/meson/meson/test cases/common/5 linkstatic/libfile2.c'
  5352. lcc: ошибка: неизвестная опция "-flto"
  5353. ninja: build stopped: subcommand failed.
  5354.  
  5355. ....s..s...E
  5356. Stdout:
  5357. Build started at 2018-02-22T18:26:01.945216
  5358. Main binary: /usr/bin/python3
  5359. Python system: Linux
  5360. The Meson build system
  5361. Version: 0.45.0.dev1
  5362. Source dir: /tmp/tmp1sy8jp6d
  5363. Build dir: /tmp/tmp3ek5swdz
  5364. Build type: native build
  5365. Project name: failure test
  5366. Sanity testing C compiler: cc
  5367. Is cross compiler: False.
  5368. Sanity check compiler command line: cc /tmp/tmp3ek5swdz/meson-private/sanitycheckc.c -o /tmp/tmp3ek5swdz/meson-private/sanitycheckc.exe
  5369. Sanity check compile stdout:
  5370.  
  5371. -----
  5372. Sanity check compile stderr:
  5373.  
  5374. -----
  5375. Running test binary command: /tmp/tmp3ek5swdz/meson-private/sanitycheckc.exe
  5376. Native C compiler: cc (gcc 4.8.0 "lcc:1.21.22:Oct-15-2017:e2k-v4-linux")
  5377. Sanity testing C++ compiler: c++
  5378. Is cross compiler: False.
  5379. Sanity check compiler command line: c++ /tmp/tmp3ek5swdz/meson-private/sanitycheckcpp.cc -o /tmp/tmp3ek5swdz/meson-private/sanitycheckcpp.exe
  5380. Sanity check compile stdout:
  5381.  
  5382. -----
  5383. Sanity check compile stderr:
  5384.  
  5385. -----
  5386. Running test binary command: /tmp/tmp3ek5swdz/meson-private/sanitycheckcpp.exe
  5387. Native C++ compiler: c++ (gcc 4.8.0 "lcc:1.21.22:Oct-15-2017:e2k-v4-linux")
  5388. Build machine cpu family: e2k
  5389. Build machine cpu: e2k
  5390.  
  5391. meson.build:2:0: ERROR: Boost module argument is not a string.
  5392.  
  5393. Build started at 2018-02-22T18:26:02.416406
  5394. Main binary: /usr/bin/python3
  5395. Python system: Linux
  5396. The Meson build system
  5397. Version: 0.45.0.dev1
  5398. Source dir: /tmp/tmp1sy8jp6d
  5399. Build dir: /tmp/tmp3ek5swdz
  5400. Build type: native build
  5401. Project name: failure test
  5402. Sanity testing C compiler: cc
  5403. Is cross compiler: False.
  5404. Sanity check compiler command line: cc /tmp/tmp3ek5swdz/meson-private/sanitycheckc.c -o /tmp/tmp3ek5swdz/meson-private/sanitycheckc.exe
  5405. Sanity check compile stdout:
  5406.  
  5407. -----
  5408. Sanity check compile stderr:
  5409.  
  5410. -----
  5411. Running test binary command: /tmp/tmp3ek5swdz/meson-private/sanitycheckc.exe
  5412. Native C compiler: cc (gcc 4.8.0 "lcc:1.21.22:Oct-15-2017:e2k-v4-linux")
  5413. Sanity testing C++ compiler: c++
  5414. Is cross compiler: False.
  5415. Sanity check compiler command line: c++ /tmp/tmp3ek5swdz/meson-private/sanitycheckcpp.cc -o /tmp/tmp3ek5swdz/meson-private/sanitycheckcpp.exe
  5416. Sanity check compile stdout:
  5417.  
  5418. -----
  5419. Sanity check compile stderr:
  5420.  
  5421. -----
  5422. Running test binary command: /tmp/tmp3ek5swdz/meson-private/sanitycheckcpp.exe
  5423. Native C++ compiler: c++ (gcc 4.8.0 "lcc:1.21.22:Oct-15-2017:e2k-v4-linux")
  5424. Build machine cpu family: e2k
  5425. Build machine cpu: e2k
  5426.  
  5427. .../tmp/tmpcncqsqvd/meson-private/sanitycheckobjc.m: file not recognized: Формат файла не распознан
  5428. ..ss..s...E
  5429. Stdout:
  5430. The Meson build system
  5431. Version: 0.45.0.dev1
  5432. Source dir: /usr/src/meson/meson/test cases/common/43 has function
  5433. Build dir: /tmp/tmp_7wezyd1
  5434. Build type: native build
  5435. Project name: has function
  5436. Native C compiler: cc (gcc 4.8.0 "lcc:1.21.22:Oct-15-2017:e2k-v4-linux")
  5437. Appending CFLAGS from environment: '-O3'
  5438. Native C++ compiler: c++ (gcc 4.8.0 "lcc:1.21.22:Oct-15-2017:e2k-v4-linux")
  5439. Appending CXXFLAGS from environment: '-O3'
  5440. Build machine cpu family: e2k
  5441. Build machine cpu: e2k
  5442. Checking for function "printf": YES
  5443. Checking for function "fprintf": YES
  5444. Checking for function "hfkerhisadf": NO
  5445. Checking for function "hfkerhisadf": NO
  5446. Checking for function "poll": YES
  5447. Checking for function "lchmod": YES
  5448.  
  5449. meson.build:58:6: ERROR: Assert failed: "lchmod" check should have failed
  5450.  
  5451. A full log can be found at /tmp/tmp_7wezyd1/meson-logs/meson-log.txt
  5452.  
  5453. Build started at 2018-02-22T18:26:30.471945
  5454. Main binary: /usr/bin/python3
  5455. Python system: Linux
  5456. The Meson build system
  5457. Version: 0.45.0.dev1
  5458. Source dir: /usr/src/meson/meson/test cases/common/43 has function
  5459. Build dir: /tmp/tmp_7wezyd1
  5460. Build type: native build
  5461. Project name: has function
  5462. Sanity testing C compiler: cc
  5463. Is cross compiler: False.
  5464. Sanity check compiler command line: cc /tmp/tmp_7wezyd1/meson-private/sanitycheckc.c -o /tmp/tmp_7wezyd1/meson-private/sanitycheckc.exe
  5465. Sanity check compile stdout:
  5466.  
  5467. -----
  5468. Sanity check compile stderr:
  5469.  
  5470. -----
  5471. Running test binary command: /tmp/tmp_7wezyd1/meson-private/sanitycheckc.exe
  5472. Native C compiler: cc (gcc 4.8.0 "lcc:1.21.22:Oct-15-2017:e2k-v4-linux")
  5473. Appending CFLAGS from environment: '-O3'
  5474. Sanity testing C++ compiler: c++
  5475. Is cross compiler: False.
  5476. Sanity check compiler command line: c++ /tmp/tmp_7wezyd1/meson-private/sanitycheckcpp.cc -o /tmp/tmp_7wezyd1/meson-private/sanitycheckcpp.exe
  5477. Sanity check compile stdout:
  5478.  
  5479. -----
  5480. Sanity check compile stderr:
  5481.  
  5482. -----
  5483. Running test binary command: /tmp/tmp_7wezyd1/meson-private/sanitycheckcpp.exe
  5484. Native C++ compiler: c++ (gcc 4.8.0 "lcc:1.21.22:Oct-15-2017:e2k-v4-linux")
  5485. Appending CXXFLAGS from environment: '-O3'
  5486. Build machine cpu family: e2k
  5487. Build machine cpu: e2k
  5488. Running compile:
  5489. Working directory: /tmp/tmpyp0s0qy8
  5490. Command line: cc -I/tmp /tmp/tmpyp0s0qy8/testfile.c -O3 -O0 -pipe -D_FILE_OFFSET_BITS=64 -o /tmp/tmpyp0s0qy8/output.exe
  5491.  
  5492. Code:
  5493. #include<stdio.h>
  5494. #include <limits.h>
  5495.  
  5496. #if defined __stub_printf || defined __stub___printf
  5497. fail fail fail this function is not going to work
  5498. #endif
  5499.  
  5500. int main() {
  5501. void *a = (void*) &printf;
  5502. long b = (long) a;
  5503. return (int) b;
  5504. }
  5505. Compiler stdout:
  5506.  
  5507. Compiler stderr:
  5508.  
  5509. Checking for function "printf": YES
  5510. Running compile:
  5511. Working directory: /tmp/tmptjfd7lqc
  5512. Command line: cc -I/tmp /tmp/tmptjfd7lqc/testfile.c -O3 -O0 -pipe -D_FILE_OFFSET_BITS=64 -o /tmp/tmptjfd7lqc/output.exe
  5513.  
  5514. Code:
  5515.  
  5516. #define fprintf meson_disable_define_of_fprintf
  5517.  
  5518. #include <limits.h>
  5519. #undef fprintf
  5520.  
  5521. #ifdef __cplusplus
  5522. extern "C"
  5523. #endif
  5524. char fprintf ();
  5525.  
  5526. #if defined __stub_fprintf || defined __stub___fprintf
  5527. fail fail fail this function is not going to work
  5528. #endif
  5529.  
  5530. int main () {
  5531. return fprintf ();
  5532. }
  5533. Compiler stdout:
  5534.  
  5535. Compiler stderr:
  5536.  
  5537. Checking for function "fprintf": YES
  5538. Running compile:
  5539. Working directory: /tmp/tmprnemnxbk
  5540. Command line: cc -I/tmp /tmp/tmprnemnxbk/testfile.c -O3 -O0 -pipe -D_FILE_OFFSET_BITS=64 -o /tmp/tmprnemnxbk/output.exe
  5541.  
  5542. Code:
  5543. #include<stdio.h>
  5544. #include <limits.h>
  5545.  
  5546. #if defined __stub_hfkerhisadf || defined __stub___hfkerhisadf
  5547. fail fail fail this function is not going to work
  5548. #endif
  5549.  
  5550. int main() {
  5551. void *a = (void*) &hfkerhisadf;
  5552. long b = (long) a;
  5553. return (int) b;
  5554. }
  5555. Compiler stdout:
  5556.  
  5557. Compiler stderr:
  5558. lcc: "/tmp/tmprnemnxbk/testfile.c", строка 9: ошибка:
  5559. идентификатор "hfkerhisadf" не определен
  5560. void *a = (void*) &hfkerhisadf;
  5561. ^
  5562.  
  5563. 1 ошибка обнаружено при компиляции "/tmp/tmprnemnxbk/testfile.c".
  5564.  
  5565. Running compile:
  5566. Working directory: /tmp/tmpqf3dgf9d
  5567. Command line: cc -I/tmp /tmp/tmpqf3dgf9d/testfile.c -O3 -O0 -pipe -D_FILE_OFFSET_BITS=64 -o /tmp/tmpqf3dgf9d/output.exe
  5568.  
  5569. Code:
  5570. #include<stdio.h>
  5571. int main() {
  5572. #ifdef __has_builtin
  5573. #if !__has_builtin(__builtin_hfkerhisadf)
  5574. #error "__builtin_hfkerhisadf not found"
  5575. #endif
  5576. #elif ! defined(hfkerhisadf)
  5577. /* Check for __builtin_hfkerhisadf only if no includes were added to the
  5578. * prefix above, which means no definition of hfkerhisadf can be found.
  5579. * We would always check for this, but we get false positives on
  5580. * MSYS2 if we do. Their toolchain is broken, but we can at least
  5581. * give them a workaround. */
  5582. #if 0
  5583. __builtin_hfkerhisadf;
  5584. #else
  5585. #error "No definition for __builtin_hfkerhisadf found in the prefix"
  5586. #endif
  5587. #endif
  5588. }
  5589. Compiler stdout:
  5590.  
  5591. Compiler stderr:
  5592. lcc: "/tmp/tmpqf3dgf9d/testfile.c", строка 16: фатальная ошибка:
  5593. #error директива: "No definition for __builtin_hfkerhisadf
  5594. found in the prefix"
  5595. #error "No definition for __builtin_hfkerhisadf found in the prefix"
  5596. ^
  5597.  
  5598. 1 катастрофическая ошибка обнаружено при компиляции "/tmp/tmpqf3dgf9d/testfile.c".
  5599. Compilation terminated.
  5600.  
  5601. Checking for function "hfkerhisadf": NO
  5602. Running compile:
  5603. Working directory: /tmp/tmprx8sy08z
  5604. Command line: cc -I/tmp /tmp/tmprx8sy08z/testfile.c -O3 -O0 -pipe -D_FILE_OFFSET_BITS=64 -o /tmp/tmprx8sy08z/output.exe
  5605.  
  5606. Code:
  5607.  
  5608. #define hfkerhisadf meson_disable_define_of_hfkerhisadf
  5609.  
  5610. #include <limits.h>
  5611. #undef hfkerhisadf
  5612.  
  5613. #ifdef __cplusplus
  5614. extern "C"
  5615. #endif
  5616. char hfkerhisadf ();
  5617.  
  5618. #if defined __stub_hfkerhisadf || defined __stub___hfkerhisadf
  5619. fail fail fail this function is not going to work
  5620. #endif
  5621.  
  5622. int main () {
  5623. return hfkerhisadf ();
  5624. }
  5625. Compiler stdout:
  5626.  
  5627. Compiler stderr:
  5628. /tmp/lcc_XvlHKe.o: In function `main':
  5629. testfile.c:(.text+0x2c): undefined reference to `hfkerhisadf'
  5630.  
  5631. Running compile:
  5632. Working directory: /tmp/tmpaoju5zf4
  5633. Command line: cc -I/tmp /tmp/tmpaoju5zf4/testfile.c -O3 -O0 -pipe -D_FILE_OFFSET_BITS=64 -o /tmp/tmpaoju5zf4/output.exe
  5634.  
  5635. Code:
  5636.  
  5637. int main() {
  5638. #ifdef __has_builtin
  5639. #if !__has_builtin(__builtin_hfkerhisadf)
  5640. #error "__builtin_hfkerhisadf not found"
  5641. #endif
  5642. #elif ! defined(hfkerhisadf)
  5643. /* Check for __builtin_hfkerhisadf only if no includes were added to the
  5644. * prefix above, which means no definition of hfkerhisadf can be found.
  5645. * We would always check for this, but we get false positives on
  5646. * MSYS2 if we do. Their toolchain is broken, but we can at least
  5647. * give them a workaround. */
  5648. #if 1
  5649. __builtin_hfkerhisadf;
  5650. #else
  5651. #error "No definition for __builtin_hfkerhisadf found in the prefix"
  5652. #endif
  5653. #endif
  5654. }
  5655. Compiler stdout:
  5656.  
  5657. Compiler stderr:
  5658. lcc: "/tmp/tmpaoju5zf4/testfile.c", строка 14: ошибка:
  5659. идентификатор "__builtin_hfkerhisadf" не
  5660. определен
  5661. __builtin_hfkerhisadf;
  5662. ^
  5663.  
  5664. 1 ошибка обнаружено при компиляции "/tmp/tmpaoju5zf4/testfile.c".
  5665.  
  5666. Checking for function "hfkerhisadf": NO
  5667. Running compile:
  5668. Working directory: /tmp/tmp_afycxpt
  5669. Command line: cc -I/tmp /tmp/tmp_afycxpt/testfile.c -O3 -O0 -pipe -D_FILE_OFFSET_BITS=64 -o /tmp/tmp_afycxpt/output.exe
  5670.  
  5671. Code:
  5672. #include <poll.h>
  5673. #include <limits.h>
  5674.  
  5675. #if defined __stub_poll || defined __stub___poll
  5676. fail fail fail this function is not going to work
  5677. #endif
  5678.  
  5679. int main() {
  5680. void *a = (void*) &poll;
  5681. long b = (long) a;
  5682. return (int) b;
  5683. }
  5684. Compiler stdout:
  5685.  
  5686. Compiler stderr:
  5687.  
  5688. Checking for function "poll": YES
  5689. Running compile:
  5690. Working directory: /tmp/tmpep4x9zo3
  5691. Command line: cc -I/tmp /tmp/tmpep4x9zo3/testfile.c -O3 -O0 -pipe -D_FILE_OFFSET_BITS=64 -o /tmp/tmpep4x9zo3/output.exe
  5692.  
  5693. Code:
  5694. #include <sys/stat.h>
  5695. #include <unistd.h>
  5696. #include <limits.h>
  5697.  
  5698. #if defined __stub_lchmod || defined __stub___lchmod
  5699. fail fail fail this function is not going to work
  5700. #endif
  5701.  
  5702. int main() {
  5703. void *a = (void*) &lchmod;
  5704. long b = (long) a;
  5705. return (int) b;
  5706. }
  5707. Compiler stdout:
  5708.  
  5709. Compiler stderr:
  5710. /tmp/lcc_1scLId.o: In function `main':
  5711. testfile.c:(.text+0x20): warning: lchmod is not implemented and will always fail
  5712.  
  5713. Checking for function "lchmod": YES
  5714.  
  5715. meson.build:58:6: ERROR: Assert failed: "lchmod" check should have failed
  5716.  
  5717. E
  5718. Stdout:
  5719. The Meson build system
  5720. Version: 0.45.0.dev1
  5721. Source dir: /usr/src/meson/meson/test cases/common/2 cpp
  5722. Build dir: /tmp/tmpvzdbrugt
  5723. Build type: native build
  5724. Project name: c++ test
  5725. Native C++ compiler: c++ (gcc 4.8.0 "lcc:1.21.22:Oct-15-2017:e2k-v4-linux")
  5726. Build machine cpu family: e2k
  5727. Build machine cpu: e2k
  5728. Build targets in project: 1
  5729. Found ninja-1.8.2 at /usr/bin/ninja
  5730.  
  5731. ninja explain: deps for 'trivialprog@exe/trivial.cc.o' are missing
  5732. ninja explain: trivialprog@exe/trivial.cc.o is dirty
  5733. ninja explain: trivialprog is dirty
  5734. [1/2] Compiling C++ object 'trivialprog@exe/trivial.cc.o'.
  5735. [2/2] Linking target trivialprog.
  5736.  
  5737. The Meson build system
  5738. Version: 0.45.0.dev1
  5739. Source dir: /usr/src/meson/meson/test cases/common/2 cpp
  5740. Build dir: /tmp/tmpvzdbrugt
  5741. Build type: native build
  5742. Project name: c++ test
  5743. Native C++ compiler: c++ (gcc 4.8.0 "lcc:1.21.22:Oct-15-2017:e2k-v4-linux")
  5744. Build machine cpu family: e2k
  5745. Build machine cpu: e2k
  5746. Build targets in project: 1
  5747. Found ninja-1.8.2 at /usr/bin/ninja
  5748.  
  5749. ninja explain: deps for 'trivialprog@exe/trivial.cc.o' are missing
  5750. ninja explain: trivialprog@exe/trivial.cc.o is dirty
  5751. ninja explain: trivialprog is dirty
  5752. [1/2] Compiling C++ object 'trivialprog@exe/trivial.cc.o'.
  5753. [2/2] Linking target trivialprog.
  5754.  
  5755. The Meson build system
  5756. Version: 0.45.0.dev1
  5757. Source dir: /usr/src/meson/meson/test cases/common/2 cpp
  5758. Build dir: /tmp/tmpvzdbrugt
  5759. Build type: native build
  5760. Project name: c++ test
  5761. Native C++ compiler: c++ (gcc 4.8.0 "lcc:1.21.22:Oct-15-2017:e2k-v4-linux")
  5762. Build machine cpu family: e2k
  5763. Build machine cpu: e2k
  5764. Build targets in project: 1
  5765. Found ninja-1.8.2 at /usr/bin/ninja
  5766.  
  5767. ninja explain: deps for 'trivialprog@exe/trivial.cc.o' are missing
  5768. ninja explain: trivialprog@exe/trivial.cc.o is dirty
  5769. ninja explain: trivialprog is dirty
  5770. [1/2] Compiling C++ object 'trivialprog@exe/trivial.cc.o'.
  5771. [2/2] Linking target trivialprog.
  5772.  
  5773. The Meson build system
  5774. Version: 0.45.0.dev1
  5775. Source dir: /usr/src/meson/meson/test cases/common/2 cpp
  5776. Build dir: /tmp/tmpvzdbrugt
  5777. Build type: native build
  5778. Project name: c++ test
  5779. Native C++ compiler: c++ (gcc 4.8.0 "lcc:1.21.22:Oct-15-2017:e2k-v4-linux")
  5780. Build machine cpu family: e2k
  5781. Build machine cpu: e2k
  5782. Build targets in project: 1
  5783. Found ninja-1.8.2 at /usr/bin/ninja
  5784.  
  5785. ninja explain: deps for 'trivialprog@exe/trivial.cc.o' are missing
  5786. ninja explain: trivialprog@exe/trivial.cc.o is dirty
  5787. ninja explain: trivialprog is dirty
  5788. [1/2] Compiling C++ object 'trivialprog@exe/trivial.cc.o'.
  5789. [2/2] Linking target trivialprog.
  5790.  
  5791. The Meson build system
  5792. Version: 0.45.0.dev1
  5793. Source dir: /usr/src/meson/meson/test cases/common/2 cpp
  5794. Build dir: /tmp/tmpvzdbrugt
  5795. Build type: native build
  5796. Project name: c++ test
  5797. Native C++ compiler: c++ (gcc 4.8.0 "lcc:1.21.22:Oct-15-2017:e2k-v4-linux")
  5798. Build machine cpu family: e2k
  5799. Build machine cpu: e2k
  5800. Build targets in project: 1
  5801. Found ninja-1.8.2 at /usr/bin/ninja
  5802.  
  5803. ninja explain: deps for 'trivialprog@exe/trivial.cc.o' are missing
  5804. ninja explain: trivialprog@exe/trivial.cc.o is dirty
  5805. ninja explain: trivialprog is dirty
  5806. [1/2] Compiling C++ object 'trivialprog@exe/trivial.cc.o'.
  5807. [2/2] Linking target trivialprog.
  5808.  
  5809. The Meson build system
  5810. Version: 0.45.0.dev1
  5811. Source dir: /usr/src/meson/meson/test cases/common/2 cpp
  5812. Build dir: /tmp/tmpvzdbrugt
  5813. Build type: native build
  5814. Project name: c++ test
  5815. Native C++ compiler: c++ (gcc 4.8.0 "lcc:1.21.22:Oct-15-2017:e2k-v4-linux")
  5816. Build machine cpu family: e2k
  5817. Build machine cpu: e2k
  5818. Build targets in project: 1
  5819. Found ninja-1.8.2 at /usr/bin/ninja
  5820.  
  5821. ninja explain: deps for 'trivialprog@exe/trivial.cc.o' are missing
  5822. ninja explain: trivialprog@exe/trivial.cc.o is dirty
  5823. ninja explain: trivialprog is dirty
  5824. [1/2] Compiling C++ object 'trivialprog@exe/trivial.cc.o'.
  5825. FAILED: trivialprog@exe/trivial.cc.o
  5826. c++ -Itrivialprog@exe -I. '-I../../usr/src/meson/meson/test cases/common/2 cpp' -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wnon-virtual-dtor -std=c++17 -O0 -g -MD -MQ 'trivialprog@exe/trivial.cc.o' -MF 'trivialprog@exe/trivial.cc.o.d' -o 'trivialprog@exe/trivial.cc.o' -c '../../usr/src/meson/meson/test cases/common/2 cpp/trivial.cc'
  5827. lcc: ошибка: неправильный аргумент опции "-std=c++17". Допустимые значения:
  5828. c89, gnu89, c90, iso9899:1990, iso9899:199409, gnu90, c9x, gnu9x,
  5829. c99, iso9899:1999, gnu99, c1x, gnu1x, c11, iso9899:2011, gnu11,
  5830. c++98, gnu++98, c++03, gnu++03, c++0x, gnu++0x, c++11, gnu++11,
  5831. c++1y, gnu++1y, c++14, gnu++14
  5832. ninja: build stopped: subcommand failed.
  5833.  
  5834. cpp_std was 'c++17'
  5835. s......E
  5836. Stdout:
  5837. Traceback (most recent call last):
  5838. File "/usr/src/meson/meson/mesonbuild/mesonmain.py", line 363, in run
  5839. app.generate()
  5840. File "/usr/src/meson/meson/mesonbuild/mesonmain.py", line 150, in generate
  5841. self._generate(env)
  5842. File "/usr/src/meson/meson/mesonbuild/mesonmain.py", line 197, in _generate
  5843. intr.run()
  5844. File "/usr/src/meson/meson/mesonbuild/interpreter.py", line 2987, in run
  5845. super().run()
  5846. File "/usr/src/meson/meson/mesonbuild/interpreterbase.py", line 173, in run
  5847. self.evaluate_codeblock(self.ast, start=1)
  5848. File "/usr/src/meson/meson/mesonbuild/interpreterbase.py", line 195, in evaluate_codeblock
  5849. raise e
  5850. File "/usr/src/meson/meson/mesonbuild/interpreterbase.py", line 189, in evaluate_codeblock
  5851. self.evaluate_statement(cur)
  5852. File "/usr/src/meson/meson/mesonbuild/interpreterbase.py", line 202, in evaluate_statement
  5853. return self.assignment(cur)
  5854. File "/usr/src/meson/meson/mesonbuild/interpreterbase.py", line 674, in assignment
  5855. value = self.evaluate_statement(node.value)
  5856. File "/usr/src/meson/meson/mesonbuild/interpreterbase.py", line 200, in evaluate_statement
  5857. return self.function_call(cur)
  5858. File "/usr/src/meson/meson/mesonbuild/interpreterbase.py", line 456, in function_call
  5859. return self.funcs[func_name](node, self.flatten(posargs), kwargs)
  5860. File "/usr/src/meson/meson/mesonbuild/interpreterbase.py", line 79, in wrapped
  5861. return f(s, node_or_state, args, kwargs)
  5862. File "/usr/src/meson/meson/mesonbuild/interpreter.py", line 2292, in func_dependency
  5863. dep = dependencies.find_external_dependency(name, self.environment, kwargs)
  5864. File "/usr/src/meson/meson/mesonbuild/dependencies/base.py", line 973, in find_external_dependency
  5865. raise pkg_exc
  5866. File "/usr/src/meson/meson/mesonbuild/dependencies/base.py", line 960, in find_external_dependency
  5867. pkgdep = PkgConfigDependency(name, env, kwargs)
  5868. File "/usr/src/meson/meson/mesonbuild/dependencies/base.py", line 442, in __init__
  5869. self._set_libs()
  5870. File "/usr/src/meson/meson/mesonbuild/dependencies/base.py", line 531, in _set_libs
  5871. args = self.compiler.find_library(lib[2:], self.env, libpaths, libtype='static')
  5872. File "/usr/src/meson/meson/mesonbuild/compilers/c.py", line 786, in find_library
  5873. extra_dirs += self.get_library_dirs()
  5874. File "/usr/src/meson/meson/mesonbuild/compilers/c.py", line 164, in get_library_dirs
  5875. libstr = line.split('=', 1)[1]
  5876. IndexError: list index out of range
  5877. The Meson build system
  5878. Version: 0.45.0.dev1
  5879. Source dir: /usr/src/meson/meson/test cases/frameworks/7 gnome
  5880. Build dir: /tmp/tmpy4rixwr1
  5881. Build type: native build
  5882. Project name: gobject-introspection
  5883. Native C compiler: cc (gcc 4.8.0 "lcc:1.21.22:Oct-15-2017:e2k-v4-linux")
  5884. Build machine cpu family: e2k
  5885. Build machine cpu: e2k
  5886. Found pkg-config: /usr/bin/pkg-config (0.29)
  5887. Native dependency gio-2.0 found: YES 2.44.1
  5888. Native dependency gio-unix-2.0 found: YES 2.44.1
  5889. Native dependency glib-2.0 found: YES 2.44.1
  5890. Native dependency gobject-2.0 found: YES 2.44.1
  5891. Native dependency gobject-introspection-1.0 found: YES 1.37.6
  5892. Native dependency gmodule-2.0 found: YES 2.44.1
  5893.  
  5894. Build started at 2018-02-22T18:26:57.117052
  5895. Main binary: /usr/bin/python3
  5896. Python system: Linux
  5897. The Meson build system
  5898. Version: 0.45.0.dev1
  5899. Source dir: /usr/src/meson/meson/test cases/frameworks/7 gnome
  5900. Build dir: /tmp/tmpy4rixwr1
  5901. Build type: native build
  5902. Project name: gobject-introspection
  5903. Sanity testing C compiler: cc
  5904. Is cross compiler: False.
  5905. Sanity check compiler command line: cc /tmp/tmpy4rixwr1/meson-private/sanitycheckc.c -o /tmp/tmpy4rixwr1/meson-private/sanitycheckc.exe
  5906. Sanity check compile stdout:
  5907.  
  5908. -----
  5909. Sanity check compile stderr:
  5910.  
  5911. -----
  5912. Running test binary command: /tmp/tmpy4rixwr1/meson-private/sanitycheckc.exe
  5913. Native C compiler: cc (gcc 4.8.0 "lcc:1.21.22:Oct-15-2017:e2k-v4-linux")
  5914. Build machine cpu family: e2k
  5915. Build machine cpu: e2k
  5916. Running command: /usr/bin/python3 -c import os, sys
  5917. if "MESON_UNIT_TEST_PRETEND_GLIB_OLD" in os.environ:
  5918. sys.exit(0)
  5919. sys.exit(1)
  5920.  
  5921. --- stdout----
  5922.  
  5923. ----stderr----
  5924.  
  5925.  
  5926. Found pkg-config: /usr/bin/pkg-config (0.29)
  5927. Determining dependency 'gio-2.0' with pkg-config executable '/usr/bin/pkg-config'
  5928. Native dependency gio-2.0 found: YES 2.44.1
  5929. Determining dependency 'gio-unix-2.0' with pkg-config executable '/usr/bin/pkg-config'
  5930. Native dependency gio-unix-2.0 found: YES 2.44.1
  5931. Determining dependency 'glib-2.0' with pkg-config executable '/usr/bin/pkg-config'
  5932. Native dependency glib-2.0 found: YES 2.44.1
  5933. Determining dependency 'gobject-2.0' with pkg-config executable '/usr/bin/pkg-config'
  5934. Native dependency gobject-2.0 found: YES 2.44.1
  5935. Determining dependency 'gobject-introspection-1.0' with pkg-config executable '/usr/bin/pkg-config'
  5936. Native dependency gobject-introspection-1.0 found: YES 1.37.6
  5937. Determining dependency 'gmodule-2.0' with pkg-config executable '/usr/bin/pkg-config'
  5938. Native dependency gmodule-2.0 found: YES 2.44.1
  5939. Determining dependency 'glib-2.0' with pkg-config executable '/usr/bin/pkg-config'
  5940.  
  5941. E
  5942. Stdout:
  5943. Build started at 2018-02-22T18:26:58.133470
  5944. Main binary: /usr/bin/python3
  5945. Python system: Linux
  5946. The Meson build system
  5947. Version: 0.45.0.dev1
  5948. Source dir: /usr/src/meson/meson/test cases/frameworks/7 gnome
  5949. Build dir: /tmp/tmp6ooqe2f1
  5950. Build type: native build
  5951. Project name: gobject-introspection
  5952. Sanity testing C compiler: cc
  5953. Is cross compiler: False.
  5954. Sanity check compiler command line: cc /tmp/tmp6ooqe2f1/meson-private/sanitycheckc.c -o /tmp/tmp6ooqe2f1/meson-private/sanitycheckc.exe
  5955. Sanity check compile stdout:
  5956.  
  5957. -----
  5958. Sanity check compile stderr:
  5959.  
  5960. -----
  5961. Running test binary command: /tmp/tmp6ooqe2f1/meson-private/sanitycheckc.exe
  5962. Native C compiler: cc (gcc 4.8.0 "lcc:1.21.22:Oct-15-2017:e2k-v4-linux")
  5963. Build machine cpu family: e2k
  5964. Build machine cpu: e2k
  5965. Running command: /usr/bin/python3 -c import os, sys
  5966. if "MESON_UNIT_TEST_PRETEND_GLIB_OLD" in os.environ:
  5967. sys.exit(0)
  5968. sys.exit(1)
  5969.  
  5970. --- stdout----
  5971.  
  5972. ----stderr----
  5973.  
  5974.  
  5975. Determining dependency 'gio-2.0' with pkg-config executable '/usr/bin/pkg-config'
  5976. Native dependency gio-2.0 found: YES 2.44.1
  5977. Determining dependency 'gio-unix-2.0' with pkg-config executable '/usr/bin/pkg-config'
  5978. Native dependency gio-unix-2.0 found: YES 2.44.1
  5979. Determining dependency 'glib-2.0' with pkg-config executable '/usr/bin/pkg-config'
  5980. Native dependency glib-2.0 found: YES 2.44.1
  5981. Determining dependency 'gobject-2.0' with pkg-config executable '/usr/bin/pkg-config'
  5982. Native dependency gobject-2.0 found: YES 2.44.1
  5983. Determining dependency 'gobject-introspection-1.0' with pkg-config executable '/usr/bin/pkg-config'
  5984. Native dependency gobject-introspection-1.0 found: YES 1.37.6
  5985. Determining dependency 'gmodule-2.0' with pkg-config executable '/usr/bin/pkg-config'
  5986. Native dependency gmodule-2.0 found: YES 2.44.1
  5987. Determining dependency 'glib-2.0' with pkg-config executable '/usr/bin/pkg-config'
  5988.  
  5989. Build started at 2018-02-22T18:26:58.133470
  5990. Main binary: /usr/bin/python3
  5991. Python system: Linux
  5992. The Meson build system
  5993. Version: 0.45.0.dev1
  5994. Source dir: /usr/src/meson/meson/test cases/frameworks/7 gnome
  5995. Build dir: /tmp/tmp6ooqe2f1
  5996. Build type: native build
  5997. Project name: gobject-introspection
  5998. Sanity testing C compiler: cc
  5999. Is cross compiler: False.
  6000. Sanity check compiler command line: cc /tmp/tmp6ooqe2f1/meson-private/sanitycheckc.c -o /tmp/tmp6ooqe2f1/meson-private/sanitycheckc.exe
  6001. Sanity check compile stdout:
  6002.  
  6003. -----
  6004. Sanity check compile stderr:
  6005.  
  6006. -----
  6007. Running test binary command: /tmp/tmp6ooqe2f1/meson-private/sanitycheckc.exe
  6008. Native C compiler: cc (gcc 4.8.0 "lcc:1.21.22:Oct-15-2017:e2k-v4-linux")
  6009. Build machine cpu family: e2k
  6010. Build machine cpu: e2k
  6011. Running command: /usr/bin/python3 -c import os, sys
  6012. if "MESON_UNIT_TEST_PRETEND_GLIB_OLD" in os.environ:
  6013. sys.exit(0)
  6014. sys.exit(1)
  6015.  
  6016. --- stdout----
  6017.  
  6018. ----stderr----
  6019.  
  6020.  
  6021. Determining dependency 'gio-2.0' with pkg-config executable '/usr/bin/pkg-config'
  6022. Native dependency gio-2.0 found: YES 2.44.1
  6023. Determining dependency 'gio-unix-2.0' with pkg-config executable '/usr/bin/pkg-config'
  6024. Native dependency gio-unix-2.0 found: YES 2.44.1
  6025. Determining dependency 'glib-2.0' with pkg-config executable '/usr/bin/pkg-config'
  6026. Native dependency glib-2.0 found: YES 2.44.1
  6027. Determining dependency 'gobject-2.0' with pkg-config executable '/usr/bin/pkg-config'
  6028. Native dependency gobject-2.0 found: YES 2.44.1
  6029. Determining dependency 'gobject-introspection-1.0' with pkg-config executable '/usr/bin/pkg-config'
  6030. Native dependency gobject-introspection-1.0 found: YES 1.37.6
  6031. Determining dependency 'gmodule-2.0' with pkg-config executable '/usr/bin/pkg-config'
  6032. Native dependency gmodule-2.0 found: YES 2.44.1
  6033. Determining dependency 'glib-2.0' with pkg-config executable '/usr/bin/pkg-config'
  6034.  
  6035. .E
  6036. Stdout:
  6037. The Meson build system
  6038. Version: 0.45.0.dev1
  6039. Source dir: /usr/src/meson/meson/test cases/common/13 pch
  6040. Build dir: /tmp/tmp2v1vso0n
  6041. Build type: native build
  6042. Project name: pch test
  6043. Native C compiler: cc (gcc 4.8.0 "lcc:1.21.22:Oct-15-2017:e2k-v4-linux")
  6044. Build machine cpu family: e2k
  6045. Build machine cpu: e2k
  6046. Build targets in project: 1
  6047. Found ninja-1.8.2 at /usr/bin/ninja
  6048.  
  6049. ninja explain: deps for 'prog@exe/prog.c.o' are missing
  6050. ninja explain: deps for 'prog@exe/prog.h.gch' are missing
  6051. ninja explain: prog@exe/prog.c.o is dirty
  6052. ninja explain: prog is dirty
  6053. [1/3] Precompiling header '../../usr/src/meson/meson/test cases/common/13 pch/pch/prog.h'.
  6054. FAILED: prog@exe/prog.h.gch
  6055. cc -Iprog@exe -I. '-I../../usr/src/meson/meson/test cases/common/13 pch' -fsanitize=address -fno-omit-frame-pointer -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O0 -g -MD -MQ 'prog@exe/prog.h.gch' -MF 'prog@exe/prog.h.gch.d' -o 'prog@exe/prog.h.gch' -c '../../usr/src/meson/meson/test cases/common/13 pch/pch/prog.h'
  6056. lcc: ошибка: неизвестная опция "-fsanitize=address"
  6057. ninja: build stopped: subcommand failed.
  6058.  
  6059. .....s.....E
  6060. Stdout:
  6061. Traceback (most recent call last):
  6062. File "/usr/src/meson/meson/mesonbuild/mesonmain.py", line 363, in run
  6063. app.generate()
  6064. File "/usr/src/meson/meson/mesonbuild/mesonmain.py", line 150, in generate
  6065. self._generate(env)
  6066. File "/usr/src/meson/meson/mesonbuild/mesonmain.py", line 206, in _generate
  6067. g.generate(intr)
  6068. File "/usr/src/meson/meson/mesonbuild/backend/ninjabackend.py", line 219, in generate
  6069. self.generate_target(t, outfile)
  6070. File "/usr/src/meson/meson/mesonbuild/backend/ninjabackend.py", line 356, in generate_target
  6071. vala_generated_sources = self.generate_vala_compile(target, outfile)
  6072. File "/usr/src/meson/meson/mesonbuild/backend/ninjabackend.py", line 1169, in generate_vala_compile
  6073. vala_c_file = os.path.join(vala_c_subdir, vala_c_file)
  6074. File "/usr/lib/python3.5/posixpath.py", line 89, in join
  6075. genericpath._check_arg_types('join', a, *p)
  6076. File "/usr/lib/python3.5/genericpath.py", line 143, in _check_arg_types
  6077. (funcname, s.__class__.__name__)) from None
  6078. TypeError: join() argument must be str or bytes, not 'PurePosixPath'
  6079. The Meson build system
  6080. Version: 0.45.0.dev1
  6081. Source dir: /tmp/tmpt9jfj3ur/srctree
  6082. Build dir: /tmp/tmpt9jfj3ur/srctree/subdir/_build
  6083. Build type: native build
  6084. Project name: mytest
  6085. Native C compiler: cc (gcc 4.8.0 "lcc:1.21.22:Oct-15-2017:e2k-v4-linux")
  6086. Native Vala compiler: valac (valac 0.20.1)
  6087. Build machine cpu family: e2k
  6088. Build machine cpu: e2k
  6089. Configuring config.vala using configuration
  6090. Program write_wrapper.py found: YES (/usr/bin/env python3 /tmp/tmpt9jfj3ur/srctree/src/write_wrapper.py)
  6091. Program copy_file.py found: YES (/usr/bin/env python3 /tmp/tmpt9jfj3ur/srctree/src/copy_file.py)
  6092. Found pkg-config: /usr/bin/pkg-config (0.29)
  6093. Native dependency glib-2.0 found: YES 2.44.1
  6094. Native dependency gobject-2.0 found: YES 2.44.1
  6095. Dependency glib-2.0 found: YES (cached)
  6096. Dependency gobject-2.0 found: YES (cached)
  6097. Dependency glib-2.0 found: YES (cached)
  6098. Dependency gobject-2.0 found: YES (cached)
  6099. Dependency gobject-2.0 found: YES (cached)
  6100. Program glib-mkenums found: YES (/usr/bin/glib-mkenums)
  6101. Build targets in project: 9
  6102. Found ninja-1.8.2 at /usr/bin/ninja
  6103.  
  6104. Build started at 2018-02-22T18:27:26.432788
  6105. Main binary: /usr/bin/python3
  6106. Python system: Linux
  6107. The Meson build system
  6108. Version: 0.45.0.dev1
  6109. Source dir: /tmp/tmpt9jfj3ur/srctree
  6110. Build dir: /tmp/tmpt9jfj3ur/srctree/subdir/_build
  6111. Build type: native build
  6112. Project name: mytest
  6113. Sanity testing C compiler: cc
  6114. Is cross compiler: False.
  6115. Sanity check compiler command line: cc /tmp/tmpt9jfj3ur/srctree/subdir/_build/meson-private/sanitycheckc.c -o /tmp/tmpt9jfj3ur/srctree/subdir/_build/meson-private/sanitycheckc.exe
  6116. Sanity check compile stdout:
  6117.  
  6118. -----
  6119. Sanity check compile stderr:
  6120.  
  6121. -----
  6122. Running test binary command: /tmp/tmpt9jfj3ur/srctree/subdir/_build/meson-private/sanitycheckc.exe
  6123. Native C compiler: cc (gcc 4.8.0 "lcc:1.21.22:Oct-15-2017:e2k-v4-linux")
  6124. Running compile:
  6125. Working directory: /tmp/tmpqltniqw5
  6126. Command line: valac /tmp/tmpqltniqw5/testfile.vala -C -C -o /tmp/tmpqltniqw5/output.obj
  6127.  
  6128. Code:
  6129. class MesonSanityCheck : Object { }
  6130. Compiler stdout:
  6131.  
  6132. Compiler stderr:
  6133.  
  6134. Native Vala compiler: valac (valac 0.20.1)
  6135. Build machine cpu family: e2k
  6136. Build machine cpu: e2k
  6137. Configuring config.vala using configuration
  6138. Program write_wrapper.py found: YES (/usr/bin/env python3 /tmp/tmpt9jfj3ur/srctree/src/write_wrapper.py)
  6139. Program copy_file.py found: YES (/usr/bin/env python3 /tmp/tmpt9jfj3ur/srctree/src/copy_file.py)
  6140. Found pkg-config: /usr/bin/pkg-config (0.29)
  6141. Determining dependency 'glib-2.0' with pkg-config executable '/usr/bin/pkg-config'
  6142. Native dependency glib-2.0 found: YES 2.44.1
  6143. Determining dependency 'gobject-2.0' with pkg-config executable '/usr/bin/pkg-config'
  6144. Native dependency gobject-2.0 found: YES 2.44.1
  6145. Dependency glib-2.0 found: YES (cached)
  6146. Dependency gobject-2.0 found: YES (cached)
  6147. Dependency glib-2.0 found: YES (cached)
  6148. Dependency gobject-2.0 found: YES (cached)
  6149. Dependency gobject-2.0 found: YES (cached)
  6150. Program glib-mkenums found: YES (/usr/bin/glib-mkenums)
  6151. Build targets in project: 9
  6152. Found ninja-1.8.2 at /usr/bin/ninja
  6153.  
  6154.  
  6155. ======================================================================
  6156. ERROR: test_pkgconfig_static (__main__.AllPlatformTests)
  6157. ----------------------------------------------------------------------
  6158. Traceback (most recent call last):
  6159. File "./run_unittests.py", line 1598, in test_pkgconfig_static
  6160. self.init(testdir)
  6161. File "./run_unittests.py", line 543, in init
  6162. out = self._run(self.meson_command + args + extra_args)
  6163. File "./run_unittests.py", line 513, in _run
  6164. raise subprocess.CalledProcessError(p.returncode, command)
  6165. subprocess.CalledProcessError: Command '['/usr/bin/python3', '/usr/src/meson/meson/meson.py', '--backend=ninja', '/usr/src/meson/meson/./test cases/unit/17 pkgconfig static', '/tmp/tmpnqdibp55', '--prefix', '/usr', '--libdir', '/usr/lib']' returned non-zero exit status 2
  6166.  
  6167. Stdout:
  6168. Traceback (most recent call last):
  6169. File "/usr/src/meson/meson/mesonbuild/mesonmain.py", line 363, in run
  6170. app.generate()
  6171. File "/usr/src/meson/meson/mesonbuild/mesonmain.py", line 150, in generate
  6172. self._generate(env)
  6173. File "/usr/src/meson/meson/mesonbuild/mesonmain.py", line 197, in _generate
  6174. intr.run()
  6175. File "/usr/src/meson/meson/mesonbuild/interpreter.py", line 2987, in run
  6176. super().run()
  6177. File "/usr/src/meson/meson/mesonbuild/interpreterbase.py", line 173, in run
  6178. self.evaluate_codeblock(self.ast, start=1)
  6179. File "/usr/src/meson/meson/mesonbuild/interpreterbase.py", line 195, in evaluate_codeblock
  6180. raise e
  6181. File "/usr/src/meson/meson/mesonbuild/interpreterbase.py", line 189, in evaluate_codeblock
  6182. self.evaluate_statement(cur)
  6183. File "/usr/src/meson/meson/mesonbuild/interpreterbase.py", line 202, in evaluate_statement
  6184. return self.assignment(cur)
  6185. File "/usr/src/meson/meson/mesonbuild/interpreterbase.py", line 674, in assignment
  6186. value = self.evaluate_statement(node.value)
  6187. File "/usr/src/meson/meson/mesonbuild/interpreterbase.py", line 200, in evaluate_statement
  6188. return self.function_call(cur)
  6189. File "/usr/src/meson/meson/mesonbuild/interpreterbase.py", line 456, in function_call
  6190. return self.funcs[func_name](node, self.flatten(posargs), kwargs)
  6191. File "/usr/src/meson/meson/mesonbuild/interpreterbase.py", line 79, in wrapped
  6192. return f(s, node_or_state, args, kwargs)
  6193. File "/usr/src/meson/meson/mesonbuild/interpreter.py", line 2292, in func_dependency
  6194. dep = dependencies.find_external_dependency(name, self.environment, kwargs)
  6195. File "/usr/src/meson/meson/mesonbuild/dependencies/base.py", line 973, in find_external_dependency
  6196. raise pkg_exc
  6197. File "/usr/src/meson/meson/mesonbuild/dependencies/base.py", line 960, in find_external_dependency
  6198. pkgdep = PkgConfigDependency(name, env, kwargs)
  6199. File "/usr/src/meson/meson/mesonbuild/dependencies/base.py", line 442, in __init__
  6200. self._set_libs()
  6201. File "/usr/src/meson/meson/mesonbuild/dependencies/base.py", line 531, in _set_libs
  6202. args = self.compiler.find_library(lib[2:], self.env, libpaths, libtype='static')
  6203. File "/usr/src/meson/meson/mesonbuild/compilers/c.py", line 786, in find_library
  6204. extra_dirs += self.get_library_dirs()
  6205. File "/usr/src/meson/meson/mesonbuild/compilers/c.py", line 164, in get_library_dirs
  6206. libstr = line.split('=', 1)[1]
  6207. IndexError: list index out of range
  6208. The Meson build system
  6209. Version: 0.45.0.dev1
  6210. Source dir: /usr/src/meson/meson/test cases/unit/17 pkgconfig static
  6211. Build dir: /tmp/tmpnqdibp55
  6212. Build type: native build
  6213. Project name: pkg-config static
  6214. Native C compiler: cc (gcc 4.8.0 "lcc:1.21.22:Oct-15-2017:e2k-v4-linux")
  6215. Build machine cpu family: e2k
  6216. Build machine cpu: e2k
  6217. Message: /usr/src/meson/meson/test cases/unit/17 pkgconfig static
  6218. Configuring foo.pc using configuration
  6219. Found pkg-config: /usr/bin/pkg-config (0.29)
  6220.  
  6221. Build started at 2018-02-22T18:24:32.046575
  6222. Main binary: /usr/bin/python3
  6223. Python system: Linux
  6224. The Meson build system
  6225. Version: 0.45.0.dev1
  6226. Source dir: /usr/src/meson/meson/test cases/unit/17 pkgconfig static
  6227. Build dir: /tmp/tmpnqdibp55
  6228. Build type: native build
  6229. Project name: pkg-config static
  6230. Sanity testing C compiler: cc
  6231. Is cross compiler: False.
  6232. Sanity check compiler command line: cc /tmp/tmpnqdibp55/meson-private/sanitycheckc.c -o /tmp/tmpnqdibp55/meson-private/sanitycheckc.exe
  6233. Sanity check compile stdout:
  6234.  
  6235. -----
  6236. Sanity check compile stderr:
  6237.  
  6238. -----
  6239. Running test binary command: /tmp/tmpnqdibp55/meson-private/sanitycheckc.exe
  6240. Native C compiler: cc (gcc 4.8.0 "lcc:1.21.22:Oct-15-2017:e2k-v4-linux")
  6241. Build machine cpu family: e2k
  6242. Build machine cpu: e2k
  6243. Message: /usr/src/meson/meson/test cases/unit/17 pkgconfig static
  6244. Configuring foo.pc using configuration
  6245. Found pkg-config: /usr/bin/pkg-config (0.29)
  6246. Determining dependency 'foo' with pkg-config executable '/usr/bin/pkg-config'
  6247.  
  6248.  
  6249. ======================================================================
  6250. ERROR: test_prebuilt_shared_lib (__main__.AllPlatformTests)
  6251. ----------------------------------------------------------------------
  6252. Traceback (most recent call last):
  6253. File "./run_unittests.py", line 1556, in test_prebuilt_shared_lib
  6254. self.init(tdir)
  6255. File "./run_unittests.py", line 543, in init
  6256. out = self._run(self.meson_command + args + extra_args)
  6257. File "./run_unittests.py", line 513, in _run
  6258. raise subprocess.CalledProcessError(p.returncode, command)
  6259. subprocess.CalledProcessError: Command '['/usr/bin/python3', '/usr/src/meson/meson/meson.py', '--backend=ninja', '/usr/src/meson/meson/./test cases/unit/16 prebuilt shared', '/tmp/tmp4qh6xfjk', '--prefix', '/usr', '--libdir', '/usr/lib']' returned non-zero exit status 2
  6260.  
  6261. Stdout:
  6262. Traceback (most recent call last):
  6263. File "/usr/src/meson/meson/mesonbuild/mesonmain.py", line 363, in run
  6264. app.generate()
  6265. File "/usr/src/meson/meson/mesonbuild/mesonmain.py", line 150, in generate
  6266. self._generate(env)
  6267. File "/usr/src/meson/meson/mesonbuild/mesonmain.py", line 197, in _generate
  6268. intr.run()
  6269. File "/usr/src/meson/meson/mesonbuild/interpreter.py", line 2987, in run
  6270. super().run()
  6271. File "/usr/src/meson/meson/mesonbuild/interpreterbase.py", line 173, in run
  6272. self.evaluate_codeblock(self.ast, start=1)
  6273. File "/usr/src/meson/meson/mesonbuild/interpreterbase.py", line 195, in evaluate_codeblock
  6274. raise e
  6275. File "/usr/src/meson/meson/mesonbuild/interpreterbase.py", line 189, in evaluate_codeblock
  6276. self.evaluate_statement(cur)
  6277. File "/usr/src/meson/meson/mesonbuild/interpreterbase.py", line 202, in evaluate_statement
  6278. return self.assignment(cur)
  6279. File "/usr/src/meson/meson/mesonbuild/interpreterbase.py", line 674, in assignment
  6280. value = self.evaluate_statement(node.value)
  6281. File "/usr/src/meson/meson/mesonbuild/interpreterbase.py", line 204, in evaluate_statement
  6282. return self.method_call(cur)
  6283. File "/usr/src/meson/meson/mesonbuild/interpreterbase.py", line 490, in method_call
  6284. return obj.method_call(method_name, self.flatten(args), kwargs)
  6285. File "/usr/src/meson/meson/mesonbuild/interpreterbase.py", line 98, in method_call
  6286. return self.methods[method_name](args, kwargs)
  6287. File "/usr/src/meson/meson/mesonbuild/interpreter.py", line 1046, in find_library_method
  6288. linkargs = self.compiler.find_library(libname, self.environment, search_dirs)
  6289. File "/usr/src/meson/meson/mesonbuild/compilers/c.py", line 786, in find_library
  6290. extra_dirs += self.get_library_dirs()
  6291. File "/usr/src/meson/meson/mesonbuild/compilers/c.py", line 164, in get_library_dirs
  6292. libstr = line.split('=', 1)[1]
  6293. IndexError: list index out of range
  6294. The Meson build system
  6295. Version: 0.45.0.dev1
  6296. Source dir: /usr/src/meson/meson/test cases/unit/16 prebuilt shared
  6297. Build dir: /tmp/tmp4qh6xfjk
  6298. Build type: native build
  6299. Project name: prebuilt shared library
  6300. Native C compiler: cc (gcc 4.8.0 "lcc:1.21.22:Oct-15-2017:e2k-v4-linux")
  6301. Build machine cpu family: e2k
  6302. Build machine cpu: e2k
  6303.  
  6304. Build started at 2018-02-22T18:24:36.846080
  6305. Main binary: /usr/bin/python3
  6306. Python system: Linux
  6307. The Meson build system
  6308. Version: 0.45.0.dev1
  6309. Source dir: /usr/src/meson/meson/test cases/unit/16 prebuilt shared
  6310. Build dir: /tmp/tmp4qh6xfjk
  6311. Build type: native build
  6312. Project name: prebuilt shared library
  6313. Sanity testing C compiler: cc
  6314. Is cross compiler: False.
  6315. Sanity check compiler command line: cc /tmp/tmp4qh6xfjk/meson-private/sanitycheckc.c -o /tmp/tmp4qh6xfjk/meson-private/sanitycheckc.exe
  6316. Sanity check compile stdout:
  6317.  
  6318. -----
  6319. Sanity check compile stderr:
  6320.  
  6321. -----
  6322. Running test binary command: /tmp/tmp4qh6xfjk/meson-private/sanitycheckc.exe
  6323. Native C compiler: cc (gcc 4.8.0 "lcc:1.21.22:Oct-15-2017:e2k-v4-linux")
  6324. Build machine cpu family: e2k
  6325. Build machine cpu: e2k
  6326.  
  6327.  
  6328. ======================================================================
  6329. ERROR: test_prebuilt_static_lib (__main__.AllPlatformTests)
  6330. ----------------------------------------------------------------------
  6331. Traceback (most recent call last):
  6332. File "./run_unittests.py", line 1518, in test_prebuilt_static_lib
  6333. self.init(tdir)
  6334. File "./run_unittests.py", line 543, in init
  6335. out = self._run(self.meson_command + args + extra_args)
  6336. File "./run_unittests.py", line 513, in _run
  6337. raise subprocess.CalledProcessError(p.returncode, command)
  6338. subprocess.CalledProcessError: Command '['/usr/bin/python3', '/usr/src/meson/meson/meson.py', '--backend=ninja', '/usr/src/meson/meson/./test cases/unit/15 prebuilt static', '/tmp/tmpxgs84azh', '--prefix', '/usr', '--libdir', '/usr/lib']' returned non-zero exit status 2
  6339.  
  6340. Stdout:
  6341. Traceback (most recent call last):
  6342. File "/usr/src/meson/meson/mesonbuild/mesonmain.py", line 363, in run
  6343. app.generate()
  6344. File "/usr/src/meson/meson/mesonbuild/mesonmain.py", line 150, in generate
  6345. self._generate(env)
  6346. File "/usr/src/meson/meson/mesonbuild/mesonmain.py", line 197, in _generate
  6347. intr.run()
  6348. File "/usr/src/meson/meson/mesonbuild/interpreter.py", line 2987, in run
  6349. super().run()
  6350. File "/usr/src/meson/meson/mesonbuild/interpreterbase.py", line 173, in run
  6351. self.evaluate_codeblock(self.ast, start=1)
  6352. File "/usr/src/meson/meson/mesonbuild/interpreterbase.py", line 195, in evaluate_codeblock
  6353. raise e
  6354. File "/usr/src/meson/meson/mesonbuild/interpreterbase.py", line 189, in evaluate_codeblock
  6355. self.evaluate_statement(cur)
  6356. File "/usr/src/meson/meson/mesonbuild/interpreterbase.py", line 200, in evaluate_statement
  6357. return self.function_call(cur)
  6358. File "/usr/src/meson/meson/mesonbuild/interpreterbase.py", line 456, in function_call
  6359. return self.funcs[func_name](node, self.flatten(posargs), kwargs)
  6360. File "/usr/src/meson/meson/mesonbuild/interpreterbase.py", line 79, in wrapped
  6361. return f(s, node_or_state, args, kwargs)
  6362. File "/usr/src/meson/meson/mesonbuild/interpreter.py", line 2656, in func_subdir
  6363. self.evaluate_codeblock(codeblock)
  6364. File "/usr/src/meson/meson/mesonbuild/interpreterbase.py", line 195, in evaluate_codeblock
  6365. raise e
  6366. File "/usr/src/meson/meson/mesonbuild/interpreterbase.py", line 189, in evaluate_codeblock
  6367. self.evaluate_statement(cur)
  6368. File "/usr/src/meson/meson/mesonbuild/interpreterbase.py", line 202, in evaluate_statement
  6369. return self.assignment(cur)
  6370. File "/usr/src/meson/meson/mesonbuild/interpreterbase.py", line 674, in assignment
  6371. value = self.evaluate_statement(node.value)
  6372. File "/usr/src/meson/meson/mesonbuild/interpreterbase.py", line 204, in evaluate_statement
  6373. return self.method_call(cur)
  6374. File "/usr/src/meson/meson/mesonbuild/interpreterbase.py", line 490, in method_call
  6375. return obj.method_call(method_name, self.flatten(args), kwargs)
  6376. File "/usr/src/meson/meson/mesonbuild/interpreterbase.py", line 98, in method_call
  6377. return self.methods[method_name](args, kwargs)
  6378. File "/usr/src/meson/meson/mesonbuild/interpreter.py", line 1046, in find_library_method
  6379. linkargs = self.compiler.find_library(libname, self.environment, search_dirs)
  6380. File "/usr/src/meson/meson/mesonbuild/compilers/c.py", line 786, in find_library
  6381. extra_dirs += self.get_library_dirs()
  6382. File "/usr/src/meson/meson/mesonbuild/compilers/c.py", line 164, in get_library_dirs
  6383. libstr = line.split('=', 1)[1]
  6384. IndexError: list index out of range
  6385. The Meson build system
  6386. Version: 0.45.0.dev1
  6387. Source dir: /usr/src/meson/meson/test cases/unit/15 prebuilt static
  6388. Build dir: /tmp/tmpxgs84azh
  6389. Build type: native build
  6390. Project name: prebuilt static lib
  6391. Native C compiler: cc (gcc 4.8.0 "lcc:1.21.22:Oct-15-2017:e2k-v4-linux")
  6392. Build machine cpu family: e2k
  6393. Build machine cpu: e2k
  6394.  
  6395. Build started at 2018-02-22T18:24:38.133173
  6396. Main binary: /usr/bin/python3
  6397. Python system: Linux
  6398. The Meson build system
  6399. Version: 0.45.0.dev1
  6400. Source dir: /usr/src/meson/meson/test cases/unit/15 prebuilt static
  6401. Build dir: /tmp/tmpxgs84azh
  6402. Build type: native build
  6403. Project name: prebuilt static lib
  6404. Sanity testing C compiler: cc
  6405. Is cross compiler: False.
  6406. Sanity check compiler command line: cc /tmp/tmpxgs84azh/meson-private/sanitycheckc.c -o /tmp/tmpxgs84azh/meson-private/sanitycheckc.exe
  6407. Sanity check compile stdout:
  6408.  
  6409. -----
  6410. Sanity check compile stderr:
  6411.  
  6412. -----
  6413. Running test binary command: /tmp/tmpxgs84azh/meson-private/sanitycheckc.exe
  6414. Native C compiler: cc (gcc 4.8.0 "lcc:1.21.22:Oct-15-2017:e2k-v4-linux")
  6415. Build machine cpu family: e2k
  6416. Build machine cpu: e2k
  6417.  
  6418.  
  6419. ======================================================================
  6420. ERROR: test_preprocessor_checks_CPPFLAGS (__main__.AllPlatformTests)
  6421. ----------------------------------------------------------------------
  6422. Traceback (most recent call last):
  6423. File "./run_unittests.py", line 1270, in test_preprocessor_checks_CPPFLAGS
  6424. self.init(testdir, ['-D{}={}'.format(define, value)])
  6425. File "./run_unittests.py", line 543, in init
  6426. out = self._run(self.meson_command + args + extra_args)
  6427. File "./run_unittests.py", line 513, in _run
  6428. raise subprocess.CalledProcessError(p.returncode, command)
  6429. subprocess.CalledProcessError: Command '['/usr/bin/python3', '/usr/src/meson/meson/meson.py', '--backend=ninja', '/usr/src/meson/meson/./test cases/common/140 get define', '/tmp/tmp87y3zakx', '--prefix', '/usr', '--libdir', '/usr/lib', '-DMESON_TEST_DEFINE_VALUE=spaces and fun!@$^&*()-=_+{}[]:;<>?,./~`']' returned non-zero exit status 1
  6430.  
  6431. Stdout:
  6432. The Meson build system
  6433. Version: 0.45.0.dev1
  6434. Source dir: /usr/src/meson/meson/test cases/common/140 get define
  6435. Build dir: /tmp/tmp87y3zakx
  6436. Build type: native build
  6437. Project name: get define
  6438. Native C compiler: cc (gcc 4.8.0 "lcc:1.21.22:Oct-15-2017:e2k-v4-linux")
  6439. Appending CFLAGS from environment: '-DMESON_FAIL_VALUE=cflags-read'
  6440. Appending CPPFLAGS from environment: '-DMESON_TEST_DEFINE_VALUE="spaces and fun!@$^&*()-=_+{}[]:;<>?,./~`"'
  6441. Native C++ compiler: c++ (gcc 4.8.0 "lcc:1.21.22:Oct-15-2017:e2k-v4-linux")
  6442. Appending CPPFLAGS from environment: '-DMESON_TEST_DEFINE_VALUE="spaces and fun!@$^&*()-=_+{}[]:;<>?,./~`"'
  6443. Build machine cpu family: e2k
  6444. Build machine cpu: e2k
  6445. Fetching value of define "__linux__": 1
  6446. Library z found: YES
  6447. Fetching value of define "ZLIB_VER_MAJOR": 1
  6448. Fetching value of define "MESON_FAIL_VALUE":
  6449. Fetching value of define "MESON_TEST_DEFINE_VALUE": spaces and fun! @$^ & *()-=_+{}[]:;< >?,./~`
  6450.  
  6451. meson.build:63:2: ERROR: Assert failed: MESON_TEST_DEFINE_VALUE value is "spaces and fun! @$^ & *()-=_+{}[]:;< >?,./~`" instead of "spaces and fun!@$^&*()-=_+{}[]:;<>?,./~`"
  6452.  
  6453. A full log can be found at /tmp/tmp87y3zakx/meson-logs/meson-log.txt
  6454.  
  6455. Build started at 2018-02-22T18:24:45.263989
  6456. Main binary: /usr/bin/python3
  6457. Python system: Linux
  6458. The Meson build system
  6459. Version: 0.45.0.dev1
  6460. Source dir: /usr/src/meson/meson/test cases/common/140 get define
  6461. Build dir: /tmp/tmp87y3zakx
  6462. Build type: native build
  6463. Project name: get define
  6464. Sanity testing C compiler: cc
  6465. Is cross compiler: False.
  6466. Sanity check compiler command line: cc /tmp/tmp87y3zakx/meson-private/sanitycheckc.c -o /tmp/tmp87y3zakx/meson-private/sanitycheckc.exe
  6467. Sanity check compile stdout:
  6468.  
  6469. -----
  6470. Sanity check compile stderr:
  6471.  
  6472. -----
  6473. Running test binary command: /tmp/tmp87y3zakx/meson-private/sanitycheckc.exe
  6474. Native C compiler: cc (gcc 4.8.0 "lcc:1.21.22:Oct-15-2017:e2k-v4-linux")
  6475. Appending CFLAGS from environment: '-DMESON_FAIL_VALUE=cflags-read'
  6476. Appending CPPFLAGS from environment: '-DMESON_TEST_DEFINE_VALUE="spaces and fun!@$^&*()-=_+{}[]:;<>?,./~`"'
  6477. Sanity testing C++ compiler: c++
  6478. Is cross compiler: False.
  6479. Sanity check compiler command line: c++ /tmp/tmp87y3zakx/meson-private/sanitycheckcpp.cc -o /tmp/tmp87y3zakx/meson-private/sanitycheckcpp.exe
  6480. Sanity check compile stdout:
  6481.  
  6482. -----
  6483. Sanity check compile stderr:
  6484.  
  6485. -----
  6486. Running test binary command: /tmp/tmp87y3zakx/meson-private/sanitycheckcpp.exe
  6487. Native C++ compiler: c++ (gcc 4.8.0 "lcc:1.21.22:Oct-15-2017:e2k-v4-linux")
  6488. Appending CPPFLAGS from environment: '-DMESON_TEST_DEFINE_VALUE="spaces and fun!@$^&*()-=_+{}[]:;<>?,./~`"'
  6489. Build machine cpu family: e2k
  6490. Build machine cpu: e2k
  6491. Running compile:
  6492. Working directory: /tmp/tmpah0zoxaz
  6493. Command line: cc /tmp/tmpah0zoxaz/testfile.c -DMESON_TEST_DEFINE_VALUE=spaces and fun!@$^&*()-=_+{}[]:;<>?,./~` -O0 -pipe -D_FILE_OFFSET_BITS=64 -E -P
  6494.  
  6495. Code:
  6496.  
  6497.  
  6498. #ifndef __linux__
  6499. # define __linux__
  6500. #endif
  6501. "MESON_GET_DEFINE_DELIMITER"
  6502. __linux__
  6503. Compiler stdout:
  6504.  
  6505.  
  6506. "MESON_GET_DEFINE_DELIMITER"
  6507. 1
  6508.  
  6509. Compiler stderr:
  6510.  
  6511. Fetching value of define "__linux__": 1
  6512. Running compile:
  6513. Working directory: /tmp/tmpkb3zxr26
  6514. Command line: cc /tmp/tmpkb3zxr26/testfile.c -DMESON_FAIL_VALUE=cflags-read -O0 -Wl,--start-group -lz -Wl,--end-group -pipe -D_FILE_OFFSET_BITS=64 -o /tmp/tmpkb3zxr26/output.exe
  6515.  
  6516. Code:
  6517. int main(int argc, char **argv) { return 0; }
  6518. Compiler stdout:
  6519.  
  6520. Compiler stderr:
  6521.  
  6522. Library z found: YES
  6523. Running compile:
  6524. Working directory: /tmp/tmpnjq1nf9w
  6525. Command line: cc /tmp/tmpnjq1nf9w/testfile.c -DMESON_TEST_DEFINE_VALUE=spaces and fun!@$^&*()-=_+{}[]:;<>?,./~` -O0 -pipe -D_FILE_OFFSET_BITS=64 -E -P
  6526.  
  6527. Code:
  6528.  
  6529. #include <zlib.h>
  6530. #ifndef ZLIB_VER_MAJOR
  6531. # define ZLIB_VER_MAJOR
  6532. #endif
  6533. "MESON_GET_DEFINE_DELIMITER"
  6534. ZLIB_VER_MAJOR
  6535. Compiler stdout:
  6536.  
  6537.  
  6538.  
  6539.  
  6540.  
  6541.  
  6542.  
  6543.  
  6544.  
  6545.  
  6546.  
  6547.  
  6548.  
  6549.  
  6550.  
  6551.  
  6552.  
  6553.  
  6554.  
  6555.  
  6556.  
  6557.  
  6558.  
  6559.  
  6560.  
  6561.  
  6562.  
  6563.  
  6564.  
  6565.  
  6566.  
  6567.  
  6568.  
  6569.  
  6570.  
  6571.  
  6572.  
  6573.  
  6574.  
  6575.  
  6576.  
  6577.  
  6578.  
  6579.  
  6580.  
  6581.  
  6582.  
  6583.  
  6584.  
  6585.  
  6586.  
  6587.  
  6588.  
  6589.  
  6590.  
  6591.  
  6592.  
  6593.  
  6594.  
  6595.  
  6596.  
  6597.  
  6598.  
  6599.  
  6600.  
  6601.  
  6602.  
  6603.  
  6604.  
  6605.  
  6606.  
  6607.  
  6608.  
  6609.  
  6610.  
  6611.  
  6612.  
  6613.  
  6614.  
  6615.  
  6616.  
  6617.  
  6618.  
  6619.  
  6620.  
  6621.  
  6622.  
  6623.  
  6624.  
  6625.  
  6626.  
  6627.  
  6628.  
  6629.  
  6630.  
  6631. typedef unsigned char Byte;
  6632. typedef unsigned int uInt;
  6633. typedef unsigned long uLong;
  6634.  
  6635. typedef Byte Bytef;
  6636. typedef char charf;
  6637. typedef int intf;
  6638. typedef uInt uIntf;
  6639. typedef uLong uLongf;
  6640.  
  6641. typedef void const *voidpc;
  6642. typedef void *voidpf;
  6643. typedef void *voidp;
  6644.  
  6645.  
  6646.  
  6647.  
  6648.  
  6649.  
  6650.  
  6651.  
  6652.  
  6653.  
  6654.  
  6655.  
  6656.  
  6657.  
  6658.  
  6659.  
  6660.  
  6661.  
  6662.  
  6663.  
  6664.  
  6665.  
  6666.  
  6667.  
  6668.  
  6669.  
  6670.  
  6671.  
  6672.  
  6673.  
  6674.  
  6675.  
  6676.  
  6677.  
  6678.  
  6679.  
  6680.  
  6681.  
  6682.  
  6683.  
  6684.  
  6685.  
  6686.  
  6687.  
  6688.  
  6689.  
  6690.  
  6691.  
  6692.  
  6693.  
  6694.  
  6695.  
  6696.  
  6697.  
  6698.  
  6699.  
  6700.  
  6701.  
  6702.  
  6703.  
  6704.  
  6705.  
  6706.  
  6707.  
  6708.  
  6709.  
  6710.  
  6711.  
  6712.  
  6713.  
  6714.  
  6715.  
  6716.  
  6717.  
  6718.  
  6719.  
  6720.  
  6721.  
  6722.  
  6723.  
  6724.  
  6725.  
  6726.  
  6727.  
  6728.  
  6729.  
  6730.  
  6731.  
  6732.  
  6733.  
  6734.  
  6735.  
  6736.  
  6737.  
  6738.  
  6739.  
  6740.  
  6741.  
  6742.  
  6743.  
  6744.  
  6745.  
  6746.  
  6747.  
  6748.  
  6749.  
  6750.  
  6751.  
  6752.  
  6753.  
  6754.  
  6755.  
  6756.  
  6757.  
  6758.  
  6759.  
  6760.  
  6761.  
  6762.  
  6763.  
  6764.  
  6765.  
  6766.  
  6767.  
  6768.  
  6769.  
  6770.  
  6771.  
  6772.  
  6773.  
  6774.  
  6775.  
  6776.  
  6777.  
  6778.  
  6779.  
  6780.  
  6781.  
  6782.  
  6783.  
  6784.  
  6785.  
  6786.  
  6787.  
  6788.  
  6789.  
  6790.  
  6791.  
  6792.  
  6793.  
  6794.  
  6795.  
  6796.  
  6797.  
  6798.  
  6799.  
  6800.  
  6801.  
  6802.  
  6803.  
  6804.  
  6805.  
  6806.  
  6807.  
  6808.  
  6809.  
  6810.  
  6811.  
  6812.  
  6813.  
  6814.  
  6815.  
  6816.  
  6817.  
  6818.  
  6819.  
  6820.  
  6821.  
  6822.  
  6823.  
  6824.  
  6825.  
  6826.  
  6827.  
  6828.  
  6829.  
  6830.  
  6831.  
  6832.  
  6833.  
  6834.  
  6835.  
  6836.  
  6837.  
  6838.  
  6839.  
  6840.  
  6841.  
  6842.  
  6843.  
  6844.  
  6845.  
  6846.  
  6847.  
  6848.  
  6849.  
  6850.  
  6851.  
  6852.  
  6853.  
  6854.  
  6855.  
  6856.  
  6857.  
  6858.  
  6859.  
  6860.  
  6861.  
  6862.  
  6863.  
  6864.  
  6865.  
  6866.  
  6867.  
  6868.  
  6869.  
  6870.  
  6871.  
  6872.  
  6873.  
  6874.  
  6875.  
  6876.  
  6877.  
  6878.  
  6879.  
  6880.  
  6881.  
  6882.  
  6883.  
  6884.  
  6885.  
  6886.  
  6887.  
  6888.  
  6889.  
  6890.  
  6891.  
  6892.  
  6893.  
  6894.  
  6895.  
  6896.  
  6897.  
  6898.  
  6899.  
  6900.  
  6901.  
  6902.  
  6903.  
  6904.  
  6905.  
  6906.  
  6907.  
  6908.  
  6909.  
  6910.  
  6911.  
  6912.  
  6913.  
  6914.  
  6915.  
  6916.  
  6917.  
  6918.  
  6919.  
  6920.  
  6921.  
  6922.  
  6923.  
  6924.  
  6925.  
  6926.  
  6927.  
  6928.  
  6929.  
  6930.  
  6931.  
  6932.  
  6933.  
  6934.  
  6935.  
  6936.  
  6937.  
  6938.  
  6939.  
  6940.  
  6941.  
  6942.  
  6943.  
  6944.  
  6945.  
  6946.  
  6947.  
  6948.  
  6949.  
  6950.  
  6951.  
  6952.  
  6953.  
  6954.  
  6955.  
  6956.  
  6957.  
  6958.  
  6959.  
  6960.  
  6961.  
  6962.  
  6963.  
  6964.  
  6965.  
  6966.  
  6967.  
  6968.  
  6969.  
  6970.  
  6971.  
  6972.  
  6973.  
  6974.  
  6975.  
  6976.  
  6977.  
  6978.  
  6979.  
  6980.  
  6981.  
  6982.  
  6983.  
  6984.  
  6985.  
  6986.  
  6987.  
  6988.  
  6989.  
  6990.  
  6991.  
  6992.  
  6993.  
  6994.  
  6995.  
  6996.  
  6997.  
  6998.  
  6999.  
  7000.  
  7001.  
  7002.  
  7003.  
  7004.  
  7005.  
  7006.  
  7007.  
  7008.  
  7009.  
  7010.  
  7011.  
  7012.  
  7013.  
  7014.  
  7015.  
  7016.  
  7017.  
  7018.  
  7019.  
  7020.  
  7021.  
  7022.  
  7023.  
  7024.  
  7025.  
  7026.  
  7027.  
  7028.  
  7029.  
  7030.  
  7031.  
  7032.  
  7033.  
  7034.  
  7035.  
  7036.  
  7037.  
  7038.  
  7039.  
  7040.  
  7041.  
  7042.  
  7043.  
  7044.  
  7045.  
  7046.  
  7047.  
  7048.  
  7049.  
  7050.  
  7051.  
  7052.  
  7053.  
  7054.  
  7055.  
  7056.  
  7057.  
  7058.  
  7059.  
  7060.  
  7061.  
  7062.  
  7063.  
  7064.  
  7065.  
  7066.  
  7067.  
  7068.  
  7069.  
  7070.  
  7071.  
  7072.  
  7073.  
  7074.  
  7075.  
  7076.  
  7077.  
  7078.  
  7079.  
  7080.  
  7081.  
  7082.  
  7083.  
  7084.  
  7085.  
  7086.  
  7087.  
  7088.  
  7089.  
  7090.  
  7091.  
  7092.  
  7093.  
  7094.  
  7095.  
  7096.  
  7097.  
  7098.  
  7099.  
  7100.  
  7101.  
  7102.  
  7103.  
  7104.  
  7105.  
  7106.  
  7107.  
  7108.  
  7109.  
  7110.  
  7111.  
  7112.  
  7113.  
  7114.  
  7115.  
  7116.  
  7117.  
  7118.  
  7119.  
  7120.  
  7121.  
  7122.  
  7123.  
  7124.  
  7125.  
  7126.  
  7127.  
  7128.  
  7129.  
  7130.  
  7131.  
  7132.  
  7133.  
  7134.  
  7135.  
  7136.  
  7137.  
  7138.  
  7139.  
  7140.  
  7141.  
  7142.  
  7143.  
  7144.  
  7145.  
  7146.  
  7147.  
  7148.  
  7149.  
  7150.  
  7151.  
  7152.  
  7153.  
  7154.  
  7155.  
  7156.  
  7157.  
  7158.  
  7159.  
  7160.  
  7161.  
  7162.  
  7163.  
  7164.  
  7165.  
  7166.  
  7167.  
  7168.  
  7169.  
  7170.  
  7171.  
  7172.  
  7173.  
  7174.  
  7175.  
  7176.  
  7177.  
  7178.  
  7179.  
  7180.  
  7181.  
  7182.  
  7183.  
  7184.  
  7185.  
  7186.  
  7187.  
  7188.  
  7189.  
  7190.  
  7191.  
  7192.  
  7193.  
  7194.  
  7195.  
  7196.  
  7197.  
  7198.  
  7199.  
  7200.  
  7201.  
  7202.  
  7203.  
  7204.  
  7205.  
  7206.  
  7207.  
  7208.  
  7209.  
  7210.  
  7211.  
  7212.  
  7213.  
  7214.  
  7215.  
  7216.  
  7217.  
  7218.  
  7219.  
  7220.  
  7221.  
  7222.  
  7223.  
  7224.  
  7225.  
  7226.  
  7227.  
  7228.  
  7229.  
  7230.  
  7231.  
  7232.  
  7233.  
  7234.  
  7235.  
  7236.  
  7237.  
  7238.  
  7239.  
  7240.  
  7241.  
  7242.  
  7243.  
  7244.  
  7245.  
  7246.  
  7247.  
  7248.  
  7249.  
  7250.  
  7251.  
  7252.  
  7253.  
  7254.  
  7255.  
  7256.  
  7257.  
  7258.  
  7259.  
  7260.  
  7261.  
  7262.  
  7263.  
  7264.  
  7265.  
  7266.  
  7267.  
  7268.  
  7269.  
  7270.  
  7271.  
  7272.  
  7273.  
  7274.  
  7275.  
  7276.  
  7277.  
  7278.  
  7279.  
  7280.  
  7281.  
  7282.  
  7283.  
  7284.  
  7285.  
  7286.  
  7287.  
  7288.  
  7289.  
  7290.  
  7291.  
  7292.  
  7293.  
  7294.  
  7295.  
  7296.  
  7297.  
  7298.  
  7299.  
  7300.  
  7301.  
  7302.  
  7303.  
  7304.  
  7305.  
  7306.  
  7307.  
  7308.  
  7309.  
  7310.  
  7311.  
  7312.  
  7313.  
  7314.  
  7315.  
  7316.  
  7317.  
  7318.  
  7319.  
  7320.  
  7321.  
  7322.  
  7323.  
  7324.  
  7325.  
  7326.  
  7327.  
  7328.  
  7329.  
  7330.  
  7331.  
  7332.  
  7333.  
  7334.  
  7335.  
  7336.  
  7337.  
  7338.  
  7339.  
  7340.  
  7341.  
  7342.  
  7343.  
  7344.  
  7345.  
  7346. typedef unsigned z_crc_t;
  7347.  
  7348.  
  7349.  
  7350.  
  7351.  
  7352.  
  7353.  
  7354.  
  7355.  
  7356.  
  7357.  
  7358.  
  7359.  
  7360.  
  7361.  
  7362.  
  7363.  
  7364.  
  7365.  
  7366.  
  7367.  
  7368.  
  7369.  
  7370.  
  7371.  
  7372.  
  7373.  
  7374.  
  7375.  
  7376.  
  7377.  
  7378.  
  7379.  
  7380.  
  7381.  
  7382.  
  7383.  
  7384.  
  7385.  
  7386.  
  7387.  
  7388.  
  7389.  
  7390.  
  7391.  
  7392.  
  7393.  
  7394.  
  7395.  
  7396.  
  7397.  
  7398.  
  7399.  
  7400.  
  7401.  
  7402.  
  7403.  
  7404.  
  7405.  
  7406.  
  7407.  
  7408.  
  7409.  
  7410.  
  7411.  
  7412.  
  7413.  
  7414.  
  7415.  
  7416.  
  7417.  
  7418. typedef unsigned char __u_char;
  7419. typedef unsigned short int __u_short;
  7420. typedef unsigned int __u_int;
  7421. typedef unsigned long int __u_long;
  7422.  
  7423.  
  7424. typedef signed char __int8_t;
  7425. typedef unsigned char __uint8_t;
  7426. typedef signed short int __int16_t;
  7427. typedef unsigned short int __uint16_t;
  7428. typedef signed int __int32_t;
  7429. typedef unsigned int __uint32_t;
  7430. typedef signed long int __int64_t;
  7431. typedef unsigned long int __uint64_t;
  7432.  
  7433.  
  7434. typedef long int __quad_t;
  7435. typedef unsigned long int __u_quad_t;
  7436.  
  7437.  
  7438.  
  7439.  
  7440.  
  7441.  
  7442.  
  7443.  
  7444.  
  7445.  
  7446.  
  7447.  
  7448.  
  7449.  
  7450.  
  7451.  
  7452.  
  7453.  
  7454.  
  7455.  
  7456.  
  7457.  
  7458.  
  7459.  
  7460.  
  7461.  
  7462.  
  7463.  
  7464.  
  7465.  
  7466.  
  7467.  
  7468.  
  7469.  
  7470.  
  7471.  
  7472.  
  7473.  
  7474.  
  7475.  
  7476.  
  7477.  
  7478.  
  7479.  
  7480.  
  7481.  
  7482.  
  7483.  
  7484.  
  7485.  
  7486.  
  7487.  
  7488.  
  7489.  
  7490.  
  7491.  
  7492.  
  7493.  
  7494.  
  7495.  
  7496.  
  7497.  
  7498.  
  7499.  
  7500.  
  7501.  
  7502.  
  7503. typedef unsigned long int __dev_t;
  7504. typedef unsigned int __uid_t;
  7505. typedef unsigned int __gid_t;
  7506. typedef unsigned long int __ino_t;
  7507. typedef unsigned long int __ino64_t;
  7508. typedef unsigned int __mode_t;
  7509. typedef unsigned long int __nlink_t;
  7510. typedef long int __off_t;
  7511. typedef long int __off64_t;
  7512. typedef int __pid_t;
  7513. typedef struct { int __val[2]; } __fsid_t;
  7514. typedef long int __clock_t;
  7515. typedef unsigned long int __rlim_t;
  7516. typedef unsigned long int __rlim64_t;
  7517. typedef unsigned int __id_t;
  7518. typedef long int __time_t;
  7519. typedef unsigned int __useconds_t;
  7520. typedef long int __suseconds_t;
  7521.  
  7522. typedef int __daddr_t;
  7523. typedef int __key_t;
  7524.  
  7525.  
  7526. typedef int __clockid_t;
  7527.  
  7528.  
  7529. typedef void * __timer_t;
  7530.  
  7531.  
  7532. typedef long int __blksize_t;
  7533.  
  7534.  
  7535.  
  7536.  
  7537. typedef long int __blkcnt_t;
  7538. typedef long int __blkcnt64_t;
  7539.  
  7540.  
  7541. typedef unsigned long int __fsblkcnt_t;
  7542. typedef unsigned long int __fsblkcnt64_t;
  7543.  
  7544.  
  7545. typedef unsigned long int __fsfilcnt_t;
  7546. typedef unsigned long int __fsfilcnt64_t;
  7547.  
  7548.  
  7549. typedef long int __fsword_t;
  7550.  
  7551. typedef long int __ssize_t;
  7552.  
  7553.  
  7554. typedef long int __syscall_slong_t;
  7555.  
  7556. typedef unsigned long int __syscall_ulong_t;
  7557.  
  7558.  
  7559.  
  7560. typedef __off64_t __loff_t;
  7561. typedef __quad_t *__qaddr_t;
  7562. typedef char *__caddr_t;
  7563.  
  7564.  
  7565. typedef long int __intptr_t;
  7566.  
  7567.  
  7568. typedef unsigned int __socklen_t;
  7569.  
  7570.  
  7571.  
  7572.  
  7573. typedef __u_char u_char;
  7574. typedef __u_short u_short;
  7575. typedef __u_int u_int;
  7576. typedef __u_long u_long;
  7577. typedef __quad_t quad_t;
  7578. typedef __u_quad_t u_quad_t;
  7579. typedef __fsid_t fsid_t;
  7580.  
  7581. typedef __loff_t loff_t;
  7582.  
  7583. typedef __ino64_t ino_t;
  7584.  
  7585. typedef __dev_t dev_t;
  7586.  
  7587. typedef __gid_t gid_t;
  7588.  
  7589. typedef __mode_t mode_t;
  7590.  
  7591. typedef __nlink_t nlink_t;
  7592.  
  7593. typedef __uid_t uid_t;
  7594.  
  7595. typedef __off64_t off_t;
  7596.  
  7597. typedef __pid_t pid_t;
  7598.  
  7599. typedef __id_t id_t;
  7600.  
  7601. typedef __ssize_t ssize_t;
  7602.  
  7603. typedef __daddr_t daddr_t;
  7604. typedef __caddr_t caddr_t;
  7605.  
  7606. typedef __key_t key_t;
  7607.  
  7608.  
  7609.  
  7610.  
  7611.  
  7612.  
  7613.  
  7614.  
  7615.  
  7616.  
  7617.  
  7618.  
  7619.  
  7620.  
  7621.  
  7622.  
  7623.  
  7624.  
  7625.  
  7626.  
  7627.  
  7628.  
  7629.  
  7630.  
  7631.  
  7632.  
  7633.  
  7634.  
  7635.  
  7636. typedef __clock_t clock_t;
  7637.  
  7638.  
  7639.  
  7640.  
  7641.  
  7642.  
  7643.  
  7644.  
  7645. typedef __time_t time_t;
  7646.  
  7647.  
  7648.  
  7649.  
  7650.  
  7651.  
  7652.  
  7653. typedef __clockid_t clockid_t;
  7654.  
  7655.  
  7656.  
  7657.  
  7658.  
  7659. typedef __timer_t timer_t;
  7660.  
  7661.  
  7662.  
  7663.  
  7664.  
  7665.  
  7666.  
  7667.  
  7668.  
  7669.  
  7670.  
  7671.  
  7672.  
  7673.  
  7674.  
  7675.  
  7676.  
  7677.  
  7678.  
  7679.  
  7680.  
  7681.  
  7682.  
  7683.  
  7684.  
  7685.  
  7686.  
  7687.  
  7688.  
  7689.  
  7690.  
  7691.  
  7692.  
  7693.  
  7694.  
  7695.  
  7696.  
  7697.  
  7698.  
  7699.  
  7700.  
  7701.  
  7702.  
  7703.  
  7704.  
  7705.  
  7706.  
  7707.  
  7708.  
  7709.  
  7710.  
  7711.  
  7712. typedef unsigned long size_t;
  7713.  
  7714.  
  7715.  
  7716.  
  7717.  
  7718.  
  7719.  
  7720.  
  7721.  
  7722.  
  7723.  
  7724.  
  7725.  
  7726.  
  7727.  
  7728.  
  7729.  
  7730.  
  7731.  
  7732.  
  7733.  
  7734.  
  7735. typedef unsigned long int ulong;
  7736. typedef unsigned short int ushort;
  7737. typedef unsigned int uint;
  7738.  
  7739.  
  7740.  
  7741.  
  7742.  
  7743.  
  7744. typedef int int8_t __attribute__ ((__mode__ (__QI__)));
  7745. typedef int int16_t __attribute__ ((__mode__ (__HI__)));
  7746. typedef int int32_t __attribute__ ((__mode__ (__SI__)));
  7747. typedef int int64_t __attribute__ ((__mode__ (__DI__)));
  7748.  
  7749. typedef unsigned int u_int8_t __attribute__ ((__mode__ (__QI__)));
  7750. typedef unsigned int u_int16_t __attribute__ ((__mode__ (__HI__)));
  7751. typedef unsigned int u_int32_t __attribute__ ((__mode__ (__SI__)));
  7752. typedef unsigned int u_int64_t __attribute__ ((__mode__ (__DI__)));
  7753.  
  7754. typedef int register_t __attribute__ ((__mode__ (__word__)));
  7755.  
  7756.  
  7757.  
  7758.  
  7759.  
  7760.  
  7761.  
  7762.  
  7763.  
  7764.  
  7765.  
  7766.  
  7767.  
  7768.  
  7769.  
  7770.  
  7771.  
  7772.  
  7773.  
  7774.  
  7775.  
  7776.  
  7777.  
  7778.  
  7779.  
  7780.  
  7781.  
  7782.  
  7783.  
  7784.  
  7785.  
  7786.  
  7787.  
  7788.  
  7789.  
  7790.  
  7791.  
  7792.  
  7793.  
  7794.  
  7795.  
  7796.  
  7797.  
  7798.  
  7799.  
  7800.  
  7801.  
  7802.  
  7803.  
  7804.  
  7805.  
  7806.  
  7807.  
  7808.  
  7809.  
  7810.  
  7811.  
  7812.  
  7813.  
  7814.  
  7815.  
  7816.  
  7817.  
  7818.  
  7819.  
  7820.  
  7821.  
  7822.  
  7823.  
  7824.  
  7825.  
  7826.  
  7827.  
  7828.  
  7829.  
  7830.  
  7831.  
  7832.  
  7833.  
  7834.  
  7835.  
  7836.  
  7837.  
  7838.  
  7839.  
  7840.  
  7841.  
  7842.  
  7843.  
  7844.  
  7845.  
  7846.  
  7847.  
  7848.  
  7849.  
  7850.  
  7851.  
  7852.  
  7853.  
  7854.  
  7855.  
  7856.  
  7857.  
  7858.  
  7859.  
  7860.  
  7861.  
  7862.  
  7863.  
  7864.  
  7865.  
  7866.  
  7867.  
  7868.  
  7869.  
  7870.  
  7871.  
  7872.  
  7873.  
  7874.  
  7875.  
  7876.  
  7877.  
  7878.  
  7879.  
  7880.  
  7881.  
  7882.  
  7883.  
  7884.  
  7885.  
  7886.  
  7887.  
  7888.  
  7889.  
  7890.  
  7891.  
  7892.  
  7893.  
  7894.  
  7895.  
  7896.  
  7897.  
  7898.  
  7899.  
  7900.  
  7901.  
  7902.  
  7903.  
  7904.  
  7905.  
  7906.  
  7907.  
  7908.  
  7909.  
  7910.  
  7911.  
  7912.  
  7913. typedef int __sig_atomic_t;
  7914.  
  7915.  
  7916.  
  7917. typedef struct
  7918. {
  7919. unsigned long int __val[(1024 / (8 * sizeof (unsigned long int)))];
  7920. } __sigset_t;
  7921.  
  7922.  
  7923.  
  7924.  
  7925.  
  7926.  
  7927.  
  7928.  
  7929.  
  7930.  
  7931. typedef __sigset_t sigset_t;
  7932.  
  7933.  
  7934.  
  7935.  
  7936.  
  7937.  
  7938.  
  7939.  
  7940.  
  7941.  
  7942.  
  7943.  
  7944.  
  7945.  
  7946.  
  7947.  
  7948.  
  7949.  
  7950.  
  7951.  
  7952.  
  7953.  
  7954.  
  7955.  
  7956.  
  7957.  
  7958.  
  7959.  
  7960.  
  7961.  
  7962.  
  7963.  
  7964.  
  7965.  
  7966.  
  7967. struct timespec
  7968. {
  7969. __time_t tv_sec;
  7970. __syscall_slong_t tv_nsec;
  7971. };
  7972.  
  7973.  
  7974.  
  7975.  
  7976.  
  7977.  
  7978.  
  7979.  
  7980.  
  7981.  
  7982.  
  7983.  
  7984.  
  7985.  
  7986.  
  7987.  
  7988.  
  7989.  
  7990.  
  7991.  
  7992.  
  7993.  
  7994.  
  7995.  
  7996.  
  7997.  
  7998.  
  7999.  
  8000.  
  8001. struct timeval
  8002. {
  8003. __time_t tv_sec;
  8004. __suseconds_t tv_usec;
  8005. };
  8006.  
  8007.  
  8008.  
  8009. typedef __suseconds_t suseconds_t;
  8010.  
  8011.  
  8012.  
  8013. typedef long int __fd_mask;
  8014.  
  8015.  
  8016.  
  8017.  
  8018.  
  8019. typedef struct
  8020. {
  8021.  
  8022.  
  8023. __fd_mask __fds_bits[1024 / (8 * (int) sizeof (__fd_mask))];
  8024. } fd_set;
  8025.  
  8026.  
  8027.  
  8028.  
  8029. typedef __fd_mask fd_mask;
  8030.  
  8031.  
  8032.  
  8033.  
  8034.  
  8035.  
  8036.  
  8037.  
  8038.  
  8039.  
  8040.  
  8041.  
  8042.  
  8043.  
  8044.  
  8045.  
  8046.  
  8047. extern int select (int __nfds, fd_set *__restrict __readfds,
  8048. fd_set *__restrict __writefds,
  8049. fd_set *__restrict __exceptfds,
  8050. struct timeval *__restrict __timeout);
  8051.  
  8052.  
  8053.  
  8054.  
  8055.  
  8056.  
  8057.  
  8058. extern int pselect (int __nfds, fd_set *__restrict __readfds,
  8059. fd_set *__restrict __writefds,
  8060. fd_set *__restrict __exceptfds,
  8061. const struct timespec *__restrict __timeout,
  8062. const __sigset_t *__restrict __sigmask);
  8063.  
  8064.  
  8065.  
  8066.  
  8067.  
  8068.  
  8069.  
  8070.  
  8071.  
  8072.  
  8073.  
  8074.  
  8075.  
  8076.  
  8077.  
  8078.  
  8079.  
  8080.  
  8081.  
  8082.  
  8083.  
  8084.  
  8085.  
  8086.  
  8087.  
  8088.  
  8089.  
  8090.  
  8091.  
  8092.  
  8093. __extension__
  8094. extern unsigned int gnu_dev_major (unsigned long long int __dev)
  8095. __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__));
  8096. __extension__
  8097. extern unsigned int gnu_dev_minor (unsigned long long int __dev)
  8098. __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__));
  8099. __extension__
  8100. extern unsigned long long int gnu_dev_makedev (unsigned int __major,
  8101. unsigned int __minor)
  8102. __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__));
  8103.  
  8104.  
  8105.  
  8106.  
  8107.  
  8108.  
  8109.  
  8110. typedef __blksize_t blksize_t;
  8111.  
  8112.  
  8113. typedef __blkcnt64_t blkcnt_t;
  8114. typedef __fsblkcnt64_t fsblkcnt_t;
  8115. typedef __fsfilcnt64_t fsfilcnt_t;
  8116.  
  8117.  
  8118.  
  8119.  
  8120.  
  8121.  
  8122.  
  8123.  
  8124.  
  8125.  
  8126.  
  8127.  
  8128.  
  8129.  
  8130.  
  8131.  
  8132.  
  8133.  
  8134.  
  8135.  
  8136.  
  8137.  
  8138.  
  8139.  
  8140.  
  8141.  
  8142.  
  8143.  
  8144.  
  8145.  
  8146.  
  8147.  
  8148.  
  8149.  
  8150.  
  8151.  
  8152.  
  8153.  
  8154.  
  8155.  
  8156.  
  8157.  
  8158.  
  8159.  
  8160.  
  8161.  
  8162.  
  8163.  
  8164. typedef unsigned long int pthread_t;
  8165.  
  8166.  
  8167. union pthread_attr_t
  8168. {
  8169. char __size[56];
  8170. long int __align;
  8171. };
  8172. typedef union pthread_attr_t pthread_attr_t;
  8173.  
  8174.  
  8175. typedef struct __pthread_internal_list
  8176. {
  8177. struct __pthread_internal_list *__prev;
  8178. struct __pthread_internal_list *__next;
  8179. } __pthread_list_t;
  8180.  
  8181.  
  8182.  
  8183.  
  8184. typedef union
  8185. {
  8186. struct __pthread_mutex_s
  8187. {
  8188. int __lock;
  8189. unsigned int __count;
  8190. int __owner;
  8191. unsigned int __nusers;
  8192.  
  8193.  
  8194. int __kind;
  8195. int __spins;
  8196. __pthread_list_t __list;
  8197. } __data;
  8198. char __size[40];
  8199. long int __align;
  8200. } pthread_mutex_t;
  8201.  
  8202.  
  8203.  
  8204. typedef union
  8205. {
  8206. char __size[4];
  8207. int __align;
  8208. } pthread_mutexattr_t;
  8209.  
  8210.  
  8211.  
  8212.  
  8213. typedef union
  8214. {
  8215. struct
  8216. {
  8217. int __lock;
  8218. unsigned int __futex;
  8219. __extension__ unsigned long long int __total_seq;
  8220. __extension__ unsigned long long int __wakeup_seq;
  8221. __extension__ unsigned long long int __woken_seq;
  8222. void *__mutex;
  8223. unsigned int __nwaiters;
  8224. unsigned int __broadcast_seq;
  8225. } __data;
  8226. char __size[48];
  8227. __extension__ long long int __align;
  8228. } pthread_cond_t;
  8229.  
  8230. typedef union
  8231. {
  8232. char __size[4];
  8233. int __align;
  8234. } pthread_condattr_t;
  8235.  
  8236.  
  8237.  
  8238. typedef unsigned int pthread_key_t;
  8239.  
  8240.  
  8241.  
  8242. typedef int pthread_once_t;
  8243.  
  8244.  
  8245.  
  8246.  
  8247. typedef union
  8248. {
  8249. struct
  8250. {
  8251. int __lock;
  8252. unsigned int __nr_readers;
  8253. unsigned int __readers_wakeup;
  8254. unsigned int __writer_wakeup;
  8255. unsigned int __nr_readers_queued;
  8256. unsigned int __nr_writers_queued;
  8257. int __writer;
  8258. int __shared;
  8259. unsigned long int __pad1;
  8260. unsigned long int __pad2;
  8261.  
  8262.  
  8263. unsigned int __flags;
  8264. } __data;
  8265. char __size[56];
  8266. long int __align;
  8267. } pthread_rwlock_t;
  8268.  
  8269.  
  8270. typedef union
  8271. {
  8272. char __size[8];
  8273. long int __align;
  8274. } pthread_rwlockattr_t;
  8275.  
  8276.  
  8277.  
  8278. typedef volatile int pthread_spinlock_t;
  8279.  
  8280.  
  8281.  
  8282.  
  8283. typedef union
  8284. {
  8285. char __size[32];
  8286. long int __align;
  8287. } pthread_barrier_t;
  8288.  
  8289. typedef union
  8290. {
  8291. char __size[4];
  8292. int __align;
  8293. } pthread_barrierattr_t;
  8294.  
  8295.  
  8296.  
  8297.  
  8298.  
  8299.  
  8300.  
  8301.  
  8302.  
  8303.  
  8304.  
  8305.  
  8306. typedef __builtin_va_list va_list;
  8307.  
  8308.  
  8309. typedef __builtin_va_list __gnuc_va_list;
  8310.  
  8311.  
  8312.  
  8313.  
  8314.  
  8315.  
  8316.  
  8317.  
  8318.  
  8319.  
  8320.  
  8321.  
  8322.  
  8323.  
  8324.  
  8325.  
  8326.  
  8327.  
  8328.  
  8329.  
  8330.  
  8331.  
  8332.  
  8333.  
  8334.  
  8335.  
  8336.  
  8337.  
  8338.  
  8339.  
  8340.  
  8341.  
  8342.  
  8343.  
  8344.  
  8345.  
  8346.  
  8347.  
  8348.  
  8349.  
  8350.  
  8351.  
  8352.  
  8353.  
  8354.  
  8355.  
  8356.  
  8357.  
  8358.  
  8359.  
  8360.  
  8361.  
  8362.  
  8363.  
  8364.  
  8365.  
  8366.  
  8367.  
  8368.  
  8369.  
  8370.  
  8371.  
  8372.  
  8373.  
  8374.  
  8375.  
  8376.  
  8377.  
  8378.  
  8379.  
  8380.  
  8381.  
  8382.  
  8383.  
  8384.  
  8385.  
  8386.  
  8387.  
  8388.  
  8389.  
  8390.  
  8391.  
  8392.  
  8393.  
  8394.  
  8395.  
  8396.  
  8397.  
  8398.  
  8399.  
  8400.  
  8401.  
  8402.  
  8403.  
  8404.  
  8405.  
  8406.  
  8407.  
  8408.  
  8409.  
  8410.  
  8411.  
  8412.  
  8413.  
  8414.  
  8415.  
  8416.  
  8417.  
  8418.  
  8419.  
  8420.  
  8421.  
  8422.  
  8423.  
  8424.  
  8425.  
  8426.  
  8427.  
  8428.  
  8429.  
  8430.  
  8431.  
  8432.  
  8433.  
  8434.  
  8435.  
  8436.  
  8437.  
  8438.  
  8439.  
  8440.  
  8441.  
  8442.  
  8443.  
  8444.  
  8445.  
  8446.  
  8447.  
  8448.  
  8449.  
  8450.  
  8451.  
  8452.  
  8453.  
  8454.  
  8455.  
  8456.  
  8457.  
  8458.  
  8459.  
  8460.  
  8461.  
  8462.  
  8463.  
  8464.  
  8465.  
  8466.  
  8467.  
  8468.  
  8469.  
  8470.  
  8471.  
  8472.  
  8473.  
  8474.  
  8475.  
  8476.  
  8477.  
  8478.  
  8479.  
  8480.  
  8481.  
  8482.  
  8483.  
  8484.  
  8485.  
  8486.  
  8487.  
  8488.  
  8489.  
  8490.  
  8491.  
  8492.  
  8493.  
  8494.  
  8495.  
  8496.  
  8497.  
  8498.  
  8499.  
  8500.  
  8501.  
  8502.  
  8503.  
  8504.  
  8505.  
  8506.  
  8507.  
  8508.  
  8509.  
  8510.  
  8511.  
  8512.  
  8513.  
  8514.  
  8515.  
  8516.  
  8517.  
  8518.  
  8519.  
  8520.  
  8521.  
  8522.  
  8523.  
  8524.  
  8525.  
  8526.  
  8527.  
  8528.  
  8529.  
  8530.  
  8531.  
  8532.  
  8533.  
  8534.  
  8535.  
  8536.  
  8537.  
  8538.  
  8539.  
  8540.  
  8541.  
  8542.  
  8543.  
  8544.  
  8545.  
  8546.  
  8547.  
  8548.  
  8549.  
  8550.  
  8551.  
  8552.  
  8553.  
  8554.  
  8555.  
  8556.  
  8557.  
  8558.  
  8559.  
  8560.  
  8561.  
  8562.  
  8563.  
  8564.  
  8565.  
  8566.  
  8567.  
  8568.  
  8569.  
  8570.  
  8571.  
  8572.  
  8573.  
  8574.  
  8575.  
  8576.  
  8577.  
  8578.  
  8579.  
  8580.  
  8581.  
  8582.  
  8583.  
  8584.  
  8585.  
  8586.  
  8587.  
  8588.  
  8589.  
  8590.  
  8591.  
  8592.  
  8593.  
  8594.  
  8595.  
  8596.  
  8597.  
  8598.  
  8599.  
  8600.  
  8601.  
  8602.  
  8603.  
  8604.  
  8605.  
  8606.  
  8607.  
  8608.  
  8609.  
  8610.  
  8611.  
  8612.  
  8613.  
  8614.  
  8615.  
  8616.  
  8617.  
  8618.  
  8619.  
  8620.  
  8621.  
  8622.  
  8623.  
  8624.  
  8625.  
  8626.  
  8627.  
  8628.  
  8629.  
  8630.  
  8631.  
  8632.  
  8633.  
  8634.  
  8635.  
  8636.  
  8637.  
  8638.  
  8639.  
  8640.  
  8641.  
  8642.  
  8643.  
  8644.  
  8645.  
  8646.  
  8647.  
  8648.  
  8649.  
  8650.  
  8651.  
  8652.  
  8653.  
  8654.  
  8655.  
  8656.  
  8657.  
  8658.  
  8659.  
  8660.  
  8661.  
  8662.  
  8663.  
  8664.  
  8665.  
  8666.  
  8667.  
  8668.  
  8669.  
  8670.  
  8671.  
  8672.  
  8673.  
  8674.  
  8675.  
  8676.  
  8677.  
  8678.  
  8679.  
  8680.  
  8681.  
  8682.  
  8683.  
  8684.  
  8685.  
  8686.  
  8687.  
  8688.  
  8689.  
  8690.  
  8691.  
  8692.  
  8693.  
  8694.  
  8695.  
  8696.  
  8697.  
  8698.  
  8699.  
  8700.  
  8701.  
  8702.  
  8703.  
  8704.  
  8705.  
  8706.  
  8707.  
  8708.  
  8709.  
  8710.  
  8711.  
  8712.  
  8713.  
  8714.  
  8715.  
  8716.  
  8717.  
  8718.  
  8719.  
  8720.  
  8721.  
  8722.  
  8723.  
  8724.  
  8725.  
  8726.  
  8727.  
  8728.  
  8729.  
  8730.  
  8731.  
  8732.  
  8733.  
  8734.  
  8735.  
  8736.  
  8737.  
  8738.  
  8739.  
  8740.  
  8741.  
  8742.  
  8743.  
  8744. typedef __useconds_t useconds_t;
  8745.  
  8746.  
  8747. typedef __intptr_t intptr_t;
  8748.  
  8749. typedef __socklen_t socklen_t;
  8750.  
  8751.  
  8752.  
  8753.  
  8754.  
  8755. extern int access (const char *__name, int __type) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
  8756.  
  8757.  
  8758.  
  8759.  
  8760.  
  8761. extern int faccessat (int __fd, const char *__file, int __type, int __flag)
  8762. __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))) ;
  8763.  
  8764.  
  8765.  
  8766.  
  8767.  
  8768.  
  8769.  
  8770.  
  8771.  
  8772.  
  8773.  
  8774.  
  8775. extern __off64_t lseek (int __fd, __off64_t __offset, int __whence) __asm__ ("" "lseek64") __attribute__ ((__nothrow__ , __leaf__));
  8776.  
  8777.  
  8778.  
  8779.  
  8780.  
  8781. extern int close (int __fd);
  8782.  
  8783.  
  8784.  
  8785.  
  8786.  
  8787.  
  8788. extern ssize_t read (int __fd, void *__buf, size_t __nbytes) ;
  8789.  
  8790.  
  8791.  
  8792.  
  8793.  
  8794. extern ssize_t write (int __fd, const void *__buf, size_t __n) ;
  8795.  
  8796. extern ssize_t pread (int __fd, void *__buf, size_t __nbytes, __off64_t __offset) __asm__ ("" "pread64") ;
  8797. extern ssize_t pwrite (int __fd, const void *__buf, size_t __nbytes, __off64_t __offset) __asm__ ("" "pwrite64") ;
  8798.  
  8799.  
  8800.  
  8801.  
  8802.  
  8803.  
  8804. extern int pipe (int __pipedes[2]) __attribute__ ((__nothrow__ , __leaf__)) ;
  8805.  
  8806.  
  8807.  
  8808.  
  8809.  
  8810.  
  8811.  
  8812.  
  8813.  
  8814. extern unsigned int alarm (unsigned int __seconds) __attribute__ ((__nothrow__ , __leaf__));
  8815.  
  8816.  
  8817.  
  8818.  
  8819.  
  8820.  
  8821.  
  8822.  
  8823.  
  8824.  
  8825.  
  8826. extern unsigned int sleep (unsigned int __seconds);
  8827.  
  8828.  
  8829.  
  8830.  
  8831.  
  8832. extern __useconds_t ualarm (__useconds_t __value, __useconds_t __interval)
  8833. __attribute__ ((__nothrow__ , __leaf__));
  8834.  
  8835.  
  8836.  
  8837.  
  8838.  
  8839.  
  8840. extern int usleep (__useconds_t __useconds);
  8841.  
  8842.  
  8843.  
  8844.  
  8845.  
  8846.  
  8847.  
  8848. extern int pause (void);
  8849.  
  8850.  
  8851.  
  8852. extern int chown (const char *__file, __uid_t __owner, __gid_t __group)
  8853. __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) ;
  8854.  
  8855.  
  8856. extern int fchown (int __fd, __uid_t __owner, __gid_t __group) __attribute__ ((__nothrow__ , __leaf__)) ;
  8857.  
  8858.  
  8859.  
  8860.  
  8861. extern int lchown (const char *__file, __uid_t __owner, __gid_t __group)
  8862. __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) ;
  8863.  
  8864.  
  8865.  
  8866.  
  8867. extern int fchownat (int __fd, const char *__file, __uid_t __owner,
  8868. __gid_t __group, int __flag)
  8869. __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))) ;
  8870.  
  8871.  
  8872. extern int chdir (const char *__path) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) ;
  8873.  
  8874.  
  8875. extern int fchdir (int __fd) __attribute__ ((__nothrow__ , __leaf__)) ;
  8876.  
  8877.  
  8878.  
  8879.  
  8880.  
  8881.  
  8882.  
  8883.  
  8884. extern char *getcwd (char *__buf, size_t __size) __attribute__ ((__nothrow__ , __leaf__)) ;
  8885.  
  8886.  
  8887.  
  8888.  
  8889.  
  8890. extern char *getwd (char *__buf)
  8891. __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__deprecated__)) ;
  8892.  
  8893.  
  8894.  
  8895. extern int dup (int __fd) __attribute__ ((__nothrow__ , __leaf__)) ;
  8896.  
  8897.  
  8898. extern int dup2 (int __fd, int __fd2) __attribute__ ((__nothrow__ , __leaf__));
  8899.  
  8900.  
  8901.  
  8902. extern char **__environ;
  8903.  
  8904.  
  8905.  
  8906.  
  8907. extern int execve (const char *__path, char *const __argv[],
  8908. char *const __envp[]) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
  8909.  
  8910.  
  8911.  
  8912. extern int fexecve (int __fd, char *const __argv[], char *const __envp[])
  8913. __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2)));
  8914.  
  8915.  
  8916.  
  8917. extern int execv (const char *__path, char *const __argv[])
  8918. __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
  8919.  
  8920.  
  8921.  
  8922. extern int execle (const char *__path, const char *__arg, ...)
  8923. __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
  8924.  
  8925.  
  8926.  
  8927. extern int execl (const char *__path, const char *__arg, ...)
  8928. __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
  8929.  
  8930.  
  8931.  
  8932. extern int execvp (const char *__file, char *const __argv[])
  8933. __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
  8934.  
  8935.  
  8936.  
  8937.  
  8938. extern int execlp (const char *__file, const char *__arg, ...)
  8939. __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
  8940.  
  8941.  
  8942.  
  8943.  
  8944. extern int nice (int __inc) __attribute__ ((__nothrow__ , __leaf__)) ;
  8945.  
  8946.  
  8947.  
  8948. extern void _exit (int __status) __attribute__ ((__noreturn__));
  8949.  
  8950.  
  8951.  
  8952.  
  8953.  
  8954.  
  8955.  
  8956.  
  8957.  
  8958.  
  8959.  
  8960.  
  8961.  
  8962.  
  8963.  
  8964.  
  8965.  
  8966.  
  8967.  
  8968.  
  8969.  
  8970.  
  8971.  
  8972.  
  8973.  
  8974. enum
  8975. {
  8976. _PC_LINK_MAX,
  8977. _PC_MAX_CANON,
  8978. _PC_MAX_INPUT,
  8979. _PC_NAME_MAX,
  8980. _PC_PATH_MAX,
  8981. _PC_PIPE_BUF,
  8982. _PC_CHOWN_RESTRICTED,
  8983. _PC_NO_TRUNC,
  8984. _PC_VDISABLE,
  8985. _PC_SYNC_IO,
  8986. _PC_ASYNC_IO,
  8987. _PC_PRIO_IO,
  8988. _PC_SOCK_MAXBUF,
  8989. _PC_FILESIZEBITS,
  8990. _PC_REC_INCR_XFER_SIZE,
  8991. _PC_REC_MAX_XFER_SIZE,
  8992. _PC_REC_MIN_XFER_SIZE,
  8993. _PC_REC_XFER_ALIGN,
  8994. _PC_ALLOC_SIZE_MIN,
  8995. _PC_SYMLINK_MAX,
  8996. _PC_2_SYMLINKS
  8997. };
  8998.  
  8999.  
  9000. enum
  9001. {
  9002. _SC_ARG_MAX,
  9003. _SC_CHILD_MAX,
  9004. _SC_CLK_TCK,
  9005. _SC_NGROUPS_MAX,
  9006. _SC_OPEN_MAX,
  9007. _SC_STREAM_MAX,
  9008. _SC_TZNAME_MAX,
  9009. _SC_JOB_CONTROL,
  9010. _SC_SAVED_IDS,
  9011. _SC_REALTIME_SIGNALS,
  9012. _SC_PRIORITY_SCHEDULING,
  9013. _SC_TIMERS,
  9014. _SC_ASYNCHRONOUS_IO,
  9015. _SC_PRIORITIZED_IO,
  9016. _SC_SYNCHRONIZED_IO,
  9017. _SC_FSYNC,
  9018. _SC_MAPPED_FILES,
  9019. _SC_MEMLOCK,
  9020. _SC_MEMLOCK_RANGE,
  9021. _SC_MEMORY_PROTECTION,
  9022. _SC_MESSAGE_PASSING,
  9023. _SC_SEMAPHORES,
  9024. _SC_SHARED_MEMORY_OBJECTS,
  9025. _SC_AIO_LISTIO_MAX,
  9026. _SC_AIO_MAX,
  9027. _SC_AIO_PRIO_DELTA_MAX,
  9028. _SC_DELAYTIMER_MAX,
  9029. _SC_MQ_OPEN_MAX,
  9030. _SC_MQ_PRIO_MAX,
  9031. _SC_VERSION,
  9032. _SC_PAGESIZE,
  9033. _SC_RTSIG_MAX,
  9034. _SC_SEM_NSEMS_MAX,
  9035. _SC_SEM_VALUE_MAX,
  9036. _SC_SIGQUEUE_MAX,
  9037. _SC_TIMER_MAX,
  9038.  
  9039.  
  9040.  
  9041. _SC_BC_BASE_MAX,
  9042. _SC_BC_DIM_MAX,
  9043. _SC_BC_SCALE_MAX,
  9044. _SC_BC_STRING_MAX,
  9045. _SC_COLL_WEIGHTS_MAX,
  9046. _SC_EQUIV_CLASS_MAX,
  9047. _SC_EXPR_NEST_MAX,
  9048. _SC_LINE_MAX,
  9049. _SC_RE_DUP_MAX,
  9050. _SC_CHARCLASS_NAME_MAX,
  9051.  
  9052. _SC_2_VERSION,
  9053. _SC_2_C_BIND,
  9054. _SC_2_C_DEV,
  9055. _SC_2_FORT_DEV,
  9056. _SC_2_FORT_RUN,
  9057. _SC_2_SW_DEV,
  9058. _SC_2_LOCALEDEF,
  9059.  
  9060. _SC_PII,
  9061. _SC_PII_XTI,
  9062. _SC_PII_SOCKET,
  9063. _SC_PII_INTERNET,
  9064. _SC_PII_OSI,
  9065. _SC_POLL,
  9066. _SC_SELECT,
  9067. _SC_UIO_MAXIOV,
  9068. _SC_IOV_MAX = _SC_UIO_MAXIOV,
  9069. _SC_PII_INTERNET_STREAM,
  9070. _SC_PII_INTERNET_DGRAM,
  9071. _SC_PII_OSI_COTS,
  9072. _SC_PII_OSI_CLTS,
  9073. _SC_PII_OSI_M,
  9074. _SC_T_IOV_MAX,
  9075.  
  9076.  
  9077. _SC_THREADS,
  9078. _SC_THREAD_SAFE_FUNCTIONS,
  9079. _SC_GETGR_R_SIZE_MAX,
  9080. _SC_GETPW_R_SIZE_MAX,
  9081. _SC_LOGIN_NAME_MAX,
  9082. _SC_TTY_NAME_MAX,
  9083. _SC_THREAD_DESTRUCTOR_ITERATIONS,
  9084. _SC_THREAD_KEYS_MAX,
  9085. _SC_THREAD_STACK_MIN,
  9086. _SC_THREAD_THREADS_MAX,
  9087. _SC_THREAD_ATTR_STACKADDR,
  9088. _SC_THREAD_ATTR_STACKSIZE,
  9089. _SC_THREAD_PRIORITY_SCHEDULING,
  9090. _SC_THREAD_PRIO_INHERIT,
  9091. _SC_THREAD_PRIO_PROTECT,
  9092. _SC_THREAD_PROCESS_SHARED,
  9093.  
  9094. _SC_NPROCESSORS_CONF,
  9095. _SC_NPROCESSORS_ONLN,
  9096. _SC_PHYS_PAGES,
  9097. _SC_AVPHYS_PAGES,
  9098. _SC_ATEXIT_MAX,
  9099. _SC_PASS_MAX,
  9100.  
  9101. _SC_XOPEN_VERSION,
  9102. _SC_XOPEN_XCU_VERSION,
  9103. _SC_XOPEN_UNIX,
  9104. _SC_XOPEN_CRYPT,
  9105. _SC_XOPEN_ENH_I18N,
  9106. _SC_XOPEN_SHM,
  9107.  
  9108. _SC_2_CHAR_TERM,
  9109. _SC_2_C_VERSION,
  9110. _SC_2_UPE,
  9111.  
  9112. _SC_XOPEN_XPG2,
  9113. _SC_XOPEN_XPG3,
  9114. _SC_XOPEN_XPG4,
  9115.  
  9116. _SC_CHAR_BIT,
  9117. _SC_CHAR_MAX,
  9118. _SC_CHAR_MIN,
  9119. _SC_INT_MAX,
  9120. _SC_INT_MIN,
  9121. _SC_LONG_BIT,
  9122. _SC_WORD_BIT,
  9123. _SC_MB_LEN_MAX,
  9124. _SC_NZERO,
  9125. _SC_SSIZE_MAX,
  9126. _SC_SCHAR_MAX,
  9127. _SC_SCHAR_MIN,
  9128. _SC_SHRT_MAX,
  9129. _SC_SHRT_MIN,
  9130. _SC_UCHAR_MAX,
  9131. _SC_UINT_MAX,
  9132. _SC_ULONG_MAX,
  9133. _SC_USHRT_MAX,
  9134.  
  9135. _SC_NL_ARGMAX,
  9136. _SC_NL_LANGMAX,
  9137. _SC_NL_MSGMAX,
  9138. _SC_NL_NMAX,
  9139. _SC_NL_SETMAX,
  9140. _SC_NL_TEXTMAX,
  9141.  
  9142. _SC_XBS5_ILP32_OFF32,
  9143. _SC_XBS5_ILP32_OFFBIG,
  9144. _SC_XBS5_LP64_OFF64,
  9145. _SC_XBS5_LPBIG_OFFBIG,
  9146.  
  9147. _SC_XOPEN_LEGACY,
  9148. _SC_XOPEN_REALTIME,
  9149. _SC_XOPEN_REALTIME_THREADS,
  9150.  
  9151. _SC_ADVISORY_INFO,
  9152. _SC_BARRIERS,
  9153. _SC_BASE,
  9154. _SC_C_LANG_SUPPORT,
  9155. _SC_C_LANG_SUPPORT_R,
  9156. _SC_CLOCK_SELECTION,
  9157. _SC_CPUTIME,
  9158. _SC_THREAD_CPUTIME,
  9159. _SC_DEVICE_IO,
  9160. _SC_DEVICE_SPECIFIC,
  9161. _SC_DEVICE_SPECIFIC_R,
  9162. _SC_FD_MGMT,
  9163. _SC_FIFO,
  9164. _SC_PIPE,
  9165. _SC_FILE_ATTRIBUTES,
  9166. _SC_FILE_LOCKING,
  9167. _SC_FILE_SYSTEM,
  9168. _SC_MONOTONIC_CLOCK,
  9169. _SC_MULTI_PROCESS,
  9170. _SC_SINGLE_PROCESS,
  9171. _SC_NETWORKING,
  9172. _SC_READER_WRITER_LOCKS,
  9173. _SC_SPIN_LOCKS,
  9174. _SC_REGEXP,
  9175. _SC_REGEX_VERSION,
  9176. _SC_SHELL,
  9177. _SC_SIGNALS,
  9178. _SC_SPAWN,
  9179. _SC_SPORADIC_SERVER,
  9180. _SC_THREAD_SPORADIC_SERVER,
  9181. _SC_SYSTEM_DATABASE,
  9182. _SC_SYSTEM_DATABASE_R,
  9183. _SC_TIMEOUTS,
  9184. _SC_TYPED_MEMORY_OBJECTS,
  9185. _SC_USER_GROUPS,
  9186. _SC_USER_GROUPS_R,
  9187. _SC_2_PBS,
  9188. _SC_2_PBS_ACCOUNTING,
  9189. _SC_2_PBS_LOCATE,
  9190. _SC_2_PBS_MESSAGE,
  9191. _SC_2_PBS_TRACK,
  9192. _SC_SYMLOOP_MAX,
  9193. _SC_STREAMS,
  9194. _SC_2_PBS_CHECKPOINT,
  9195.  
  9196. _SC_V6_ILP32_OFF32,
  9197. _SC_V6_ILP32_OFFBIG,
  9198. _SC_V6_LP64_OFF64,
  9199. _SC_V6_LPBIG_OFFBIG,
  9200.  
  9201. _SC_HOST_NAME_MAX,
  9202. _SC_TRACE,
  9203. _SC_TRACE_EVENT_FILTER,
  9204. _SC_TRACE_INHERIT,
  9205. _SC_TRACE_LOG,
  9206.  
  9207. _SC_LEVEL1_ICACHE_SIZE,
  9208. _SC_LEVEL1_ICACHE_ASSOC,
  9209. _SC_LEVEL1_ICACHE_LINESIZE,
  9210. _SC_LEVEL1_DCACHE_SIZE,
  9211. _SC_LEVEL1_DCACHE_ASSOC,
  9212. _SC_LEVEL1_DCACHE_LINESIZE,
  9213. _SC_LEVEL2_CACHE_SIZE,
  9214. _SC_LEVEL2_CACHE_ASSOC,
  9215. _SC_LEVEL2_CACHE_LINESIZE,
  9216. _SC_LEVEL3_CACHE_SIZE,
  9217. _SC_LEVEL3_CACHE_ASSOC,
  9218. _SC_LEVEL3_CACHE_LINESIZE,
  9219. _SC_LEVEL4_CACHE_SIZE,
  9220. _SC_LEVEL4_CACHE_ASSOC,
  9221. _SC_LEVEL4_CACHE_LINESIZE,
  9222.  
  9223.  
  9224. _SC_IPV6 = _SC_LEVEL1_ICACHE_SIZE + 50,
  9225. _SC_RAW_SOCKETS,
  9226.  
  9227. _SC_V7_ILP32_OFF32,
  9228. _SC_V7_ILP32_OFFBIG,
  9229. _SC_V7_LP64_OFF64,
  9230. _SC_V7_LPBIG_OFFBIG,
  9231.  
  9232. _SC_SS_REPL_MAX,
  9233.  
  9234. _SC_TRACE_EVENT_NAME_MAX,
  9235. _SC_TRACE_NAME_MAX,
  9236. _SC_TRACE_SYS_MAX,
  9237. _SC_TRACE_USER_EVENT_MAX,
  9238.  
  9239. _SC_XOPEN_STREAMS,
  9240.  
  9241. _SC_THREAD_ROBUST_PRIO_INHERIT,
  9242. _SC_THREAD_ROBUST_PRIO_PROTECT
  9243. };
  9244.  
  9245.  
  9246. enum
  9247. {
  9248. _CS_PATH,
  9249.  
  9250. _CS_V6_WIDTH_RESTRICTED_ENVS,
  9251.  
  9252. _CS_GNU_LIBC_VERSION,
  9253. _CS_GNU_LIBPTHREAD_VERSION,
  9254.  
  9255. _CS_V5_WIDTH_RESTRICTED_ENVS,
  9256.  
  9257. _CS_V7_WIDTH_RESTRICTED_ENVS,
  9258.  
  9259. _CS_LFS_CFLAGS = 1000,
  9260. _CS_LFS_LDFLAGS,
  9261. _CS_LFS_LIBS,
  9262. _CS_LFS_LINTFLAGS,
  9263. _CS_LFS64_CFLAGS,
  9264. _CS_LFS64_LDFLAGS,
  9265. _CS_LFS64_LIBS,
  9266. _CS_LFS64_LINTFLAGS,
  9267.  
  9268. _CS_XBS5_ILP32_OFF32_CFLAGS = 1100,
  9269. _CS_XBS5_ILP32_OFF32_LDFLAGS,
  9270. _CS_XBS5_ILP32_OFF32_LIBS,
  9271. _CS_XBS5_ILP32_OFF32_LINTFLAGS,
  9272. _CS_XBS5_ILP32_OFFBIG_CFLAGS,
  9273. _CS_XBS5_ILP32_OFFBIG_LDFLAGS,
  9274. _CS_XBS5_ILP32_OFFBIG_LIBS,
  9275. _CS_XBS5_ILP32_OFFBIG_LINTFLAGS,
  9276. _CS_XBS5_LP64_OFF64_CFLAGS,
  9277. _CS_XBS5_LP64_OFF64_LDFLAGS,
  9278. _CS_XBS5_LP64_OFF64_LIBS,
  9279. _CS_XBS5_LP64_OFF64_LINTFLAGS,
  9280. _CS_XBS5_LPBIG_OFFBIG_CFLAGS,
  9281. _CS_XBS5_LPBIG_OFFBIG_LDFLAGS,
  9282. _CS_XBS5_LPBIG_OFFBIG_LIBS,
  9283. _CS_XBS5_LPBIG_OFFBIG_LINTFLAGS,
  9284.  
  9285. _CS_POSIX_V6_ILP32_OFF32_CFLAGS,
  9286. _CS_POSIX_V6_ILP32_OFF32_LDFLAGS,
  9287. _CS_POSIX_V6_ILP32_OFF32_LIBS,
  9288. _CS_POSIX_V6_ILP32_OFF32_LINTFLAGS,
  9289. _CS_POSIX_V6_ILP32_OFFBIG_CFLAGS,
  9290. _CS_POSIX_V6_ILP32_OFFBIG_LDFLAGS,
  9291. _CS_POSIX_V6_ILP32_OFFBIG_LIBS,
  9292. _CS_POSIX_V6_ILP32_OFFBIG_LINTFLAGS,
  9293. _CS_POSIX_V6_LP64_OFF64_CFLAGS,
  9294. _CS_POSIX_V6_LP64_OFF64_LDFLAGS,
  9295. _CS_POSIX_V6_LP64_OFF64_LIBS,
  9296. _CS_POSIX_V6_LP64_OFF64_LINTFLAGS,
  9297. _CS_POSIX_V6_LPBIG_OFFBIG_CFLAGS,
  9298. _CS_POSIX_V6_LPBIG_OFFBIG_LDFLAGS,
  9299. _CS_POSIX_V6_LPBIG_OFFBIG_LIBS,
  9300. _CS_POSIX_V6_LPBIG_OFFBIG_LINTFLAGS,
  9301.  
  9302. _CS_POSIX_V7_ILP32_OFF32_CFLAGS,
  9303. _CS_POSIX_V7_ILP32_OFF32_LDFLAGS,
  9304. _CS_POSIX_V7_ILP32_OFF32_LIBS,
  9305. _CS_POSIX_V7_ILP32_OFF32_LINTFLAGS,
  9306. _CS_POSIX_V7_ILP32_OFFBIG_CFLAGS,
  9307. _CS_POSIX_V7_ILP32_OFFBIG_LDFLAGS,
  9308. _CS_POSIX_V7_ILP32_OFFBIG_LIBS,
  9309. _CS_POSIX_V7_ILP32_OFFBIG_LINTFLAGS,
  9310. _CS_POSIX_V7_LP64_OFF64_CFLAGS,
  9311. _CS_POSIX_V7_LP64_OFF64_LDFLAGS,
  9312. _CS_POSIX_V7_LP64_OFF64_LIBS,
  9313. _CS_POSIX_V7_LP64_OFF64_LINTFLAGS,
  9314. _CS_POSIX_V7_LPBIG_OFFBIG_CFLAGS,
  9315. _CS_POSIX_V7_LPBIG_OFFBIG_LDFLAGS,
  9316. _CS_POSIX_V7_LPBIG_OFFBIG_LIBS,
  9317. _CS_POSIX_V7_LPBIG_OFFBIG_LINTFLAGS,
  9318.  
  9319. _CS_V6_ENV,
  9320. _CS_V7_ENV
  9321. };
  9322.  
  9323.  
  9324. extern long int pathconf (const char *__path, int __name)
  9325. __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
  9326.  
  9327.  
  9328. extern long int fpathconf (int __fd, int __name) __attribute__ ((__nothrow__ , __leaf__));
  9329.  
  9330.  
  9331. extern long int sysconf (int __name) __attribute__ ((__nothrow__ , __leaf__));
  9332.  
  9333.  
  9334. extern size_t confstr (int __name, char *__buf, size_t __len) __attribute__ ((__nothrow__ , __leaf__));
  9335.  
  9336.  
  9337.  
  9338. extern __pid_t getpid (void) __attribute__ ((__nothrow__ , __leaf__));
  9339.  
  9340.  
  9341. extern __pid_t getppid (void) __attribute__ ((__nothrow__ , __leaf__));
  9342.  
  9343.  
  9344. extern __pid_t getpgrp (void) __attribute__ ((__nothrow__ , __leaf__));
  9345.  
  9346.  
  9347. extern __pid_t __getpgid (__pid_t __pid) __attribute__ ((__nothrow__ , __leaf__));
  9348. extern __pid_t getpgid (__pid_t __pid) __attribute__ ((__nothrow__ , __leaf__));
  9349.  
  9350.  
  9351.  
  9352.  
  9353.  
  9354. extern int setpgid (__pid_t __pid, __pid_t __pgid) __attribute__ ((__nothrow__ , __leaf__));
  9355.  
  9356.  
  9357.  
  9358.  
  9359.  
  9360.  
  9361.  
  9362.  
  9363.  
  9364.  
  9365.  
  9366.  
  9367. extern int setpgrp (void) __attribute__ ((__nothrow__ , __leaf__));
  9368.  
  9369.  
  9370.  
  9371.  
  9372.  
  9373. extern __pid_t setsid (void) __attribute__ ((__nothrow__ , __leaf__));
  9374.  
  9375.  
  9376. extern __pid_t getsid (__pid_t __pid) __attribute__ ((__nothrow__ , __leaf__));
  9377.  
  9378.  
  9379. extern __uid_t getuid (void) __attribute__ ((__nothrow__ , __leaf__));
  9380.  
  9381.  
  9382. extern __uid_t geteuid (void) __attribute__ ((__nothrow__ , __leaf__));
  9383.  
  9384.  
  9385. extern __gid_t getgid (void) __attribute__ ((__nothrow__ , __leaf__));
  9386.  
  9387.  
  9388. extern __gid_t getegid (void) __attribute__ ((__nothrow__ , __leaf__));
  9389.  
  9390.  
  9391.  
  9392.  
  9393. extern int getgroups (int __size, __gid_t __list[]) __attribute__ ((__nothrow__ , __leaf__)) ;
  9394.  
  9395.  
  9396.  
  9397.  
  9398.  
  9399.  
  9400. extern int setuid (__uid_t __uid) __attribute__ ((__nothrow__ , __leaf__)) ;
  9401.  
  9402.  
  9403.  
  9404. extern int setreuid (__uid_t __ruid, __uid_t __euid) __attribute__ ((__nothrow__ , __leaf__)) ;
  9405.  
  9406.  
  9407. extern int seteuid (__uid_t __uid) __attribute__ ((__nothrow__ , __leaf__)) ;
  9408.  
  9409.  
  9410.  
  9411.  
  9412.  
  9413. extern int setgid (__gid_t __gid) __attribute__ ((__nothrow__ , __leaf__)) ;
  9414.  
  9415.  
  9416.  
  9417. extern int setregid (__gid_t __rgid, __gid_t __egid) __attribute__ ((__nothrow__ , __leaf__)) ;
  9418.  
  9419.  
  9420. extern int setegid (__gid_t __gid) __attribute__ ((__nothrow__ , __leaf__)) ;
  9421.  
  9422.  
  9423.  
  9424.  
  9425.  
  9426.  
  9427. extern __pid_t fork (void) __attribute__ ((__nothrow__));
  9428.  
  9429.  
  9430.  
  9431.  
  9432.  
  9433. extern __pid_t vfork (void) __attribute__ ((__nothrow__ , __leaf__));
  9434.  
  9435.  
  9436.  
  9437.  
  9438. extern char *ttyname (int __fd) __attribute__ ((__nothrow__ , __leaf__));
  9439.  
  9440.  
  9441.  
  9442. extern int ttyname_r (int __fd, char *__buf, size_t __buflen)
  9443. __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))) ;
  9444.  
  9445.  
  9446.  
  9447. extern int isatty (int __fd) __attribute__ ((__nothrow__ , __leaf__));
  9448.  
  9449.  
  9450.  
  9451. extern int ttyslot (void) __attribute__ ((__nothrow__ , __leaf__));
  9452.  
  9453.  
  9454.  
  9455. extern int link (const char *__from, const char *__to)
  9456. __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))) ;
  9457.  
  9458.  
  9459.  
  9460. extern int linkat (int __fromfd, const char *__from, int __tofd,
  9461. const char *__to, int __flags)
  9462. __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2, 4))) ;
  9463.  
  9464.  
  9465. extern int symlink (const char *__from, const char *__to)
  9466. __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))) ;
  9467.  
  9468.  
  9469.  
  9470.  
  9471. extern ssize_t readlink (const char *__restrict __path,
  9472. char *__restrict __buf, size_t __len)
  9473. __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))) ;
  9474.  
  9475.  
  9476. extern int symlinkat (const char *__from, int __tofd,
  9477. const char *__to) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 3))) ;
  9478.  
  9479.  
  9480. extern ssize_t readlinkat (int __fd, const char *__restrict __path,
  9481. char *__restrict __buf, size_t __len)
  9482. __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2, 3))) ;
  9483.  
  9484.  
  9485. extern int unlink (const char *__name) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
  9486.  
  9487.  
  9488. extern int unlinkat (int __fd, const char *__name, int __flag)
  9489. __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2)));
  9490.  
  9491.  
  9492. extern int rmdir (const char *__path) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
  9493.  
  9494.  
  9495.  
  9496. extern __pid_t tcgetpgrp (int __fd) __attribute__ ((__nothrow__ , __leaf__));
  9497.  
  9498.  
  9499. extern int tcsetpgrp (int __fd, __pid_t __pgrp_id) __attribute__ ((__nothrow__ , __leaf__));
  9500.  
  9501.  
  9502.  
  9503.  
  9504.  
  9505.  
  9506. extern char *getlogin (void);
  9507.  
  9508.  
  9509.  
  9510.  
  9511.  
  9512.  
  9513. extern int getlogin_r (char *__name, size_t __name_len) __attribute__ ((__nonnull__ (1)));
  9514.  
  9515.  
  9516. extern int setlogin (const char *__name) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
  9517.  
  9518.  
  9519.  
  9520.  
  9521.  
  9522.  
  9523.  
  9524.  
  9525.  
  9526.  
  9527.  
  9528.  
  9529.  
  9530.  
  9531.  
  9532.  
  9533.  
  9534.  
  9535.  
  9536.  
  9537.  
  9538.  
  9539.  
  9540.  
  9541.  
  9542.  
  9543.  
  9544.  
  9545.  
  9546.  
  9547.  
  9548.  
  9549.  
  9550.  
  9551.  
  9552.  
  9553.  
  9554.  
  9555.  
  9556.  
  9557.  
  9558. extern char *optarg;
  9559.  
  9560.  
  9561.  
  9562.  
  9563.  
  9564.  
  9565.  
  9566.  
  9567.  
  9568.  
  9569.  
  9570.  
  9571.  
  9572. extern int optind;
  9573.  
  9574.  
  9575.  
  9576.  
  9577. extern int opterr;
  9578.  
  9579.  
  9580.  
  9581. extern int optopt;
  9582.  
  9583.  
  9584.  
  9585.  
  9586.  
  9587.  
  9588.  
  9589.  
  9590.  
  9591.  
  9592.  
  9593.  
  9594.  
  9595.  
  9596.  
  9597.  
  9598.  
  9599.  
  9600.  
  9601.  
  9602.  
  9603.  
  9604.  
  9605.  
  9606.  
  9607.  
  9608.  
  9609.  
  9610.  
  9611.  
  9612. extern int getopt (int ___argc, char *const *___argv, const char *__shortopts)
  9613. __attribute__ ((__nothrow__ , __leaf__));
  9614.  
  9615.  
  9616.  
  9617.  
  9618.  
  9619.  
  9620.  
  9621.  
  9622.  
  9623.  
  9624.  
  9625. extern int gethostname (char *__name, size_t __len) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
  9626.  
  9627.  
  9628.  
  9629.  
  9630. extern int sethostname (const char *__name, size_t __len)
  9631. __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) ;
  9632.  
  9633.  
  9634.  
  9635. extern int sethostid (long int __id) __attribute__ ((__nothrow__ , __leaf__)) ;
  9636.  
  9637.  
  9638.  
  9639.  
  9640.  
  9641. extern int getdomainname (char *__name, size_t __len)
  9642. __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) ;
  9643. extern int setdomainname (const char *__name, size_t __len)
  9644. __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) ;
  9645.  
  9646.  
  9647.  
  9648.  
  9649.  
  9650. extern int vhangup (void) __attribute__ ((__nothrow__ , __leaf__));
  9651.  
  9652.  
  9653. extern int revoke (const char *__file) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) ;
  9654.  
  9655.  
  9656.  
  9657.  
  9658.  
  9659.  
  9660.  
  9661. extern int profil (unsigned short int *__sample_buffer, size_t __size,
  9662. size_t __offset, unsigned int __scale)
  9663. __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
  9664.  
  9665.  
  9666.  
  9667.  
  9668.  
  9669. extern int acct (const char *__name) __attribute__ ((__nothrow__ , __leaf__));
  9670.  
  9671.  
  9672.  
  9673. extern char *getusershell (void) __attribute__ ((__nothrow__ , __leaf__));
  9674. extern void endusershell (void) __attribute__ ((__nothrow__ , __leaf__));
  9675. extern void setusershell (void) __attribute__ ((__nothrow__ , __leaf__));
  9676.  
  9677.  
  9678.  
  9679.  
  9680.  
  9681. extern int daemon (int __nochdir, int __noclose) __attribute__ ((__nothrow__ , __leaf__)) ;
  9682.  
  9683.  
  9684.  
  9685.  
  9686. extern int chroot (const char *__path) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) ;
  9687.  
  9688.  
  9689.  
  9690. extern char *getpass (const char *__prompt) __attribute__ ((__nonnull__ (1)));
  9691.  
  9692.  
  9693.  
  9694.  
  9695.  
  9696.  
  9697. extern int fsync (int __fd);
  9698.  
  9699.  
  9700.  
  9701.  
  9702.  
  9703.  
  9704. extern long int gethostid (void);
  9705.  
  9706.  
  9707. extern void sync (void) __attribute__ ((__nothrow__ , __leaf__));
  9708.  
  9709.  
  9710.  
  9711.  
  9712. extern int getpagesize (void) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__));
  9713.  
  9714.  
  9715.  
  9716.  
  9717. extern int getdtablesize (void) __attribute__ ((__nothrow__ , __leaf__));
  9718.  
  9719.  
  9720.  
  9721.  
  9722.  
  9723. extern int truncate (const char *__file, __off64_t __length) __asm__ ("" "truncate64") __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) ;
  9724.  
  9725.  
  9726.  
  9727.  
  9728. extern int ftruncate (int __fd, __off64_t __length) __asm__ ("" "ftruncate64") __attribute__ ((__nothrow__ , __leaf__)) ;
  9729.  
  9730.  
  9731.  
  9732.  
  9733.  
  9734.  
  9735. extern int brk (void *__addr) __attribute__ ((__nothrow__ , __leaf__)) ;
  9736.  
  9737.  
  9738.  
  9739.  
  9740.  
  9741. extern void *sbrk (intptr_t __delta) __attribute__ ((__nothrow__ , __leaf__));
  9742.  
  9743.  
  9744.  
  9745.  
  9746.  
  9747.  
  9748.  
  9749.  
  9750.  
  9751.  
  9752.  
  9753.  
  9754. extern long int syscall (long int __sysno, ...) __attribute__ ((__nothrow__ , __leaf__));
  9755.  
  9756.  
  9757.  
  9758.  
  9759.  
  9760.  
  9761.  
  9762.  
  9763.  
  9764.  
  9765.  
  9766.  
  9767.  
  9768.  
  9769.  
  9770. extern int lockf (int __fd, int __cmd, __off64_t __len) __asm__ ("" "lockf64") ;
  9771.  
  9772.  
  9773.  
  9774.  
  9775.  
  9776. extern int fdatasync (int __fildes);
  9777.  
  9778.  
  9779.  
  9780.  
  9781.  
  9782.  
  9783.  
  9784.  
  9785.  
  9786.  
  9787.  
  9788.  
  9789.  
  9790.  
  9791.  
  9792.  
  9793.  
  9794.  
  9795.  
  9796.  
  9797.  
  9798.  
  9799.  
  9800.  
  9801.  
  9802.  
  9803.  
  9804.  
  9805.  
  9806.  
  9807.  
  9808.  
  9809.  
  9810.  
  9811.  
  9812.  
  9813.  
  9814.  
  9815.  
  9816.  
  9817.  
  9818.  
  9819.  
  9820.  
  9821.  
  9822.  
  9823.  
  9824.  
  9825.  
  9826.  
  9827.  
  9828.  
  9829.  
  9830.  
  9831.  
  9832.  
  9833.  
  9834.  
  9835.  
  9836. typedef voidpf (*alloc_func) (voidpf opaque, uInt items, uInt size);
  9837. typedef void (*free_func) (voidpf opaque, voidpf address);
  9838.  
  9839. struct internal_state;
  9840.  
  9841. typedef struct z_stream_s {
  9842. Bytef *next_in;
  9843. uInt avail_in;
  9844. uLong total_in;
  9845.  
  9846. Bytef *next_out;
  9847. uInt avail_out;
  9848. uLong total_out;
  9849.  
  9850. char *msg;
  9851. struct internal_state *state;
  9852.  
  9853. alloc_func zalloc;
  9854. free_func zfree;
  9855. voidpf opaque;
  9856.  
  9857. int data_type;
  9858. uLong adler;
  9859. uLong reserved;
  9860. } z_stream;
  9861.  
  9862. typedef z_stream *z_streamp;
  9863.  
  9864.  
  9865.  
  9866.  
  9867.  
  9868. typedef struct gz_header_s {
  9869. int text;
  9870. uLong time;
  9871. int xflags;
  9872. int os;
  9873. Bytef *extra;
  9874. uInt extra_len;
  9875. uInt extra_max;
  9876. Bytef *name;
  9877. uInt name_max;
  9878. Bytef *comment;
  9879. uInt comm_max;
  9880. int hcrc;
  9881. int done;
  9882.  
  9883. } gz_header;
  9884.  
  9885. typedef gz_header *gz_headerp;
  9886.  
  9887.  
  9888.  
  9889.  
  9890.  
  9891.  
  9892.  
  9893.  
  9894.  
  9895.  
  9896.  
  9897.  
  9898.  
  9899.  
  9900.  
  9901.  
  9902.  
  9903.  
  9904.  
  9905.  
  9906.  
  9907.  
  9908.  
  9909.  
  9910.  
  9911.  
  9912.  
  9913.  
  9914.  
  9915.  
  9916.  
  9917.  
  9918.  
  9919.  
  9920.  
  9921.  
  9922.  
  9923.  
  9924.  
  9925.  
  9926.  
  9927.  
  9928.  
  9929.  
  9930.  
  9931.  
  9932.  
  9933.  
  9934.  
  9935.  
  9936.  
  9937.  
  9938.  
  9939.  
  9940. extern const char * zlibVersion (void);
  9941.  
  9942.  
  9943.  
  9944.  
  9945.  
  9946.  
  9947.  
  9948.  
  9949.  
  9950.  
  9951.  
  9952.  
  9953.  
  9954.  
  9955.  
  9956.  
  9957.  
  9958.  
  9959.  
  9960.  
  9961.  
  9962.  
  9963.  
  9964.  
  9965.  
  9966.  
  9967.  
  9968.  
  9969.  
  9970. extern int deflate (z_streamp strm, int flush);
  9971.  
  9972.  
  9973.  
  9974.  
  9975.  
  9976.  
  9977.  
  9978.  
  9979.  
  9980.  
  9981.  
  9982.  
  9983.  
  9984.  
  9985.  
  9986.  
  9987.  
  9988.  
  9989.  
  9990.  
  9991.  
  9992.  
  9993.  
  9994.  
  9995.  
  9996.  
  9997.  
  9998.  
  9999.  
  10000.  
  10001.  
  10002.  
  10003.  
  10004.  
  10005.  
  10006.  
  10007.  
  10008.  
  10009.  
  10010.  
  10011.  
  10012.  
  10013.  
  10014.  
  10015.  
  10016.  
  10017.  
  10018.  
  10019.  
  10020.  
  10021.  
  10022.  
  10023.  
  10024.  
  10025.  
  10026.  
  10027.  
  10028.  
  10029.  
  10030.  
  10031.  
  10032.  
  10033.  
  10034.  
  10035.  
  10036.  
  10037.  
  10038.  
  10039.  
  10040.  
  10041.  
  10042.  
  10043.  
  10044.  
  10045.  
  10046.  
  10047.  
  10048.  
  10049.  
  10050.  
  10051.  
  10052.  
  10053.  
  10054.  
  10055.  
  10056.  
  10057.  
  10058.  
  10059.  
  10060.  
  10061.  
  10062.  
  10063.  
  10064.  
  10065.  
  10066.  
  10067.  
  10068.  
  10069.  
  10070.  
  10071.  
  10072.  
  10073.  
  10074.  
  10075.  
  10076.  
  10077. extern int deflateEnd (z_streamp strm);
  10078.  
  10079.  
  10080.  
  10081.  
  10082.  
  10083.  
  10084.  
  10085.  
  10086.  
  10087.  
  10088.  
  10089.  
  10090.  
  10091.  
  10092.  
  10093.  
  10094.  
  10095.  
  10096.  
  10097.  
  10098.  
  10099.  
  10100.  
  10101.  
  10102.  
  10103.  
  10104.  
  10105.  
  10106.  
  10107.  
  10108.  
  10109.  
  10110.  
  10111.  
  10112.  
  10113.  
  10114.  
  10115.  
  10116. extern int inflate (z_streamp strm, int flush);
  10117.  
  10118.  
  10119.  
  10120.  
  10121.  
  10122.  
  10123.  
  10124.  
  10125.  
  10126.  
  10127.  
  10128.  
  10129.  
  10130.  
  10131.  
  10132.  
  10133.  
  10134.  
  10135.  
  10136.  
  10137.  
  10138.  
  10139.  
  10140.  
  10141.  
  10142.  
  10143.  
  10144.  
  10145.  
  10146.  
  10147.  
  10148.  
  10149.  
  10150.  
  10151.  
  10152.  
  10153.  
  10154.  
  10155.  
  10156.  
  10157.  
  10158.  
  10159.  
  10160.  
  10161.  
  10162.  
  10163.  
  10164.  
  10165.  
  10166.  
  10167.  
  10168.  
  10169.  
  10170.  
  10171.  
  10172.  
  10173.  
  10174.  
  10175.  
  10176.  
  10177.  
  10178.  
  10179.  
  10180.  
  10181.  
  10182.  
  10183.  
  10184.  
  10185.  
  10186.  
  10187.  
  10188.  
  10189.  
  10190.  
  10191.  
  10192.  
  10193.  
  10194.  
  10195.  
  10196.  
  10197.  
  10198.  
  10199.  
  10200.  
  10201.  
  10202.  
  10203.  
  10204.  
  10205.  
  10206.  
  10207.  
  10208.  
  10209.  
  10210.  
  10211.  
  10212.  
  10213.  
  10214.  
  10215.  
  10216.  
  10217.  
  10218.  
  10219.  
  10220.  
  10221.  
  10222.  
  10223.  
  10224.  
  10225.  
  10226.  
  10227.  
  10228.  
  10229.  
  10230.  
  10231.  
  10232. extern int inflateEnd (z_streamp strm);
  10233.  
  10234.  
  10235.  
  10236.  
  10237.  
  10238.  
  10239.  
  10240.  
  10241.  
  10242.  
  10243.  
  10244.  
  10245.  
  10246.  
  10247.  
  10248.  
  10249.  
  10250.  
  10251.  
  10252.  
  10253.  
  10254.  
  10255.  
  10256.  
  10257.  
  10258.  
  10259.  
  10260.  
  10261.  
  10262.  
  10263.  
  10264.  
  10265.  
  10266.  
  10267.  
  10268.  
  10269.  
  10270.  
  10271.  
  10272.  
  10273.  
  10274.  
  10275.  
  10276.  
  10277.  
  10278.  
  10279.  
  10280.  
  10281.  
  10282.  
  10283.  
  10284.  
  10285.  
  10286.  
  10287.  
  10288.  
  10289.  
  10290.  
  10291.  
  10292.  
  10293.  
  10294.  
  10295.  
  10296.  
  10297.  
  10298.  
  10299.  
  10300.  
  10301.  
  10302.  
  10303.  
  10304.  
  10305.  
  10306.  
  10307.  
  10308.  
  10309.  
  10310.  
  10311. extern int deflateSetDictionary (z_streamp strm, const Bytef *dictionary, uInt dictLength);
  10312.  
  10313.  
  10314.  
  10315.  
  10316.  
  10317.  
  10318.  
  10319.  
  10320.  
  10321.  
  10322.  
  10323.  
  10324.  
  10325.  
  10326.  
  10327.  
  10328.  
  10329.  
  10330.  
  10331.  
  10332.  
  10333.  
  10334.  
  10335.  
  10336.  
  10337.  
  10338.  
  10339.  
  10340.  
  10341.  
  10342.  
  10343.  
  10344.  
  10345.  
  10346.  
  10347.  
  10348.  
  10349.  
  10350.  
  10351.  
  10352.  
  10353. extern int deflateCopy (z_streamp dest, z_streamp source);
  10354.  
  10355.  
  10356.  
  10357.  
  10358.  
  10359.  
  10360.  
  10361.  
  10362.  
  10363.  
  10364.  
  10365.  
  10366.  
  10367.  
  10368.  
  10369.  
  10370. extern int deflateReset (z_streamp strm);
  10371.  
  10372.  
  10373.  
  10374.  
  10375.  
  10376.  
  10377.  
  10378.  
  10379.  
  10380.  
  10381. extern int deflateParams (z_streamp strm, int level, int strategy);
  10382.  
  10383.  
  10384.  
  10385.  
  10386.  
  10387.  
  10388.  
  10389.  
  10390.  
  10391.  
  10392.  
  10393.  
  10394.  
  10395.  
  10396.  
  10397.  
  10398.  
  10399.  
  10400. extern int deflateTune (z_streamp strm, int good_length, int max_lazy, int nice_length, int max_chain);
  10401.  
  10402.  
  10403.  
  10404.  
  10405.  
  10406.  
  10407.  
  10408.  
  10409.  
  10410.  
  10411.  
  10412.  
  10413. extern uLong deflateBound (z_streamp strm, uLong sourceLen);
  10414.  
  10415.  
  10416.  
  10417.  
  10418.  
  10419.  
  10420.  
  10421.  
  10422.  
  10423.  
  10424.  
  10425.  
  10426.  
  10427. extern int deflatePending (z_streamp strm, unsigned *pending, int *bits);
  10428.  
  10429.  
  10430.  
  10431.  
  10432.  
  10433.  
  10434.  
  10435.  
  10436.  
  10437.  
  10438.  
  10439.  
  10440. extern int deflatePrime (z_streamp strm, int bits, int value);
  10441.  
  10442.  
  10443.  
  10444.  
  10445.  
  10446.  
  10447.  
  10448.  
  10449.  
  10450.  
  10451.  
  10452.  
  10453.  
  10454.  
  10455. extern int deflateSetHeader (z_streamp strm, gz_headerp head);
  10456.  
  10457.  
  10458.  
  10459.  
  10460.  
  10461.  
  10462.  
  10463.  
  10464.  
  10465.  
  10466.  
  10467.  
  10468.  
  10469.  
  10470.  
  10471.  
  10472.  
  10473.  
  10474.  
  10475.  
  10476.  
  10477.  
  10478.  
  10479.  
  10480.  
  10481.  
  10482.  
  10483.  
  10484.  
  10485.  
  10486.  
  10487.  
  10488.  
  10489.  
  10490.  
  10491.  
  10492.  
  10493.  
  10494.  
  10495.  
  10496.  
  10497.  
  10498.  
  10499.  
  10500.  
  10501.  
  10502.  
  10503.  
  10504.  
  10505.  
  10506.  
  10507.  
  10508.  
  10509.  
  10510.  
  10511.  
  10512.  
  10513.  
  10514.  
  10515.  
  10516.  
  10517.  
  10518.  
  10519.  
  10520.  
  10521.  
  10522.  
  10523.  
  10524.  
  10525.  
  10526.  
  10527.  
  10528. extern int inflateSetDictionary (z_streamp strm, const Bytef *dictionary, uInt dictLength);
  10529.  
  10530.  
  10531.  
  10532.  
  10533.  
  10534.  
  10535.  
  10536.  
  10537.  
  10538.  
  10539.  
  10540.  
  10541.  
  10542.  
  10543.  
  10544.  
  10545.  
  10546.  
  10547.  
  10548.  
  10549. extern int inflateGetDictionary (z_streamp strm, Bytef *dictionary, uInt *dictLength);
  10550.  
  10551.  
  10552.  
  10553.  
  10554.  
  10555.  
  10556.  
  10557.  
  10558.  
  10559.  
  10560.  
  10561.  
  10562. extern int inflateSync (z_streamp strm);
  10563.  
  10564.  
  10565.  
  10566.  
  10567.  
  10568.  
  10569.  
  10570.  
  10571.  
  10572.  
  10573.  
  10574.  
  10575.  
  10576.  
  10577.  
  10578.  
  10579.  
  10580.  
  10581. extern int inflateCopy (z_streamp dest, z_streamp source);
  10582.  
  10583.  
  10584.  
  10585.  
  10586.  
  10587.  
  10588.  
  10589.  
  10590.  
  10591.  
  10592.  
  10593.  
  10594.  
  10595.  
  10596. extern int inflateReset (z_streamp strm);
  10597.  
  10598.  
  10599.  
  10600.  
  10601.  
  10602.  
  10603.  
  10604.  
  10605.  
  10606. extern int inflateReset2 (z_streamp strm, int windowBits);
  10607.  
  10608.  
  10609.  
  10610.  
  10611.  
  10612.  
  10613.  
  10614.  
  10615.  
  10616.  
  10617. extern int inflatePrime (z_streamp strm, int bits, int value);
  10618.  
  10619.  
  10620.  
  10621.  
  10622.  
  10623.  
  10624.  
  10625.  
  10626.  
  10627.  
  10628.  
  10629.  
  10630.  
  10631.  
  10632.  
  10633.  
  10634.  
  10635.  
  10636. extern long inflateMark (z_streamp strm);
  10637.  
  10638.  
  10639.  
  10640.  
  10641.  
  10642.  
  10643.  
  10644.  
  10645.  
  10646.  
  10647.  
  10648.  
  10649.  
  10650.  
  10651.  
  10652.  
  10653.  
  10654.  
  10655.  
  10656.  
  10657.  
  10658.  
  10659.  
  10660.  
  10661.  
  10662.  
  10663.  
  10664. extern int inflateGetHeader (z_streamp strm, gz_headerp head);
  10665.  
  10666.  
  10667.  
  10668.  
  10669.  
  10670.  
  10671.  
  10672.  
  10673.  
  10674.  
  10675.  
  10676.  
  10677.  
  10678.  
  10679.  
  10680.  
  10681.  
  10682.  
  10683.  
  10684.  
  10685.  
  10686.  
  10687.  
  10688.  
  10689.  
  10690.  
  10691.  
  10692.  
  10693.  
  10694.  
  10695.  
  10696.  
  10697.  
  10698.  
  10699.  
  10700.  
  10701.  
  10702.  
  10703.  
  10704.  
  10705.  
  10706.  
  10707.  
  10708.  
  10709.  
  10710.  
  10711.  
  10712.  
  10713.  
  10714.  
  10715.  
  10716.  
  10717.  
  10718.  
  10719.  
  10720.  
  10721.  
  10722.  
  10723.  
  10724.  
  10725. typedef unsigned (*in_func) (void *, unsigned char * *);
  10726. typedef int (*out_func) (void *, unsigned char *, unsigned);
  10727.  
  10728. extern int inflateBack (z_streamp strm, in_func in, void *in_desc, out_func out, void *out_desc);
  10729.  
  10730.  
  10731.  
  10732.  
  10733.  
  10734.  
  10735.  
  10736.  
  10737.  
  10738.  
  10739.  
  10740.  
  10741.  
  10742.  
  10743.  
  10744.  
  10745.  
  10746.  
  10747.  
  10748.  
  10749.  
  10750.  
  10751.  
  10752.  
  10753.  
  10754.  
  10755.  
  10756.  
  10757.  
  10758.  
  10759.  
  10760.  
  10761.  
  10762.  
  10763.  
  10764.  
  10765.  
  10766.  
  10767.  
  10768.  
  10769.  
  10770.  
  10771.  
  10772.  
  10773.  
  10774.  
  10775.  
  10776.  
  10777.  
  10778.  
  10779.  
  10780.  
  10781.  
  10782.  
  10783.  
  10784.  
  10785.  
  10786.  
  10787.  
  10788.  
  10789.  
  10790.  
  10791.  
  10792.  
  10793.  
  10794.  
  10795.  
  10796. extern int inflateBackEnd (z_streamp strm);
  10797.  
  10798.  
  10799.  
  10800.  
  10801.  
  10802.  
  10803.  
  10804. extern uLong zlibCompileFlags (void);
  10805.  
  10806.  
  10807.  
  10808.  
  10809.  
  10810.  
  10811.  
  10812.  
  10813.  
  10814.  
  10815.  
  10816.  
  10817.  
  10818.  
  10819.  
  10820.  
  10821.  
  10822.  
  10823.  
  10824.  
  10825.  
  10826.  
  10827.  
  10828.  
  10829.  
  10830.  
  10831.  
  10832.  
  10833.  
  10834.  
  10835.  
  10836.  
  10837.  
  10838.  
  10839.  
  10840.  
  10841.  
  10842.  
  10843.  
  10844.  
  10845.  
  10846.  
  10847.  
  10848.  
  10849.  
  10850.  
  10851.  
  10852.  
  10853.  
  10854.  
  10855.  
  10856. extern int compress (Bytef *dest, uLongf *destLen, const Bytef *source, uLong sourceLen);
  10857.  
  10858.  
  10859.  
  10860.  
  10861.  
  10862.  
  10863.  
  10864.  
  10865.  
  10866.  
  10867.  
  10868.  
  10869. extern int compress2 (Bytef *dest, uLongf *destLen, const Bytef *source, uLong sourceLen, int level);
  10870.  
  10871.  
  10872.  
  10873.  
  10874.  
  10875.  
  10876.  
  10877.  
  10878.  
  10879.  
  10880.  
  10881.  
  10882.  
  10883. extern uLong compressBound (uLong sourceLen);
  10884.  
  10885.  
  10886.  
  10887.  
  10888.  
  10889.  
  10890. extern int uncompress (Bytef *dest, uLongf *destLen, const Bytef *source, uLong sourceLen);
  10891.  
  10892.  
  10893.  
  10894.  
  10895.  
  10896.  
  10897.  
  10898.  
  10899.  
  10900.  
  10901.  
  10902.  
  10903.  
  10904.  
  10905.  
  10906.  
  10907.  
  10908.  
  10909.  
  10910.  
  10911.  
  10912.  
  10913.  
  10914.  
  10915.  
  10916. typedef struct gzFile_s *gzFile;
  10917.  
  10918.  
  10919.  
  10920.  
  10921.  
  10922.  
  10923.  
  10924.  
  10925.  
  10926.  
  10927.  
  10928.  
  10929.  
  10930.  
  10931.  
  10932.  
  10933.  
  10934.  
  10935.  
  10936.  
  10937.  
  10938.  
  10939.  
  10940.  
  10941.  
  10942.  
  10943.  
  10944.  
  10945.  
  10946.  
  10947.  
  10948.  
  10949.  
  10950.  
  10951.  
  10952.  
  10953.  
  10954.  
  10955.  
  10956. extern gzFile gzdopen (int fd, const char *mode);
  10957.  
  10958.  
  10959.  
  10960.  
  10961.  
  10962.  
  10963.  
  10964.  
  10965.  
  10966.  
  10967.  
  10968.  
  10969.  
  10970.  
  10971.  
  10972.  
  10973.  
  10974.  
  10975.  
  10976.  
  10977.  
  10978.  
  10979. extern int gzbuffer (gzFile file, unsigned size);
  10980.  
  10981.  
  10982.  
  10983.  
  10984.  
  10985.  
  10986.  
  10987.  
  10988.  
  10989.  
  10990.  
  10991.  
  10992.  
  10993.  
  10994.  
  10995.  
  10996. extern int gzsetparams (gzFile file, int level, int strategy);
  10997.  
  10998.  
  10999.  
  11000.  
  11001.  
  11002.  
  11003.  
  11004.  
  11005. extern int gzread (gzFile file, voidp buf, unsigned len);
  11006.  
  11007.  
  11008.  
  11009.  
  11010.  
  11011.  
  11012.  
  11013.  
  11014.  
  11015.  
  11016.  
  11017.  
  11018.  
  11019.  
  11020.  
  11021.  
  11022.  
  11023.  
  11024.  
  11025.  
  11026.  
  11027.  
  11028.  
  11029.  
  11030.  
  11031.  
  11032.  
  11033. extern int gzwrite (gzFile file, voidpc buf, unsigned len);
  11034.  
  11035.  
  11036.  
  11037.  
  11038.  
  11039.  
  11040. extern int gzprintf (gzFile file, const char *format, ...);
  11041.  
  11042.  
  11043.  
  11044.  
  11045.  
  11046.  
  11047.  
  11048.  
  11049.  
  11050.  
  11051.  
  11052.  
  11053.  
  11054.  
  11055. extern int gzputs (gzFile file, const char *s);
  11056.  
  11057.  
  11058.  
  11059.  
  11060.  
  11061.  
  11062.  
  11063. extern char * gzgets (gzFile file, char *buf, int len);
  11064.  
  11065.  
  11066.  
  11067.  
  11068.  
  11069.  
  11070.  
  11071.  
  11072.  
  11073.  
  11074.  
  11075.  
  11076. extern int gzputc (gzFile file, int c);
  11077.  
  11078.  
  11079.  
  11080.  
  11081.  
  11082. extern int gzgetc (gzFile file);
  11083.  
  11084.  
  11085.  
  11086.  
  11087.  
  11088.  
  11089.  
  11090.  
  11091. extern int gzungetc (int c, gzFile file);
  11092.  
  11093.  
  11094.  
  11095.  
  11096.  
  11097.  
  11098.  
  11099.  
  11100.  
  11101.  
  11102.  
  11103. extern int gzflush (gzFile file, int flush);
  11104.  
  11105.  
  11106.  
  11107.  
  11108.  
  11109.  
  11110.  
  11111.  
  11112.  
  11113.  
  11114.  
  11115.  
  11116.  
  11117.  
  11118.  
  11119.  
  11120.  
  11121.  
  11122.  
  11123.  
  11124.  
  11125.  
  11126.  
  11127.  
  11128.  
  11129.  
  11130.  
  11131.  
  11132.  
  11133.  
  11134.  
  11135.  
  11136.  
  11137.  
  11138. extern int gzrewind (gzFile file);
  11139.  
  11140.  
  11141.  
  11142.  
  11143.  
  11144.  
  11145.  
  11146.  
  11147.  
  11148.  
  11149.  
  11150.  
  11151.  
  11152.  
  11153.  
  11154.  
  11155.  
  11156.  
  11157.  
  11158.  
  11159.  
  11160.  
  11161.  
  11162.  
  11163.  
  11164.  
  11165.  
  11166. extern int gzeof (gzFile file);
  11167.  
  11168.  
  11169.  
  11170.  
  11171.  
  11172.  
  11173.  
  11174.  
  11175.  
  11176.  
  11177.  
  11178.  
  11179.  
  11180.  
  11181. extern int gzdirect (gzFile file);
  11182.  
  11183.  
  11184.  
  11185.  
  11186.  
  11187.  
  11188.  
  11189.  
  11190.  
  11191.  
  11192.  
  11193.  
  11194.  
  11195.  
  11196.  
  11197.  
  11198.  
  11199.  
  11200.  
  11201.  
  11202. extern int gzclose (gzFile file);
  11203.  
  11204.  
  11205.  
  11206.  
  11207.  
  11208.  
  11209.  
  11210.  
  11211.  
  11212.  
  11213.  
  11214.  
  11215. extern int gzclose_r (gzFile file);
  11216. extern int gzclose_w (gzFile file);
  11217.  
  11218.  
  11219.  
  11220.  
  11221.  
  11222.  
  11223.  
  11224.  
  11225.  
  11226.  
  11227. extern const char * gzerror (gzFile file, int *errnum);
  11228.  
  11229.  
  11230.  
  11231.  
  11232.  
  11233.  
  11234.  
  11235.  
  11236.  
  11237.  
  11238.  
  11239.  
  11240.  
  11241.  
  11242.  
  11243. extern void gzclearerr (gzFile file);
  11244.  
  11245.  
  11246.  
  11247.  
  11248.  
  11249.  
  11250.  
  11251.  
  11252.  
  11253.  
  11254.  
  11255.  
  11256.  
  11257.  
  11258.  
  11259. extern uLong adler32 (uLong adler, const Bytef *buf, uInt len);
  11260.  
  11261.  
  11262.  
  11263.  
  11264.  
  11265.  
  11266.  
  11267.  
  11268.  
  11269.  
  11270.  
  11271.  
  11272.  
  11273.  
  11274.  
  11275.  
  11276.  
  11277.  
  11278.  
  11279.  
  11280.  
  11281.  
  11282.  
  11283.  
  11284.  
  11285.  
  11286.  
  11287.  
  11288.  
  11289.  
  11290. extern uLong crc32 (uLong crc, const Bytef *buf, uInt len);
  11291.  
  11292.  
  11293.  
  11294.  
  11295.  
  11296.  
  11297.  
  11298.  
  11299.  
  11300.  
  11301.  
  11302.  
  11303.  
  11304.  
  11305.  
  11306.  
  11307.  
  11308.  
  11309.  
  11310.  
  11311.  
  11312.  
  11313.  
  11314.  
  11315.  
  11316.  
  11317.  
  11318.  
  11319.  
  11320.  
  11321.  
  11322.  
  11323. extern int deflateInit_ (z_streamp strm, int level, const char *version, int stream_size);
  11324. extern int inflateInit_ (z_streamp strm, const char *version, int stream_size);
  11325. extern int deflateInit2_ (z_streamp strm, int level, int method, int windowBits, int memLevel, int strategy, const char *version, int stream_size);
  11326. extern int inflateInit2_ (z_streamp strm, int windowBits, const char *version, int stream_size);
  11327. extern int inflateBackInit_ (z_streamp strm, int windowBits, unsigned char *window, const char *version, int stream_size);
  11328.  
  11329.  
  11330.  
  11331.  
  11332.  
  11333.  
  11334.  
  11335.  
  11336.  
  11337. struct gzFile_s {
  11338. unsigned have;
  11339. unsigned char *next;
  11340. off_t pos;
  11341. };
  11342. extern int gzgetc_ (gzFile file);
  11343.  
  11344.  
  11345.  
  11346.  
  11347.  
  11348.  
  11349.  
  11350.  
  11351. extern gzFile gzopen64 (const char *, const char *);
  11352. extern off_t gzseek64 (gzFile, off_t, int);
  11353. extern off_t gztell64 (gzFile);
  11354. extern off_t gzoffset64 (gzFile);
  11355. extern uLong adler32_combine64 (uLong, uLong, off_t);
  11356. extern uLong crc32_combine64 (uLong, uLong, off_t);
  11357.  
  11358.  
  11359.  
  11360. struct internal_state {int dummy;};
  11361.  
  11362.  
  11363. extern const char * zError (int);
  11364. extern int inflateSyncPoint (z_streamp);
  11365. extern const z_crc_t * get_crc_table (void);
  11366. extern int inflateUndermine (z_streamp, int);
  11367. extern int inflateResetKeep (z_streamp);
  11368. extern int deflateResetKeep (z_streamp);
  11369. extern int gzvprintf (gzFile file, const char *format, va_list va);
  11370.  
  11371.  
  11372. "MESON_GET_DEFINE_DELIMITER"
  11373. 1
  11374.  
  11375. Compiler stderr:
  11376.  
  11377. Fetching value of define "ZLIB_VER_MAJOR": 1
  11378. Running compile:
  11379. Working directory: /tmp/tmpqdragswu
  11380. Command line: cc /tmp/tmpqdragswu/testfile.c -DMESON_TEST_DEFINE_VALUE=spaces and fun!@$^&*()-=_+{}[]:;<>?,./~` -O0 -pipe -D_FILE_OFFSET_BITS=64 -E -P
  11381.  
  11382. Code:
  11383.  
  11384.  
  11385. #ifndef MESON_FAIL_VALUE
  11386. # define MESON_FAIL_VALUE
  11387. #endif
  11388. "MESON_GET_DEFINE_DELIMITER"
  11389. MESON_FAIL_VALUE
  11390. Compiler stdout:
  11391.  
  11392.  
  11393. "MESON_GET_DEFINE_DELIMITER"
  11394.  
  11395.  
  11396. Compiler stderr:
  11397.  
  11398. Fetching value of define "MESON_FAIL_VALUE":
  11399. Running compile:
  11400. Working directory: /tmp/tmp2jix4fq6
  11401. Command line: cc /tmp/tmp2jix4fq6/testfile.c -DMESON_TEST_DEFINE_VALUE=spaces and fun!@$^&*()-=_+{}[]:;<>?,./~` -O0 -pipe -D_FILE_OFFSET_BITS=64 -E -P
  11402.  
  11403. Code:
  11404.  
  11405.  
  11406. #ifndef MESON_TEST_DEFINE_VALUE
  11407. # define MESON_TEST_DEFINE_VALUE
  11408. #endif
  11409. "MESON_GET_DEFINE_DELIMITER"
  11410. MESON_TEST_DEFINE_VALUE
  11411. Compiler stdout:
  11412.  
  11413.  
  11414. "MESON_GET_DEFINE_DELIMITER"
  11415. spaces and fun! @$^ & *()-=_+{}[]:;< >?,./~`
  11416.  
  11417. Compiler stderr:
  11418.  
  11419. Fetching value of define "MESON_TEST_DEFINE_VALUE": spaces and fun! @$^ & *()-=_+{}[]:;< >?,./~`
  11420.  
  11421. meson.build:63:2: ERROR: Assert failed: MESON_TEST_DEFINE_VALUE value is "spaces and fun! @$^ & *()-=_+{}[]:;< >?,./~`" instead of "spaces and fun!@$^&*()-=_+{}[]:;<>?,./~`"
  11422.  
  11423.  
  11424. ======================================================================
  11425. ERROR: test_static_library_lto (__main__.AllPlatformTests)
  11426. ----------------------------------------------------------------------
  11427. Traceback (most recent call last):
  11428. File "./run_unittests.py", line 1320, in test_static_library_lto
  11429. self.build()
  11430. File "./run_unittests.py", line 557, in build
  11431. return self._run(self.build_command + args + extra_args, workdir=self.builddir)
  11432. File "./run_unittests.py", line 513, in _run
  11433. raise subprocess.CalledProcessError(p.returncode, command)
  11434. subprocess.CalledProcessError: Command '['ninja', '-w', 'dupbuild=err', '-d', 'explain']' returned non-zero exit status 1
  11435.  
  11436. Stdout:
  11437. The Meson build system
  11438. Version: 0.45.0.dev1
  11439. Source dir: /usr/src/meson/meson/test cases/common/5 linkstatic
  11440. Build dir: /tmp/tmpunozg49e
  11441. Build type: native build
  11442. Project name: static library linking test
  11443. Native C compiler: cc (gcc 4.8.0 "lcc:1.21.22:Oct-15-2017:e2k-v4-linux")
  11444. Build machine cpu family: e2k
  11445. Build machine cpu: e2k
  11446. Build targets in project: 2
  11447. Found ninja-1.8.2 at /usr/bin/ninja
  11448.  
  11449. ninja explain: deps for 'mylib@sta/libfile.c.o' are missing
  11450. ninja explain: mylib@sta/libfile.c.o is dirty
  11451. ninja explain: deps for 'mylib@sta/libfile2.c.o' are missing
  11452. ninja explain: mylib@sta/libfile2.c.o is dirty
  11453. ninja explain: deps for 'mylib@sta/libfile3.c.o' are missing
  11454. ninja explain: mylib@sta/libfile3.c.o is dirty
  11455. ninja explain: deps for 'mylib@sta/libfile4.c.o' are missing
  11456. ninja explain: mylib@sta/libfile4.c.o is dirty
  11457. ninja explain: libmylib.a is dirty
  11458. ninja explain: deps for 'prog@exe/main.c.o' are missing
  11459. ninja explain: prog@exe/main.c.o is dirty
  11460. ninja explain: libmylib.a is dirty
  11461. ninja explain: prog is dirty
  11462. [1/7] Compiling C object 'mylib@sta/libfile.c.o'.
  11463. FAILED: mylib@sta/libfile.c.o
  11464. cc -Imylib@sta -I. '-I../../usr/src/meson/meson/test cases/common/5 linkstatic' -flto -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O0 -g -fPIC -MD -MQ 'mylib@sta/libfile.c.o' -MF 'mylib@sta/libfile.c.o.d' -o 'mylib@sta/libfile.c.o' -c '../../usr/src/meson/meson/test cases/common/5 linkstatic/libfile.c'
  11465. lcc: ошибка: неизвестная опция "-flto"
  11466. [2/7] Compiling C object 'mylib@sta/libfile3.c.o'.
  11467. FAILED: mylib@sta/libfile3.c.o
  11468. cc -Imylib@sta -I. '-I../../usr/src/meson/meson/test cases/common/5 linkstatic' -flto -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O0 -g -fPIC -MD -MQ 'mylib@sta/libfile3.c.o' -MF 'mylib@sta/libfile3.c.o.d' -o 'mylib@sta/libfile3.c.o' -c '../../usr/src/meson/meson/test cases/common/5 linkstatic/libfile3.c'
  11469. lcc: ошибка: неизвестная опция "-flto"
  11470. [3/7] Compiling C object 'mylib@sta/libfile4.c.o'.
  11471. FAILED: mylib@sta/libfile4.c.o
  11472. cc -Imylib@sta -I. '-I../../usr/src/meson/meson/test cases/common/5 linkstatic' -flto -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O0 -g -fPIC -MD -MQ 'mylib@sta/libfile4.c.o' -MF 'mylib@sta/libfile4.c.o.d' -o 'mylib@sta/libfile4.c.o' -c '../../usr/src/meson/meson/test cases/common/5 linkstatic/libfile4.c'
  11473. lcc: ошибка: неизвестная опция "-flto"
  11474. [4/7] Compiling C object 'prog@exe/main.c.o'.
  11475. FAILED: prog@exe/main.c.o
  11476. cc -Iprog@exe -I. '-I../../usr/src/meson/meson/test cases/common/5 linkstatic' -flto -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O0 -g -MD -MQ 'prog@exe/main.c.o' -MF 'prog@exe/main.c.o.d' -o 'prog@exe/main.c.o' -c '../../usr/src/meson/meson/test cases/common/5 linkstatic/main.c'
  11477. lcc: ошибка: неизвестная опция "-flto"
  11478. [5/7] Compiling C object 'mylib@sta/libfile2.c.o'.
  11479. FAILED: mylib@sta/libfile2.c.o
  11480. cc -Imylib@sta -I. '-I../../usr/src/meson/meson/test cases/common/5 linkstatic' -flto -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O0 -g -fPIC -MD -MQ 'mylib@sta/libfile2.c.o' -MF 'mylib@sta/libfile2.c.o.d' -o 'mylib@sta/libfile2.c.o' -c '../../usr/src/meson/meson/test cases/common/5 linkstatic/libfile2.c'
  11481. lcc: ошибка: неизвестная опция "-flto"
  11482. ninja: build stopped: subcommand failed.
  11483.  
  11484.  
  11485. ======================================================================
  11486. ERROR: test_boost_notfound_dependency (__main__.FailureTests)
  11487. ----------------------------------------------------------------------
  11488. Traceback (most recent call last):
  11489. File "./run_unittests.py", line 1867, in test_boost_notfound_dependency
  11490. "(fail.*not found|{})".format(self.dnf))
  11491. File "./run_unittests.py", line 1791, in assertMesonRaises
  11492. self.init(self.srcdir, extra_args=extra_args, inprocess=True)
  11493. File "./run_unittests.py", line 529, in init
  11494. (returncode, out, _) = run_configure(self.meson_mainfile, self.meson_args + args + extra_args)
  11495. File "/usr/src/meson/meson/run_tests.py", line 156, in run_configure
  11496. return run_configure_inprocess(meson_command, commandlist)
  11497. File "/usr/src/meson/meson/run_tests.py", line 142, in run_configure_inprocess
  11498. returncode = mesonmain.run(commandlist, meson_command)
  11499. File "/usr/src/meson/meson/mesonbuild/mesonmain.py", line 363, in run
  11500. app.generate()
  11501. File "/usr/src/meson/meson/mesonbuild/mesonmain.py", line 150, in generate
  11502. self._generate(env)
  11503. File "/usr/src/meson/meson/mesonbuild/mesonmain.py", line 197, in _generate
  11504. intr.run()
  11505. File "/usr/src/meson/meson/mesonbuild/interpreter.py", line 2987, in run
  11506. super().run()
  11507. File "/usr/src/meson/meson/mesonbuild/interpreterbase.py", line 173, in run
  11508. self.evaluate_codeblock(self.ast, start=1)
  11509. File "/usr/src/meson/meson/mesonbuild/interpreterbase.py", line 195, in evaluate_codeblock
  11510. raise e
  11511. File "/usr/src/meson/meson/mesonbuild/interpreterbase.py", line 189, in evaluate_codeblock
  11512. self.evaluate_statement(cur)
  11513. File "/usr/src/meson/meson/mesonbuild/interpreterbase.py", line 200, in evaluate_statement
  11514. return self.function_call(cur)
  11515. File "/usr/src/meson/meson/mesonbuild/interpreterbase.py", line 456, in function_call
  11516. return self.funcs[func_name](node, self.flatten(posargs), kwargs)
  11517. File "/usr/src/meson/meson/mesonbuild/interpreterbase.py", line 79, in wrapped
  11518. return f(s, node_or_state, args, kwargs)
  11519. File "/usr/src/meson/meson/mesonbuild/interpreter.py", line 2292, in func_dependency
  11520. dep = dependencies.find_external_dependency(name, self.environment, kwargs)
  11521. File "/usr/src/meson/meson/mesonbuild/dependencies/base.py", line 950, in find_external_dependency
  11522. dep = packages[lname](env, kwargs)
  11523. File "/usr/src/meson/meson/mesonbuild/dependencies/misc.py", line 135, in __init__
  11524. self.boost_roots = self.detect_nix_roots()
  11525. File "/usr/src/meson/meson/mesonbuild/dependencies/misc.py", line 198, in detect_nix_roots
  11526. for x in self.compiler.get_default_include_dirs()]
  11527. File "/usr/src/meson/meson/mesonbuild/compilers/compilers.py", line 1076, in get_default_include_dirs
  11528. return gnulike_default_include_dirs(self.exelist, self.language)
  11529. File "/usr/src/meson/meson/mesonbuild/compilers/compilers.py", line 974, in gnulike_default_include_dirs
  11530. stderr = p.stderr.read().decode('utf-8')
  11531. UnicodeDecodeError: 'utf-8' codec can't decode byte 0xf7 in position 87: invalid start byte
  11532.  
  11533. Stdout:
  11534. Build started at 2018-02-22T18:26:01.945216
  11535. Main binary: /usr/bin/python3
  11536. Python system: Linux
  11537. The Meson build system
  11538. Version: 0.45.0.dev1
  11539. Source dir: /tmp/tmp1sy8jp6d
  11540. Build dir: /tmp/tmp3ek5swdz
  11541. Build type: native build
  11542. Project name: failure test
  11543. Sanity testing C compiler: cc
  11544. Is cross compiler: False.
  11545. Sanity check compiler command line: cc /tmp/tmp3ek5swdz/meson-private/sanitycheckc.c -o /tmp/tmp3ek5swdz/meson-private/sanitycheckc.exe
  11546. Sanity check compile stdout:
  11547.  
  11548. -----
  11549. Sanity check compile stderr:
  11550.  
  11551. -----
  11552. Running test binary command: /tmp/tmp3ek5swdz/meson-private/sanitycheckc.exe
  11553. Native C compiler: cc (gcc 4.8.0 "lcc:1.21.22:Oct-15-2017:e2k-v4-linux")
  11554. Sanity testing C++ compiler: c++
  11555. Is cross compiler: False.
  11556. Sanity check compiler command line: c++ /tmp/tmp3ek5swdz/meson-private/sanitycheckcpp.cc -o /tmp/tmp3ek5swdz/meson-private/sanitycheckcpp.exe
  11557. Sanity check compile stdout:
  11558.  
  11559. -----
  11560. Sanity check compile stderr:
  11561.  
  11562. -----
  11563. Running test binary command: /tmp/tmp3ek5swdz/meson-private/sanitycheckcpp.exe
  11564. Native C++ compiler: c++ (gcc 4.8.0 "lcc:1.21.22:Oct-15-2017:e2k-v4-linux")
  11565. Build machine cpu family: e2k
  11566. Build machine cpu: e2k
  11567.  
  11568. meson.build:2:0: ERROR: Boost module argument is not a string.
  11569.  
  11570. Build started at 2018-02-22T18:26:02.416406
  11571. Main binary: /usr/bin/python3
  11572. Python system: Linux
  11573. The Meson build system
  11574. Version: 0.45.0.dev1
  11575. Source dir: /tmp/tmp1sy8jp6d
  11576. Build dir: /tmp/tmp3ek5swdz
  11577. Build type: native build
  11578. Project name: failure test
  11579. Sanity testing C compiler: cc
  11580. Is cross compiler: False.
  11581. Sanity check compiler command line: cc /tmp/tmp3ek5swdz/meson-private/sanitycheckc.c -o /tmp/tmp3ek5swdz/meson-private/sanitycheckc.exe
  11582. Sanity check compile stdout:
  11583.  
  11584. -----
  11585. Sanity check compile stderr:
  11586.  
  11587. -----
  11588. Running test binary command: /tmp/tmp3ek5swdz/meson-private/sanitycheckc.exe
  11589. Native C compiler: cc (gcc 4.8.0 "lcc:1.21.22:Oct-15-2017:e2k-v4-linux")
  11590. Sanity testing C++ compiler: c++
  11591. Is cross compiler: False.
  11592. Sanity check compiler command line: c++ /tmp/tmp3ek5swdz/meson-private/sanitycheckcpp.cc -o /tmp/tmp3ek5swdz/meson-private/sanitycheckcpp.exe
  11593. Sanity check compile stdout:
  11594.  
  11595. -----
  11596. Sanity check compile stderr:
  11597.  
  11598. -----
  11599. Running test binary command: /tmp/tmp3ek5swdz/meson-private/sanitycheckcpp.exe
  11600. Native C++ compiler: c++ (gcc 4.8.0 "lcc:1.21.22:Oct-15-2017:e2k-v4-linux")
  11601. Build machine cpu family: e2k
  11602. Build machine cpu: e2k
  11603.  
  11604.  
  11605. ======================================================================
  11606. ERROR: test_compiler_check_flags_order (__main__.LinuxlikeTests)
  11607. ----------------------------------------------------------------------
  11608. Traceback (most recent call last):
  11609. File "./run_unittests.py", line 2266, in test_compiler_check_flags_order
  11610. self.init(testdir)
  11611. File "./run_unittests.py", line 543, in init
  11612. out = self._run(self.meson_command + args + extra_args)
  11613. File "./run_unittests.py", line 513, in _run
  11614. raise subprocess.CalledProcessError(p.returncode, command)
  11615. subprocess.CalledProcessError: Command '['/usr/bin/python3', '/usr/src/meson/meson/meson.py', '--backend=ninja', '/usr/src/meson/meson/./test cases/common/43 has function', '/tmp/tmp_7wezyd1', '--prefix', '/usr', '--libdir', '/usr/lib']' returned non-zero exit status 1
  11616.  
  11617. Stdout:
  11618. The Meson build system
  11619. Version: 0.45.0.dev1
  11620. Source dir: /usr/src/meson/meson/test cases/common/43 has function
  11621. Build dir: /tmp/tmp_7wezyd1
  11622. Build type: native build
  11623. Project name: has function
  11624. Native C compiler: cc (gcc 4.8.0 "lcc:1.21.22:Oct-15-2017:e2k-v4-linux")
  11625. Appending CFLAGS from environment: '-O3'
  11626. Native C++ compiler: c++ (gcc 4.8.0 "lcc:1.21.22:Oct-15-2017:e2k-v4-linux")
  11627. Appending CXXFLAGS from environment: '-O3'
  11628. Build machine cpu family: e2k
  11629. Build machine cpu: e2k
  11630. Checking for function "printf": YES
  11631. Checking for function "fprintf": YES
  11632. Checking for function "hfkerhisadf": NO
  11633. Checking for function "hfkerhisadf": NO
  11634. Checking for function "poll": YES
  11635. Checking for function "lchmod": YES
  11636.  
  11637. meson.build:58:6: ERROR: Assert failed: "lchmod" check should have failed
  11638.  
  11639. A full log can be found at /tmp/tmp_7wezyd1/meson-logs/meson-log.txt
  11640.  
  11641. Build started at 2018-02-22T18:26:30.471945
  11642. Main binary: /usr/bin/python3
  11643. Python system: Linux
  11644. The Meson build system
  11645. Version: 0.45.0.dev1
  11646. Source dir: /usr/src/meson/meson/test cases/common/43 has function
  11647. Build dir: /tmp/tmp_7wezyd1
  11648. Build type: native build
  11649. Project name: has function
  11650. Sanity testing C compiler: cc
  11651. Is cross compiler: False.
  11652. Sanity check compiler command line: cc /tmp/tmp_7wezyd1/meson-private/sanitycheckc.c -o /tmp/tmp_7wezyd1/meson-private/sanitycheckc.exe
  11653. Sanity check compile stdout:
  11654.  
  11655. -----
  11656. Sanity check compile stderr:
  11657.  
  11658. -----
  11659. Running test binary command: /tmp/tmp_7wezyd1/meson-private/sanitycheckc.exe
  11660. Native C compiler: cc (gcc 4.8.0 "lcc:1.21.22:Oct-15-2017:e2k-v4-linux")
  11661. Appending CFLAGS from environment: '-O3'
  11662. Sanity testing C++ compiler: c++
  11663. Is cross compiler: False.
  11664. Sanity check compiler command line: c++ /tmp/tmp_7wezyd1/meson-private/sanitycheckcpp.cc -o /tmp/tmp_7wezyd1/meson-private/sanitycheckcpp.exe
  11665. Sanity check compile stdout:
  11666.  
  11667. -----
  11668. Sanity check compile stderr:
  11669.  
  11670. -----
  11671. Running test binary command: /tmp/tmp_7wezyd1/meson-private/sanitycheckcpp.exe
  11672. Native C++ compiler: c++ (gcc 4.8.0 "lcc:1.21.22:Oct-15-2017:e2k-v4-linux")
  11673. Appending CXXFLAGS from environment: '-O3'
  11674. Build machine cpu family: e2k
  11675. Build machine cpu: e2k
  11676. Running compile:
  11677. Working directory: /tmp/tmpyp0s0qy8
  11678. Command line: cc -I/tmp /tmp/tmpyp0s0qy8/testfile.c -O3 -O0 -pipe -D_FILE_OFFSET_BITS=64 -o /tmp/tmpyp0s0qy8/output.exe
  11679.  
  11680. Code:
  11681. #include<stdio.h>
  11682. #include <limits.h>
  11683.  
  11684. #if defined __stub_printf || defined __stub___printf
  11685. fail fail fail this function is not going to work
  11686. #endif
  11687.  
  11688. int main() {
  11689. void *a = (void*) &printf;
  11690. long b = (long) a;
  11691. return (int) b;
  11692. }
  11693. Compiler stdout:
  11694.  
  11695. Compiler stderr:
  11696.  
  11697. Checking for function "printf": YES
  11698. Running compile:
  11699. Working directory: /tmp/tmptjfd7lqc
  11700. Command line: cc -I/tmp /tmp/tmptjfd7lqc/testfile.c -O3 -O0 -pipe -D_FILE_OFFSET_BITS=64 -o /tmp/tmptjfd7lqc/output.exe
  11701.  
  11702. Code:
  11703.  
  11704. #define fprintf meson_disable_define_of_fprintf
  11705.  
  11706. #include <limits.h>
  11707. #undef fprintf
  11708.  
  11709. #ifdef __cplusplus
  11710. extern "C"
  11711. #endif
  11712. char fprintf ();
  11713.  
  11714. #if defined __stub_fprintf || defined __stub___fprintf
  11715. fail fail fail this function is not going to work
  11716. #endif
  11717.  
  11718. int main () {
  11719. return fprintf ();
  11720. }
  11721. Compiler stdout:
  11722.  
  11723. Compiler stderr:
  11724.  
  11725. Checking for function "fprintf": YES
  11726. Running compile:
  11727. Working directory: /tmp/tmprnemnxbk
  11728. Command line: cc -I/tmp /tmp/tmprnemnxbk/testfile.c -O3 -O0 -pipe -D_FILE_OFFSET_BITS=64 -o /tmp/tmprnemnxbk/output.exe
  11729.  
  11730. Code:
  11731. #include<stdio.h>
  11732. #include <limits.h>
  11733.  
  11734. #if defined __stub_hfkerhisadf || defined __stub___hfkerhisadf
  11735. fail fail fail this function is not going to work
  11736. #endif
  11737.  
  11738. int main() {
  11739. void *a = (void*) &hfkerhisadf;
  11740. long b = (long) a;
  11741. return (int) b;
  11742. }
  11743. Compiler stdout:
  11744.  
  11745. Compiler stderr:
  11746. lcc: "/tmp/tmprnemnxbk/testfile.c", строка 9: ошибка:
  11747. идентификатор "hfkerhisadf" не определен
  11748. void *a = (void*) &hfkerhisadf;
  11749. ^
  11750.  
  11751. 1 ошибка обнаружено при компиляции "/tmp/tmprnemnxbk/testfile.c".
  11752.  
  11753. Running compile:
  11754. Working directory: /tmp/tmpqf3dgf9d
  11755. Command line: cc -I/tmp /tmp/tmpqf3dgf9d/testfile.c -O3 -O0 -pipe -D_FILE_OFFSET_BITS=64 -o /tmp/tmpqf3dgf9d/output.exe
  11756.  
  11757. Code:
  11758. #include<stdio.h>
  11759. int main() {
  11760. #ifdef __has_builtin
  11761. #if !__has_builtin(__builtin_hfkerhisadf)
  11762. #error "__builtin_hfkerhisadf not found"
  11763. #endif
  11764. #elif ! defined(hfkerhisadf)
  11765. /* Check for __builtin_hfkerhisadf only if no includes were added to the
  11766. * prefix above, which means no definition of hfkerhisadf can be found.
  11767. * We would always check for this, but we get false positives on
  11768. * MSYS2 if we do. Their toolchain is broken, but we can at least
  11769. * give them a workaround. */
  11770. #if 0
  11771. __builtin_hfkerhisadf;
  11772. #else
  11773. #error "No definition for __builtin_hfkerhisadf found in the prefix"
  11774. #endif
  11775. #endif
  11776. }
  11777. Compiler stdout:
  11778.  
  11779. Compiler stderr:
  11780. lcc: "/tmp/tmpqf3dgf9d/testfile.c", строка 16: фатальная ошибка:
  11781. #error директива: "No definition for __builtin_hfkerhisadf
  11782. found in the prefix"
  11783. #error "No definition for __builtin_hfkerhisadf found in the prefix"
  11784. ^
  11785.  
  11786. 1 катастрофическая ошибка обнаружено при компиляции "/tmp/tmpqf3dgf9d/testfile.c".
  11787. Compilation terminated.
  11788.  
  11789. Checking for function "hfkerhisadf": NO
  11790. Running compile:
  11791. Working directory: /tmp/tmprx8sy08z
  11792. Command line: cc -I/tmp /tmp/tmprx8sy08z/testfile.c -O3 -O0 -pipe -D_FILE_OFFSET_BITS=64 -o /tmp/tmprx8sy08z/output.exe
  11793.  
  11794. Code:
  11795.  
  11796. #define hfkerhisadf meson_disable_define_of_hfkerhisadf
  11797.  
  11798. #include <limits.h>
  11799. #undef hfkerhisadf
  11800.  
  11801. #ifdef __cplusplus
  11802. extern "C"
  11803. #endif
  11804. char hfkerhisadf ();
  11805.  
  11806. #if defined __stub_hfkerhisadf || defined __stub___hfkerhisadf
  11807. fail fail fail this function is not going to work
  11808. #endif
  11809.  
  11810. int main () {
  11811. return hfkerhisadf ();
  11812. }
  11813. Compiler stdout:
  11814.  
  11815. Compiler stderr:
  11816. /tmp/lcc_XvlHKe.o: In function `main':
  11817. testfile.c:(.text+0x2c): undefined reference to `hfkerhisadf'
  11818.  
  11819. Running compile:
  11820. Working directory: /tmp/tmpaoju5zf4
  11821. Command line: cc -I/tmp /tmp/tmpaoju5zf4/testfile.c -O3 -O0 -pipe -D_FILE_OFFSET_BITS=64 -o /tmp/tmpaoju5zf4/output.exe
  11822.  
  11823. Code:
  11824.  
  11825. int main() {
  11826. #ifdef __has_builtin
  11827. #if !__has_builtin(__builtin_hfkerhisadf)
  11828. #error "__builtin_hfkerhisadf not found"
  11829. #endif
  11830. #elif ! defined(hfkerhisadf)
  11831. /* Check for __builtin_hfkerhisadf only if no includes were added to the
  11832. * prefix above, which means no definition of hfkerhisadf can be found.
  11833. * We would always check for this, but we get false positives on
  11834. * MSYS2 if we do. Their toolchain is broken, but we can at least
  11835. * give them a workaround. */
  11836. #if 1
  11837. __builtin_hfkerhisadf;
  11838. #else
  11839. #error "No definition for __builtin_hfkerhisadf found in the prefix"
  11840. #endif
  11841. #endif
  11842. }
  11843. Compiler stdout:
  11844.  
  11845. Compiler stderr:
  11846. lcc: "/tmp/tmpaoju5zf4/testfile.c", строка 14: ошибка:
  11847. идентификатор "__builtin_hfkerhisadf" не
  11848. определен
  11849. __builtin_hfkerhisadf;
  11850. ^
  11851.  
  11852. 1 ошибка обнаружено при компиляции "/tmp/tmpaoju5zf4/testfile.c".
  11853.  
  11854. Checking for function "hfkerhisadf": NO
  11855. Running compile:
  11856. Working directory: /tmp/tmp_afycxpt
  11857. Command line: cc -I/tmp /tmp/tmp_afycxpt/testfile.c -O3 -O0 -pipe -D_FILE_OFFSET_BITS=64 -o /tmp/tmp_afycxpt/output.exe
  11858.  
  11859. Code:
  11860. #include <poll.h>
  11861. #include <limits.h>
  11862.  
  11863. #if defined __stub_poll || defined __stub___poll
  11864. fail fail fail this function is not going to work
  11865. #endif
  11866.  
  11867. int main() {
  11868. void *a = (void*) &poll;
  11869. long b = (long) a;
  11870. return (int) b;
  11871. }
  11872. Compiler stdout:
  11873.  
  11874. Compiler stderr:
  11875.  
  11876. Checking for function "poll": YES
  11877. Running compile:
  11878. Working directory: /tmp/tmpep4x9zo3
  11879. Command line: cc -I/tmp /tmp/tmpep4x9zo3/testfile.c -O3 -O0 -pipe -D_FILE_OFFSET_BITS=64 -o /tmp/tmpep4x9zo3/output.exe
  11880.  
  11881. Code:
  11882. #include <sys/stat.h>
  11883. #include <unistd.h>
  11884. #include <limits.h>
  11885.  
  11886. #if defined __stub_lchmod || defined __stub___lchmod
  11887. fail fail fail this function is not going to work
  11888. #endif
  11889.  
  11890. int main() {
  11891. void *a = (void*) &lchmod;
  11892. long b = (long) a;
  11893. return (int) b;
  11894. }
  11895. Compiler stdout:
  11896.  
  11897. Compiler stderr:
  11898. /tmp/lcc_1scLId.o: In function `main':
  11899. testfile.c:(.text+0x20): warning: lchmod is not implemented and will always fail
  11900.  
  11901. Checking for function "lchmod": YES
  11902.  
  11903. meson.build:58:6: ERROR: Assert failed: "lchmod" check should have failed
  11904.  
  11905.  
  11906. ======================================================================
  11907. ERROR: test_compiler_cpp_stds (__main__.LinuxlikeTests)
  11908. ----------------------------------------------------------------------
  11909. Traceback (most recent call last):
  11910. File "./run_unittests.py", line 2330, in test_compiler_cpp_stds
  11911. self._test_stds_impl(testdir, cpp, 'cpp')
  11912. File "./run_unittests.py", line 2292, in _test_stds_impl
  11913. self.build()
  11914. File "./run_unittests.py", line 557, in build
  11915. return self._run(self.build_command + args + extra_args, workdir=self.builddir)
  11916. File "./run_unittests.py", line 513, in _run
  11917. raise subprocess.CalledProcessError(p.returncode, command)
  11918. subprocess.CalledProcessError: Command '['ninja', '-w', 'dupbuild=err', '-d', 'explain']' returned non-zero exit status 1
  11919.  
  11920. Stdout:
  11921. The Meson build system
  11922. Version: 0.45.0.dev1
  11923. Source dir: /usr/src/meson/meson/test cases/common/2 cpp
  11924. Build dir: /tmp/tmpvzdbrugt
  11925. Build type: native build
  11926. Project name: c++ test
  11927. Native C++ compiler: c++ (gcc 4.8.0 "lcc:1.21.22:Oct-15-2017:e2k-v4-linux")
  11928. Build machine cpu family: e2k
  11929. Build machine cpu: e2k
  11930. Build targets in project: 1
  11931. Found ninja-1.8.2 at /usr/bin/ninja
  11932.  
  11933. ninja explain: deps for 'trivialprog@exe/trivial.cc.o' are missing
  11934. ninja explain: trivialprog@exe/trivial.cc.o is dirty
  11935. ninja explain: trivialprog is dirty
  11936. [1/2] Compiling C++ object 'trivialprog@exe/trivial.cc.o'.
  11937. [2/2] Linking target trivialprog.
  11938.  
  11939. The Meson build system
  11940. Version: 0.45.0.dev1
  11941. Source dir: /usr/src/meson/meson/test cases/common/2 cpp
  11942. Build dir: /tmp/tmpvzdbrugt
  11943. Build type: native build
  11944. Project name: c++ test
  11945. Native C++ compiler: c++ (gcc 4.8.0 "lcc:1.21.22:Oct-15-2017:e2k-v4-linux")
  11946. Build machine cpu family: e2k
  11947. Build machine cpu: e2k
  11948. Build targets in project: 1
  11949. Found ninja-1.8.2 at /usr/bin/ninja
  11950.  
  11951. ninja explain: deps for 'trivialprog@exe/trivial.cc.o' are missing
  11952. ninja explain: trivialprog@exe/trivial.cc.o is dirty
  11953. ninja explain: trivialprog is dirty
  11954. [1/2] Compiling C++ object 'trivialprog@exe/trivial.cc.o'.
  11955. [2/2] Linking target trivialprog.
  11956.  
  11957. The Meson build system
  11958. Version: 0.45.0.dev1
  11959. Source dir: /usr/src/meson/meson/test cases/common/2 cpp
  11960. Build dir: /tmp/tmpvzdbrugt
  11961. Build type: native build
  11962. Project name: c++ test
  11963. Native C++ compiler: c++ (gcc 4.8.0 "lcc:1.21.22:Oct-15-2017:e2k-v4-linux")
  11964. Build machine cpu family: e2k
  11965. Build machine cpu: e2k
  11966. Build targets in project: 1
  11967. Found ninja-1.8.2 at /usr/bin/ninja
  11968.  
  11969. ninja explain: deps for 'trivialprog@exe/trivial.cc.o' are missing
  11970. ninja explain: trivialprog@exe/trivial.cc.o is dirty
  11971. ninja explain: trivialprog is dirty
  11972. [1/2] Compiling C++ object 'trivialprog@exe/trivial.cc.o'.
  11973. [2/2] Linking target trivialprog.
  11974.  
  11975. The Meson build system
  11976. Version: 0.45.0.dev1
  11977. Source dir: /usr/src/meson/meson/test cases/common/2 cpp
  11978. Build dir: /tmp/tmpvzdbrugt
  11979. Build type: native build
  11980. Project name: c++ test
  11981. Native C++ compiler: c++ (gcc 4.8.0 "lcc:1.21.22:Oct-15-2017:e2k-v4-linux")
  11982. Build machine cpu family: e2k
  11983. Build machine cpu: e2k
  11984. Build targets in project: 1
  11985. Found ninja-1.8.2 at /usr/bin/ninja
  11986.  
  11987. ninja explain: deps for 'trivialprog@exe/trivial.cc.o' are missing
  11988. ninja explain: trivialprog@exe/trivial.cc.o is dirty
  11989. ninja explain: trivialprog is dirty
  11990. [1/2] Compiling C++ object 'trivialprog@exe/trivial.cc.o'.
  11991. [2/2] Linking target trivialprog.
  11992.  
  11993. The Meson build system
  11994. Version: 0.45.0.dev1
  11995. Source dir: /usr/src/meson/meson/test cases/common/2 cpp
  11996. Build dir: /tmp/tmpvzdbrugt
  11997. Build type: native build
  11998. Project name: c++ test
  11999. Native C++ compiler: c++ (gcc 4.8.0 "lcc:1.21.22:Oct-15-2017:e2k-v4-linux")
  12000. Build machine cpu family: e2k
  12001. Build machine cpu: e2k
  12002. Build targets in project: 1
  12003. Found ninja-1.8.2 at /usr/bin/ninja
  12004.  
  12005. ninja explain: deps for 'trivialprog@exe/trivial.cc.o' are missing
  12006. ninja explain: trivialprog@exe/trivial.cc.o is dirty
  12007. ninja explain: trivialprog is dirty
  12008. [1/2] Compiling C++ object 'trivialprog@exe/trivial.cc.o'.
  12009. [2/2] Linking target trivialprog.
  12010.  
  12011. The Meson build system
  12012. Version: 0.45.0.dev1
  12013. Source dir: /usr/src/meson/meson/test cases/common/2 cpp
  12014. Build dir: /tmp/tmpvzdbrugt
  12015. Build type: native build
  12016. Project name: c++ test
  12017. Native C++ compiler: c++ (gcc 4.8.0 "lcc:1.21.22:Oct-15-2017:e2k-v4-linux")
  12018. Build machine cpu family: e2k
  12019. Build machine cpu: e2k
  12020. Build targets in project: 1
  12021. Found ninja-1.8.2 at /usr/bin/ninja
  12022.  
  12023. ninja explain: deps for 'trivialprog@exe/trivial.cc.o' are missing
  12024. ninja explain: trivialprog@exe/trivial.cc.o is dirty
  12025. ninja explain: trivialprog is dirty
  12026. [1/2] Compiling C++ object 'trivialprog@exe/trivial.cc.o'.
  12027. FAILED: trivialprog@exe/trivial.cc.o
  12028. c++ -Itrivialprog@exe -I. '-I../../usr/src/meson/meson/test cases/common/2 cpp' -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wnon-virtual-dtor -std=c++17 -O0 -g -MD -MQ 'trivialprog@exe/trivial.cc.o' -MF 'trivialprog@exe/trivial.cc.o.d' -o 'trivialprog@exe/trivial.cc.o' -c '../../usr/src/meson/meson/test cases/common/2 cpp/trivial.cc'
  12029. lcc: ошибка: неправильный аргумент опции "-std=c++17". Допустимые значения:
  12030. c89, gnu89, c90, iso9899:1990, iso9899:199409, gnu90, c9x, gnu9x,
  12031. c99, iso9899:1999, gnu99, c1x, gnu1x, c11, iso9899:2011, gnu11,
  12032. c++98, gnu++98, c++03, gnu++03, c++0x, gnu++0x, c++11, gnu++11,
  12033. c++1y, gnu++1y, c++14, gnu++14
  12034. ninja: build stopped: subcommand failed.
  12035.  
  12036. cpp_std was 'c++17'
  12037.  
  12038. ======================================================================
  12039. ERROR: test_introspect_dependencies (__main__.LinuxlikeTests)
  12040. ----------------------------------------------------------------------
  12041. Traceback (most recent call last):
  12042. File "./run_unittests.py", line 2467, in test_introspect_dependencies
  12043. self.init(testdir)
  12044. File "./run_unittests.py", line 543, in init
  12045. out = self._run(self.meson_command + args + extra_args)
  12046. File "./run_unittests.py", line 513, in _run
  12047. raise subprocess.CalledProcessError(p.returncode, command)
  12048. subprocess.CalledProcessError: Command '['/usr/bin/python3', '/usr/src/meson/meson/meson.py', '--backend=ninja', '/usr/src/meson/meson/./test cases/frameworks/7 gnome', '/tmp/tmpy4rixwr1', '--prefix', '/usr', '--libdir', '/usr/lib']' returned non-zero exit status 2
  12049.  
  12050. Stdout:
  12051. Traceback (most recent call last):
  12052. File "/usr/src/meson/meson/mesonbuild/mesonmain.py", line 363, in run
  12053. app.generate()
  12054. File "/usr/src/meson/meson/mesonbuild/mesonmain.py", line 150, in generate
  12055. self._generate(env)
  12056. File "/usr/src/meson/meson/mesonbuild/mesonmain.py", line 197, in _generate
  12057. intr.run()
  12058. File "/usr/src/meson/meson/mesonbuild/interpreter.py", line 2987, in run
  12059. super().run()
  12060. File "/usr/src/meson/meson/mesonbuild/interpreterbase.py", line 173, in run
  12061. self.evaluate_codeblock(self.ast, start=1)
  12062. File "/usr/src/meson/meson/mesonbuild/interpreterbase.py", line 195, in evaluate_codeblock
  12063. raise e
  12064. File "/usr/src/meson/meson/mesonbuild/interpreterbase.py", line 189, in evaluate_codeblock
  12065. self.evaluate_statement(cur)
  12066. File "/usr/src/meson/meson/mesonbuild/interpreterbase.py", line 202, in evaluate_statement
  12067. return self.assignment(cur)
  12068. File "/usr/src/meson/meson/mesonbuild/interpreterbase.py", line 674, in assignment
  12069. value = self.evaluate_statement(node.value)
  12070. File "/usr/src/meson/meson/mesonbuild/interpreterbase.py", line 200, in evaluate_statement
  12071. return self.function_call(cur)
  12072. File "/usr/src/meson/meson/mesonbuild/interpreterbase.py", line 456, in function_call
  12073. return self.funcs[func_name](node, self.flatten(posargs), kwargs)
  12074. File "/usr/src/meson/meson/mesonbuild/interpreterbase.py", line 79, in wrapped
  12075. return f(s, node_or_state, args, kwargs)
  12076. File "/usr/src/meson/meson/mesonbuild/interpreter.py", line 2292, in func_dependency
  12077. dep = dependencies.find_external_dependency(name, self.environment, kwargs)
  12078. File "/usr/src/meson/meson/mesonbuild/dependencies/base.py", line 973, in find_external_dependency
  12079. raise pkg_exc
  12080. File "/usr/src/meson/meson/mesonbuild/dependencies/base.py", line 960, in find_external_dependency
  12081. pkgdep = PkgConfigDependency(name, env, kwargs)
  12082. File "/usr/src/meson/meson/mesonbuild/dependencies/base.py", line 442, in __init__
  12083. self._set_libs()
  12084. File "/usr/src/meson/meson/mesonbuild/dependencies/base.py", line 531, in _set_libs
  12085. args = self.compiler.find_library(lib[2:], self.env, libpaths, libtype='static')
  12086. File "/usr/src/meson/meson/mesonbuild/compilers/c.py", line 786, in find_library
  12087. extra_dirs += self.get_library_dirs()
  12088. File "/usr/src/meson/meson/mesonbuild/compilers/c.py", line 164, in get_library_dirs
  12089. libstr = line.split('=', 1)[1]
  12090. IndexError: list index out of range
  12091. The Meson build system
  12092. Version: 0.45.0.dev1
  12093. Source dir: /usr/src/meson/meson/test cases/frameworks/7 gnome
  12094. Build dir: /tmp/tmpy4rixwr1
  12095. Build type: native build
  12096. Project name: gobject-introspection
  12097. Native C compiler: cc (gcc 4.8.0 "lcc:1.21.22:Oct-15-2017:e2k-v4-linux")
  12098. Build machine cpu family: e2k
  12099. Build machine cpu: e2k
  12100. Found pkg-config: /usr/bin/pkg-config (0.29)
  12101. Native dependency gio-2.0 found: YES 2.44.1
  12102. Native dependency gio-unix-2.0 found: YES 2.44.1
  12103. Native dependency glib-2.0 found: YES 2.44.1
  12104. Native dependency gobject-2.0 found: YES 2.44.1
  12105. Native dependency gobject-introspection-1.0 found: YES 1.37.6
  12106. Native dependency gmodule-2.0 found: YES 2.44.1
  12107.  
  12108. Build started at 2018-02-22T18:26:57.117052
  12109. Main binary: /usr/bin/python3
  12110. Python system: Linux
  12111. The Meson build system
  12112. Version: 0.45.0.dev1
  12113. Source dir: /usr/src/meson/meson/test cases/frameworks/7 gnome
  12114. Build dir: /tmp/tmpy4rixwr1
  12115. Build type: native build
  12116. Project name: gobject-introspection
  12117. Sanity testing C compiler: cc
  12118. Is cross compiler: False.
  12119. Sanity check compiler command line: cc /tmp/tmpy4rixwr1/meson-private/sanitycheckc.c -o /tmp/tmpy4rixwr1/meson-private/sanitycheckc.exe
  12120. Sanity check compile stdout:
  12121.  
  12122. -----
  12123. Sanity check compile stderr:
  12124.  
  12125. -----
  12126. Running test binary command: /tmp/tmpy4rixwr1/meson-private/sanitycheckc.exe
  12127. Native C compiler: cc (gcc 4.8.0 "lcc:1.21.22:Oct-15-2017:e2k-v4-linux")
  12128. Build machine cpu family: e2k
  12129. Build machine cpu: e2k
  12130. Running command: /usr/bin/python3 -c import os, sys
  12131. if "MESON_UNIT_TEST_PRETEND_GLIB_OLD" in os.environ:
  12132. sys.exit(0)
  12133. sys.exit(1)
  12134.  
  12135. --- stdout----
  12136.  
  12137. ----stderr----
  12138.  
  12139.  
  12140. Found pkg-config: /usr/bin/pkg-config (0.29)
  12141. Determining dependency 'gio-2.0' with pkg-config executable '/usr/bin/pkg-config'
  12142. Native dependency gio-2.0 found: YES 2.44.1
  12143. Determining dependency 'gio-unix-2.0' with pkg-config executable '/usr/bin/pkg-config'
  12144. Native dependency gio-unix-2.0 found: YES 2.44.1
  12145. Determining dependency 'glib-2.0' with pkg-config executable '/usr/bin/pkg-config'
  12146. Native dependency glib-2.0 found: YES 2.44.1
  12147. Determining dependency 'gobject-2.0' with pkg-config executable '/usr/bin/pkg-config'
  12148. Native dependency gobject-2.0 found: YES 2.44.1
  12149. Determining dependency 'gobject-introspection-1.0' with pkg-config executable '/usr/bin/pkg-config'
  12150. Native dependency gobject-introspection-1.0 found: YES 1.37.6
  12151. Determining dependency 'gmodule-2.0' with pkg-config executable '/usr/bin/pkg-config'
  12152. Native dependency gmodule-2.0 found: YES 2.44.1
  12153. Determining dependency 'glib-2.0' with pkg-config executable '/usr/bin/pkg-config'
  12154.  
  12155.  
  12156. ======================================================================
  12157. ERROR: test_old_gnome_module_codepaths (__main__.LinuxlikeTests)
  12158. ----------------------------------------------------------------------
  12159. Traceback (most recent call last):
  12160. File "./run_unittests.py", line 2620, in test_old_gnome_module_codepaths
  12161. self.init(testdir, inprocess=True)
  12162. File "./run_unittests.py", line 532, in init
  12163. raise RuntimeError('Configure failed')
  12164. RuntimeError: Configure failed
  12165.  
  12166. Stdout:
  12167. Build started at 2018-02-22T18:26:58.133470
  12168. Main binary: /usr/bin/python3
  12169. Python system: Linux
  12170. The Meson build system
  12171. Version: 0.45.0.dev1
  12172. Source dir: /usr/src/meson/meson/test cases/frameworks/7 gnome
  12173. Build dir: /tmp/tmp6ooqe2f1
  12174. Build type: native build
  12175. Project name: gobject-introspection
  12176. Sanity testing C compiler: cc
  12177. Is cross compiler: False.
  12178. Sanity check compiler command line: cc /tmp/tmp6ooqe2f1/meson-private/sanitycheckc.c -o /tmp/tmp6ooqe2f1/meson-private/sanitycheckc.exe
  12179. Sanity check compile stdout:
  12180.  
  12181. -----
  12182. Sanity check compile stderr:
  12183.  
  12184. -----
  12185. Running test binary command: /tmp/tmp6ooqe2f1/meson-private/sanitycheckc.exe
  12186. Native C compiler: cc (gcc 4.8.0 "lcc:1.21.22:Oct-15-2017:e2k-v4-linux")
  12187. Build machine cpu family: e2k
  12188. Build machine cpu: e2k
  12189. Running command: /usr/bin/python3 -c import os, sys
  12190. if "MESON_UNIT_TEST_PRETEND_GLIB_OLD" in os.environ:
  12191. sys.exit(0)
  12192. sys.exit(1)
  12193.  
  12194. --- stdout----
  12195.  
  12196. ----stderr----
  12197.  
  12198.  
  12199. Determining dependency 'gio-2.0' with pkg-config executable '/usr/bin/pkg-config'
  12200. Native dependency gio-2.0 found: YES 2.44.1
  12201. Determining dependency 'gio-unix-2.0' with pkg-config executable '/usr/bin/pkg-config'
  12202. Native dependency gio-unix-2.0 found: YES 2.44.1
  12203. Determining dependency 'glib-2.0' with pkg-config executable '/usr/bin/pkg-config'
  12204. Native dependency glib-2.0 found: YES 2.44.1
  12205. Determining dependency 'gobject-2.0' with pkg-config executable '/usr/bin/pkg-config'
  12206. Native dependency gobject-2.0 found: YES 2.44.1
  12207. Determining dependency 'gobject-introspection-1.0' with pkg-config executable '/usr/bin/pkg-config'
  12208. Native dependency gobject-introspection-1.0 found: YES 1.37.6
  12209. Determining dependency 'gmodule-2.0' with pkg-config executable '/usr/bin/pkg-config'
  12210. Native dependency gmodule-2.0 found: YES 2.44.1
  12211. Determining dependency 'glib-2.0' with pkg-config executable '/usr/bin/pkg-config'
  12212.  
  12213. Build started at 2018-02-22T18:26:58.133470
  12214. Main binary: /usr/bin/python3
  12215. Python system: Linux
  12216. The Meson build system
  12217. Version: 0.45.0.dev1
  12218. Source dir: /usr/src/meson/meson/test cases/frameworks/7 gnome
  12219. Build dir: /tmp/tmp6ooqe2f1
  12220. Build type: native build
  12221. Project name: gobject-introspection
  12222. Sanity testing C compiler: cc
  12223. Is cross compiler: False.
  12224. Sanity check compiler command line: cc /tmp/tmp6ooqe2f1/meson-private/sanitycheckc.c -o /tmp/tmp6ooqe2f1/meson-private/sanitycheckc.exe
  12225. Sanity check compile stdout:
  12226.  
  12227. -----
  12228. Sanity check compile stderr:
  12229.  
  12230. -----
  12231. Running test binary command: /tmp/tmp6ooqe2f1/meson-private/sanitycheckc.exe
  12232. Native C compiler: cc (gcc 4.8.0 "lcc:1.21.22:Oct-15-2017:e2k-v4-linux")
  12233. Build machine cpu family: e2k
  12234. Build machine cpu: e2k
  12235. Running command: /usr/bin/python3 -c import os, sys
  12236. if "MESON_UNIT_TEST_PRETEND_GLIB_OLD" in os.environ:
  12237. sys.exit(0)
  12238. sys.exit(1)
  12239.  
  12240. --- stdout----
  12241.  
  12242. ----stderr----
  12243.  
  12244.  
  12245. Determining dependency 'gio-2.0' with pkg-config executable '/usr/bin/pkg-config'
  12246. Native dependency gio-2.0 found: YES 2.44.1
  12247. Determining dependency 'gio-unix-2.0' with pkg-config executable '/usr/bin/pkg-config'
  12248. Native dependency gio-unix-2.0 found: YES 2.44.1
  12249. Determining dependency 'glib-2.0' with pkg-config executable '/usr/bin/pkg-config'
  12250. Native dependency glib-2.0 found: YES 2.44.1
  12251. Determining dependency 'gobject-2.0' with pkg-config executable '/usr/bin/pkg-config'
  12252. Native dependency gobject-2.0 found: YES 2.44.1
  12253. Determining dependency 'gobject-introspection-1.0' with pkg-config executable '/usr/bin/pkg-config'
  12254. Native dependency gobject-introspection-1.0 found: YES 1.37.6
  12255. Determining dependency 'gmodule-2.0' with pkg-config executable '/usr/bin/pkg-config'
  12256. Native dependency gmodule-2.0 found: YES 2.44.1
  12257. Determining dependency 'glib-2.0' with pkg-config executable '/usr/bin/pkg-config'
  12258.  
  12259.  
  12260. ======================================================================
  12261. ERROR: test_pch_with_address_sanitizer (__main__.LinuxlikeTests)
  12262. ----------------------------------------------------------------------
  12263. Traceback (most recent call last):
  12264. File "./run_unittests.py", line 2504, in test_pch_with_address_sanitizer
  12265. self.build()
  12266. File "./run_unittests.py", line 557, in build
  12267. return self._run(self.build_command + args + extra_args, workdir=self.builddir)
  12268. File "./run_unittests.py", line 513, in _run
  12269. raise subprocess.CalledProcessError(p.returncode, command)
  12270. subprocess.CalledProcessError: Command '['ninja', '-w', 'dupbuild=err', '-d', 'explain']' returned non-zero exit status 1
  12271.  
  12272. Stdout:
  12273. The Meson build system
  12274. Version: 0.45.0.dev1
  12275. Source dir: /usr/src/meson/meson/test cases/common/13 pch
  12276. Build dir: /tmp/tmp2v1vso0n
  12277. Build type: native build
  12278. Project name: pch test
  12279. Native C compiler: cc (gcc 4.8.0 "lcc:1.21.22:Oct-15-2017:e2k-v4-linux")
  12280. Build machine cpu family: e2k
  12281. Build machine cpu: e2k
  12282. Build targets in project: 1
  12283. Found ninja-1.8.2 at /usr/bin/ninja
  12284.  
  12285. ninja explain: deps for 'prog@exe/prog.c.o' are missing
  12286. ninja explain: deps for 'prog@exe/prog.h.gch' are missing
  12287. ninja explain: prog@exe/prog.c.o is dirty
  12288. ninja explain: prog is dirty
  12289. [1/3] Precompiling header '../../usr/src/meson/meson/test cases/common/13 pch/pch/prog.h'.
  12290. FAILED: prog@exe/prog.h.gch
  12291. cc -Iprog@exe -I. '-I../../usr/src/meson/meson/test cases/common/13 pch' -fsanitize=address -fno-omit-frame-pointer -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O0 -g -MD -MQ 'prog@exe/prog.h.gch' -MF 'prog@exe/prog.h.gch.d' -o 'prog@exe/prog.h.gch' -c '../../usr/src/meson/meson/test cases/common/13 pch/pch/prog.h'
  12292. lcc: ошибка: неизвестная опция "-fsanitize=address"
  12293. ninja: build stopped: subcommand failed.
  12294.  
  12295.  
  12296. ======================================================================
  12297. ERROR: test_vala_generated_source_buildir_inside_source_tree (__main__.LinuxlikeTests)
  12298. ----------------------------------------------------------------------
  12299. Traceback (most recent call last):
  12300. File "./run_unittests.py", line 2606, in test_vala_generated_source_buildir_inside_source_tree
  12301. self.init(testdir)
  12302. File "./run_unittests.py", line 543, in init
  12303. out = self._run(self.meson_command + args + extra_args)
  12304. File "./run_unittests.py", line 513, in _run
  12305. raise subprocess.CalledProcessError(p.returncode, command)
  12306. subprocess.CalledProcessError: Command '['/usr/bin/python3', '/usr/src/meson/meson/meson.py', '--backend=ninja', '/tmp/tmpt9jfj3ur/srctree', '/tmp/tmpt9jfj3ur/srctree/subdir/_build', '--prefix', '/usr', '--libdir', '/usr/lib']' returned non-zero exit status 2
  12307.  
  12308. Stdout:
  12309. Traceback (most recent call last):
  12310. File "/usr/src/meson/meson/mesonbuild/mesonmain.py", line 363, in run
  12311. app.generate()
  12312. File "/usr/src/meson/meson/mesonbuild/mesonmain.py", line 150, in generate
  12313. self._generate(env)
  12314. File "/usr/src/meson/meson/mesonbuild/mesonmain.py", line 206, in _generate
  12315. g.generate(intr)
  12316. File "/usr/src/meson/meson/mesonbuild/backend/ninjabackend.py", line 219, in generate
  12317. self.generate_target(t, outfile)
  12318. File "/usr/src/meson/meson/mesonbuild/backend/ninjabackend.py", line 356, in generate_target
  12319. vala_generated_sources = self.generate_vala_compile(target, outfile)
  12320. File "/usr/src/meson/meson/mesonbuild/backend/ninjabackend.py", line 1169, in generate_vala_compile
  12321. vala_c_file = os.path.join(vala_c_subdir, vala_c_file)
  12322. File "/usr/lib/python3.5/posixpath.py", line 89, in join
  12323. genericpath._check_arg_types('join', a, *p)
  12324. File "/usr/lib/python3.5/genericpath.py", line 143, in _check_arg_types
  12325. (funcname, s.__class__.__name__)) from None
  12326. TypeError: join() argument must be str or bytes, not 'PurePosixPath'
  12327. The Meson build system
  12328. Version: 0.45.0.dev1
  12329. Source dir: /tmp/tmpt9jfj3ur/srctree
  12330. Build dir: /tmp/tmpt9jfj3ur/srctree/subdir/_build
  12331. Build type: native build
  12332. Project name: mytest
  12333. Native C compiler: cc (gcc 4.8.0 "lcc:1.21.22:Oct-15-2017:e2k-v4-linux")
  12334. Native Vala compiler: valac (valac 0.20.1)
  12335. Build machine cpu family: e2k
  12336. Build machine cpu: e2k
  12337. Configuring config.vala using configuration
  12338. Program write_wrapper.py found: YES (/usr/bin/env python3 /tmp/tmpt9jfj3ur/srctree/src/write_wrapper.py)
  12339. Program copy_file.py found: YES (/usr/bin/env python3 /tmp/tmpt9jfj3ur/srctree/src/copy_file.py)
  12340. Found pkg-config: /usr/bin/pkg-config (0.29)
  12341. Native dependency glib-2.0 found: YES 2.44.1
  12342. Native dependency gobject-2.0 found: YES 2.44.1
  12343. Dependency glib-2.0 found: YES (cached)
  12344. Dependency gobject-2.0 found: YES (cached)
  12345. Dependency glib-2.0 found: YES (cached)
  12346. Dependency gobject-2.0 found: YES (cached)
  12347. Dependency gobject-2.0 found: YES (cached)
  12348. Program glib-mkenums found: YES (/usr/bin/glib-mkenums)
  12349. Build targets in project: 9
  12350. Found ninja-1.8.2 at /usr/bin/ninja
  12351.  
  12352. Build started at 2018-02-22T18:27:26.432788
  12353. Main binary: /usr/bin/python3
  12354. Python system: Linux
  12355. The Meson build system
  12356. Version: 0.45.0.dev1
  12357. Source dir: /tmp/tmpt9jfj3ur/srctree
  12358. Build dir: /tmp/tmpt9jfj3ur/srctree/subdir/_build
  12359. Build type: native build
  12360. Project name: mytest
  12361. Sanity testing C compiler: cc
  12362. Is cross compiler: False.
  12363. Sanity check compiler command line: cc /tmp/tmpt9jfj3ur/srctree/subdir/_build/meson-private/sanitycheckc.c -o /tmp/tmpt9jfj3ur/srctree/subdir/_build/meson-private/sanitycheckc.exe
  12364. Sanity check compile stdout:
  12365.  
  12366. -----
  12367. Sanity check compile stderr:
  12368.  
  12369. -----
  12370. Running test binary command: /tmp/tmpt9jfj3ur/srctree/subdir/_build/meson-private/sanitycheckc.exe
  12371. Native C compiler: cc (gcc 4.8.0 "lcc:1.21.22:Oct-15-2017:e2k-v4-linux")
  12372. Running compile:
  12373. Working directory: /tmp/tmpqltniqw5
  12374. Command line: valac /tmp/tmpqltniqw5/testfile.vala -C -C -o /tmp/tmpqltniqw5/output.obj
  12375.  
  12376. Code:
  12377. class MesonSanityCheck : Object { }
  12378. Compiler stdout:
  12379.  
  12380. Compiler stderr:
  12381.  
  12382. Native Vala compiler: valac (valac 0.20.1)
  12383. Build machine cpu family: e2k
  12384. Build machine cpu: e2k
  12385. Configuring config.vala using configuration
  12386. Program write_wrapper.py found: YES (/usr/bin/env python3 /tmp/tmpt9jfj3ur/srctree/src/write_wrapper.py)
  12387. Program copy_file.py found: YES (/usr/bin/env python3 /tmp/tmpt9jfj3ur/srctree/src/copy_file.py)
  12388. Found pkg-config: /usr/bin/pkg-config (0.29)
  12389. Determining dependency 'glib-2.0' with pkg-config executable '/usr/bin/pkg-config'
  12390. Native dependency glib-2.0 found: YES 2.44.1
  12391. Determining dependency 'gobject-2.0' with pkg-config executable '/usr/bin/pkg-config'
  12392. Native dependency gobject-2.0 found: YES 2.44.1
  12393. Dependency glib-2.0 found: YES (cached)
  12394. Dependency gobject-2.0 found: YES (cached)
  12395. Dependency glib-2.0 found: YES (cached)
  12396. Dependency gobject-2.0 found: YES (cached)
  12397. Dependency gobject-2.0 found: YES (cached)
  12398. Program glib-mkenums found: YES (/usr/bin/glib-mkenums)
  12399. Build targets in project: 9
  12400. Found ninja-1.8.2 at /usr/bin/ninja
  12401.  
  12402.  
  12403. ======================================================================
  12404. FAIL: test_custom_target_changes_cause_rebuild (__main__.AllPlatformTests)
  12405. ----------------------------------------------------------------------
  12406. Traceback (most recent call last):
  12407. File "./run_unittests.py", line 1306, in test_custom_target_changes_cause_rebuild
  12408. self.assertBuildIsNoop()
  12409. File "./run_unittests.py", line 650, in assertBuildIsNoop
  12410. self.assertEqual(ret.split('\n')[-2], self.no_rebuild_stdout)
  12411. AssertionError: '[2/2] Linking target prog.' != 'ninja: no work to do.'
  12412. - [2/2] Linking target prog.
  12413. + ninja: no work to do.
  12414.  
  12415.  
  12416. Stdout:
  12417. The Meson build system
  12418. Version: 0.45.0.dev1
  12419. Source dir: /usr/src/meson/meson/test cases/common/64 custom header generator
  12420. Build dir: /tmp/tmp4zcapp37
  12421. Build type: native build
  12422. Project name: custom header generator
  12423. Native C compiler: cc (gcc 4.8.0 "lcc:1.21.22:Oct-15-2017:e2k-v4-linux")
  12424. Build machine cpu family: e2k
  12425. Build machine cpu: e2k
  12426. Program makeheader.py found: YES (/usr/bin/env python3 /usr/src/meson/meson/test cases/common/64 custom header generator/makeheader.py)
  12427. Build targets in project: 2
  12428. Found ninja-1.8.2 at /usr/bin/ninja
  12429.  
  12430. ninja explain: deps for 'prog@exe/prog.c.o' are missing
  12431. ninja explain: output myheader.lh doesn't exist
  12432. ninja explain: prog@exe/prog.c.o is dirty
  12433. ninja explain: prog is dirty
  12434. [1/3] Generating makeheader.py with a custom command.
  12435. [2/3] Compiling C object 'prog@exe/prog.c.o'.
  12436. [3/3] Linking target prog.
  12437.  
  12438. ninja explain: output ../../usr/src/meson/meson/test of phony edge with no inputs doesn't exist
  12439. ninja explain: ../../usr/src/meson/meson/test is dirty
  12440. ninja explain: output cases/common/64 of phony edge with no inputs doesn't exist
  12441. ninja explain: cases/common/64 is dirty
  12442. ninja explain: output custom of phony edge with no inputs doesn't exist
  12443. ninja explain: custom is dirty
  12444. ninja explain: output header of phony edge with no inputs doesn't exist
  12445. ninja explain: header is dirty
  12446. ninja explain: output generator/prog.c of phony edge with no inputs doesn't exist
  12447. ninja explain: generator/prog.c is dirty
  12448. ninja explain: prog@exe/prog.c.o is dirty
  12449. ninja explain: prog is dirty
  12450. [1/2] Compiling C object 'prog@exe/prog.c.o'.
  12451. [2/2] Linking target prog.
  12452.  
  12453.  
  12454. ======================================================================
  12455. FAIL: test_source_changes_cause_rebuild (__main__.AllPlatformTests)
  12456. ----------------------------------------------------------------------
  12457. Traceback (most recent call last):
  12458. File "./run_unittests.py", line 1291, in test_source_changes_cause_rebuild
  12459. self.assertBuildIsNoop()
  12460. File "./run_unittests.py", line 650, in assertBuildIsNoop
  12461. self.assertEqual(ret.split('\n')[-2], self.no_rebuild_stdout)
  12462. AssertionError: '[2/2] Linking target prog.' != 'ninja: no work to do.'
  12463. - [2/2] Linking target prog.
  12464. + ninja: no work to do.
  12465.  
  12466.  
  12467. Stdout:
  12468. The Meson build system
  12469. Version: 0.45.0.dev1
  12470. Source dir: /usr/src/meson/meson/test cases/common/22 header in file list
  12471. Build dir: /tmp/tmpb86auoiy
  12472. Build type: native build
  12473. Project name: header in file list
  12474. Native C compiler: cc (gcc 4.8.0 "lcc:1.21.22:Oct-15-2017:e2k-v4-linux")
  12475. Build machine cpu family: e2k
  12476. Build machine cpu: e2k
  12477. Build targets in project: 1
  12478. Found ninja-1.8.2 at /usr/bin/ninja
  12479.  
  12480. ninja explain: deps for 'prog@exe/prog.c.o' are missing
  12481. ninja explain: prog@exe/prog.c.o is dirty
  12482. ninja explain: prog is dirty
  12483. [1/2] Compiling C object 'prog@exe/prog.c.o'.
  12484. [2/2] Linking target prog.
  12485.  
  12486. ninja explain: output ../../usr/src/meson/meson/test of phony edge with no inputs doesn't exist
  12487. ninja explain: ../../usr/src/meson/meson/test is dirty
  12488. ninja explain: output cases/common/22 of phony edge with no inputs doesn't exist
  12489. ninja explain: cases/common/22 is dirty
  12490. ninja explain: output header of phony edge with no inputs doesn't exist
  12491. ninja explain: header is dirty
  12492. ninja explain: output in of phony edge with no inputs doesn't exist
  12493. ninja explain: in is dirty
  12494. ninja explain: output file of phony edge with no inputs doesn't exist
  12495. ninja explain: file is dirty
  12496. ninja explain: output list/prog.c of phony edge with no inputs doesn't exist
  12497. ninja explain: list/prog.c is dirty
  12498. ninja explain: ../../usr/src/meson/meson/test is dirty
  12499. ninja explain: cases/common/22 is dirty
  12500. ninja explain: header is dirty
  12501. ninja explain: in is dirty
  12502. ninja explain: file is dirty
  12503. ninja explain: output list/header.h of phony edge with no inputs doesn't exist
  12504. ninja explain: list/header.h is dirty
  12505. ninja explain: prog@exe/prog.c.o is dirty
  12506. ninja explain: prog is dirty
  12507. [1/2] Compiling C object 'prog@exe/prog.c.o'.
  12508. [2/2] Linking target prog.
  12509.  
  12510.  
  12511. ----------------------------------------------------------------------
  12512. Ran 87 tests in 241.413s
  12513.  
  12514. FAILED (failures=2, errors=12, skipped=8)
  12515. sakuya /usr/src/meson/meson #
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement