Guest User

Untitled

a guest
Jun 19th, 2018
138
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 922.25 KB | None | 0 0
  1. This file contains any messages produced by compilers while
  2. running configure, to aid debugging if configure makes a mistake.
  3.  
  4. It was created by configure, which was
  5. generated by GNU Autoconf 2.69. Invocation command line was
  6.  
  7. $ ./configure --prefix=/usr/share/rvm/rubies/ruby-2.3.0 --disable-install-doc --enable-shared
  8.  
  9. ## --------- ##
  10. ## Platform. ##
  11. ## --------- ##
  12.  
  13. hostname = swe-ThinkPad-X220
  14. uname -m = x86_64
  15. uname -r = 4.15.0-23-generic
  16. uname -s = Linux
  17. uname -v = #25-Ubuntu SMP Wed May 23 18:02:16 UTC 2018
  18.  
  19. /usr/bin/uname -p = unknown
  20. /bin/uname -X = unknown
  21.  
  22. /bin/arch = unknown
  23. /usr/bin/arch -k = unknown
  24. /usr/convex/getsysinfo = unknown
  25. /usr/bin/hostinfo = unknown
  26. /bin/machine = unknown
  27. /usr/bin/oslevel = unknown
  28. /bin/universe = unknown
  29.  
  30. PATH: /usr/local/sbin
  31. PATH: /usr/local/bin
  32. PATH: /usr/sbin
  33. PATH: /usr/bin
  34. PATH: /sbin
  35. PATH: /bin
  36. PATH: /usr/games
  37. PATH: /usr/local/games
  38. PATH: /snap/bin
  39. PATH: /usr/share/rvm/bin
  40. PATH: /home/swe/.rvm/bin
  41. PATH: /home/swe/.rvm/bin
  42. PATH: /home/swe/.rvm/bin
  43.  
  44.  
  45. ## ----------- ##
  46. ## Core tests. ##
  47. ## ----------- ##
  48.  
  49. configure:2927: checking for ruby
  50. configure:2958: result: false
  51. configure:3010: checking build system type
  52. configure:3024: result: x86_64-pc-linux-gnu
  53. configure:3127: checking host system type
  54. configure:3140: result: x86_64-pc-linux-gnu
  55. configure:3160: checking target system type
  56. configure:3173: result: x86_64-pc-linux-gnu
  57. configure:3947: checking for gcc
  58. configure:3963: found /usr/bin/gcc
  59. configure:3974: result: gcc
  60. configure:4203: checking for C compiler version
  61. configure:4212: gcc --version >&5
  62. gcc (Ubuntu 7.3.0-16ubuntu3) 7.3.0
  63. Copyright (C) 2017 Free Software Foundation, Inc.
  64. This is free software; see the source for copying conditions. There is NO
  65. warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  66.  
  67. configure:4223: $? = 0
  68. configure:4212: gcc -v >&5
  69. Using built-in specs.
  70. COLLECT_GCC=gcc
  71. COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/7/lto-wrapper
  72. OFFLOAD_TARGET_NAMES=nvptx-none
  73. OFFLOAD_TARGET_DEFAULT=1
  74. Target: x86_64-linux-gnu
  75. Configured with: ../src/configure -v --with-pkgversion='Ubuntu 7.3.0-16ubuntu3' --with-bugurl=file:///usr/share/doc/gcc-7/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++ --prefix=/usr --with-gcc-major-version-only --with-as=/usr/bin/x86_64-linux-gnu-as --with-ld=/usr/bin/x86_64-linux-gnu-ld --program-suffix=-7 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
  76. Thread model: posix
  77. gcc version 7.3.0 (Ubuntu 7.3.0-16ubuntu3)
  78. configure:4223: $? = 0
  79. configure:4212: gcc -V >&5
  80. gcc: error: unrecognized command line option '-V'
  81. gcc: fatal error: no input files
  82. compilation terminated.
  83. configure:4223: $? = 1
  84. configure:4212: gcc -qversion >&5
  85. gcc: error: unrecognized command line option '-qversion'; did you mean '--version'?
  86. gcc: fatal error: no input files
  87. compilation terminated.
  88. configure:4223: $? = 1
  89. configure:4243: checking whether the C compiler works
  90. configure:4265: gcc conftest.c >&5
  91. configure:4269: $? = 0
  92. configure:4317: result: yes
  93. configure:4320: checking for C compiler default output file name
  94. configure:4322: result: a.out
  95. configure:4328: checking for suffix of executables
  96. configure:4335: gcc -o conftest conftest.c >&5
  97. configure:4339: $? = 0
  98. configure:4361: result:
  99. configure:4383: checking whether we are cross compiling
  100. configure:4391: gcc -o conftest conftest.c >&5
  101. configure:4395: $? = 0
  102. configure:4402: ./conftest
  103. configure:4406: $? = 0
  104. configure:4421: result: no
  105. configure:4426: checking for suffix of object files
  106. configure:4448: gcc -c conftest.c >&5
  107. configure:4452: $? = 0
  108. configure:4473: result: o
  109. configure:4477: checking whether we are using the GNU C compiler
  110. configure:4496: gcc -c conftest.c >&5
  111. configure:4496: $? = 0
  112. configure:4505: result: yes
  113. configure:4514: checking whether gcc accepts -g
  114. configure:4534: gcc -c -g conftest.c >&5
  115. configure:4534: $? = 0
  116. configure:4575: result: yes
  117. configure:4592: checking for gcc option to accept ISO C89
  118. configure:4655: gcc -c -g -O2 conftest.c >&5
  119. configure:4655: $? = 0
  120. configure:4668: result: none needed
  121. configure:4746: checking for g++
  122. configure:4762: found /usr/bin/g++
  123. configure:4773: result: g++
  124. configure:4800: checking for C++ compiler version
  125. configure:4809: g++ --version >&5
  126. g++ (Ubuntu 7.3.0-16ubuntu3) 7.3.0
  127. Copyright (C) 2017 Free Software Foundation, Inc.
  128. This is free software; see the source for copying conditions. There is NO
  129. warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  130.  
  131. configure:4820: $? = 0
  132. configure:4809: g++ -v >&5
  133. Using built-in specs.
  134. COLLECT_GCC=g++
  135. COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/7/lto-wrapper
  136. OFFLOAD_TARGET_NAMES=nvptx-none
  137. OFFLOAD_TARGET_DEFAULT=1
  138. Target: x86_64-linux-gnu
  139. Configured with: ../src/configure -v --with-pkgversion='Ubuntu 7.3.0-16ubuntu3' --with-bugurl=file:///usr/share/doc/gcc-7/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++ --prefix=/usr --with-gcc-major-version-only --with-as=/usr/bin/x86_64-linux-gnu-as --with-ld=/usr/bin/x86_64-linux-gnu-ld --program-suffix=-7 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
  140. Thread model: posix
  141. gcc version 7.3.0 (Ubuntu 7.3.0-16ubuntu3)
  142. configure:4820: $? = 0
  143. configure:4809: g++ -V >&5
  144. g++: error: unrecognized command line option '-V'
  145. g++: fatal error: no input files
  146. compilation terminated.
  147. configure:4820: $? = 1
  148. configure:4809: g++ -qversion >&5
  149. g++: error: unrecognized command line option '-qversion'; did you mean '--version'?
  150. g++: fatal error: no input files
  151. compilation terminated.
  152. configure:4820: $? = 1
  153. configure:4824: checking whether we are using the GNU C++ compiler
  154. configure:4843: g++ -c conftest.cpp >&5
  155. configure:4843: $? = 0
  156. configure:4852: result: yes
  157. configure:4861: checking whether g++ accepts -g
  158. configure:4881: g++ -c -g conftest.cpp >&5
  159. configure:4881: $? = 0
  160. configure:4922: result: yes
  161. configure:4951: checking how to run the C preprocessor
  162. configure:4982: gcc -E conftest.c
  163. configure:4982: $? = 0
  164. configure:4996: gcc -E conftest.c
  165. conftest.c:10:10: fatal error: ac_nonexistent.h: No such file or directory
  166. #include <ac_nonexistent.h>
  167. ^~~~~~~~~~~~~~~~~~
  168. compilation terminated.
  169. configure:4996: $? = 1
  170. configure: failed program was:
  171. | /* confdefs.h */
  172. | #define PACKAGE_NAME ""
  173. | #define PACKAGE_TARNAME ""
  174. | #define PACKAGE_VERSION ""
  175. | #define PACKAGE_STRING ""
  176. | #define PACKAGE_BUGREPORT ""
  177. | #define PACKAGE_URL ""
  178. | #define CANONICALIZATION_FOR_MATHN 1
  179. | /* end confdefs.h. */
  180. | #include <ac_nonexistent.h>
  181. configure:5021: result: gcc -E
  182. configure:5041: gcc -E conftest.c
  183. configure:5041: $? = 0
  184. configure:5055: gcc -E conftest.c
  185. conftest.c:10:10: fatal error: ac_nonexistent.h: No such file or directory
  186. #include <ac_nonexistent.h>
  187. ^~~~~~~~~~~~~~~~~~
  188. compilation terminated.
  189. configure:5055: $? = 1
  190. configure: failed program was:
  191. | /* confdefs.h */
  192. | #define PACKAGE_NAME ""
  193. | #define PACKAGE_TARNAME ""
  194. | #define PACKAGE_VERSION ""
  195. | #define PACKAGE_STRING ""
  196. | #define PACKAGE_BUGREPORT ""
  197. | #define PACKAGE_URL ""
  198. | #define CANONICALIZATION_FOR_MATHN 1
  199. | /* end confdefs.h. */
  200. | #include <ac_nonexistent.h>
  201. configure:5135: checking for grep that handles long lines and -e
  202. configure:5193: result: /bin/grep
  203. configure:5198: checking for egrep
  204. configure:5260: result: /bin/grep -E
  205. configure:5266: checking whether gcc needs -traditional
  206. configure:5300: result: no
  207. configure:5454: checking for ld
  208. configure:5470: found /usr/bin/ld
  209. configure:5481: result: ld
  210. configure:5517: checking whether the linker is GNU ld
  211. configure:5529: result: yes
  212. configure:5533: checking whether gcc -E accepts -o
  213. configure:5545: gcc -E -o conftest-1.i conftest.c
  214. configure:5545: $? = 0
  215. configure:5552: result: yes
  216. configure:5853: checking for ranlib
  217. configure:5869: found /usr/bin/ranlib
  218. configure:5880: result: ranlib
  219. configure:5945: checking for ar
  220. configure:5961: found /usr/bin/ar
  221. configure:5972: result: ar
  222. configure:6083: checking for as
  223. configure:6099: found /usr/bin/as
  224. configure:6110: result: as
  225. configure:6192: checking for objdump
  226. configure:6208: found /usr/bin/objdump
  227. configure:6219: result: objdump
  228. configure:6292: checking for objcopy
  229. configure:6308: found /usr/bin/objcopy
  230. configure:6319: result: objcopy
  231. configure:6736: checking for nm
  232. configure:6752: found /usr/bin/nm
  233. configure:6763: result: nm
  234. configure:6786: checking whether ln -s works
  235. configure:6790: result: yes
  236. configure:6797: checking whether make sets $(MAKE)
  237. configure:6819: result: yes
  238. configure:6842: checking for a BSD-compatible install
  239. configure:6910: result: /usr/bin/install -c
  240. configure:6921: checking for a thread-safe mkdir -p
  241. configure:6960: result: /bin/mkdir -p
  242. configure:6980: checking for dtrace
  243. configure:7010: result: no
  244. configure:7059: checking for dot
  245. configure:7089: result: no
  246. configure:7101: checking for doxygen
  247. configure:7131: result: no
  248. configure:7187: checking for pkg-config
  249. configure:7208: found /usr/bin/pkg-config
  250. configure:7231: result: pkg-config
  251. configure:7241: checking for ANSI C header files
  252. configure:7261: gcc -c -g -O2 conftest.c >&5
  253. configure:7261: $? = 0
  254. configure:7334: gcc -o conftest -g -O2 conftest.c >&5
  255. configure:7334: $? = 0
  256. configure:7334: ./conftest
  257. configure:7334: $? = 0
  258. configure:7345: result: yes
  259. configure:7358: checking for sys/types.h
  260. configure:7358: gcc -c -g -O2 conftest.c >&5
  261. configure:7358: $? = 0
  262. configure:7358: result: yes
  263. configure:7358: checking for sys/stat.h
  264. configure:7358: gcc -c -g -O2 conftest.c >&5
  265. configure:7358: $? = 0
  266. configure:7358: result: yes
  267. configure:7358: checking for stdlib.h
  268. configure:7358: gcc -c -g -O2 conftest.c >&5
  269. configure:7358: $? = 0
  270. configure:7358: result: yes
  271. configure:7358: checking for string.h
  272. configure:7358: gcc -c -g -O2 conftest.c >&5
  273. configure:7358: $? = 0
  274. configure:7358: result: yes
  275. configure:7358: checking for memory.h
  276. configure:7358: gcc -c -g -O2 conftest.c >&5
  277. configure:7358: $? = 0
  278. configure:7358: result: yes
  279. configure:7358: checking for strings.h
  280. configure:7358: gcc -c -g -O2 conftest.c >&5
  281. configure:7358: $? = 0
  282. configure:7358: result: yes
  283. configure:7358: checking for inttypes.h
  284. configure:7358: gcc -c -g -O2 conftest.c >&5
  285. configure:7358: $? = 0
  286. configure:7358: result: yes
  287. configure:7358: checking for stdint.h
  288. configure:7358: gcc -c -g -O2 conftest.c >&5
  289. configure:7358: $? = 0
  290. configure:7358: result: yes
  291. configure:7358: checking for unistd.h
  292. configure:7358: gcc -c -g -O2 conftest.c >&5
  293. configure:7358: $? = 0
  294. configure:7358: result: yes
  295. configure:7371: checking minix/config.h usability
  296. configure:7371: gcc -c -g -O2 conftest.c >&5
  297. conftest.c:53:10: fatal error: minix/config.h: No such file or directory
  298. #include <minix/config.h>
  299. ^~~~~~~~~~~~~~~~
  300. compilation terminated.
  301. configure:7371: $? = 1
  302. configure: failed program was:
  303. | /* confdefs.h */
  304. | #define PACKAGE_NAME ""
  305. | #define PACKAGE_TARNAME ""
  306. | #define PACKAGE_VERSION ""
  307. | #define PACKAGE_STRING ""
  308. | #define PACKAGE_BUGREPORT ""
  309. | #define PACKAGE_URL ""
  310. | #define CANONICALIZATION_FOR_MATHN 1
  311. | #define STDC_HEADERS 1
  312. | #define HAVE_SYS_TYPES_H 1
  313. | #define HAVE_SYS_STAT_H 1
  314. | #define HAVE_STDLIB_H 1
  315. | #define HAVE_STRING_H 1
  316. | #define HAVE_MEMORY_H 1
  317. | #define HAVE_STRINGS_H 1
  318. | #define HAVE_INTTYPES_H 1
  319. | #define HAVE_STDINT_H 1
  320. | #define HAVE_UNISTD_H 1
  321. | /* end confdefs.h. */
  322. | #include <stdio.h>
  323. | #ifdef HAVE_SYS_TYPES_H
  324. | # include <sys/types.h>
  325. | #endif
  326. | #ifdef HAVE_SYS_STAT_H
  327. | # include <sys/stat.h>
  328. | #endif
  329. | #ifdef STDC_HEADERS
  330. | # include <stdlib.h>
  331. | # include <stddef.h>
  332. | #else
  333. | # ifdef HAVE_STDLIB_H
  334. | # include <stdlib.h>
  335. | # endif
  336. | #endif
  337. | #ifdef HAVE_STRING_H
  338. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  339. | # include <memory.h>
  340. | # endif
  341. | # include <string.h>
  342. | #endif
  343. | #ifdef HAVE_STRINGS_H
  344. | # include <strings.h>
  345. | #endif
  346. | #ifdef HAVE_INTTYPES_H
  347. | # include <inttypes.h>
  348. | #endif
  349. | #ifdef HAVE_STDINT_H
  350. | # include <stdint.h>
  351. | #endif
  352. | #ifdef HAVE_UNISTD_H
  353. | # include <unistd.h>
  354. | #endif
  355. | #include <minix/config.h>
  356. configure:7371: result: no
  357. configure:7371: checking minix/config.h presence
  358. configure:7371: gcc -E conftest.c
  359. conftest.c:20:10: fatal error: minix/config.h: No such file or directory
  360. #include <minix/config.h>
  361. ^~~~~~~~~~~~~~~~
  362. compilation terminated.
  363. configure:7371: $? = 1
  364. configure: failed program was:
  365. | /* confdefs.h */
  366. | #define PACKAGE_NAME ""
  367. | #define PACKAGE_TARNAME ""
  368. | #define PACKAGE_VERSION ""
  369. | #define PACKAGE_STRING ""
  370. | #define PACKAGE_BUGREPORT ""
  371. | #define PACKAGE_URL ""
  372. | #define CANONICALIZATION_FOR_MATHN 1
  373. | #define STDC_HEADERS 1
  374. | #define HAVE_SYS_TYPES_H 1
  375. | #define HAVE_SYS_STAT_H 1
  376. | #define HAVE_STDLIB_H 1
  377. | #define HAVE_STRING_H 1
  378. | #define HAVE_MEMORY_H 1
  379. | #define HAVE_STRINGS_H 1
  380. | #define HAVE_INTTYPES_H 1
  381. | #define HAVE_STDINT_H 1
  382. | #define HAVE_UNISTD_H 1
  383. | /* end confdefs.h. */
  384. | #include <minix/config.h>
  385. configure:7371: result: no
  386. configure:7371: checking for minix/config.h
  387. configure:7371: result: no
  388. configure:7392: checking whether it is safe to define __EXTENSIONS__
  389. configure:7410: gcc -c -g -O2 conftest.c >&5
  390. configure:7410: $? = 0
  391. configure:7417: result: yes
  392. configure:7449: checking for cd using physical directory
  393. configure:7464: result: cd -P
  394. configure:7482: checking whether CFLAGS is valid
  395. configure:7495: gcc -c -g -O2 conftest.c >&5
  396. configure:7495: $? = 0
  397. configure:7496: result: yes
  398. configure:7507: checking whether LDFLAGS is valid
  399. configure:7527: gcc -o conftest -g -O2 conftest.c >&5
  400. configure:7527: $? = 0
  401. configure:7528: result: yes
  402. configure:7595: checking whether -Wno-unused-parameter is accepted as CFLAGS
  403. configure:7618: gcc -c -g -O2 -Wno-unused-parameter conftest.c >&5
  404. configure:7618: $? = 0
  405. configure:7633: result: yes
  406. configure:7595: checking whether -Wno-parentheses is accepted as CFLAGS
  407. configure:7618: gcc -c -g -O2 -Wno-parentheses conftest.c >&5
  408. configure:7618: $? = 0
  409. configure:7633: result: yes
  410. configure:7595: checking whether -Wno-long-long is accepted as CFLAGS
  411. configure:7618: gcc -c -g -O2 -Wno-long-long conftest.c >&5
  412. configure:7618: $? = 0
  413. configure:7633: result: yes
  414. configure:7595: checking whether -Wno-missing-field-initializers is accepted as CFLAGS
  415. configure:7618: gcc -c -g -O2 -Wno-missing-field-initializers conftest.c >&5
  416. configure:7618: $? = 0
  417. configure:7633: result: yes
  418. configure:7595: checking whether -Wunused-variable is accepted as CFLAGS
  419. configure:7618: gcc -c -g -O2 -Wunused-variable conftest.c >&5
  420. configure:7618: $? = 0
  421. configure:7633: result: yes
  422. configure:7595: checking whether -Wpointer-arith is accepted as CFLAGS
  423. configure:7618: gcc -c -g -O2 -Wpointer-arith conftest.c >&5
  424. configure:7618: $? = 0
  425. configure:7633: result: yes
  426. configure:7595: checking whether -Wwrite-strings is accepted as CFLAGS
  427. configure:7618: gcc -c -g -O2 -Wwrite-strings conftest.c >&5
  428. configure:7618: $? = 0
  429. configure:7633: result: yes
  430. configure:7595: checking whether -Wdeclaration-after-statement is accepted as CFLAGS
  431. configure:7618: gcc -c -g -O2 -Wdeclaration-after-statement conftest.c >&5
  432. configure:7618: $? = 0
  433. configure:7633: result: yes
  434. configure:7595: checking whether -Wshorten-64-to-32 is accepted as CFLAGS
  435. configure:7618: gcc -c -g -O2 -Wshorten-64-to-32 conftest.c >&5
  436. gcc: error: unrecognized command line option '-Wshorten-64-to-32'
  437. configure:7618: $? = 1
  438. configure: failed program was:
  439. | /* confdefs.h */
  440. | #define PACKAGE_NAME ""
  441. | #define PACKAGE_TARNAME ""
  442. | #define PACKAGE_VERSION ""
  443. | #define PACKAGE_STRING ""
  444. | #define PACKAGE_BUGREPORT ""
  445. | #define PACKAGE_URL ""
  446. | #define CANONICALIZATION_FOR_MATHN 1
  447. | #define STDC_HEADERS 1
  448. | #define HAVE_SYS_TYPES_H 1
  449. | #define HAVE_SYS_STAT_H 1
  450. | #define HAVE_STDLIB_H 1
  451. | #define HAVE_STRING_H 1
  452. | #define HAVE_MEMORY_H 1
  453. | #define HAVE_STRINGS_H 1
  454. | #define HAVE_INTTYPES_H 1
  455. | #define HAVE_STDINT_H 1
  456. | #define HAVE_UNISTD_H 1
  457. | #define __EXTENSIONS__ 1
  458. | #define _ALL_SOURCE 1
  459. | #define _GNU_SOURCE 1
  460. | #define _POSIX_PTHREAD_SEMANTICS 1
  461. | #define _TANDEM_SOURCE 1
  462. | /* end confdefs.h. */
  463. |
  464. | int
  465. | main ()
  466. | {
  467. |
  468. | ;
  469. | return 0;
  470. | }
  471. configure:7637: result: no
  472. configure:7595: checking whether -Wimplicit-function-declaration is accepted as CFLAGS
  473. configure:7618: gcc -c -g -O2 -Wimplicit-function-declaration conftest.c >&5
  474. configure:7618: $? = 0
  475. configure:7633: result: yes
  476. configure:7595: checking whether -Wdivision-by-zero is accepted as CFLAGS
  477. configure:7618: gcc -c -g -O2 -Wdivision-by-zero conftest.c >&5
  478. gcc: error: unrecognized command line option '-Wdivision-by-zero'; did you mean '-Wdiv-by-zero'?
  479. configure:7618: $? = 1
  480. configure: failed program was:
  481. | /* confdefs.h */
  482. | #define PACKAGE_NAME ""
  483. | #define PACKAGE_TARNAME ""
  484. | #define PACKAGE_VERSION ""
  485. | #define PACKAGE_STRING ""
  486. | #define PACKAGE_BUGREPORT ""
  487. | #define PACKAGE_URL ""
  488. | #define CANONICALIZATION_FOR_MATHN 1
  489. | #define STDC_HEADERS 1
  490. | #define HAVE_SYS_TYPES_H 1
  491. | #define HAVE_SYS_STAT_H 1
  492. | #define HAVE_STDLIB_H 1
  493. | #define HAVE_STRING_H 1
  494. | #define HAVE_MEMORY_H 1
  495. | #define HAVE_STRINGS_H 1
  496. | #define HAVE_INTTYPES_H 1
  497. | #define HAVE_STDINT_H 1
  498. | #define HAVE_UNISTD_H 1
  499. | #define __EXTENSIONS__ 1
  500. | #define _ALL_SOURCE 1
  501. | #define _GNU_SOURCE 1
  502. | #define _POSIX_PTHREAD_SEMANTICS 1
  503. | #define _TANDEM_SOURCE 1
  504. | /* end confdefs.h. */
  505. |
  506. | int
  507. | main ()
  508. | {
  509. |
  510. | ;
  511. | return 0;
  512. | }
  513. configure:7637: result: no
  514. configure:7595: checking whether -Wdeprecated-declarations is accepted as CFLAGS
  515. configure:7618: gcc -c -g -O2 -Wdeprecated-declarations conftest.c >&5
  516. configure:7618: $? = 0
  517. configure:7633: result: yes
  518. configure:7595: checking whether -Wno-packed-bitfield-compat is accepted as CFLAGS
  519. configure:7618: gcc -c -g -O2 -Wno-packed-bitfield-compat conftest.c >&5
  520. configure:7618: $? = 0
  521. configure:7633: result: yes
  522. configure:7595: checking whether -Wextra-tokens is accepted as CFLAGS
  523. configure:7618: gcc -c -g -O2 -Wextra-tokens conftest.c >&5
  524. gcc: error: unrecognized command line option '-Wextra-tokens'; did you mean '--extra-warnings'?
  525. configure:7618: $? = 1
  526. configure: failed program was:
  527. | /* confdefs.h */
  528. | #define PACKAGE_NAME ""
  529. | #define PACKAGE_TARNAME ""
  530. | #define PACKAGE_VERSION ""
  531. | #define PACKAGE_STRING ""
  532. | #define PACKAGE_BUGREPORT ""
  533. | #define PACKAGE_URL ""
  534. | #define CANONICALIZATION_FOR_MATHN 1
  535. | #define STDC_HEADERS 1
  536. | #define HAVE_SYS_TYPES_H 1
  537. | #define HAVE_SYS_STAT_H 1
  538. | #define HAVE_STDLIB_H 1
  539. | #define HAVE_STRING_H 1
  540. | #define HAVE_MEMORY_H 1
  541. | #define HAVE_STRINGS_H 1
  542. | #define HAVE_INTTYPES_H 1
  543. | #define HAVE_STDINT_H 1
  544. | #define HAVE_UNISTD_H 1
  545. | #define __EXTENSIONS__ 1
  546. | #define _ALL_SOURCE 1
  547. | #define _GNU_SOURCE 1
  548. | #define _POSIX_PTHREAD_SEMANTICS 1
  549. | #define _TANDEM_SOURCE 1
  550. | /* end confdefs.h. */
  551. |
  552. | int
  553. | main ()
  554. | {
  555. |
  556. | ;
  557. | return 0;
  558. | }
  559. configure:7637: result: no
  560. configure:7722: checking whether -Wall -Wextra is accepted as CFLAGS
  561. configure:7745: gcc -c -g -O2 -Wall -Wextra conftest.c >&5
  562. configure:7745: $? = 0
  563. configure:7747: result: yes
  564. configure:7769: checking whether -Qunused-arguments is accepted as CFLAGS
  565. configure:7792: gcc -c -g -O2 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat -Qunused-arguments conftest.c >&5
  566. gcc: error: unrecognized command line option '-Qunused-arguments'; did you mean '-Wunused-parameter'?
  567. configure:7792: $? = 1
  568. configure: failed program was:
  569. | /* confdefs.h */
  570. | #define PACKAGE_NAME ""
  571. | #define PACKAGE_TARNAME ""
  572. | #define PACKAGE_VERSION ""
  573. | #define PACKAGE_STRING ""
  574. | #define PACKAGE_BUGREPORT ""
  575. | #define PACKAGE_URL ""
  576. | #define CANONICALIZATION_FOR_MATHN 1
  577. | #define STDC_HEADERS 1
  578. | #define HAVE_SYS_TYPES_H 1
  579. | #define HAVE_SYS_STAT_H 1
  580. | #define HAVE_STDLIB_H 1
  581. | #define HAVE_STRING_H 1
  582. | #define HAVE_MEMORY_H 1
  583. | #define HAVE_STRINGS_H 1
  584. | #define HAVE_INTTYPES_H 1
  585. | #define HAVE_STDINT_H 1
  586. | #define HAVE_UNISTD_H 1
  587. | #define __EXTENSIONS__ 1
  588. | #define _ALL_SOURCE 1
  589. | #define _GNU_SOURCE 1
  590. | #define _POSIX_PTHREAD_SEMANTICS 1
  591. | #define _TANDEM_SOURCE 1
  592. | /* end confdefs.h. */
  593. |
  594. | int
  595. | main ()
  596. | {
  597. |
  598. | ;
  599. | return 0;
  600. | }
  601. configure:7808: result: no
  602. configure:7824: checking whether INFINITY is available without C99 option
  603. configure:7848: gcc -c -g -O2 conftest.c >&5
  604. configure:7848: $? = 0
  605. configure:7856: result: yes
  606. configure:7824: checking whether NAN is available without C99 option
  607. configure:7848: gcc -c -g -O2 conftest.c >&5
  608. configure:7848: $? = 0
  609. configure:7856: result: yes
  610. configure:7880: checking whether -D_FORTIFY_SOURCE=2 is accepted as CFLAGS
  611. configure:7903: gcc -c -g -O2 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat -D_FORTIFY_SOURCE=2 conftest.c >&5
  612. configure:7903: $? = 0
  613. configure:7913: result: yes
  614. configure:7944: checking whether -fstack-protector is accepted as CFLAGS
  615. configure:7967: gcc -c -g -O2 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat -fstack-protector conftest.c >&5
  616. configure:7967: $? = 0
  617. configure:7969: result: yes
  618. configure:7990: checking whether -fstack-protector is accepted as LDFLAGS
  619. configure:8012: gcc -o conftest -g -O2 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat -fstack-protector conftest.c >&5
  620. configure:8012: $? = 0
  621. configure:8014: result: yes
  622. configure:8084: checking whether -std=iso9899:1999 is accepted as CFLAGS
  623. configure:8107: gcc -c -g -O2 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat -std=iso9899:1999 conftest.c >&5
  624. configure:8107: $? = 0
  625. configure:8132: result: yes
  626. configure:8156: checking whether -fno-strict-overflow is accepted as CFLAGS
  627. configure:8179: gcc -c -g -O2 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat -fno-strict-overflow conftest.c >&5
  628. configure:8179: $? = 0
  629. configure:8189: result: yes
  630. configure:8208: checking whether -ggdb3 is accepted as CFLAGS
  631. configure:8231: gcc -c -g -O2 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat -ggdb3 conftest.c >&5
  632. configure:8231: $? = 0
  633. configure:8233: result: yes
  634. configure:8350: checking whether -fvisibility=hidden is accepted as CFLAGS
  635. configure:8373: gcc -c -g -O2 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat -fvisibility=hidden conftest.c >&5
  636. configure:8373: $? = 0
  637. configure:8375: result: yes
  638. configure:8572: checking whether -fno-fast-math is accepted as CFLAGS
  639. configure:8595: gcc -c -g -O2 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat -fno-fast-math conftest.c >&5
  640. configure:8595: $? = 0
  641. configure:8605: result: yes
  642. configure:9204: checking for crypt in -lcrypt
  643. configure:9229: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lcrypt -lm >&5
  644. configure:9229: $? = 0
  645. configure:9238: result: yes
  646. configure:9249: checking for dlopen in -ldl
  647. configure:9274: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -ldl -lcrypt -lm >&5
  648. configure:9274: $? = 0
  649. configure:9283: result: yes
  650. configure:9294: checking for shl_load in -ldld
  651. configure:9319: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -ldld -ldl -lcrypt -lm >&5
  652. /usr/bin/x86_64-linux-gnu-ld: cannot find -ldld
  653. collect2: error: ld returned 1 exit status
  654. configure:9319: $? = 1
  655. configure: failed program was:
  656. | /* confdefs.h */
  657. | #define PACKAGE_NAME ""
  658. | #define PACKAGE_TARNAME ""
  659. | #define PACKAGE_VERSION ""
  660. | #define PACKAGE_STRING ""
  661. | #define PACKAGE_BUGREPORT ""
  662. | #define PACKAGE_URL ""
  663. | #define CANONICALIZATION_FOR_MATHN 1
  664. | #define STDC_HEADERS 1
  665. | #define HAVE_SYS_TYPES_H 1
  666. | #define HAVE_SYS_STAT_H 1
  667. | #define HAVE_STDLIB_H 1
  668. | #define HAVE_STRING_H 1
  669. | #define HAVE_MEMORY_H 1
  670. | #define HAVE_STRINGS_H 1
  671. | #define HAVE_INTTYPES_H 1
  672. | #define HAVE_STDINT_H 1
  673. | #define HAVE_UNISTD_H 1
  674. | #define __EXTENSIONS__ 1
  675. | #define _ALL_SOURCE 1
  676. | #define _GNU_SOURCE 1
  677. | #define _POSIX_PTHREAD_SEMANTICS 1
  678. | #define _TANDEM_SOURCE 1
  679. | #define HAVE_INFINITY 1
  680. | #define HAVE_NAN 1
  681. | #define RUBY_SYMBOL_EXPORT_BEGIN _Pragma("GCC visibility push(default)")
  682. | #define RUBY_SYMBOL_EXPORT_END _Pragma("GCC visibility pop")
  683. | #define HAVE_LIBCRYPT 1
  684. | #define HAVE_LIBDL 1
  685. | /* end confdefs.h. */
  686. |
  687. | /* Override any GCC internal prototype to avoid an error.
  688. | Use char because int might match the return type of a GCC
  689. | builtin and then its argument prototype would still apply. */
  690. | #ifdef __cplusplus
  691. | extern "C"
  692. | #endif
  693. | char shl_load ();
  694. | int
  695. | main ()
  696. | {
  697. | return shl_load ();
  698. | ;
  699. | return 0;
  700. | }
  701. configure:9328: result: no
  702. configure:9339: checking for shutdown in -lsocket
  703. configure:9364: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lsocket -ldl -lcrypt -lm >&5
  704. /usr/bin/x86_64-linux-gnu-ld: cannot find -lsocket
  705. collect2: error: ld returned 1 exit status
  706. configure:9364: $? = 1
  707. configure: failed program was:
  708. | /* confdefs.h */
  709. | #define PACKAGE_NAME ""
  710. | #define PACKAGE_TARNAME ""
  711. | #define PACKAGE_VERSION ""
  712. | #define PACKAGE_STRING ""
  713. | #define PACKAGE_BUGREPORT ""
  714. | #define PACKAGE_URL ""
  715. | #define CANONICALIZATION_FOR_MATHN 1
  716. | #define STDC_HEADERS 1
  717. | #define HAVE_SYS_TYPES_H 1
  718. | #define HAVE_SYS_STAT_H 1
  719. | #define HAVE_STDLIB_H 1
  720. | #define HAVE_STRING_H 1
  721. | #define HAVE_MEMORY_H 1
  722. | #define HAVE_STRINGS_H 1
  723. | #define HAVE_INTTYPES_H 1
  724. | #define HAVE_STDINT_H 1
  725. | #define HAVE_UNISTD_H 1
  726. | #define __EXTENSIONS__ 1
  727. | #define _ALL_SOURCE 1
  728. | #define _GNU_SOURCE 1
  729. | #define _POSIX_PTHREAD_SEMANTICS 1
  730. | #define _TANDEM_SOURCE 1
  731. | #define HAVE_INFINITY 1
  732. | #define HAVE_NAN 1
  733. | #define RUBY_SYMBOL_EXPORT_BEGIN _Pragma("GCC visibility push(default)")
  734. | #define RUBY_SYMBOL_EXPORT_END _Pragma("GCC visibility pop")
  735. | #define HAVE_LIBCRYPT 1
  736. | #define HAVE_LIBDL 1
  737. | /* end confdefs.h. */
  738. |
  739. | /* Override any GCC internal prototype to avoid an error.
  740. | Use char because int might match the return type of a GCC
  741. | builtin and then its argument prototype would still apply. */
  742. | #ifdef __cplusplus
  743. | extern "C"
  744. | #endif
  745. | char shutdown ();
  746. | int
  747. | main ()
  748. | {
  749. | return shutdown ();
  750. | ;
  751. | return 0;
  752. | }
  753. configure:9373: result: no
  754. configure:9388: checking for dirent.h that defines DIR
  755. configure:9407: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  756. configure:9407: $? = 0
  757. configure:9415: result: yes
  758. configure:9428: checking for library containing opendir
  759. configure:9459: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -ldl -lcrypt -lm >&5
  760. configure:9459: $? = 0
  761. configure:9476: result: none required
  762. configure:9543: checking for stdbool.h that conforms to C99
  763. configure:9610: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  764. configure:9610: $? = 0
  765. configure:9617: result: yes
  766. configure:9619: checking for _Bool
  767. configure:9619: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  768. configure:9619: $? = 0
  769. configure:9619: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  770. conftest.c: In function 'main':
  771. conftest.c:68:20: error: expected expression before ')' token
  772. if (sizeof ((_Bool)))
  773. ^
  774. configure:9619: $? = 1
  775. configure: failed program was:
  776. | /* confdefs.h */
  777. | #define PACKAGE_NAME ""
  778. | #define PACKAGE_TARNAME ""
  779. | #define PACKAGE_VERSION ""
  780. | #define PACKAGE_STRING ""
  781. | #define PACKAGE_BUGREPORT ""
  782. | #define PACKAGE_URL ""
  783. | #define CANONICALIZATION_FOR_MATHN 1
  784. | #define STDC_HEADERS 1
  785. | #define HAVE_SYS_TYPES_H 1
  786. | #define HAVE_SYS_STAT_H 1
  787. | #define HAVE_STDLIB_H 1
  788. | #define HAVE_STRING_H 1
  789. | #define HAVE_MEMORY_H 1
  790. | #define HAVE_STRINGS_H 1
  791. | #define HAVE_INTTYPES_H 1
  792. | #define HAVE_STDINT_H 1
  793. | #define HAVE_UNISTD_H 1
  794. | #define __EXTENSIONS__ 1
  795. | #define _ALL_SOURCE 1
  796. | #define _GNU_SOURCE 1
  797. | #define _POSIX_PTHREAD_SEMANTICS 1
  798. | #define _TANDEM_SOURCE 1
  799. | #define HAVE_INFINITY 1
  800. | #define HAVE_NAN 1
  801. | #define RUBY_SYMBOL_EXPORT_BEGIN _Pragma("GCC visibility push(default)")
  802. | #define RUBY_SYMBOL_EXPORT_END _Pragma("GCC visibility pop")
  803. | #define HAVE_LIBCRYPT 1
  804. | #define HAVE_LIBDL 1
  805. | #define HAVE_DIRENT_H 1
  806. | /* end confdefs.h. */
  807. | #include <stdio.h>
  808. | #ifdef HAVE_SYS_TYPES_H
  809. | # include <sys/types.h>
  810. | #endif
  811. | #ifdef HAVE_SYS_STAT_H
  812. | # include <sys/stat.h>
  813. | #endif
  814. | #ifdef STDC_HEADERS
  815. | # include <stdlib.h>
  816. | # include <stddef.h>
  817. | #else
  818. | # ifdef HAVE_STDLIB_H
  819. | # include <stdlib.h>
  820. | # endif
  821. | #endif
  822. | #ifdef HAVE_STRING_H
  823. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  824. | # include <memory.h>
  825. | # endif
  826. | # include <string.h>
  827. | #endif
  828. | #ifdef HAVE_STRINGS_H
  829. | # include <strings.h>
  830. | #endif
  831. | #ifdef HAVE_INTTYPES_H
  832. | # include <inttypes.h>
  833. | #endif
  834. | #ifdef HAVE_STDINT_H
  835. | # include <stdint.h>
  836. | #endif
  837. | #ifdef HAVE_UNISTD_H
  838. | # include <unistd.h>
  839. | #endif
  840. | int
  841. | main ()
  842. | {
  843. | if (sizeof ((_Bool)))
  844. | return 0;
  845. | ;
  846. | return 0;
  847. | }
  848. configure:9619: result: yes
  849. configure:9636: checking for sys/wait.h that is POSIX.1 compatible
  850. configure:9662: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  851. configure:9662: $? = 0
  852. configure:9669: result: yes
  853. configure:9680: checking a.out.h usability
  854. configure:9680: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  855. configure:9680: $? = 0
  856. configure:9680: result: yes
  857. configure:9680: checking a.out.h presence
  858. configure:9680: gcc -E conftest.c
  859. configure:9680: $? = 0
  860. configure:9680: result: yes
  861. configure:9680: checking for a.out.h
  862. configure:9680: result: yes
  863. configure:9692: checking atomic.h usability
  864. configure:9692: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  865. conftest.c:69:10: fatal error: atomic.h: No such file or directory
  866. #include <atomic.h>
  867. ^~~~~~~~~~
  868. compilation terminated.
  869. configure:9692: $? = 1
  870. configure: failed program was:
  871. | /* confdefs.h */
  872. | #define PACKAGE_NAME ""
  873. | #define PACKAGE_TARNAME ""
  874. | #define PACKAGE_VERSION ""
  875. | #define PACKAGE_STRING ""
  876. | #define PACKAGE_BUGREPORT ""
  877. | #define PACKAGE_URL ""
  878. | #define CANONICALIZATION_FOR_MATHN 1
  879. | #define STDC_HEADERS 1
  880. | #define HAVE_SYS_TYPES_H 1
  881. | #define HAVE_SYS_STAT_H 1
  882. | #define HAVE_STDLIB_H 1
  883. | #define HAVE_STRING_H 1
  884. | #define HAVE_MEMORY_H 1
  885. | #define HAVE_STRINGS_H 1
  886. | #define HAVE_INTTYPES_H 1
  887. | #define HAVE_STDINT_H 1
  888. | #define HAVE_UNISTD_H 1
  889. | #define __EXTENSIONS__ 1
  890. | #define _ALL_SOURCE 1
  891. | #define _GNU_SOURCE 1
  892. | #define _POSIX_PTHREAD_SEMANTICS 1
  893. | #define _TANDEM_SOURCE 1
  894. | #define HAVE_INFINITY 1
  895. | #define HAVE_NAN 1
  896. | #define RUBY_SYMBOL_EXPORT_BEGIN _Pragma("GCC visibility push(default)")
  897. | #define RUBY_SYMBOL_EXPORT_END _Pragma("GCC visibility pop")
  898. | #define HAVE_LIBCRYPT 1
  899. | #define HAVE_LIBDL 1
  900. | #define HAVE_DIRENT_H 1
  901. | #define HAVE__BOOL 1
  902. | #define HAVE_STDBOOL_H 1
  903. | #define HAVE_SYS_WAIT_H 1
  904. | #define HAVE_A_OUT_H 1
  905. | /* end confdefs.h. */
  906. | #include <stdio.h>
  907. | #ifdef HAVE_SYS_TYPES_H
  908. | # include <sys/types.h>
  909. | #endif
  910. | #ifdef HAVE_SYS_STAT_H
  911. | # include <sys/stat.h>
  912. | #endif
  913. | #ifdef STDC_HEADERS
  914. | # include <stdlib.h>
  915. | # include <stddef.h>
  916. | #else
  917. | # ifdef HAVE_STDLIB_H
  918. | # include <stdlib.h>
  919. | # endif
  920. | #endif
  921. | #ifdef HAVE_STRING_H
  922. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  923. | # include <memory.h>
  924. | # endif
  925. | # include <string.h>
  926. | #endif
  927. | #ifdef HAVE_STRINGS_H
  928. | # include <strings.h>
  929. | #endif
  930. | #ifdef HAVE_INTTYPES_H
  931. | # include <inttypes.h>
  932. | #endif
  933. | #ifdef HAVE_STDINT_H
  934. | # include <stdint.h>
  935. | #endif
  936. | #ifdef HAVE_UNISTD_H
  937. | # include <unistd.h>
  938. | #endif
  939. | #include <atomic.h>
  940. configure:9692: result: no
  941. configure:9692: checking atomic.h presence
  942. configure:9692: gcc -E conftest.c
  943. conftest.c:36:10: fatal error: atomic.h: No such file or directory
  944. #include <atomic.h>
  945. ^~~~~~~~~~
  946. compilation terminated.
  947. configure:9692: $? = 1
  948. configure: failed program was:
  949. | /* confdefs.h */
  950. | #define PACKAGE_NAME ""
  951. | #define PACKAGE_TARNAME ""
  952. | #define PACKAGE_VERSION ""
  953. | #define PACKAGE_STRING ""
  954. | #define PACKAGE_BUGREPORT ""
  955. | #define PACKAGE_URL ""
  956. | #define CANONICALIZATION_FOR_MATHN 1
  957. | #define STDC_HEADERS 1
  958. | #define HAVE_SYS_TYPES_H 1
  959. | #define HAVE_SYS_STAT_H 1
  960. | #define HAVE_STDLIB_H 1
  961. | #define HAVE_STRING_H 1
  962. | #define HAVE_MEMORY_H 1
  963. | #define HAVE_STRINGS_H 1
  964. | #define HAVE_INTTYPES_H 1
  965. | #define HAVE_STDINT_H 1
  966. | #define HAVE_UNISTD_H 1
  967. | #define __EXTENSIONS__ 1
  968. | #define _ALL_SOURCE 1
  969. | #define _GNU_SOURCE 1
  970. | #define _POSIX_PTHREAD_SEMANTICS 1
  971. | #define _TANDEM_SOURCE 1
  972. | #define HAVE_INFINITY 1
  973. | #define HAVE_NAN 1
  974. | #define RUBY_SYMBOL_EXPORT_BEGIN _Pragma("GCC visibility push(default)")
  975. | #define RUBY_SYMBOL_EXPORT_END _Pragma("GCC visibility pop")
  976. | #define HAVE_LIBCRYPT 1
  977. | #define HAVE_LIBDL 1
  978. | #define HAVE_DIRENT_H 1
  979. | #define HAVE__BOOL 1
  980. | #define HAVE_STDBOOL_H 1
  981. | #define HAVE_SYS_WAIT_H 1
  982. | #define HAVE_A_OUT_H 1
  983. | /* end confdefs.h. */
  984. | #include <atomic.h>
  985. configure:9692: result: no
  986. configure:9692: checking for atomic.h
  987. configure:9692: result: no
  988. configure:9704: checking direct.h usability
  989. configure:9704: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  990. conftest.c:69:10: fatal error: direct.h: No such file or directory
  991. #include <direct.h>
  992. ^~~~~~~~~~
  993. compilation terminated.
  994. configure:9704: $? = 1
  995. configure: failed program was:
  996. | /* confdefs.h */
  997. | #define PACKAGE_NAME ""
  998. | #define PACKAGE_TARNAME ""
  999. | #define PACKAGE_VERSION ""
  1000. | #define PACKAGE_STRING ""
  1001. | #define PACKAGE_BUGREPORT ""
  1002. | #define PACKAGE_URL ""
  1003. | #define CANONICALIZATION_FOR_MATHN 1
  1004. | #define STDC_HEADERS 1
  1005. | #define HAVE_SYS_TYPES_H 1
  1006. | #define HAVE_SYS_STAT_H 1
  1007. | #define HAVE_STDLIB_H 1
  1008. | #define HAVE_STRING_H 1
  1009. | #define HAVE_MEMORY_H 1
  1010. | #define HAVE_STRINGS_H 1
  1011. | #define HAVE_INTTYPES_H 1
  1012. | #define HAVE_STDINT_H 1
  1013. | #define HAVE_UNISTD_H 1
  1014. | #define __EXTENSIONS__ 1
  1015. | #define _ALL_SOURCE 1
  1016. | #define _GNU_SOURCE 1
  1017. | #define _POSIX_PTHREAD_SEMANTICS 1
  1018. | #define _TANDEM_SOURCE 1
  1019. | #define HAVE_INFINITY 1
  1020. | #define HAVE_NAN 1
  1021. | #define RUBY_SYMBOL_EXPORT_BEGIN _Pragma("GCC visibility push(default)")
  1022. | #define RUBY_SYMBOL_EXPORT_END _Pragma("GCC visibility pop")
  1023. | #define HAVE_LIBCRYPT 1
  1024. | #define HAVE_LIBDL 1
  1025. | #define HAVE_DIRENT_H 1
  1026. | #define HAVE__BOOL 1
  1027. | #define HAVE_STDBOOL_H 1
  1028. | #define HAVE_SYS_WAIT_H 1
  1029. | #define HAVE_A_OUT_H 1
  1030. | /* end confdefs.h. */
  1031. | #include <stdio.h>
  1032. | #ifdef HAVE_SYS_TYPES_H
  1033. | # include <sys/types.h>
  1034. | #endif
  1035. | #ifdef HAVE_SYS_STAT_H
  1036. | # include <sys/stat.h>
  1037. | #endif
  1038. | #ifdef STDC_HEADERS
  1039. | # include <stdlib.h>
  1040. | # include <stddef.h>
  1041. | #else
  1042. | # ifdef HAVE_STDLIB_H
  1043. | # include <stdlib.h>
  1044. | # endif
  1045. | #endif
  1046. | #ifdef HAVE_STRING_H
  1047. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  1048. | # include <memory.h>
  1049. | # endif
  1050. | # include <string.h>
  1051. | #endif
  1052. | #ifdef HAVE_STRINGS_H
  1053. | # include <strings.h>
  1054. | #endif
  1055. | #ifdef HAVE_INTTYPES_H
  1056. | # include <inttypes.h>
  1057. | #endif
  1058. | #ifdef HAVE_STDINT_H
  1059. | # include <stdint.h>
  1060. | #endif
  1061. | #ifdef HAVE_UNISTD_H
  1062. | # include <unistd.h>
  1063. | #endif
  1064. | #include <direct.h>
  1065. configure:9704: result: no
  1066. configure:9704: checking direct.h presence
  1067. configure:9704: gcc -E conftest.c
  1068. conftest.c:36:10: fatal error: direct.h: No such file or directory
  1069. #include <direct.h>
  1070. ^~~~~~~~~~
  1071. compilation terminated.
  1072. configure:9704: $? = 1
  1073. configure: failed program was:
  1074. | /* confdefs.h */
  1075. | #define PACKAGE_NAME ""
  1076. | #define PACKAGE_TARNAME ""
  1077. | #define PACKAGE_VERSION ""
  1078. | #define PACKAGE_STRING ""
  1079. | #define PACKAGE_BUGREPORT ""
  1080. | #define PACKAGE_URL ""
  1081. | #define CANONICALIZATION_FOR_MATHN 1
  1082. | #define STDC_HEADERS 1
  1083. | #define HAVE_SYS_TYPES_H 1
  1084. | #define HAVE_SYS_STAT_H 1
  1085. | #define HAVE_STDLIB_H 1
  1086. | #define HAVE_STRING_H 1
  1087. | #define HAVE_MEMORY_H 1
  1088. | #define HAVE_STRINGS_H 1
  1089. | #define HAVE_INTTYPES_H 1
  1090. | #define HAVE_STDINT_H 1
  1091. | #define HAVE_UNISTD_H 1
  1092. | #define __EXTENSIONS__ 1
  1093. | #define _ALL_SOURCE 1
  1094. | #define _GNU_SOURCE 1
  1095. | #define _POSIX_PTHREAD_SEMANTICS 1
  1096. | #define _TANDEM_SOURCE 1
  1097. | #define HAVE_INFINITY 1
  1098. | #define HAVE_NAN 1
  1099. | #define RUBY_SYMBOL_EXPORT_BEGIN _Pragma("GCC visibility push(default)")
  1100. | #define RUBY_SYMBOL_EXPORT_END _Pragma("GCC visibility pop")
  1101. | #define HAVE_LIBCRYPT 1
  1102. | #define HAVE_LIBDL 1
  1103. | #define HAVE_DIRENT_H 1
  1104. | #define HAVE__BOOL 1
  1105. | #define HAVE_STDBOOL_H 1
  1106. | #define HAVE_SYS_WAIT_H 1
  1107. | #define HAVE_A_OUT_H 1
  1108. | /* end confdefs.h. */
  1109. | #include <direct.h>
  1110. configure:9704: result: no
  1111. configure:9704: checking for direct.h
  1112. configure:9704: result: no
  1113. configure:9716: checking grp.h usability
  1114. configure:9716: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  1115. configure:9716: $? = 0
  1116. configure:9716: result: yes
  1117. configure:9716: checking grp.h presence
  1118. configure:9716: gcc -E conftest.c
  1119. configure:9716: $? = 0
  1120. configure:9716: result: yes
  1121. configure:9716: checking for grp.h
  1122. configure:9716: result: yes
  1123. configure:9728: checking fcntl.h usability
  1124. configure:9728: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  1125. configure:9728: $? = 0
  1126. configure:9728: result: yes
  1127. configure:9728: checking fcntl.h presence
  1128. configure:9728: gcc -E conftest.c
  1129. configure:9728: $? = 0
  1130. configure:9728: result: yes
  1131. configure:9728: checking for fcntl.h
  1132. configure:9728: result: yes
  1133. configure:9740: checking float.h usability
  1134. configure:9740: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  1135. configure:9740: $? = 0
  1136. configure:9740: result: yes
  1137. configure:9740: checking float.h presence
  1138. configure:9740: gcc -E conftest.c
  1139. configure:9740: $? = 0
  1140. configure:9740: result: yes
  1141. configure:9740: checking for float.h
  1142. configure:9740: result: yes
  1143. configure:9752: checking ieeefp.h usability
  1144. configure:9752: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  1145. conftest.c:72:10: fatal error: ieeefp.h: No such file or directory
  1146. #include <ieeefp.h>
  1147. ^~~~~~~~~~
  1148. compilation terminated.
  1149. configure:9752: $? = 1
  1150. configure: failed program was:
  1151. | /* confdefs.h */
  1152. | #define PACKAGE_NAME ""
  1153. | #define PACKAGE_TARNAME ""
  1154. | #define PACKAGE_VERSION ""
  1155. | #define PACKAGE_STRING ""
  1156. | #define PACKAGE_BUGREPORT ""
  1157. | #define PACKAGE_URL ""
  1158. | #define CANONICALIZATION_FOR_MATHN 1
  1159. | #define STDC_HEADERS 1
  1160. | #define HAVE_SYS_TYPES_H 1
  1161. | #define HAVE_SYS_STAT_H 1
  1162. | #define HAVE_STDLIB_H 1
  1163. | #define HAVE_STRING_H 1
  1164. | #define HAVE_MEMORY_H 1
  1165. | #define HAVE_STRINGS_H 1
  1166. | #define HAVE_INTTYPES_H 1
  1167. | #define HAVE_STDINT_H 1
  1168. | #define HAVE_UNISTD_H 1
  1169. | #define __EXTENSIONS__ 1
  1170. | #define _ALL_SOURCE 1
  1171. | #define _GNU_SOURCE 1
  1172. | #define _POSIX_PTHREAD_SEMANTICS 1
  1173. | #define _TANDEM_SOURCE 1
  1174. | #define HAVE_INFINITY 1
  1175. | #define HAVE_NAN 1
  1176. | #define RUBY_SYMBOL_EXPORT_BEGIN _Pragma("GCC visibility push(default)")
  1177. | #define RUBY_SYMBOL_EXPORT_END _Pragma("GCC visibility pop")
  1178. | #define HAVE_LIBCRYPT 1
  1179. | #define HAVE_LIBDL 1
  1180. | #define HAVE_DIRENT_H 1
  1181. | #define HAVE__BOOL 1
  1182. | #define HAVE_STDBOOL_H 1
  1183. | #define HAVE_SYS_WAIT_H 1
  1184. | #define HAVE_A_OUT_H 1
  1185. | #define HAVE_GRP_H 1
  1186. | #define HAVE_FCNTL_H 1
  1187. | #define HAVE_FLOAT_H 1
  1188. | /* end confdefs.h. */
  1189. | #include <stdio.h>
  1190. | #ifdef HAVE_SYS_TYPES_H
  1191. | # include <sys/types.h>
  1192. | #endif
  1193. | #ifdef HAVE_SYS_STAT_H
  1194. | # include <sys/stat.h>
  1195. | #endif
  1196. | #ifdef STDC_HEADERS
  1197. | # include <stdlib.h>
  1198. | # include <stddef.h>
  1199. | #else
  1200. | # ifdef HAVE_STDLIB_H
  1201. | # include <stdlib.h>
  1202. | # endif
  1203. | #endif
  1204. | #ifdef HAVE_STRING_H
  1205. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  1206. | # include <memory.h>
  1207. | # endif
  1208. | # include <string.h>
  1209. | #endif
  1210. | #ifdef HAVE_STRINGS_H
  1211. | # include <strings.h>
  1212. | #endif
  1213. | #ifdef HAVE_INTTYPES_H
  1214. | # include <inttypes.h>
  1215. | #endif
  1216. | #ifdef HAVE_STDINT_H
  1217. | # include <stdint.h>
  1218. | #endif
  1219. | #ifdef HAVE_UNISTD_H
  1220. | # include <unistd.h>
  1221. | #endif
  1222. | #include <ieeefp.h>
  1223. configure:9752: result: no
  1224. configure:9752: checking ieeefp.h presence
  1225. configure:9752: gcc -E conftest.c
  1226. conftest.c:39:10: fatal error: ieeefp.h: No such file or directory
  1227. #include <ieeefp.h>
  1228. ^~~~~~~~~~
  1229. compilation terminated.
  1230. configure:9752: $? = 1
  1231. configure: failed program was:
  1232. | /* confdefs.h */
  1233. | #define PACKAGE_NAME ""
  1234. | #define PACKAGE_TARNAME ""
  1235. | #define PACKAGE_VERSION ""
  1236. | #define PACKAGE_STRING ""
  1237. | #define PACKAGE_BUGREPORT ""
  1238. | #define PACKAGE_URL ""
  1239. | #define CANONICALIZATION_FOR_MATHN 1
  1240. | #define STDC_HEADERS 1
  1241. | #define HAVE_SYS_TYPES_H 1
  1242. | #define HAVE_SYS_STAT_H 1
  1243. | #define HAVE_STDLIB_H 1
  1244. | #define HAVE_STRING_H 1
  1245. | #define HAVE_MEMORY_H 1
  1246. | #define HAVE_STRINGS_H 1
  1247. | #define HAVE_INTTYPES_H 1
  1248. | #define HAVE_STDINT_H 1
  1249. | #define HAVE_UNISTD_H 1
  1250. | #define __EXTENSIONS__ 1
  1251. | #define _ALL_SOURCE 1
  1252. | #define _GNU_SOURCE 1
  1253. | #define _POSIX_PTHREAD_SEMANTICS 1
  1254. | #define _TANDEM_SOURCE 1
  1255. | #define HAVE_INFINITY 1
  1256. | #define HAVE_NAN 1
  1257. | #define RUBY_SYMBOL_EXPORT_BEGIN _Pragma("GCC visibility push(default)")
  1258. | #define RUBY_SYMBOL_EXPORT_END _Pragma("GCC visibility pop")
  1259. | #define HAVE_LIBCRYPT 1
  1260. | #define HAVE_LIBDL 1
  1261. | #define HAVE_DIRENT_H 1
  1262. | #define HAVE__BOOL 1
  1263. | #define HAVE_STDBOOL_H 1
  1264. | #define HAVE_SYS_WAIT_H 1
  1265. | #define HAVE_A_OUT_H 1
  1266. | #define HAVE_GRP_H 1
  1267. | #define HAVE_FCNTL_H 1
  1268. | #define HAVE_FLOAT_H 1
  1269. | /* end confdefs.h. */
  1270. | #include <ieeefp.h>
  1271. configure:9752: result: no
  1272. configure:9752: checking for ieeefp.h
  1273. configure:9752: result: no
  1274. configure:9764: checking intrinsics.h usability
  1275. configure:9764: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  1276. conftest.c:72:10: fatal error: intrinsics.h: No such file or directory
  1277. #include <intrinsics.h>
  1278. ^~~~~~~~~~~~~~
  1279. compilation terminated.
  1280. configure:9764: $? = 1
  1281. configure: failed program was:
  1282. | /* confdefs.h */
  1283. | #define PACKAGE_NAME ""
  1284. | #define PACKAGE_TARNAME ""
  1285. | #define PACKAGE_VERSION ""
  1286. | #define PACKAGE_STRING ""
  1287. | #define PACKAGE_BUGREPORT ""
  1288. | #define PACKAGE_URL ""
  1289. | #define CANONICALIZATION_FOR_MATHN 1
  1290. | #define STDC_HEADERS 1
  1291. | #define HAVE_SYS_TYPES_H 1
  1292. | #define HAVE_SYS_STAT_H 1
  1293. | #define HAVE_STDLIB_H 1
  1294. | #define HAVE_STRING_H 1
  1295. | #define HAVE_MEMORY_H 1
  1296. | #define HAVE_STRINGS_H 1
  1297. | #define HAVE_INTTYPES_H 1
  1298. | #define HAVE_STDINT_H 1
  1299. | #define HAVE_UNISTD_H 1
  1300. | #define __EXTENSIONS__ 1
  1301. | #define _ALL_SOURCE 1
  1302. | #define _GNU_SOURCE 1
  1303. | #define _POSIX_PTHREAD_SEMANTICS 1
  1304. | #define _TANDEM_SOURCE 1
  1305. | #define HAVE_INFINITY 1
  1306. | #define HAVE_NAN 1
  1307. | #define RUBY_SYMBOL_EXPORT_BEGIN _Pragma("GCC visibility push(default)")
  1308. | #define RUBY_SYMBOL_EXPORT_END _Pragma("GCC visibility pop")
  1309. | #define HAVE_LIBCRYPT 1
  1310. | #define HAVE_LIBDL 1
  1311. | #define HAVE_DIRENT_H 1
  1312. | #define HAVE__BOOL 1
  1313. | #define HAVE_STDBOOL_H 1
  1314. | #define HAVE_SYS_WAIT_H 1
  1315. | #define HAVE_A_OUT_H 1
  1316. | #define HAVE_GRP_H 1
  1317. | #define HAVE_FCNTL_H 1
  1318. | #define HAVE_FLOAT_H 1
  1319. | /* end confdefs.h. */
  1320. | #include <stdio.h>
  1321. | #ifdef HAVE_SYS_TYPES_H
  1322. | # include <sys/types.h>
  1323. | #endif
  1324. | #ifdef HAVE_SYS_STAT_H
  1325. | # include <sys/stat.h>
  1326. | #endif
  1327. | #ifdef STDC_HEADERS
  1328. | # include <stdlib.h>
  1329. | # include <stddef.h>
  1330. | #else
  1331. | # ifdef HAVE_STDLIB_H
  1332. | # include <stdlib.h>
  1333. | # endif
  1334. | #endif
  1335. | #ifdef HAVE_STRING_H
  1336. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  1337. | # include <memory.h>
  1338. | # endif
  1339. | # include <string.h>
  1340. | #endif
  1341. | #ifdef HAVE_STRINGS_H
  1342. | # include <strings.h>
  1343. | #endif
  1344. | #ifdef HAVE_INTTYPES_H
  1345. | # include <inttypes.h>
  1346. | #endif
  1347. | #ifdef HAVE_STDINT_H
  1348. | # include <stdint.h>
  1349. | #endif
  1350. | #ifdef HAVE_UNISTD_H
  1351. | # include <unistd.h>
  1352. | #endif
  1353. | #include <intrinsics.h>
  1354. configure:9764: result: no
  1355. configure:9764: checking intrinsics.h presence
  1356. configure:9764: gcc -E conftest.c
  1357. conftest.c:39:10: fatal error: intrinsics.h: No such file or directory
  1358. #include <intrinsics.h>
  1359. ^~~~~~~~~~~~~~
  1360. compilation terminated.
  1361. configure:9764: $? = 1
  1362. configure: failed program was:
  1363. | /* confdefs.h */
  1364. | #define PACKAGE_NAME ""
  1365. | #define PACKAGE_TARNAME ""
  1366. | #define PACKAGE_VERSION ""
  1367. | #define PACKAGE_STRING ""
  1368. | #define PACKAGE_BUGREPORT ""
  1369. | #define PACKAGE_URL ""
  1370. | #define CANONICALIZATION_FOR_MATHN 1
  1371. | #define STDC_HEADERS 1
  1372. | #define HAVE_SYS_TYPES_H 1
  1373. | #define HAVE_SYS_STAT_H 1
  1374. | #define HAVE_STDLIB_H 1
  1375. | #define HAVE_STRING_H 1
  1376. | #define HAVE_MEMORY_H 1
  1377. | #define HAVE_STRINGS_H 1
  1378. | #define HAVE_INTTYPES_H 1
  1379. | #define HAVE_STDINT_H 1
  1380. | #define HAVE_UNISTD_H 1
  1381. | #define __EXTENSIONS__ 1
  1382. | #define _ALL_SOURCE 1
  1383. | #define _GNU_SOURCE 1
  1384. | #define _POSIX_PTHREAD_SEMANTICS 1
  1385. | #define _TANDEM_SOURCE 1
  1386. | #define HAVE_INFINITY 1
  1387. | #define HAVE_NAN 1
  1388. | #define RUBY_SYMBOL_EXPORT_BEGIN _Pragma("GCC visibility push(default)")
  1389. | #define RUBY_SYMBOL_EXPORT_END _Pragma("GCC visibility pop")
  1390. | #define HAVE_LIBCRYPT 1
  1391. | #define HAVE_LIBDL 1
  1392. | #define HAVE_DIRENT_H 1
  1393. | #define HAVE__BOOL 1
  1394. | #define HAVE_STDBOOL_H 1
  1395. | #define HAVE_SYS_WAIT_H 1
  1396. | #define HAVE_A_OUT_H 1
  1397. | #define HAVE_GRP_H 1
  1398. | #define HAVE_FCNTL_H 1
  1399. | #define HAVE_FLOAT_H 1
  1400. | /* end confdefs.h. */
  1401. | #include <intrinsics.h>
  1402. configure:9764: result: no
  1403. configure:9764: checking for intrinsics.h
  1404. configure:9764: result: no
  1405. configure:9776: checking langinfo.h usability
  1406. configure:9776: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  1407. configure:9776: $? = 0
  1408. configure:9776: result: yes
  1409. configure:9776: checking langinfo.h presence
  1410. configure:9776: gcc -E conftest.c
  1411. configure:9776: $? = 0
  1412. configure:9776: result: yes
  1413. configure:9776: checking for langinfo.h
  1414. configure:9776: result: yes
  1415. configure:9788: checking limits.h usability
  1416. configure:9788: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  1417. configure:9788: $? = 0
  1418. configure:9788: result: yes
  1419. configure:9788: checking limits.h presence
  1420. configure:9788: gcc -E conftest.c
  1421. configure:9788: $? = 0
  1422. configure:9788: result: yes
  1423. configure:9788: checking for limits.h
  1424. configure:9788: result: yes
  1425. configure:9800: checking locale.h usability
  1426. configure:9800: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  1427. configure:9800: $? = 0
  1428. configure:9800: result: yes
  1429. configure:9800: checking locale.h presence
  1430. configure:9800: gcc -E conftest.c
  1431. configure:9800: $? = 0
  1432. configure:9800: result: yes
  1433. configure:9800: checking for locale.h
  1434. configure:9800: result: yes
  1435. configure:9812: checking malloc.h usability
  1436. configure:9812: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  1437. configure:9812: $? = 0
  1438. configure:9812: result: yes
  1439. configure:9812: checking malloc.h presence
  1440. configure:9812: gcc -E conftest.c
  1441. configure:9812: $? = 0
  1442. configure:9812: result: yes
  1443. configure:9812: checking for malloc.h
  1444. configure:9812: result: yes
  1445. configure:9824: checking malloc/malloc.h usability
  1446. configure:9824: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  1447. conftest.c:76:10: fatal error: malloc/malloc.h: No such file or directory
  1448. #include <malloc/malloc.h>
  1449. ^~~~~~~~~~~~~~~~~
  1450. compilation terminated.
  1451. configure:9824: $? = 1
  1452. configure: failed program was:
  1453. | /* confdefs.h */
  1454. | #define PACKAGE_NAME ""
  1455. | #define PACKAGE_TARNAME ""
  1456. | #define PACKAGE_VERSION ""
  1457. | #define PACKAGE_STRING ""
  1458. | #define PACKAGE_BUGREPORT ""
  1459. | #define PACKAGE_URL ""
  1460. | #define CANONICALIZATION_FOR_MATHN 1
  1461. | #define STDC_HEADERS 1
  1462. | #define HAVE_SYS_TYPES_H 1
  1463. | #define HAVE_SYS_STAT_H 1
  1464. | #define HAVE_STDLIB_H 1
  1465. | #define HAVE_STRING_H 1
  1466. | #define HAVE_MEMORY_H 1
  1467. | #define HAVE_STRINGS_H 1
  1468. | #define HAVE_INTTYPES_H 1
  1469. | #define HAVE_STDINT_H 1
  1470. | #define HAVE_UNISTD_H 1
  1471. | #define __EXTENSIONS__ 1
  1472. | #define _ALL_SOURCE 1
  1473. | #define _GNU_SOURCE 1
  1474. | #define _POSIX_PTHREAD_SEMANTICS 1
  1475. | #define _TANDEM_SOURCE 1
  1476. | #define HAVE_INFINITY 1
  1477. | #define HAVE_NAN 1
  1478. | #define RUBY_SYMBOL_EXPORT_BEGIN _Pragma("GCC visibility push(default)")
  1479. | #define RUBY_SYMBOL_EXPORT_END _Pragma("GCC visibility pop")
  1480. | #define HAVE_LIBCRYPT 1
  1481. | #define HAVE_LIBDL 1
  1482. | #define HAVE_DIRENT_H 1
  1483. | #define HAVE__BOOL 1
  1484. | #define HAVE_STDBOOL_H 1
  1485. | #define HAVE_SYS_WAIT_H 1
  1486. | #define HAVE_A_OUT_H 1
  1487. | #define HAVE_GRP_H 1
  1488. | #define HAVE_FCNTL_H 1
  1489. | #define HAVE_FLOAT_H 1
  1490. | #define HAVE_LANGINFO_H 1
  1491. | #define HAVE_LIMITS_H 1
  1492. | #define HAVE_LOCALE_H 1
  1493. | #define HAVE_MALLOC_H 1
  1494. | /* end confdefs.h. */
  1495. | #include <stdio.h>
  1496. | #ifdef HAVE_SYS_TYPES_H
  1497. | # include <sys/types.h>
  1498. | #endif
  1499. | #ifdef HAVE_SYS_STAT_H
  1500. | # include <sys/stat.h>
  1501. | #endif
  1502. | #ifdef STDC_HEADERS
  1503. | # include <stdlib.h>
  1504. | # include <stddef.h>
  1505. | #else
  1506. | # ifdef HAVE_STDLIB_H
  1507. | # include <stdlib.h>
  1508. | # endif
  1509. | #endif
  1510. | #ifdef HAVE_STRING_H
  1511. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  1512. | # include <memory.h>
  1513. | # endif
  1514. | # include <string.h>
  1515. | #endif
  1516. | #ifdef HAVE_STRINGS_H
  1517. | # include <strings.h>
  1518. | #endif
  1519. | #ifdef HAVE_INTTYPES_H
  1520. | # include <inttypes.h>
  1521. | #endif
  1522. | #ifdef HAVE_STDINT_H
  1523. | # include <stdint.h>
  1524. | #endif
  1525. | #ifdef HAVE_UNISTD_H
  1526. | # include <unistd.h>
  1527. | #endif
  1528. | #include <malloc/malloc.h>
  1529. configure:9824: result: no
  1530. configure:9824: checking malloc/malloc.h presence
  1531. configure:9824: gcc -E conftest.c
  1532. conftest.c:43:10: fatal error: malloc/malloc.h: No such file or directory
  1533. #include <malloc/malloc.h>
  1534. ^~~~~~~~~~~~~~~~~
  1535. compilation terminated.
  1536. configure:9824: $? = 1
  1537. configure: failed program was:
  1538. | /* confdefs.h */
  1539. | #define PACKAGE_NAME ""
  1540. | #define PACKAGE_TARNAME ""
  1541. | #define PACKAGE_VERSION ""
  1542. | #define PACKAGE_STRING ""
  1543. | #define PACKAGE_BUGREPORT ""
  1544. | #define PACKAGE_URL ""
  1545. | #define CANONICALIZATION_FOR_MATHN 1
  1546. | #define STDC_HEADERS 1
  1547. | #define HAVE_SYS_TYPES_H 1
  1548. | #define HAVE_SYS_STAT_H 1
  1549. | #define HAVE_STDLIB_H 1
  1550. | #define HAVE_STRING_H 1
  1551. | #define HAVE_MEMORY_H 1
  1552. | #define HAVE_STRINGS_H 1
  1553. | #define HAVE_INTTYPES_H 1
  1554. | #define HAVE_STDINT_H 1
  1555. | #define HAVE_UNISTD_H 1
  1556. | #define __EXTENSIONS__ 1
  1557. | #define _ALL_SOURCE 1
  1558. | #define _GNU_SOURCE 1
  1559. | #define _POSIX_PTHREAD_SEMANTICS 1
  1560. | #define _TANDEM_SOURCE 1
  1561. | #define HAVE_INFINITY 1
  1562. | #define HAVE_NAN 1
  1563. | #define RUBY_SYMBOL_EXPORT_BEGIN _Pragma("GCC visibility push(default)")
  1564. | #define RUBY_SYMBOL_EXPORT_END _Pragma("GCC visibility pop")
  1565. | #define HAVE_LIBCRYPT 1
  1566. | #define HAVE_LIBDL 1
  1567. | #define HAVE_DIRENT_H 1
  1568. | #define HAVE__BOOL 1
  1569. | #define HAVE_STDBOOL_H 1
  1570. | #define HAVE_SYS_WAIT_H 1
  1571. | #define HAVE_A_OUT_H 1
  1572. | #define HAVE_GRP_H 1
  1573. | #define HAVE_FCNTL_H 1
  1574. | #define HAVE_FLOAT_H 1
  1575. | #define HAVE_LANGINFO_H 1
  1576. | #define HAVE_LIMITS_H 1
  1577. | #define HAVE_LOCALE_H 1
  1578. | #define HAVE_MALLOC_H 1
  1579. | /* end confdefs.h. */
  1580. | #include <malloc/malloc.h>
  1581. configure:9824: result: no
  1582. configure:9824: checking for malloc/malloc.h
  1583. configure:9824: result: no
  1584. configure:9836: checking malloc_np.h usability
  1585. configure:9836: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  1586. conftest.c:76:10: fatal error: malloc_np.h: No such file or directory
  1587. #include <malloc_np.h>
  1588. ^~~~~~~~~~~~~
  1589. compilation terminated.
  1590. configure:9836: $? = 1
  1591. configure: failed program was:
  1592. | /* confdefs.h */
  1593. | #define PACKAGE_NAME ""
  1594. | #define PACKAGE_TARNAME ""
  1595. | #define PACKAGE_VERSION ""
  1596. | #define PACKAGE_STRING ""
  1597. | #define PACKAGE_BUGREPORT ""
  1598. | #define PACKAGE_URL ""
  1599. | #define CANONICALIZATION_FOR_MATHN 1
  1600. | #define STDC_HEADERS 1
  1601. | #define HAVE_SYS_TYPES_H 1
  1602. | #define HAVE_SYS_STAT_H 1
  1603. | #define HAVE_STDLIB_H 1
  1604. | #define HAVE_STRING_H 1
  1605. | #define HAVE_MEMORY_H 1
  1606. | #define HAVE_STRINGS_H 1
  1607. | #define HAVE_INTTYPES_H 1
  1608. | #define HAVE_STDINT_H 1
  1609. | #define HAVE_UNISTD_H 1
  1610. | #define __EXTENSIONS__ 1
  1611. | #define _ALL_SOURCE 1
  1612. | #define _GNU_SOURCE 1
  1613. | #define _POSIX_PTHREAD_SEMANTICS 1
  1614. | #define _TANDEM_SOURCE 1
  1615. | #define HAVE_INFINITY 1
  1616. | #define HAVE_NAN 1
  1617. | #define RUBY_SYMBOL_EXPORT_BEGIN _Pragma("GCC visibility push(default)")
  1618. | #define RUBY_SYMBOL_EXPORT_END _Pragma("GCC visibility pop")
  1619. | #define HAVE_LIBCRYPT 1
  1620. | #define HAVE_LIBDL 1
  1621. | #define HAVE_DIRENT_H 1
  1622. | #define HAVE__BOOL 1
  1623. | #define HAVE_STDBOOL_H 1
  1624. | #define HAVE_SYS_WAIT_H 1
  1625. | #define HAVE_A_OUT_H 1
  1626. | #define HAVE_GRP_H 1
  1627. | #define HAVE_FCNTL_H 1
  1628. | #define HAVE_FLOAT_H 1
  1629. | #define HAVE_LANGINFO_H 1
  1630. | #define HAVE_LIMITS_H 1
  1631. | #define HAVE_LOCALE_H 1
  1632. | #define HAVE_MALLOC_H 1
  1633. | /* end confdefs.h. */
  1634. | #include <stdio.h>
  1635. | #ifdef HAVE_SYS_TYPES_H
  1636. | # include <sys/types.h>
  1637. | #endif
  1638. | #ifdef HAVE_SYS_STAT_H
  1639. | # include <sys/stat.h>
  1640. | #endif
  1641. | #ifdef STDC_HEADERS
  1642. | # include <stdlib.h>
  1643. | # include <stddef.h>
  1644. | #else
  1645. | # ifdef HAVE_STDLIB_H
  1646. | # include <stdlib.h>
  1647. | # endif
  1648. | #endif
  1649. | #ifdef HAVE_STRING_H
  1650. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  1651. | # include <memory.h>
  1652. | # endif
  1653. | # include <string.h>
  1654. | #endif
  1655. | #ifdef HAVE_STRINGS_H
  1656. | # include <strings.h>
  1657. | #endif
  1658. | #ifdef HAVE_INTTYPES_H
  1659. | # include <inttypes.h>
  1660. | #endif
  1661. | #ifdef HAVE_STDINT_H
  1662. | # include <stdint.h>
  1663. | #endif
  1664. | #ifdef HAVE_UNISTD_H
  1665. | # include <unistd.h>
  1666. | #endif
  1667. | #include <malloc_np.h>
  1668. configure:9836: result: no
  1669. configure:9836: checking malloc_np.h presence
  1670. configure:9836: gcc -E conftest.c
  1671. conftest.c:43:10: fatal error: malloc_np.h: No such file or directory
  1672. #include <malloc_np.h>
  1673. ^~~~~~~~~~~~~
  1674. compilation terminated.
  1675. configure:9836: $? = 1
  1676. configure: failed program was:
  1677. | /* confdefs.h */
  1678. | #define PACKAGE_NAME ""
  1679. | #define PACKAGE_TARNAME ""
  1680. | #define PACKAGE_VERSION ""
  1681. | #define PACKAGE_STRING ""
  1682. | #define PACKAGE_BUGREPORT ""
  1683. | #define PACKAGE_URL ""
  1684. | #define CANONICALIZATION_FOR_MATHN 1
  1685. | #define STDC_HEADERS 1
  1686. | #define HAVE_SYS_TYPES_H 1
  1687. | #define HAVE_SYS_STAT_H 1
  1688. | #define HAVE_STDLIB_H 1
  1689. | #define HAVE_STRING_H 1
  1690. | #define HAVE_MEMORY_H 1
  1691. | #define HAVE_STRINGS_H 1
  1692. | #define HAVE_INTTYPES_H 1
  1693. | #define HAVE_STDINT_H 1
  1694. | #define HAVE_UNISTD_H 1
  1695. | #define __EXTENSIONS__ 1
  1696. | #define _ALL_SOURCE 1
  1697. | #define _GNU_SOURCE 1
  1698. | #define _POSIX_PTHREAD_SEMANTICS 1
  1699. | #define _TANDEM_SOURCE 1
  1700. | #define HAVE_INFINITY 1
  1701. | #define HAVE_NAN 1
  1702. | #define RUBY_SYMBOL_EXPORT_BEGIN _Pragma("GCC visibility push(default)")
  1703. | #define RUBY_SYMBOL_EXPORT_END _Pragma("GCC visibility pop")
  1704. | #define HAVE_LIBCRYPT 1
  1705. | #define HAVE_LIBDL 1
  1706. | #define HAVE_DIRENT_H 1
  1707. | #define HAVE__BOOL 1
  1708. | #define HAVE_STDBOOL_H 1
  1709. | #define HAVE_SYS_WAIT_H 1
  1710. | #define HAVE_A_OUT_H 1
  1711. | #define HAVE_GRP_H 1
  1712. | #define HAVE_FCNTL_H 1
  1713. | #define HAVE_FLOAT_H 1
  1714. | #define HAVE_LANGINFO_H 1
  1715. | #define HAVE_LIMITS_H 1
  1716. | #define HAVE_LOCALE_H 1
  1717. | #define HAVE_MALLOC_H 1
  1718. | /* end confdefs.h. */
  1719. | #include <malloc_np.h>
  1720. configure:9836: result: no
  1721. configure:9836: checking for malloc_np.h
  1722. configure:9836: result: no
  1723. configure:9848: checking net/socket.h usability
  1724. configure:9848: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  1725. conftest.c:76:10: fatal error: net/socket.h: No such file or directory
  1726. #include <net/socket.h>
  1727. ^~~~~~~~~~~~~~
  1728. compilation terminated.
  1729. configure:9848: $? = 1
  1730. configure: failed program was:
  1731. | /* confdefs.h */
  1732. | #define PACKAGE_NAME ""
  1733. | #define PACKAGE_TARNAME ""
  1734. | #define PACKAGE_VERSION ""
  1735. | #define PACKAGE_STRING ""
  1736. | #define PACKAGE_BUGREPORT ""
  1737. | #define PACKAGE_URL ""
  1738. | #define CANONICALIZATION_FOR_MATHN 1
  1739. | #define STDC_HEADERS 1
  1740. | #define HAVE_SYS_TYPES_H 1
  1741. | #define HAVE_SYS_STAT_H 1
  1742. | #define HAVE_STDLIB_H 1
  1743. | #define HAVE_STRING_H 1
  1744. | #define HAVE_MEMORY_H 1
  1745. | #define HAVE_STRINGS_H 1
  1746. | #define HAVE_INTTYPES_H 1
  1747. | #define HAVE_STDINT_H 1
  1748. | #define HAVE_UNISTD_H 1
  1749. | #define __EXTENSIONS__ 1
  1750. | #define _ALL_SOURCE 1
  1751. | #define _GNU_SOURCE 1
  1752. | #define _POSIX_PTHREAD_SEMANTICS 1
  1753. | #define _TANDEM_SOURCE 1
  1754. | #define HAVE_INFINITY 1
  1755. | #define HAVE_NAN 1
  1756. | #define RUBY_SYMBOL_EXPORT_BEGIN _Pragma("GCC visibility push(default)")
  1757. | #define RUBY_SYMBOL_EXPORT_END _Pragma("GCC visibility pop")
  1758. | #define HAVE_LIBCRYPT 1
  1759. | #define HAVE_LIBDL 1
  1760. | #define HAVE_DIRENT_H 1
  1761. | #define HAVE__BOOL 1
  1762. | #define HAVE_STDBOOL_H 1
  1763. | #define HAVE_SYS_WAIT_H 1
  1764. | #define HAVE_A_OUT_H 1
  1765. | #define HAVE_GRP_H 1
  1766. | #define HAVE_FCNTL_H 1
  1767. | #define HAVE_FLOAT_H 1
  1768. | #define HAVE_LANGINFO_H 1
  1769. | #define HAVE_LIMITS_H 1
  1770. | #define HAVE_LOCALE_H 1
  1771. | #define HAVE_MALLOC_H 1
  1772. | /* end confdefs.h. */
  1773. | #include <stdio.h>
  1774. | #ifdef HAVE_SYS_TYPES_H
  1775. | # include <sys/types.h>
  1776. | #endif
  1777. | #ifdef HAVE_SYS_STAT_H
  1778. | # include <sys/stat.h>
  1779. | #endif
  1780. | #ifdef STDC_HEADERS
  1781. | # include <stdlib.h>
  1782. | # include <stddef.h>
  1783. | #else
  1784. | # ifdef HAVE_STDLIB_H
  1785. | # include <stdlib.h>
  1786. | # endif
  1787. | #endif
  1788. | #ifdef HAVE_STRING_H
  1789. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  1790. | # include <memory.h>
  1791. | # endif
  1792. | # include <string.h>
  1793. | #endif
  1794. | #ifdef HAVE_STRINGS_H
  1795. | # include <strings.h>
  1796. | #endif
  1797. | #ifdef HAVE_INTTYPES_H
  1798. | # include <inttypes.h>
  1799. | #endif
  1800. | #ifdef HAVE_STDINT_H
  1801. | # include <stdint.h>
  1802. | #endif
  1803. | #ifdef HAVE_UNISTD_H
  1804. | # include <unistd.h>
  1805. | #endif
  1806. | #include <net/socket.h>
  1807. configure:9848: result: no
  1808. configure:9848: checking net/socket.h presence
  1809. configure:9848: gcc -E conftest.c
  1810. conftest.c:43:10: fatal error: net/socket.h: No such file or directory
  1811. #include <net/socket.h>
  1812. ^~~~~~~~~~~~~~
  1813. compilation terminated.
  1814. configure:9848: $? = 1
  1815. configure: failed program was:
  1816. | /* confdefs.h */
  1817. | #define PACKAGE_NAME ""
  1818. | #define PACKAGE_TARNAME ""
  1819. | #define PACKAGE_VERSION ""
  1820. | #define PACKAGE_STRING ""
  1821. | #define PACKAGE_BUGREPORT ""
  1822. | #define PACKAGE_URL ""
  1823. | #define CANONICALIZATION_FOR_MATHN 1
  1824. | #define STDC_HEADERS 1
  1825. | #define HAVE_SYS_TYPES_H 1
  1826. | #define HAVE_SYS_STAT_H 1
  1827. | #define HAVE_STDLIB_H 1
  1828. | #define HAVE_STRING_H 1
  1829. | #define HAVE_MEMORY_H 1
  1830. | #define HAVE_STRINGS_H 1
  1831. | #define HAVE_INTTYPES_H 1
  1832. | #define HAVE_STDINT_H 1
  1833. | #define HAVE_UNISTD_H 1
  1834. | #define __EXTENSIONS__ 1
  1835. | #define _ALL_SOURCE 1
  1836. | #define _GNU_SOURCE 1
  1837. | #define _POSIX_PTHREAD_SEMANTICS 1
  1838. | #define _TANDEM_SOURCE 1
  1839. | #define HAVE_INFINITY 1
  1840. | #define HAVE_NAN 1
  1841. | #define RUBY_SYMBOL_EXPORT_BEGIN _Pragma("GCC visibility push(default)")
  1842. | #define RUBY_SYMBOL_EXPORT_END _Pragma("GCC visibility pop")
  1843. | #define HAVE_LIBCRYPT 1
  1844. | #define HAVE_LIBDL 1
  1845. | #define HAVE_DIRENT_H 1
  1846. | #define HAVE__BOOL 1
  1847. | #define HAVE_STDBOOL_H 1
  1848. | #define HAVE_SYS_WAIT_H 1
  1849. | #define HAVE_A_OUT_H 1
  1850. | #define HAVE_GRP_H 1
  1851. | #define HAVE_FCNTL_H 1
  1852. | #define HAVE_FLOAT_H 1
  1853. | #define HAVE_LANGINFO_H 1
  1854. | #define HAVE_LIMITS_H 1
  1855. | #define HAVE_LOCALE_H 1
  1856. | #define HAVE_MALLOC_H 1
  1857. | /* end confdefs.h. */
  1858. | #include <net/socket.h>
  1859. configure:9848: result: no
  1860. configure:9848: checking for net/socket.h
  1861. configure:9848: result: no
  1862. configure:9860: checking process.h usability
  1863. configure:9860: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  1864. conftest.c:76:10: fatal error: process.h: No such file or directory
  1865. #include <process.h>
  1866. ^~~~~~~~~~~
  1867. compilation terminated.
  1868. configure:9860: $? = 1
  1869. configure: failed program was:
  1870. | /* confdefs.h */
  1871. | #define PACKAGE_NAME ""
  1872. | #define PACKAGE_TARNAME ""
  1873. | #define PACKAGE_VERSION ""
  1874. | #define PACKAGE_STRING ""
  1875. | #define PACKAGE_BUGREPORT ""
  1876. | #define PACKAGE_URL ""
  1877. | #define CANONICALIZATION_FOR_MATHN 1
  1878. | #define STDC_HEADERS 1
  1879. | #define HAVE_SYS_TYPES_H 1
  1880. | #define HAVE_SYS_STAT_H 1
  1881. | #define HAVE_STDLIB_H 1
  1882. | #define HAVE_STRING_H 1
  1883. | #define HAVE_MEMORY_H 1
  1884. | #define HAVE_STRINGS_H 1
  1885. | #define HAVE_INTTYPES_H 1
  1886. | #define HAVE_STDINT_H 1
  1887. | #define HAVE_UNISTD_H 1
  1888. | #define __EXTENSIONS__ 1
  1889. | #define _ALL_SOURCE 1
  1890. | #define _GNU_SOURCE 1
  1891. | #define _POSIX_PTHREAD_SEMANTICS 1
  1892. | #define _TANDEM_SOURCE 1
  1893. | #define HAVE_INFINITY 1
  1894. | #define HAVE_NAN 1
  1895. | #define RUBY_SYMBOL_EXPORT_BEGIN _Pragma("GCC visibility push(default)")
  1896. | #define RUBY_SYMBOL_EXPORT_END _Pragma("GCC visibility pop")
  1897. | #define HAVE_LIBCRYPT 1
  1898. | #define HAVE_LIBDL 1
  1899. | #define HAVE_DIRENT_H 1
  1900. | #define HAVE__BOOL 1
  1901. | #define HAVE_STDBOOL_H 1
  1902. | #define HAVE_SYS_WAIT_H 1
  1903. | #define HAVE_A_OUT_H 1
  1904. | #define HAVE_GRP_H 1
  1905. | #define HAVE_FCNTL_H 1
  1906. | #define HAVE_FLOAT_H 1
  1907. | #define HAVE_LANGINFO_H 1
  1908. | #define HAVE_LIMITS_H 1
  1909. | #define HAVE_LOCALE_H 1
  1910. | #define HAVE_MALLOC_H 1
  1911. | /* end confdefs.h. */
  1912. | #include <stdio.h>
  1913. | #ifdef HAVE_SYS_TYPES_H
  1914. | # include <sys/types.h>
  1915. | #endif
  1916. | #ifdef HAVE_SYS_STAT_H
  1917. | # include <sys/stat.h>
  1918. | #endif
  1919. | #ifdef STDC_HEADERS
  1920. | # include <stdlib.h>
  1921. | # include <stddef.h>
  1922. | #else
  1923. | # ifdef HAVE_STDLIB_H
  1924. | # include <stdlib.h>
  1925. | # endif
  1926. | #endif
  1927. | #ifdef HAVE_STRING_H
  1928. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  1929. | # include <memory.h>
  1930. | # endif
  1931. | # include <string.h>
  1932. | #endif
  1933. | #ifdef HAVE_STRINGS_H
  1934. | # include <strings.h>
  1935. | #endif
  1936. | #ifdef HAVE_INTTYPES_H
  1937. | # include <inttypes.h>
  1938. | #endif
  1939. | #ifdef HAVE_STDINT_H
  1940. | # include <stdint.h>
  1941. | #endif
  1942. | #ifdef HAVE_UNISTD_H
  1943. | # include <unistd.h>
  1944. | #endif
  1945. | #include <process.h>
  1946. configure:9860: result: no
  1947. configure:9860: checking process.h presence
  1948. configure:9860: gcc -E conftest.c
  1949. conftest.c:43:10: fatal error: process.h: No such file or directory
  1950. #include <process.h>
  1951. ^~~~~~~~~~~
  1952. compilation terminated.
  1953. configure:9860: $? = 1
  1954. configure: failed program was:
  1955. | /* confdefs.h */
  1956. | #define PACKAGE_NAME ""
  1957. | #define PACKAGE_TARNAME ""
  1958. | #define PACKAGE_VERSION ""
  1959. | #define PACKAGE_STRING ""
  1960. | #define PACKAGE_BUGREPORT ""
  1961. | #define PACKAGE_URL ""
  1962. | #define CANONICALIZATION_FOR_MATHN 1
  1963. | #define STDC_HEADERS 1
  1964. | #define HAVE_SYS_TYPES_H 1
  1965. | #define HAVE_SYS_STAT_H 1
  1966. | #define HAVE_STDLIB_H 1
  1967. | #define HAVE_STRING_H 1
  1968. | #define HAVE_MEMORY_H 1
  1969. | #define HAVE_STRINGS_H 1
  1970. | #define HAVE_INTTYPES_H 1
  1971. | #define HAVE_STDINT_H 1
  1972. | #define HAVE_UNISTD_H 1
  1973. | #define __EXTENSIONS__ 1
  1974. | #define _ALL_SOURCE 1
  1975. | #define _GNU_SOURCE 1
  1976. | #define _POSIX_PTHREAD_SEMANTICS 1
  1977. | #define _TANDEM_SOURCE 1
  1978. | #define HAVE_INFINITY 1
  1979. | #define HAVE_NAN 1
  1980. | #define RUBY_SYMBOL_EXPORT_BEGIN _Pragma("GCC visibility push(default)")
  1981. | #define RUBY_SYMBOL_EXPORT_END _Pragma("GCC visibility pop")
  1982. | #define HAVE_LIBCRYPT 1
  1983. | #define HAVE_LIBDL 1
  1984. | #define HAVE_DIRENT_H 1
  1985. | #define HAVE__BOOL 1
  1986. | #define HAVE_STDBOOL_H 1
  1987. | #define HAVE_SYS_WAIT_H 1
  1988. | #define HAVE_A_OUT_H 1
  1989. | #define HAVE_GRP_H 1
  1990. | #define HAVE_FCNTL_H 1
  1991. | #define HAVE_FLOAT_H 1
  1992. | #define HAVE_LANGINFO_H 1
  1993. | #define HAVE_LIMITS_H 1
  1994. | #define HAVE_LOCALE_H 1
  1995. | #define HAVE_MALLOC_H 1
  1996. | /* end confdefs.h. */
  1997. | #include <process.h>
  1998. configure:9860: result: no
  1999. configure:9860: checking for process.h
  2000. configure:9860: result: no
  2001. configure:9872: checking pwd.h usability
  2002. configure:9872: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  2003. configure:9872: $? = 0
  2004. configure:9872: result: yes
  2005. configure:9872: checking pwd.h presence
  2006. configure:9872: gcc -E conftest.c
  2007. configure:9872: $? = 0
  2008. configure:9872: result: yes
  2009. configure:9872: checking for pwd.h
  2010. configure:9872: result: yes
  2011. configure:9884: checking setjmpex.h usability
  2012. configure:9884: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  2013. conftest.c:77:10: fatal error: setjmpex.h: No such file or directory
  2014. #include <setjmpex.h>
  2015. ^~~~~~~~~~~~
  2016. compilation terminated.
  2017. configure:9884: $? = 1
  2018. configure: failed program was:
  2019. | /* confdefs.h */
  2020. | #define PACKAGE_NAME ""
  2021. | #define PACKAGE_TARNAME ""
  2022. | #define PACKAGE_VERSION ""
  2023. | #define PACKAGE_STRING ""
  2024. | #define PACKAGE_BUGREPORT ""
  2025. | #define PACKAGE_URL ""
  2026. | #define CANONICALIZATION_FOR_MATHN 1
  2027. | #define STDC_HEADERS 1
  2028. | #define HAVE_SYS_TYPES_H 1
  2029. | #define HAVE_SYS_STAT_H 1
  2030. | #define HAVE_STDLIB_H 1
  2031. | #define HAVE_STRING_H 1
  2032. | #define HAVE_MEMORY_H 1
  2033. | #define HAVE_STRINGS_H 1
  2034. | #define HAVE_INTTYPES_H 1
  2035. | #define HAVE_STDINT_H 1
  2036. | #define HAVE_UNISTD_H 1
  2037. | #define __EXTENSIONS__ 1
  2038. | #define _ALL_SOURCE 1
  2039. | #define _GNU_SOURCE 1
  2040. | #define _POSIX_PTHREAD_SEMANTICS 1
  2041. | #define _TANDEM_SOURCE 1
  2042. | #define HAVE_INFINITY 1
  2043. | #define HAVE_NAN 1
  2044. | #define RUBY_SYMBOL_EXPORT_BEGIN _Pragma("GCC visibility push(default)")
  2045. | #define RUBY_SYMBOL_EXPORT_END _Pragma("GCC visibility pop")
  2046. | #define HAVE_LIBCRYPT 1
  2047. | #define HAVE_LIBDL 1
  2048. | #define HAVE_DIRENT_H 1
  2049. | #define HAVE__BOOL 1
  2050. | #define HAVE_STDBOOL_H 1
  2051. | #define HAVE_SYS_WAIT_H 1
  2052. | #define HAVE_A_OUT_H 1
  2053. | #define HAVE_GRP_H 1
  2054. | #define HAVE_FCNTL_H 1
  2055. | #define HAVE_FLOAT_H 1
  2056. | #define HAVE_LANGINFO_H 1
  2057. | #define HAVE_LIMITS_H 1
  2058. | #define HAVE_LOCALE_H 1
  2059. | #define HAVE_MALLOC_H 1
  2060. | #define HAVE_PWD_H 1
  2061. | /* end confdefs.h. */
  2062. | #include <stdio.h>
  2063. | #ifdef HAVE_SYS_TYPES_H
  2064. | # include <sys/types.h>
  2065. | #endif
  2066. | #ifdef HAVE_SYS_STAT_H
  2067. | # include <sys/stat.h>
  2068. | #endif
  2069. | #ifdef STDC_HEADERS
  2070. | # include <stdlib.h>
  2071. | # include <stddef.h>
  2072. | #else
  2073. | # ifdef HAVE_STDLIB_H
  2074. | # include <stdlib.h>
  2075. | # endif
  2076. | #endif
  2077. | #ifdef HAVE_STRING_H
  2078. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  2079. | # include <memory.h>
  2080. | # endif
  2081. | # include <string.h>
  2082. | #endif
  2083. | #ifdef HAVE_STRINGS_H
  2084. | # include <strings.h>
  2085. | #endif
  2086. | #ifdef HAVE_INTTYPES_H
  2087. | # include <inttypes.h>
  2088. | #endif
  2089. | #ifdef HAVE_STDINT_H
  2090. | # include <stdint.h>
  2091. | #endif
  2092. | #ifdef HAVE_UNISTD_H
  2093. | # include <unistd.h>
  2094. | #endif
  2095. | #include <setjmpex.h>
  2096. configure:9884: result: no
  2097. configure:9884: checking setjmpex.h presence
  2098. configure:9884: gcc -E conftest.c
  2099. conftest.c:44:10: fatal error: setjmpex.h: No such file or directory
  2100. #include <setjmpex.h>
  2101. ^~~~~~~~~~~~
  2102. compilation terminated.
  2103. configure:9884: $? = 1
  2104. configure: failed program was:
  2105. | /* confdefs.h */
  2106. | #define PACKAGE_NAME ""
  2107. | #define PACKAGE_TARNAME ""
  2108. | #define PACKAGE_VERSION ""
  2109. | #define PACKAGE_STRING ""
  2110. | #define PACKAGE_BUGREPORT ""
  2111. | #define PACKAGE_URL ""
  2112. | #define CANONICALIZATION_FOR_MATHN 1
  2113. | #define STDC_HEADERS 1
  2114. | #define HAVE_SYS_TYPES_H 1
  2115. | #define HAVE_SYS_STAT_H 1
  2116. | #define HAVE_STDLIB_H 1
  2117. | #define HAVE_STRING_H 1
  2118. | #define HAVE_MEMORY_H 1
  2119. | #define HAVE_STRINGS_H 1
  2120. | #define HAVE_INTTYPES_H 1
  2121. | #define HAVE_STDINT_H 1
  2122. | #define HAVE_UNISTD_H 1
  2123. | #define __EXTENSIONS__ 1
  2124. | #define _ALL_SOURCE 1
  2125. | #define _GNU_SOURCE 1
  2126. | #define _POSIX_PTHREAD_SEMANTICS 1
  2127. | #define _TANDEM_SOURCE 1
  2128. | #define HAVE_INFINITY 1
  2129. | #define HAVE_NAN 1
  2130. | #define RUBY_SYMBOL_EXPORT_BEGIN _Pragma("GCC visibility push(default)")
  2131. | #define RUBY_SYMBOL_EXPORT_END _Pragma("GCC visibility pop")
  2132. | #define HAVE_LIBCRYPT 1
  2133. | #define HAVE_LIBDL 1
  2134. | #define HAVE_DIRENT_H 1
  2135. | #define HAVE__BOOL 1
  2136. | #define HAVE_STDBOOL_H 1
  2137. | #define HAVE_SYS_WAIT_H 1
  2138. | #define HAVE_A_OUT_H 1
  2139. | #define HAVE_GRP_H 1
  2140. | #define HAVE_FCNTL_H 1
  2141. | #define HAVE_FLOAT_H 1
  2142. | #define HAVE_LANGINFO_H 1
  2143. | #define HAVE_LIMITS_H 1
  2144. | #define HAVE_LOCALE_H 1
  2145. | #define HAVE_MALLOC_H 1
  2146. | #define HAVE_PWD_H 1
  2147. | /* end confdefs.h. */
  2148. | #include <setjmpex.h>
  2149. configure:9884: result: no
  2150. configure:9884: checking for setjmpex.h
  2151. configure:9884: result: no
  2152. configure:9896: checking sys/attr.h usability
  2153. configure:9896: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  2154. conftest.c:77:10: fatal error: sys/attr.h: No such file or directory
  2155. #include <sys/attr.h>
  2156. ^~~~~~~~~~~~
  2157. compilation terminated.
  2158. configure:9896: $? = 1
  2159. configure: failed program was:
  2160. | /* confdefs.h */
  2161. | #define PACKAGE_NAME ""
  2162. | #define PACKAGE_TARNAME ""
  2163. | #define PACKAGE_VERSION ""
  2164. | #define PACKAGE_STRING ""
  2165. | #define PACKAGE_BUGREPORT ""
  2166. | #define PACKAGE_URL ""
  2167. | #define CANONICALIZATION_FOR_MATHN 1
  2168. | #define STDC_HEADERS 1
  2169. | #define HAVE_SYS_TYPES_H 1
  2170. | #define HAVE_SYS_STAT_H 1
  2171. | #define HAVE_STDLIB_H 1
  2172. | #define HAVE_STRING_H 1
  2173. | #define HAVE_MEMORY_H 1
  2174. | #define HAVE_STRINGS_H 1
  2175. | #define HAVE_INTTYPES_H 1
  2176. | #define HAVE_STDINT_H 1
  2177. | #define HAVE_UNISTD_H 1
  2178. | #define __EXTENSIONS__ 1
  2179. | #define _ALL_SOURCE 1
  2180. | #define _GNU_SOURCE 1
  2181. | #define _POSIX_PTHREAD_SEMANTICS 1
  2182. | #define _TANDEM_SOURCE 1
  2183. | #define HAVE_INFINITY 1
  2184. | #define HAVE_NAN 1
  2185. | #define RUBY_SYMBOL_EXPORT_BEGIN _Pragma("GCC visibility push(default)")
  2186. | #define RUBY_SYMBOL_EXPORT_END _Pragma("GCC visibility pop")
  2187. | #define HAVE_LIBCRYPT 1
  2188. | #define HAVE_LIBDL 1
  2189. | #define HAVE_DIRENT_H 1
  2190. | #define HAVE__BOOL 1
  2191. | #define HAVE_STDBOOL_H 1
  2192. | #define HAVE_SYS_WAIT_H 1
  2193. | #define HAVE_A_OUT_H 1
  2194. | #define HAVE_GRP_H 1
  2195. | #define HAVE_FCNTL_H 1
  2196. | #define HAVE_FLOAT_H 1
  2197. | #define HAVE_LANGINFO_H 1
  2198. | #define HAVE_LIMITS_H 1
  2199. | #define HAVE_LOCALE_H 1
  2200. | #define HAVE_MALLOC_H 1
  2201. | #define HAVE_PWD_H 1
  2202. | /* end confdefs.h. */
  2203. | #include <stdio.h>
  2204. | #ifdef HAVE_SYS_TYPES_H
  2205. | # include <sys/types.h>
  2206. | #endif
  2207. | #ifdef HAVE_SYS_STAT_H
  2208. | # include <sys/stat.h>
  2209. | #endif
  2210. | #ifdef STDC_HEADERS
  2211. | # include <stdlib.h>
  2212. | # include <stddef.h>
  2213. | #else
  2214. | # ifdef HAVE_STDLIB_H
  2215. | # include <stdlib.h>
  2216. | # endif
  2217. | #endif
  2218. | #ifdef HAVE_STRING_H
  2219. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  2220. | # include <memory.h>
  2221. | # endif
  2222. | # include <string.h>
  2223. | #endif
  2224. | #ifdef HAVE_STRINGS_H
  2225. | # include <strings.h>
  2226. | #endif
  2227. | #ifdef HAVE_INTTYPES_H
  2228. | # include <inttypes.h>
  2229. | #endif
  2230. | #ifdef HAVE_STDINT_H
  2231. | # include <stdint.h>
  2232. | #endif
  2233. | #ifdef HAVE_UNISTD_H
  2234. | # include <unistd.h>
  2235. | #endif
  2236. | #include <sys/attr.h>
  2237. configure:9896: result: no
  2238. configure:9896: checking sys/attr.h presence
  2239. configure:9896: gcc -E conftest.c
  2240. conftest.c:44:10: fatal error: sys/attr.h: No such file or directory
  2241. #include <sys/attr.h>
  2242. ^~~~~~~~~~~~
  2243. compilation terminated.
  2244. configure:9896: $? = 1
  2245. configure: failed program was:
  2246. | /* confdefs.h */
  2247. | #define PACKAGE_NAME ""
  2248. | #define PACKAGE_TARNAME ""
  2249. | #define PACKAGE_VERSION ""
  2250. | #define PACKAGE_STRING ""
  2251. | #define PACKAGE_BUGREPORT ""
  2252. | #define PACKAGE_URL ""
  2253. | #define CANONICALIZATION_FOR_MATHN 1
  2254. | #define STDC_HEADERS 1
  2255. | #define HAVE_SYS_TYPES_H 1
  2256. | #define HAVE_SYS_STAT_H 1
  2257. | #define HAVE_STDLIB_H 1
  2258. | #define HAVE_STRING_H 1
  2259. | #define HAVE_MEMORY_H 1
  2260. | #define HAVE_STRINGS_H 1
  2261. | #define HAVE_INTTYPES_H 1
  2262. | #define HAVE_STDINT_H 1
  2263. | #define HAVE_UNISTD_H 1
  2264. | #define __EXTENSIONS__ 1
  2265. | #define _ALL_SOURCE 1
  2266. | #define _GNU_SOURCE 1
  2267. | #define _POSIX_PTHREAD_SEMANTICS 1
  2268. | #define _TANDEM_SOURCE 1
  2269. | #define HAVE_INFINITY 1
  2270. | #define HAVE_NAN 1
  2271. | #define RUBY_SYMBOL_EXPORT_BEGIN _Pragma("GCC visibility push(default)")
  2272. | #define RUBY_SYMBOL_EXPORT_END _Pragma("GCC visibility pop")
  2273. | #define HAVE_LIBCRYPT 1
  2274. | #define HAVE_LIBDL 1
  2275. | #define HAVE_DIRENT_H 1
  2276. | #define HAVE__BOOL 1
  2277. | #define HAVE_STDBOOL_H 1
  2278. | #define HAVE_SYS_WAIT_H 1
  2279. | #define HAVE_A_OUT_H 1
  2280. | #define HAVE_GRP_H 1
  2281. | #define HAVE_FCNTL_H 1
  2282. | #define HAVE_FLOAT_H 1
  2283. | #define HAVE_LANGINFO_H 1
  2284. | #define HAVE_LIMITS_H 1
  2285. | #define HAVE_LOCALE_H 1
  2286. | #define HAVE_MALLOC_H 1
  2287. | #define HAVE_PWD_H 1
  2288. | /* end confdefs.h. */
  2289. | #include <sys/attr.h>
  2290. configure:9896: result: no
  2291. configure:9896: checking for sys/attr.h
  2292. configure:9896: result: no
  2293. configure:9908: checking sys/fcntl.h usability
  2294. configure:9908: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  2295. configure:9908: $? = 0
  2296. configure:9908: result: yes
  2297. configure:9908: checking sys/fcntl.h presence
  2298. configure:9908: gcc -E conftest.c
  2299. configure:9908: $? = 0
  2300. configure:9908: result: yes
  2301. configure:9908: checking for sys/fcntl.h
  2302. configure:9908: result: yes
  2303. configure:9920: checking sys/file.h usability
  2304. configure:9920: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  2305. configure:9920: $? = 0
  2306. configure:9920: result: yes
  2307. configure:9920: checking sys/file.h presence
  2308. configure:9920: gcc -E conftest.c
  2309. configure:9920: $? = 0
  2310. configure:9920: result: yes
  2311. configure:9920: checking for sys/file.h
  2312. configure:9920: result: yes
  2313. configure:9932: checking sys/id.h usability
  2314. configure:9932: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  2315. conftest.c:79:10: fatal error: sys/id.h: No such file or directory
  2316. #include <sys/id.h>
  2317. ^~~~~~~~~~
  2318. compilation terminated.
  2319. configure:9932: $? = 1
  2320. configure: failed program was:
  2321. | /* confdefs.h */
  2322. | #define PACKAGE_NAME ""
  2323. | #define PACKAGE_TARNAME ""
  2324. | #define PACKAGE_VERSION ""
  2325. | #define PACKAGE_STRING ""
  2326. | #define PACKAGE_BUGREPORT ""
  2327. | #define PACKAGE_URL ""
  2328. | #define CANONICALIZATION_FOR_MATHN 1
  2329. | #define STDC_HEADERS 1
  2330. | #define HAVE_SYS_TYPES_H 1
  2331. | #define HAVE_SYS_STAT_H 1
  2332. | #define HAVE_STDLIB_H 1
  2333. | #define HAVE_STRING_H 1
  2334. | #define HAVE_MEMORY_H 1
  2335. | #define HAVE_STRINGS_H 1
  2336. | #define HAVE_INTTYPES_H 1
  2337. | #define HAVE_STDINT_H 1
  2338. | #define HAVE_UNISTD_H 1
  2339. | #define __EXTENSIONS__ 1
  2340. | #define _ALL_SOURCE 1
  2341. | #define _GNU_SOURCE 1
  2342. | #define _POSIX_PTHREAD_SEMANTICS 1
  2343. | #define _TANDEM_SOURCE 1
  2344. | #define HAVE_INFINITY 1
  2345. | #define HAVE_NAN 1
  2346. | #define RUBY_SYMBOL_EXPORT_BEGIN _Pragma("GCC visibility push(default)")
  2347. | #define RUBY_SYMBOL_EXPORT_END _Pragma("GCC visibility pop")
  2348. | #define HAVE_LIBCRYPT 1
  2349. | #define HAVE_LIBDL 1
  2350. | #define HAVE_DIRENT_H 1
  2351. | #define HAVE__BOOL 1
  2352. | #define HAVE_STDBOOL_H 1
  2353. | #define HAVE_SYS_WAIT_H 1
  2354. | #define HAVE_A_OUT_H 1
  2355. | #define HAVE_GRP_H 1
  2356. | #define HAVE_FCNTL_H 1
  2357. | #define HAVE_FLOAT_H 1
  2358. | #define HAVE_LANGINFO_H 1
  2359. | #define HAVE_LIMITS_H 1
  2360. | #define HAVE_LOCALE_H 1
  2361. | #define HAVE_MALLOC_H 1
  2362. | #define HAVE_PWD_H 1
  2363. | #define HAVE_SYS_FCNTL_H 1
  2364. | #define HAVE_SYS_FILE_H 1
  2365. | /* end confdefs.h. */
  2366. | #include <stdio.h>
  2367. | #ifdef HAVE_SYS_TYPES_H
  2368. | # include <sys/types.h>
  2369. | #endif
  2370. | #ifdef HAVE_SYS_STAT_H
  2371. | # include <sys/stat.h>
  2372. | #endif
  2373. | #ifdef STDC_HEADERS
  2374. | # include <stdlib.h>
  2375. | # include <stddef.h>
  2376. | #else
  2377. | # ifdef HAVE_STDLIB_H
  2378. | # include <stdlib.h>
  2379. | # endif
  2380. | #endif
  2381. | #ifdef HAVE_STRING_H
  2382. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  2383. | # include <memory.h>
  2384. | # endif
  2385. | # include <string.h>
  2386. | #endif
  2387. | #ifdef HAVE_STRINGS_H
  2388. | # include <strings.h>
  2389. | #endif
  2390. | #ifdef HAVE_INTTYPES_H
  2391. | # include <inttypes.h>
  2392. | #endif
  2393. | #ifdef HAVE_STDINT_H
  2394. | # include <stdint.h>
  2395. | #endif
  2396. | #ifdef HAVE_UNISTD_H
  2397. | # include <unistd.h>
  2398. | #endif
  2399. | #include <sys/id.h>
  2400. configure:9932: result: no
  2401. configure:9932: checking sys/id.h presence
  2402. configure:9932: gcc -E conftest.c
  2403. conftest.c:46:10: fatal error: sys/id.h: No such file or directory
  2404. #include <sys/id.h>
  2405. ^~~~~~~~~~
  2406. compilation terminated.
  2407. configure:9932: $? = 1
  2408. configure: failed program was:
  2409. | /* confdefs.h */
  2410. | #define PACKAGE_NAME ""
  2411. | #define PACKAGE_TARNAME ""
  2412. | #define PACKAGE_VERSION ""
  2413. | #define PACKAGE_STRING ""
  2414. | #define PACKAGE_BUGREPORT ""
  2415. | #define PACKAGE_URL ""
  2416. | #define CANONICALIZATION_FOR_MATHN 1
  2417. | #define STDC_HEADERS 1
  2418. | #define HAVE_SYS_TYPES_H 1
  2419. | #define HAVE_SYS_STAT_H 1
  2420. | #define HAVE_STDLIB_H 1
  2421. | #define HAVE_STRING_H 1
  2422. | #define HAVE_MEMORY_H 1
  2423. | #define HAVE_STRINGS_H 1
  2424. | #define HAVE_INTTYPES_H 1
  2425. | #define HAVE_STDINT_H 1
  2426. | #define HAVE_UNISTD_H 1
  2427. | #define __EXTENSIONS__ 1
  2428. | #define _ALL_SOURCE 1
  2429. | #define _GNU_SOURCE 1
  2430. | #define _POSIX_PTHREAD_SEMANTICS 1
  2431. | #define _TANDEM_SOURCE 1
  2432. | #define HAVE_INFINITY 1
  2433. | #define HAVE_NAN 1
  2434. | #define RUBY_SYMBOL_EXPORT_BEGIN _Pragma("GCC visibility push(default)")
  2435. | #define RUBY_SYMBOL_EXPORT_END _Pragma("GCC visibility pop")
  2436. | #define HAVE_LIBCRYPT 1
  2437. | #define HAVE_LIBDL 1
  2438. | #define HAVE_DIRENT_H 1
  2439. | #define HAVE__BOOL 1
  2440. | #define HAVE_STDBOOL_H 1
  2441. | #define HAVE_SYS_WAIT_H 1
  2442. | #define HAVE_A_OUT_H 1
  2443. | #define HAVE_GRP_H 1
  2444. | #define HAVE_FCNTL_H 1
  2445. | #define HAVE_FLOAT_H 1
  2446. | #define HAVE_LANGINFO_H 1
  2447. | #define HAVE_LIMITS_H 1
  2448. | #define HAVE_LOCALE_H 1
  2449. | #define HAVE_MALLOC_H 1
  2450. | #define HAVE_PWD_H 1
  2451. | #define HAVE_SYS_FCNTL_H 1
  2452. | #define HAVE_SYS_FILE_H 1
  2453. | /* end confdefs.h. */
  2454. | #include <sys/id.h>
  2455. configure:9932: result: no
  2456. configure:9932: checking for sys/id.h
  2457. configure:9932: result: no
  2458. configure:9944: checking sys/ioctl.h usability
  2459. configure:9944: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  2460. configure:9944: $? = 0
  2461. configure:9944: result: yes
  2462. configure:9944: checking sys/ioctl.h presence
  2463. configure:9944: gcc -E conftest.c
  2464. configure:9944: $? = 0
  2465. configure:9944: result: yes
  2466. configure:9944: checking for sys/ioctl.h
  2467. configure:9944: result: yes
  2468. configure:9956: checking sys/mkdev.h usability
  2469. configure:9956: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  2470. conftest.c:80:10: fatal error: sys/mkdev.h: No such file or directory
  2471. #include <sys/mkdev.h>
  2472. ^~~~~~~~~~~~~
  2473. compilation terminated.
  2474. configure:9956: $? = 1
  2475. configure: failed program was:
  2476. | /* confdefs.h */
  2477. | #define PACKAGE_NAME ""
  2478. | #define PACKAGE_TARNAME ""
  2479. | #define PACKAGE_VERSION ""
  2480. | #define PACKAGE_STRING ""
  2481. | #define PACKAGE_BUGREPORT ""
  2482. | #define PACKAGE_URL ""
  2483. | #define CANONICALIZATION_FOR_MATHN 1
  2484. | #define STDC_HEADERS 1
  2485. | #define HAVE_SYS_TYPES_H 1
  2486. | #define HAVE_SYS_STAT_H 1
  2487. | #define HAVE_STDLIB_H 1
  2488. | #define HAVE_STRING_H 1
  2489. | #define HAVE_MEMORY_H 1
  2490. | #define HAVE_STRINGS_H 1
  2491. | #define HAVE_INTTYPES_H 1
  2492. | #define HAVE_STDINT_H 1
  2493. | #define HAVE_UNISTD_H 1
  2494. | #define __EXTENSIONS__ 1
  2495. | #define _ALL_SOURCE 1
  2496. | #define _GNU_SOURCE 1
  2497. | #define _POSIX_PTHREAD_SEMANTICS 1
  2498. | #define _TANDEM_SOURCE 1
  2499. | #define HAVE_INFINITY 1
  2500. | #define HAVE_NAN 1
  2501. | #define RUBY_SYMBOL_EXPORT_BEGIN _Pragma("GCC visibility push(default)")
  2502. | #define RUBY_SYMBOL_EXPORT_END _Pragma("GCC visibility pop")
  2503. | #define HAVE_LIBCRYPT 1
  2504. | #define HAVE_LIBDL 1
  2505. | #define HAVE_DIRENT_H 1
  2506. | #define HAVE__BOOL 1
  2507. | #define HAVE_STDBOOL_H 1
  2508. | #define HAVE_SYS_WAIT_H 1
  2509. | #define HAVE_A_OUT_H 1
  2510. | #define HAVE_GRP_H 1
  2511. | #define HAVE_FCNTL_H 1
  2512. | #define HAVE_FLOAT_H 1
  2513. | #define HAVE_LANGINFO_H 1
  2514. | #define HAVE_LIMITS_H 1
  2515. | #define HAVE_LOCALE_H 1
  2516. | #define HAVE_MALLOC_H 1
  2517. | #define HAVE_PWD_H 1
  2518. | #define HAVE_SYS_FCNTL_H 1
  2519. | #define HAVE_SYS_FILE_H 1
  2520. | #define HAVE_SYS_IOCTL_H 1
  2521. | /* end confdefs.h. */
  2522. | #include <stdio.h>
  2523. | #ifdef HAVE_SYS_TYPES_H
  2524. | # include <sys/types.h>
  2525. | #endif
  2526. | #ifdef HAVE_SYS_STAT_H
  2527. | # include <sys/stat.h>
  2528. | #endif
  2529. | #ifdef STDC_HEADERS
  2530. | # include <stdlib.h>
  2531. | # include <stddef.h>
  2532. | #else
  2533. | # ifdef HAVE_STDLIB_H
  2534. | # include <stdlib.h>
  2535. | # endif
  2536. | #endif
  2537. | #ifdef HAVE_STRING_H
  2538. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  2539. | # include <memory.h>
  2540. | # endif
  2541. | # include <string.h>
  2542. | #endif
  2543. | #ifdef HAVE_STRINGS_H
  2544. | # include <strings.h>
  2545. | #endif
  2546. | #ifdef HAVE_INTTYPES_H
  2547. | # include <inttypes.h>
  2548. | #endif
  2549. | #ifdef HAVE_STDINT_H
  2550. | # include <stdint.h>
  2551. | #endif
  2552. | #ifdef HAVE_UNISTD_H
  2553. | # include <unistd.h>
  2554. | #endif
  2555. | #include <sys/mkdev.h>
  2556. configure:9956: result: no
  2557. configure:9956: checking sys/mkdev.h presence
  2558. configure:9956: gcc -E conftest.c
  2559. conftest.c:47:10: fatal error: sys/mkdev.h: No such file or directory
  2560. #include <sys/mkdev.h>
  2561. ^~~~~~~~~~~~~
  2562. compilation terminated.
  2563. configure:9956: $? = 1
  2564. configure: failed program was:
  2565. | /* confdefs.h */
  2566. | #define PACKAGE_NAME ""
  2567. | #define PACKAGE_TARNAME ""
  2568. | #define PACKAGE_VERSION ""
  2569. | #define PACKAGE_STRING ""
  2570. | #define PACKAGE_BUGREPORT ""
  2571. | #define PACKAGE_URL ""
  2572. | #define CANONICALIZATION_FOR_MATHN 1
  2573. | #define STDC_HEADERS 1
  2574. | #define HAVE_SYS_TYPES_H 1
  2575. | #define HAVE_SYS_STAT_H 1
  2576. | #define HAVE_STDLIB_H 1
  2577. | #define HAVE_STRING_H 1
  2578. | #define HAVE_MEMORY_H 1
  2579. | #define HAVE_STRINGS_H 1
  2580. | #define HAVE_INTTYPES_H 1
  2581. | #define HAVE_STDINT_H 1
  2582. | #define HAVE_UNISTD_H 1
  2583. | #define __EXTENSIONS__ 1
  2584. | #define _ALL_SOURCE 1
  2585. | #define _GNU_SOURCE 1
  2586. | #define _POSIX_PTHREAD_SEMANTICS 1
  2587. | #define _TANDEM_SOURCE 1
  2588. | #define HAVE_INFINITY 1
  2589. | #define HAVE_NAN 1
  2590. | #define RUBY_SYMBOL_EXPORT_BEGIN _Pragma("GCC visibility push(default)")
  2591. | #define RUBY_SYMBOL_EXPORT_END _Pragma("GCC visibility pop")
  2592. | #define HAVE_LIBCRYPT 1
  2593. | #define HAVE_LIBDL 1
  2594. | #define HAVE_DIRENT_H 1
  2595. | #define HAVE__BOOL 1
  2596. | #define HAVE_STDBOOL_H 1
  2597. | #define HAVE_SYS_WAIT_H 1
  2598. | #define HAVE_A_OUT_H 1
  2599. | #define HAVE_GRP_H 1
  2600. | #define HAVE_FCNTL_H 1
  2601. | #define HAVE_FLOAT_H 1
  2602. | #define HAVE_LANGINFO_H 1
  2603. | #define HAVE_LIMITS_H 1
  2604. | #define HAVE_LOCALE_H 1
  2605. | #define HAVE_MALLOC_H 1
  2606. | #define HAVE_PWD_H 1
  2607. | #define HAVE_SYS_FCNTL_H 1
  2608. | #define HAVE_SYS_FILE_H 1
  2609. | #define HAVE_SYS_IOCTL_H 1
  2610. | /* end confdefs.h. */
  2611. | #include <sys/mkdev.h>
  2612. configure:9956: result: no
  2613. configure:9956: checking for sys/mkdev.h
  2614. configure:9956: result: no
  2615. configure:9968: checking sys/param.h usability
  2616. configure:9968: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  2617. configure:9968: $? = 0
  2618. configure:9968: result: yes
  2619. configure:9968: checking sys/param.h presence
  2620. configure:9968: gcc -E conftest.c
  2621. configure:9968: $? = 0
  2622. configure:9968: result: yes
  2623. configure:9968: checking for sys/param.h
  2624. configure:9968: result: yes
  2625. configure:9980: checking sys/prctl.h usability
  2626. configure:9980: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  2627. configure:9980: $? = 0
  2628. configure:9980: result: yes
  2629. configure:9980: checking sys/prctl.h presence
  2630. configure:9980: gcc -E conftest.c
  2631. configure:9980: $? = 0
  2632. configure:9980: result: yes
  2633. configure:9980: checking for sys/prctl.h
  2634. configure:9980: result: yes
  2635. configure:9992: checking sys/resource.h usability
  2636. configure:9992: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  2637. configure:9992: $? = 0
  2638. configure:9992: result: yes
  2639. configure:9992: checking sys/resource.h presence
  2640. configure:9992: gcc -E conftest.c
  2641. configure:9992: $? = 0
  2642. configure:9992: result: yes
  2643. configure:9992: checking for sys/resource.h
  2644. configure:9992: result: yes
  2645. configure:10004: checking sys/select.h usability
  2646. configure:10004: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  2647. configure:10004: $? = 0
  2648. configure:10004: result: yes
  2649. configure:10004: checking sys/select.h presence
  2650. configure:10004: gcc -E conftest.c
  2651. configure:10004: $? = 0
  2652. configure:10004: result: yes
  2653. configure:10004: checking for sys/select.h
  2654. configure:10004: result: yes
  2655. configure:10016: checking sys/sendfile.h usability
  2656. configure:10016: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  2657. configure:10016: $? = 0
  2658. configure:10016: result: yes
  2659. configure:10016: checking sys/sendfile.h presence
  2660. configure:10016: gcc -E conftest.c
  2661. configure:10016: $? = 0
  2662. configure:10016: result: yes
  2663. configure:10016: checking for sys/sendfile.h
  2664. configure:10016: result: yes
  2665. configure:10028: checking sys/socket.h usability
  2666. configure:10028: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  2667. configure:10028: $? = 0
  2668. configure:10028: result: yes
  2669. configure:10028: checking sys/socket.h presence
  2670. configure:10028: gcc -E conftest.c
  2671. configure:10028: $? = 0
  2672. configure:10028: result: yes
  2673. configure:10028: checking for sys/socket.h
  2674. configure:10028: result: yes
  2675. configure:10040: checking sys/syscall.h usability
  2676. configure:10040: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  2677. configure:10040: $? = 0
  2678. configure:10040: result: yes
  2679. configure:10040: checking sys/syscall.h presence
  2680. configure:10040: gcc -E conftest.c
  2681. configure:10040: $? = 0
  2682. configure:10040: result: yes
  2683. configure:10040: checking for sys/syscall.h
  2684. configure:10040: result: yes
  2685. configure:10052: checking sys/time.h usability
  2686. configure:10052: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  2687. configure:10052: $? = 0
  2688. configure:10052: result: yes
  2689. configure:10052: checking sys/time.h presence
  2690. configure:10052: gcc -E conftest.c
  2691. configure:10052: $? = 0
  2692. configure:10052: result: yes
  2693. configure:10052: checking for sys/time.h
  2694. configure:10052: result: yes
  2695. configure:10064: checking sys/times.h usability
  2696. configure:10064: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  2697. configure:10064: $? = 0
  2698. configure:10064: result: yes
  2699. configure:10064: checking sys/times.h presence
  2700. configure:10064: gcc -E conftest.c
  2701. configure:10064: $? = 0
  2702. configure:10064: result: yes
  2703. configure:10064: checking for sys/times.h
  2704. configure:10064: result: yes
  2705. configure:10076: checking sys/uio.h usability
  2706. configure:10076: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  2707. configure:10076: $? = 0
  2708. configure:10076: result: yes
  2709. configure:10076: checking sys/uio.h presence
  2710. configure:10076: gcc -E conftest.c
  2711. configure:10076: $? = 0
  2712. configure:10076: result: yes
  2713. configure:10076: checking for sys/uio.h
  2714. configure:10076: result: yes
  2715. configure:10088: checking sys/utime.h usability
  2716. configure:10088: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  2717. conftest.c:90:10: fatal error: sys/utime.h: No such file or directory
  2718. #include <sys/utime.h>
  2719. ^~~~~~~~~~~~~
  2720. compilation terminated.
  2721. configure:10088: $? = 1
  2722. configure: failed program was:
  2723. | /* confdefs.h */
  2724. | #define PACKAGE_NAME ""
  2725. | #define PACKAGE_TARNAME ""
  2726. | #define PACKAGE_VERSION ""
  2727. | #define PACKAGE_STRING ""
  2728. | #define PACKAGE_BUGREPORT ""
  2729. | #define PACKAGE_URL ""
  2730. | #define CANONICALIZATION_FOR_MATHN 1
  2731. | #define STDC_HEADERS 1
  2732. | #define HAVE_SYS_TYPES_H 1
  2733. | #define HAVE_SYS_STAT_H 1
  2734. | #define HAVE_STDLIB_H 1
  2735. | #define HAVE_STRING_H 1
  2736. | #define HAVE_MEMORY_H 1
  2737. | #define HAVE_STRINGS_H 1
  2738. | #define HAVE_INTTYPES_H 1
  2739. | #define HAVE_STDINT_H 1
  2740. | #define HAVE_UNISTD_H 1
  2741. | #define __EXTENSIONS__ 1
  2742. | #define _ALL_SOURCE 1
  2743. | #define _GNU_SOURCE 1
  2744. | #define _POSIX_PTHREAD_SEMANTICS 1
  2745. | #define _TANDEM_SOURCE 1
  2746. | #define HAVE_INFINITY 1
  2747. | #define HAVE_NAN 1
  2748. | #define RUBY_SYMBOL_EXPORT_BEGIN _Pragma("GCC visibility push(default)")
  2749. | #define RUBY_SYMBOL_EXPORT_END _Pragma("GCC visibility pop")
  2750. | #define HAVE_LIBCRYPT 1
  2751. | #define HAVE_LIBDL 1
  2752. | #define HAVE_DIRENT_H 1
  2753. | #define HAVE__BOOL 1
  2754. | #define HAVE_STDBOOL_H 1
  2755. | #define HAVE_SYS_WAIT_H 1
  2756. | #define HAVE_A_OUT_H 1
  2757. | #define HAVE_GRP_H 1
  2758. | #define HAVE_FCNTL_H 1
  2759. | #define HAVE_FLOAT_H 1
  2760. | #define HAVE_LANGINFO_H 1
  2761. | #define HAVE_LIMITS_H 1
  2762. | #define HAVE_LOCALE_H 1
  2763. | #define HAVE_MALLOC_H 1
  2764. | #define HAVE_PWD_H 1
  2765. | #define HAVE_SYS_FCNTL_H 1
  2766. | #define HAVE_SYS_FILE_H 1
  2767. | #define HAVE_SYS_IOCTL_H 1
  2768. | #define HAVE_SYS_PARAM_H 1
  2769. | #define HAVE_SYS_PRCTL_H 1
  2770. | #define HAVE_SYS_RESOURCE_H 1
  2771. | #define HAVE_SYS_SELECT_H 1
  2772. | #define HAVE_SYS_SENDFILE_H 1
  2773. | #define HAVE_SYS_SOCKET_H 1
  2774. | #define HAVE_SYS_SYSCALL_H 1
  2775. | #define HAVE_SYS_TIME_H 1
  2776. | #define HAVE_SYS_TIMES_H 1
  2777. | #define HAVE_SYS_UIO_H 1
  2778. | /* end confdefs.h. */
  2779. | #include <stdio.h>
  2780. | #ifdef HAVE_SYS_TYPES_H
  2781. | # include <sys/types.h>
  2782. | #endif
  2783. | #ifdef HAVE_SYS_STAT_H
  2784. | # include <sys/stat.h>
  2785. | #endif
  2786. | #ifdef STDC_HEADERS
  2787. | # include <stdlib.h>
  2788. | # include <stddef.h>
  2789. | #else
  2790. | # ifdef HAVE_STDLIB_H
  2791. | # include <stdlib.h>
  2792. | # endif
  2793. | #endif
  2794. | #ifdef HAVE_STRING_H
  2795. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  2796. | # include <memory.h>
  2797. | # endif
  2798. | # include <string.h>
  2799. | #endif
  2800. | #ifdef HAVE_STRINGS_H
  2801. | # include <strings.h>
  2802. | #endif
  2803. | #ifdef HAVE_INTTYPES_H
  2804. | # include <inttypes.h>
  2805. | #endif
  2806. | #ifdef HAVE_STDINT_H
  2807. | # include <stdint.h>
  2808. | #endif
  2809. | #ifdef HAVE_UNISTD_H
  2810. | # include <unistd.h>
  2811. | #endif
  2812. | #include <sys/utime.h>
  2813. configure:10088: result: no
  2814. configure:10088: checking sys/utime.h presence
  2815. configure:10088: gcc -E conftest.c
  2816. conftest.c:57:10: fatal error: sys/utime.h: No such file or directory
  2817. #include <sys/utime.h>
  2818. ^~~~~~~~~~~~~
  2819. compilation terminated.
  2820. configure:10088: $? = 1
  2821. configure: failed program was:
  2822. | /* confdefs.h */
  2823. | #define PACKAGE_NAME ""
  2824. | #define PACKAGE_TARNAME ""
  2825. | #define PACKAGE_VERSION ""
  2826. | #define PACKAGE_STRING ""
  2827. | #define PACKAGE_BUGREPORT ""
  2828. | #define PACKAGE_URL ""
  2829. | #define CANONICALIZATION_FOR_MATHN 1
  2830. | #define STDC_HEADERS 1
  2831. | #define HAVE_SYS_TYPES_H 1
  2832. | #define HAVE_SYS_STAT_H 1
  2833. | #define HAVE_STDLIB_H 1
  2834. | #define HAVE_STRING_H 1
  2835. | #define HAVE_MEMORY_H 1
  2836. | #define HAVE_STRINGS_H 1
  2837. | #define HAVE_INTTYPES_H 1
  2838. | #define HAVE_STDINT_H 1
  2839. | #define HAVE_UNISTD_H 1
  2840. | #define __EXTENSIONS__ 1
  2841. | #define _ALL_SOURCE 1
  2842. | #define _GNU_SOURCE 1
  2843. | #define _POSIX_PTHREAD_SEMANTICS 1
  2844. | #define _TANDEM_SOURCE 1
  2845. | #define HAVE_INFINITY 1
  2846. | #define HAVE_NAN 1
  2847. | #define RUBY_SYMBOL_EXPORT_BEGIN _Pragma("GCC visibility push(default)")
  2848. | #define RUBY_SYMBOL_EXPORT_END _Pragma("GCC visibility pop")
  2849. | #define HAVE_LIBCRYPT 1
  2850. | #define HAVE_LIBDL 1
  2851. | #define HAVE_DIRENT_H 1
  2852. | #define HAVE__BOOL 1
  2853. | #define HAVE_STDBOOL_H 1
  2854. | #define HAVE_SYS_WAIT_H 1
  2855. | #define HAVE_A_OUT_H 1
  2856. | #define HAVE_GRP_H 1
  2857. | #define HAVE_FCNTL_H 1
  2858. | #define HAVE_FLOAT_H 1
  2859. | #define HAVE_LANGINFO_H 1
  2860. | #define HAVE_LIMITS_H 1
  2861. | #define HAVE_LOCALE_H 1
  2862. | #define HAVE_MALLOC_H 1
  2863. | #define HAVE_PWD_H 1
  2864. | #define HAVE_SYS_FCNTL_H 1
  2865. | #define HAVE_SYS_FILE_H 1
  2866. | #define HAVE_SYS_IOCTL_H 1
  2867. | #define HAVE_SYS_PARAM_H 1
  2868. | #define HAVE_SYS_PRCTL_H 1
  2869. | #define HAVE_SYS_RESOURCE_H 1
  2870. | #define HAVE_SYS_SELECT_H 1
  2871. | #define HAVE_SYS_SENDFILE_H 1
  2872. | #define HAVE_SYS_SOCKET_H 1
  2873. | #define HAVE_SYS_SYSCALL_H 1
  2874. | #define HAVE_SYS_TIME_H 1
  2875. | #define HAVE_SYS_TIMES_H 1
  2876. | #define HAVE_SYS_UIO_H 1
  2877. | /* end confdefs.h. */
  2878. | #include <sys/utime.h>
  2879. configure:10088: result: no
  2880. configure:10088: checking for sys/utime.h
  2881. configure:10088: result: no
  2882. configure:10100: checking syscall.h usability
  2883. configure:10100: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  2884. configure:10100: $? = 0
  2885. configure:10100: result: yes
  2886. configure:10100: checking syscall.h presence
  2887. configure:10100: gcc -E conftest.c
  2888. configure:10100: $? = 0
  2889. configure:10100: result: yes
  2890. configure:10100: checking for syscall.h
  2891. configure:10100: result: yes
  2892. configure:10112: checking time.h usability
  2893. configure:10112: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  2894. configure:10112: $? = 0
  2895. configure:10112: result: yes
  2896. configure:10112: checking time.h presence
  2897. configure:10112: gcc -E conftest.c
  2898. configure:10112: $? = 0
  2899. configure:10112: result: yes
  2900. configure:10112: checking for time.h
  2901. configure:10112: result: yes
  2902. configure:10124: checking ucontext.h usability
  2903. configure:10124: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  2904. configure:10124: $? = 0
  2905. configure:10124: result: yes
  2906. configure:10124: checking ucontext.h presence
  2907. configure:10124: gcc -E conftest.c
  2908. configure:10124: $? = 0
  2909. configure:10124: result: yes
  2910. configure:10124: checking for ucontext.h
  2911. configure:10124: result: yes
  2912. configure:10136: checking utime.h usability
  2913. configure:10136: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  2914. configure:10136: $? = 0
  2915. configure:10136: result: yes
  2916. configure:10136: checking utime.h presence
  2917. configure:10136: gcc -E conftest.c
  2918. configure:10136: $? = 0
  2919. configure:10136: result: yes
  2920. configure:10136: checking for utime.h
  2921. configure:10136: result: yes
  2922. configure:10158: checking gmp.h usability
  2923. configure:10158: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  2924. configure:10158: $? = 0
  2925. configure:10158: result: yes
  2926. configure:10158: checking gmp.h presence
  2927. configure:10158: gcc -E conftest.c
  2928. configure:10158: $? = 0
  2929. configure:10158: result: yes
  2930. configure:10158: checking for gmp.h
  2931. configure:10158: result: yes
  2932. configure:10169: checking for __gmpz_init in -lgmp
  2933. configure:10194: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  2934. configure:10194: $? = 0
  2935. configure:10203: result: yes
  2936. configure:10350: checking for special C compiler options needed for large files
  2937. configure:10395: result: no
  2938. configure:10401: checking for _FILE_OFFSET_BITS value needed for large files
  2939. configure:10426: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  2940. configure:10426: $? = 0
  2941. configure:10458: result: no
  2942. configure:10600: checking whether byte ordering is bigendian
  2943. configure:10615: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  2944. conftest.c:64:9: error: unknown type name 'not'
  2945. not a universal capable compiler
  2946. ^~~
  2947. conftest.c:64:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'universal'
  2948. not a universal capable compiler
  2949. ^~~~~~~~~
  2950. conftest.c:64:15: error: unknown type name 'universal'
  2951. configure:10615: $? = 1
  2952. configure: failed program was:
  2953. | /* confdefs.h */
  2954. | #define PACKAGE_NAME ""
  2955. | #define PACKAGE_TARNAME ""
  2956. | #define PACKAGE_VERSION ""
  2957. | #define PACKAGE_STRING ""
  2958. | #define PACKAGE_BUGREPORT ""
  2959. | #define PACKAGE_URL ""
  2960. | #define CANONICALIZATION_FOR_MATHN 1
  2961. | #define STDC_HEADERS 1
  2962. | #define HAVE_SYS_TYPES_H 1
  2963. | #define HAVE_SYS_STAT_H 1
  2964. | #define HAVE_STDLIB_H 1
  2965. | #define HAVE_STRING_H 1
  2966. | #define HAVE_MEMORY_H 1
  2967. | #define HAVE_STRINGS_H 1
  2968. | #define HAVE_INTTYPES_H 1
  2969. | #define HAVE_STDINT_H 1
  2970. | #define HAVE_UNISTD_H 1
  2971. | #define __EXTENSIONS__ 1
  2972. | #define _ALL_SOURCE 1
  2973. | #define _GNU_SOURCE 1
  2974. | #define _POSIX_PTHREAD_SEMANTICS 1
  2975. | #define _TANDEM_SOURCE 1
  2976. | #define HAVE_INFINITY 1
  2977. | #define HAVE_NAN 1
  2978. | #define RUBY_SYMBOL_EXPORT_BEGIN _Pragma("GCC visibility push(default)")
  2979. | #define RUBY_SYMBOL_EXPORT_END _Pragma("GCC visibility pop")
  2980. | #define HAVE_LIBCRYPT 1
  2981. | #define HAVE_LIBDL 1
  2982. | #define HAVE_DIRENT_H 1
  2983. | #define HAVE__BOOL 1
  2984. | #define HAVE_STDBOOL_H 1
  2985. | #define HAVE_SYS_WAIT_H 1
  2986. | #define HAVE_A_OUT_H 1
  2987. | #define HAVE_GRP_H 1
  2988. | #define HAVE_FCNTL_H 1
  2989. | #define HAVE_FLOAT_H 1
  2990. | #define HAVE_LANGINFO_H 1
  2991. | #define HAVE_LIMITS_H 1
  2992. | #define HAVE_LOCALE_H 1
  2993. | #define HAVE_MALLOC_H 1
  2994. | #define HAVE_PWD_H 1
  2995. | #define HAVE_SYS_FCNTL_H 1
  2996. | #define HAVE_SYS_FILE_H 1
  2997. | #define HAVE_SYS_IOCTL_H 1
  2998. | #define HAVE_SYS_PARAM_H 1
  2999. | #define HAVE_SYS_PRCTL_H 1
  3000. | #define HAVE_SYS_RESOURCE_H 1
  3001. | #define HAVE_SYS_SELECT_H 1
  3002. | #define HAVE_SYS_SENDFILE_H 1
  3003. | #define HAVE_SYS_SOCKET_H 1
  3004. | #define HAVE_SYS_SYSCALL_H 1
  3005. | #define HAVE_SYS_TIME_H 1
  3006. | #define HAVE_SYS_TIMES_H 1
  3007. | #define HAVE_SYS_UIO_H 1
  3008. | #define HAVE_SYSCALL_H 1
  3009. | #define HAVE_TIME_H 1
  3010. | #define HAVE_UCONTEXT_H 1
  3011. | #define HAVE_UTIME_H 1
  3012. | #define HAVE_GMP_H 1
  3013. | #define HAVE_LIBGMP 1
  3014. | /* end confdefs.h. */
  3015. | #ifndef __APPLE_CC__
  3016. | not a universal capable compiler
  3017. | #endif
  3018. | typedef int dummy;
  3019. |
  3020. configure:10660: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  3021. configure:10660: $? = 0
  3022. configure:10678: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  3023. conftest.c: In function 'main':
  3024. conftest.c:70:4: error: unknown type name 'not'; did you mean 'ino_t'?
  3025. not big endian
  3026. ^~~
  3027. ino_t
  3028. conftest.c:70:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'endian'
  3029. not big endian
  3030. ^~~~~~
  3031. configure:10678: $? = 1
  3032. configure: failed program was:
  3033. | /* confdefs.h */
  3034. | #define PACKAGE_NAME ""
  3035. | #define PACKAGE_TARNAME ""
  3036. | #define PACKAGE_VERSION ""
  3037. | #define PACKAGE_STRING ""
  3038. | #define PACKAGE_BUGREPORT ""
  3039. | #define PACKAGE_URL ""
  3040. | #define CANONICALIZATION_FOR_MATHN 1
  3041. | #define STDC_HEADERS 1
  3042. | #define HAVE_SYS_TYPES_H 1
  3043. | #define HAVE_SYS_STAT_H 1
  3044. | #define HAVE_STDLIB_H 1
  3045. | #define HAVE_STRING_H 1
  3046. | #define HAVE_MEMORY_H 1
  3047. | #define HAVE_STRINGS_H 1
  3048. | #define HAVE_INTTYPES_H 1
  3049. | #define HAVE_STDINT_H 1
  3050. | #define HAVE_UNISTD_H 1
  3051. | #define __EXTENSIONS__ 1
  3052. | #define _ALL_SOURCE 1
  3053. | #define _GNU_SOURCE 1
  3054. | #define _POSIX_PTHREAD_SEMANTICS 1
  3055. | #define _TANDEM_SOURCE 1
  3056. | #define HAVE_INFINITY 1
  3057. | #define HAVE_NAN 1
  3058. | #define RUBY_SYMBOL_EXPORT_BEGIN _Pragma("GCC visibility push(default)")
  3059. | #define RUBY_SYMBOL_EXPORT_END _Pragma("GCC visibility pop")
  3060. | #define HAVE_LIBCRYPT 1
  3061. | #define HAVE_LIBDL 1
  3062. | #define HAVE_DIRENT_H 1
  3063. | #define HAVE__BOOL 1
  3064. | #define HAVE_STDBOOL_H 1
  3065. | #define HAVE_SYS_WAIT_H 1
  3066. | #define HAVE_A_OUT_H 1
  3067. | #define HAVE_GRP_H 1
  3068. | #define HAVE_FCNTL_H 1
  3069. | #define HAVE_FLOAT_H 1
  3070. | #define HAVE_LANGINFO_H 1
  3071. | #define HAVE_LIMITS_H 1
  3072. | #define HAVE_LOCALE_H 1
  3073. | #define HAVE_MALLOC_H 1
  3074. | #define HAVE_PWD_H 1
  3075. | #define HAVE_SYS_FCNTL_H 1
  3076. | #define HAVE_SYS_FILE_H 1
  3077. | #define HAVE_SYS_IOCTL_H 1
  3078. | #define HAVE_SYS_PARAM_H 1
  3079. | #define HAVE_SYS_PRCTL_H 1
  3080. | #define HAVE_SYS_RESOURCE_H 1
  3081. | #define HAVE_SYS_SELECT_H 1
  3082. | #define HAVE_SYS_SENDFILE_H 1
  3083. | #define HAVE_SYS_SOCKET_H 1
  3084. | #define HAVE_SYS_SYSCALL_H 1
  3085. | #define HAVE_SYS_TIME_H 1
  3086. | #define HAVE_SYS_TIMES_H 1
  3087. | #define HAVE_SYS_UIO_H 1
  3088. | #define HAVE_SYSCALL_H 1
  3089. | #define HAVE_TIME_H 1
  3090. | #define HAVE_UCONTEXT_H 1
  3091. | #define HAVE_UTIME_H 1
  3092. | #define HAVE_GMP_H 1
  3093. | #define HAVE_LIBGMP 1
  3094. | /* end confdefs.h. */
  3095. | #include <sys/types.h>
  3096. | #include <sys/param.h>
  3097. |
  3098. | int
  3099. | main ()
  3100. | {
  3101. | #if BYTE_ORDER != BIG_ENDIAN
  3102. | not big endian
  3103. | #endif
  3104. |
  3105. | ;
  3106. | return 0;
  3107. | }
  3108. configure:10806: result: no
  3109. configure:10824: checking for an ANSI C-conforming const
  3110. configure:10890: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  3111. configure:10890: $? = 0
  3112. configure:10897: result: yes
  3113. configure:10905: checking whether char is unsigned
  3114. configure:10924: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  3115. configure:10924: $? = 0
  3116. configure:10931: result: no
  3117. configure:10938: checking for inline
  3118. configure:10954: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  3119. configure:10954: $? = 0
  3120. configure:10962: result: inline
  3121. configure:10980: checking for working volatile
  3122. configure:10999: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  3123. configure:10999: $? = 0
  3124. configure:11006: result: yes
  3125. configure:11015: checking for typeof syntax and keyword spelling
  3126. configure:11046: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  3127. conftest.c: In function 'main':
  3128. conftest.c:71:13: warning: implicit declaration of function 'typeof' [-Wimplicit-function-declaration]
  3129. ^~~~~~
  3130. conftest.c:72:23: error: expected ')' before numeric constant
  3131. ((typeof (value)) 0 < (typeof (value)) -1
  3132. ^
  3133. conftest.c:71:13: error: called object is not a function or function pointer
  3134. ~^~~~~~~~~~~~~~~
  3135. configure:11046: $? = 1
  3136. configure: failed program was:
  3137. | /* confdefs.h */
  3138. | #define PACKAGE_NAME ""
  3139. | #define PACKAGE_TARNAME ""
  3140. | #define PACKAGE_VERSION ""
  3141. | #define PACKAGE_STRING ""
  3142. | #define PACKAGE_BUGREPORT ""
  3143. | #define PACKAGE_URL ""
  3144. | #define CANONICALIZATION_FOR_MATHN 1
  3145. | #define STDC_HEADERS 1
  3146. | #define HAVE_SYS_TYPES_H 1
  3147. | #define HAVE_SYS_STAT_H 1
  3148. | #define HAVE_STDLIB_H 1
  3149. | #define HAVE_STRING_H 1
  3150. | #define HAVE_MEMORY_H 1
  3151. | #define HAVE_STRINGS_H 1
  3152. | #define HAVE_INTTYPES_H 1
  3153. | #define HAVE_STDINT_H 1
  3154. | #define HAVE_UNISTD_H 1
  3155. | #define __EXTENSIONS__ 1
  3156. | #define _ALL_SOURCE 1
  3157. | #define _GNU_SOURCE 1
  3158. | #define _POSIX_PTHREAD_SEMANTICS 1
  3159. | #define _TANDEM_SOURCE 1
  3160. | #define HAVE_INFINITY 1
  3161. | #define HAVE_NAN 1
  3162. | #define RUBY_SYMBOL_EXPORT_BEGIN _Pragma("GCC visibility push(default)")
  3163. | #define RUBY_SYMBOL_EXPORT_END _Pragma("GCC visibility pop")
  3164. | #define HAVE_LIBCRYPT 1
  3165. | #define HAVE_LIBDL 1
  3166. | #define HAVE_DIRENT_H 1
  3167. | #define HAVE__BOOL 1
  3168. | #define HAVE_STDBOOL_H 1
  3169. | #define HAVE_SYS_WAIT_H 1
  3170. | #define HAVE_A_OUT_H 1
  3171. | #define HAVE_GRP_H 1
  3172. | #define HAVE_FCNTL_H 1
  3173. | #define HAVE_FLOAT_H 1
  3174. | #define HAVE_LANGINFO_H 1
  3175. | #define HAVE_LIMITS_H 1
  3176. | #define HAVE_LOCALE_H 1
  3177. | #define HAVE_MALLOC_H 1
  3178. | #define HAVE_PWD_H 1
  3179. | #define HAVE_SYS_FCNTL_H 1
  3180. | #define HAVE_SYS_FILE_H 1
  3181. | #define HAVE_SYS_IOCTL_H 1
  3182. | #define HAVE_SYS_PARAM_H 1
  3183. | #define HAVE_SYS_PRCTL_H 1
  3184. | #define HAVE_SYS_RESOURCE_H 1
  3185. | #define HAVE_SYS_SELECT_H 1
  3186. | #define HAVE_SYS_SENDFILE_H 1
  3187. | #define HAVE_SYS_SOCKET_H 1
  3188. | #define HAVE_SYS_SYSCALL_H 1
  3189. | #define HAVE_SYS_TIME_H 1
  3190. | #define HAVE_SYS_TIMES_H 1
  3191. | #define HAVE_SYS_UIO_H 1
  3192. | #define HAVE_SYSCALL_H 1
  3193. | #define HAVE_TIME_H 1
  3194. | #define HAVE_UCONTEXT_H 1
  3195. | #define HAVE_UTIME_H 1
  3196. | #define HAVE_GMP_H 1
  3197. | #define HAVE_LIBGMP 1
  3198. | /* end confdefs.h. */
  3199. |
  3200. | int
  3201. | main ()
  3202. | {
  3203. |
  3204. | int value;
  3205. | typedef struct {
  3206. | char a [1
  3207. | + ! ((typeof (value))
  3208. | ((typeof (value)) 0 < (typeof (value)) -1
  3209. | ? (typeof (value)) - 1
  3210. | : ~ (~ (typeof (value)) 0
  3211. | << sizeof (typeof (value)))))]; }
  3212. | ac__typeof_type_;
  3213. | return
  3214. | (! ((void) ((ac__typeof_type_ *) 0), 0));
  3215. |
  3216. | ;
  3217. | return 0;
  3218. | }
  3219. configure:11046: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  3220. configure:11046: $? = 0
  3221. configure:11053: result: __typeof__
  3222. configure:11076: checking for long long
  3223. configure:11076: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  3224. configure:11076: $? = 0
  3225. configure:11076: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  3226. conftest.c: In function 'main':
  3227. conftest.c:101:24: error: expected expression before ')' token
  3228. if (sizeof ((long long)))
  3229. ^
  3230. configure:11076: $? = 1
  3231. configure: failed program was:
  3232. | /* confdefs.h */
  3233. | #define PACKAGE_NAME ""
  3234. | #define PACKAGE_TARNAME ""
  3235. | #define PACKAGE_VERSION ""
  3236. | #define PACKAGE_STRING ""
  3237. | #define PACKAGE_BUGREPORT ""
  3238. | #define PACKAGE_URL ""
  3239. | #define CANONICALIZATION_FOR_MATHN 1
  3240. | #define STDC_HEADERS 1
  3241. | #define HAVE_SYS_TYPES_H 1
  3242. | #define HAVE_SYS_STAT_H 1
  3243. | #define HAVE_STDLIB_H 1
  3244. | #define HAVE_STRING_H 1
  3245. | #define HAVE_MEMORY_H 1
  3246. | #define HAVE_STRINGS_H 1
  3247. | #define HAVE_INTTYPES_H 1
  3248. | #define HAVE_STDINT_H 1
  3249. | #define HAVE_UNISTD_H 1
  3250. | #define __EXTENSIONS__ 1
  3251. | #define _ALL_SOURCE 1
  3252. | #define _GNU_SOURCE 1
  3253. | #define _POSIX_PTHREAD_SEMANTICS 1
  3254. | #define _TANDEM_SOURCE 1
  3255. | #define HAVE_INFINITY 1
  3256. | #define HAVE_NAN 1
  3257. | #define RUBY_SYMBOL_EXPORT_BEGIN _Pragma("GCC visibility push(default)")
  3258. | #define RUBY_SYMBOL_EXPORT_END _Pragma("GCC visibility pop")
  3259. | #define HAVE_LIBCRYPT 1
  3260. | #define HAVE_LIBDL 1
  3261. | #define HAVE_DIRENT_H 1
  3262. | #define HAVE__BOOL 1
  3263. | #define HAVE_STDBOOL_H 1
  3264. | #define HAVE_SYS_WAIT_H 1
  3265. | #define HAVE_A_OUT_H 1
  3266. | #define HAVE_GRP_H 1
  3267. | #define HAVE_FCNTL_H 1
  3268. | #define HAVE_FLOAT_H 1
  3269. | #define HAVE_LANGINFO_H 1
  3270. | #define HAVE_LIMITS_H 1
  3271. | #define HAVE_LOCALE_H 1
  3272. | #define HAVE_MALLOC_H 1
  3273. | #define HAVE_PWD_H 1
  3274. | #define HAVE_SYS_FCNTL_H 1
  3275. | #define HAVE_SYS_FILE_H 1
  3276. | #define HAVE_SYS_IOCTL_H 1
  3277. | #define HAVE_SYS_PARAM_H 1
  3278. | #define HAVE_SYS_PRCTL_H 1
  3279. | #define HAVE_SYS_RESOURCE_H 1
  3280. | #define HAVE_SYS_SELECT_H 1
  3281. | #define HAVE_SYS_SENDFILE_H 1
  3282. | #define HAVE_SYS_SOCKET_H 1
  3283. | #define HAVE_SYS_SYSCALL_H 1
  3284. | #define HAVE_SYS_TIME_H 1
  3285. | #define HAVE_SYS_TIMES_H 1
  3286. | #define HAVE_SYS_UIO_H 1
  3287. | #define HAVE_SYSCALL_H 1
  3288. | #define HAVE_TIME_H 1
  3289. | #define HAVE_UCONTEXT_H 1
  3290. | #define HAVE_UTIME_H 1
  3291. | #define HAVE_GMP_H 1
  3292. | #define HAVE_LIBGMP 1
  3293. | #define HAVE_TYPEOF 1
  3294. | #define typeof __typeof__
  3295. | /* end confdefs.h. */
  3296. | #include <stdio.h>
  3297. | #ifdef HAVE_SYS_TYPES_H
  3298. | # include <sys/types.h>
  3299. | #endif
  3300. | #ifdef HAVE_SYS_STAT_H
  3301. | # include <sys/stat.h>
  3302. | #endif
  3303. | #ifdef STDC_HEADERS
  3304. | # include <stdlib.h>
  3305. | # include <stddef.h>
  3306. | #else
  3307. | # ifdef HAVE_STDLIB_H
  3308. | # include <stdlib.h>
  3309. | # endif
  3310. | #endif
  3311. | #ifdef HAVE_STRING_H
  3312. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  3313. | # include <memory.h>
  3314. | # endif
  3315. | # include <string.h>
  3316. | #endif
  3317. | #ifdef HAVE_STRINGS_H
  3318. | # include <strings.h>
  3319. | #endif
  3320. | #ifdef HAVE_INTTYPES_H
  3321. | # include <inttypes.h>
  3322. | #endif
  3323. | #ifdef HAVE_STDINT_H
  3324. | # include <stdint.h>
  3325. | #endif
  3326. | #ifdef HAVE_UNISTD_H
  3327. | # include <unistd.h>
  3328. | #endif
  3329. | int
  3330. | main ()
  3331. | {
  3332. | if (sizeof ((long long)))
  3333. | return 0;
  3334. | ;
  3335. | return 0;
  3336. | }
  3337. configure:11076: result: yes
  3338. configure:11085: checking for off_t
  3339. configure:11085: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  3340. configure:11085: $? = 0
  3341. configure:11085: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  3342. conftest.c: In function 'main':
  3343. conftest.c:102:20: error: expected expression before ')' token
  3344. if (sizeof ((off_t)))
  3345. ^
  3346. configure:11085: $? = 1
  3347. configure: failed program was:
  3348. | /* confdefs.h */
  3349. | #define PACKAGE_NAME ""
  3350. | #define PACKAGE_TARNAME ""
  3351. | #define PACKAGE_VERSION ""
  3352. | #define PACKAGE_STRING ""
  3353. | #define PACKAGE_BUGREPORT ""
  3354. | #define PACKAGE_URL ""
  3355. | #define CANONICALIZATION_FOR_MATHN 1
  3356. | #define STDC_HEADERS 1
  3357. | #define HAVE_SYS_TYPES_H 1
  3358. | #define HAVE_SYS_STAT_H 1
  3359. | #define HAVE_STDLIB_H 1
  3360. | #define HAVE_STRING_H 1
  3361. | #define HAVE_MEMORY_H 1
  3362. | #define HAVE_STRINGS_H 1
  3363. | #define HAVE_INTTYPES_H 1
  3364. | #define HAVE_STDINT_H 1
  3365. | #define HAVE_UNISTD_H 1
  3366. | #define __EXTENSIONS__ 1
  3367. | #define _ALL_SOURCE 1
  3368. | #define _GNU_SOURCE 1
  3369. | #define _POSIX_PTHREAD_SEMANTICS 1
  3370. | #define _TANDEM_SOURCE 1
  3371. | #define HAVE_INFINITY 1
  3372. | #define HAVE_NAN 1
  3373. | #define RUBY_SYMBOL_EXPORT_BEGIN _Pragma("GCC visibility push(default)")
  3374. | #define RUBY_SYMBOL_EXPORT_END _Pragma("GCC visibility pop")
  3375. | #define HAVE_LIBCRYPT 1
  3376. | #define HAVE_LIBDL 1
  3377. | #define HAVE_DIRENT_H 1
  3378. | #define HAVE__BOOL 1
  3379. | #define HAVE_STDBOOL_H 1
  3380. | #define HAVE_SYS_WAIT_H 1
  3381. | #define HAVE_A_OUT_H 1
  3382. | #define HAVE_GRP_H 1
  3383. | #define HAVE_FCNTL_H 1
  3384. | #define HAVE_FLOAT_H 1
  3385. | #define HAVE_LANGINFO_H 1
  3386. | #define HAVE_LIMITS_H 1
  3387. | #define HAVE_LOCALE_H 1
  3388. | #define HAVE_MALLOC_H 1
  3389. | #define HAVE_PWD_H 1
  3390. | #define HAVE_SYS_FCNTL_H 1
  3391. | #define HAVE_SYS_FILE_H 1
  3392. | #define HAVE_SYS_IOCTL_H 1
  3393. | #define HAVE_SYS_PARAM_H 1
  3394. | #define HAVE_SYS_PRCTL_H 1
  3395. | #define HAVE_SYS_RESOURCE_H 1
  3396. | #define HAVE_SYS_SELECT_H 1
  3397. | #define HAVE_SYS_SENDFILE_H 1
  3398. | #define HAVE_SYS_SOCKET_H 1
  3399. | #define HAVE_SYS_SYSCALL_H 1
  3400. | #define HAVE_SYS_TIME_H 1
  3401. | #define HAVE_SYS_TIMES_H 1
  3402. | #define HAVE_SYS_UIO_H 1
  3403. | #define HAVE_SYSCALL_H 1
  3404. | #define HAVE_TIME_H 1
  3405. | #define HAVE_UCONTEXT_H 1
  3406. | #define HAVE_UTIME_H 1
  3407. | #define HAVE_GMP_H 1
  3408. | #define HAVE_LIBGMP 1
  3409. | #define HAVE_TYPEOF 1
  3410. | #define typeof __typeof__
  3411. | #define HAVE_LONG_LONG 1
  3412. | /* end confdefs.h. */
  3413. | #include <stdio.h>
  3414. | #ifdef HAVE_SYS_TYPES_H
  3415. | # include <sys/types.h>
  3416. | #endif
  3417. | #ifdef HAVE_SYS_STAT_H
  3418. | # include <sys/stat.h>
  3419. | #endif
  3420. | #ifdef STDC_HEADERS
  3421. | # include <stdlib.h>
  3422. | # include <stddef.h>
  3423. | #else
  3424. | # ifdef HAVE_STDLIB_H
  3425. | # include <stdlib.h>
  3426. | # endif
  3427. | #endif
  3428. | #ifdef HAVE_STRING_H
  3429. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  3430. | # include <memory.h>
  3431. | # endif
  3432. | # include <string.h>
  3433. | #endif
  3434. | #ifdef HAVE_STRINGS_H
  3435. | # include <strings.h>
  3436. | #endif
  3437. | #ifdef HAVE_INTTYPES_H
  3438. | # include <inttypes.h>
  3439. | #endif
  3440. | #ifdef HAVE_STDINT_H
  3441. | # include <stdint.h>
  3442. | #endif
  3443. | #ifdef HAVE_UNISTD_H
  3444. | # include <unistd.h>
  3445. | #endif
  3446. | int
  3447. | main ()
  3448. | {
  3449. | if (sizeof ((off_t)))
  3450. | return 0;
  3451. | ;
  3452. | return 0;
  3453. | }
  3454. configure:11085: result: yes
  3455. configure:11096: checking char bit
  3456. configure:11102: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  3457. configure:11102: $? = 0
  3458. configure:11102: ./conftest
  3459. configure:11102: $? = 0
  3460. configure:11111: result: 8
  3461. configure:11234: checking size of int
  3462. configure:11239: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  3463. configure:11239: $? = 0
  3464. configure:11239: ./conftest
  3465. configure:11239: $? = 0
  3466. configure:11253: result: 4
  3467. configure:11332: checking size of short
  3468. configure:11337: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  3469. configure:11337: $? = 0
  3470. configure:11337: ./conftest
  3471. configure:11337: $? = 0
  3472. configure:11351: result: 2
  3473. configure:11506: checking size of long
  3474. configure:11511: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  3475. configure:11511: $? = 0
  3476. configure:11511: ./conftest
  3477. configure:11511: $? = 0
  3478. configure:11525: result: 8
  3479. configure:11604: checking size of long long
  3480. configure:11609: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  3481. configure:11609: $? = 0
  3482. configure:11609: ./conftest
  3483. configure:11609: $? = 0
  3484. configure:11623: result: 8
  3485. configure:11702: checking size of __int64
  3486. configure:11707: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  3487. conftest.c: In function 'longval':
  3488. conftest.c:104:57: error: '__int64' undeclared (first use in this function); did you mean '__int64_t'?
  3489. static long int longval () { return (long int) (sizeof (__int64)); }
  3490. ^~~~~~~
  3491. __int64_t
  3492. conftest.c:104:57: note: each undeclared identifier is reported only once for each function it appears in
  3493. conftest.c: In function 'ulongval':
  3494. conftest.c:105:67: error: '__int64' undeclared (first use in this function); did you mean '__int64_t'?
  3495. static unsigned long int ulongval () { return (long int) (sizeof (__int64)); }
  3496. ^~~~~~~
  3497. __int64_t
  3498. conftest.c: In function 'main':
  3499. conftest.c:115:28: error: '__int64' undeclared (first use in this function); did you mean '__int64_t'?
  3500. if (((long int) (sizeof (__int64))) < 0)
  3501. ^~~~~~~
  3502. __int64_t
  3503. configure:11707: $? = 1
  3504. configure: program exited with status 1
  3505. configure: failed program was:
  3506. | /* confdefs.h */
  3507. | #define PACKAGE_NAME ""
  3508. | #define PACKAGE_TARNAME ""
  3509. | #define PACKAGE_VERSION ""
  3510. | #define PACKAGE_STRING ""
  3511. | #define PACKAGE_BUGREPORT ""
  3512. | #define PACKAGE_URL ""
  3513. | #define CANONICALIZATION_FOR_MATHN 1
  3514. | #define STDC_HEADERS 1
  3515. | #define HAVE_SYS_TYPES_H 1
  3516. | #define HAVE_SYS_STAT_H 1
  3517. | #define HAVE_STDLIB_H 1
  3518. | #define HAVE_STRING_H 1
  3519. | #define HAVE_MEMORY_H 1
  3520. | #define HAVE_STRINGS_H 1
  3521. | #define HAVE_INTTYPES_H 1
  3522. | #define HAVE_STDINT_H 1
  3523. | #define HAVE_UNISTD_H 1
  3524. | #define __EXTENSIONS__ 1
  3525. | #define _ALL_SOURCE 1
  3526. | #define _GNU_SOURCE 1
  3527. | #define _POSIX_PTHREAD_SEMANTICS 1
  3528. | #define _TANDEM_SOURCE 1
  3529. | #define HAVE_INFINITY 1
  3530. | #define HAVE_NAN 1
  3531. | #define RUBY_SYMBOL_EXPORT_BEGIN _Pragma("GCC visibility push(default)")
  3532. | #define RUBY_SYMBOL_EXPORT_END _Pragma("GCC visibility pop")
  3533. | #define HAVE_LIBCRYPT 1
  3534. | #define HAVE_LIBDL 1
  3535. | #define HAVE_DIRENT_H 1
  3536. | #define HAVE__BOOL 1
  3537. | #define HAVE_STDBOOL_H 1
  3538. | #define HAVE_SYS_WAIT_H 1
  3539. | #define HAVE_A_OUT_H 1
  3540. | #define HAVE_GRP_H 1
  3541. | #define HAVE_FCNTL_H 1
  3542. | #define HAVE_FLOAT_H 1
  3543. | #define HAVE_LANGINFO_H 1
  3544. | #define HAVE_LIMITS_H 1
  3545. | #define HAVE_LOCALE_H 1
  3546. | #define HAVE_MALLOC_H 1
  3547. | #define HAVE_PWD_H 1
  3548. | #define HAVE_SYS_FCNTL_H 1
  3549. | #define HAVE_SYS_FILE_H 1
  3550. | #define HAVE_SYS_IOCTL_H 1
  3551. | #define HAVE_SYS_PARAM_H 1
  3552. | #define HAVE_SYS_PRCTL_H 1
  3553. | #define HAVE_SYS_RESOURCE_H 1
  3554. | #define HAVE_SYS_SELECT_H 1
  3555. | #define HAVE_SYS_SENDFILE_H 1
  3556. | #define HAVE_SYS_SOCKET_H 1
  3557. | #define HAVE_SYS_SYSCALL_H 1
  3558. | #define HAVE_SYS_TIME_H 1
  3559. | #define HAVE_SYS_TIMES_H 1
  3560. | #define HAVE_SYS_UIO_H 1
  3561. | #define HAVE_SYSCALL_H 1
  3562. | #define HAVE_TIME_H 1
  3563. | #define HAVE_UCONTEXT_H 1
  3564. | #define HAVE_UTIME_H 1
  3565. | #define HAVE_GMP_H 1
  3566. | #define HAVE_LIBGMP 1
  3567. | #define HAVE_TYPEOF 1
  3568. | #define typeof __typeof__
  3569. | #define HAVE_LONG_LONG 1
  3570. | #define HAVE_OFF_T 1
  3571. | #define SIZEOF_INT 4
  3572. | #define SIZEOF_SHORT 2
  3573. | #define SIZEOF_LONG 8
  3574. | #define SIZEOF_LONG_LONG 8
  3575. | /* end confdefs.h. */
  3576. | #include <stdio.h>
  3577. | #ifdef HAVE_SYS_TYPES_H
  3578. | # include <sys/types.h>
  3579. | #endif
  3580. | #ifdef HAVE_SYS_STAT_H
  3581. | # include <sys/stat.h>
  3582. | #endif
  3583. | #ifdef STDC_HEADERS
  3584. | # include <stdlib.h>
  3585. | # include <stddef.h>
  3586. | #else
  3587. | # ifdef HAVE_STDLIB_H
  3588. | # include <stdlib.h>
  3589. | # endif
  3590. | #endif
  3591. | #ifdef HAVE_STRING_H
  3592. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  3593. | # include <memory.h>
  3594. | # endif
  3595. | # include <string.h>
  3596. | #endif
  3597. | #ifdef HAVE_STRINGS_H
  3598. | # include <strings.h>
  3599. | #endif
  3600. | #ifdef HAVE_INTTYPES_H
  3601. | # include <inttypes.h>
  3602. | #endif
  3603. | #ifdef HAVE_STDINT_H
  3604. | # include <stdint.h>
  3605. | #endif
  3606. | #ifdef HAVE_UNISTD_H
  3607. | # include <unistd.h>
  3608. | #endif
  3609. | static long int longval () { return (long int) (sizeof (__int64)); }
  3610. | static unsigned long int ulongval () { return (long int) (sizeof (__int64)); }
  3611. | #include <stdio.h>
  3612. | #include <stdlib.h>
  3613. | int
  3614. | main ()
  3615. | {
  3616. |
  3617. | FILE *f = fopen ("conftest.val", "w");
  3618. | if (! f)
  3619. | return 1;
  3620. | if (((long int) (sizeof (__int64))) < 0)
  3621. | {
  3622. | long int i = longval ();
  3623. | if (i != ((long int) (sizeof (__int64))))
  3624. | return 1;
  3625. | fprintf (f, "%ld", i);
  3626. | }
  3627. | else
  3628. | {
  3629. | unsigned long int i = ulongval ();
  3630. | if (i != ((long int) (sizeof (__int64))))
  3631. | return 1;
  3632. | fprintf (f, "%lu", i);
  3633. | }
  3634. | /* Do not output a trailing newline, as this causes \r\n confusion
  3635. | on some platforms. */
  3636. | return ferror (f) || fclose (f) != 0;
  3637. |
  3638. | ;
  3639. | return 0;
  3640. | }
  3641. configure:11721: result: 0
  3642. configure:11800: checking size of off_t
  3643. configure:11805: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  3644. configure:11805: $? = 0
  3645. configure:11805: ./conftest
  3646. configure:11805: $? = 0
  3647. configure:11819: result: 8
  3648. configure:11974: checking size of void*
  3649. configure:11979: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  3650. configure:11979: $? = 0
  3651. configure:11979: ./conftest
  3652. configure:11979: $? = 0
  3653. configure:11993: result: 8
  3654. configure:12072: checking size of float
  3655. configure:12077: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  3656. configure:12077: $? = 0
  3657. configure:12077: ./conftest
  3658. configure:12077: $? = 0
  3659. configure:12091: result: 4
  3660. configure:12170: checking size of double
  3661. configure:12175: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  3662. configure:12175: $? = 0
  3663. configure:12175: ./conftest
  3664. configure:12175: $? = 0
  3665. configure:12189: result: 8
  3666. configure:12294: checking size of time_t
  3667. configure:12299: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  3668. configure:12299: $? = 0
  3669. configure:12299: ./conftest
  3670. configure:12299: $? = 0
  3671. configure:12314: result: 8
  3672. configure:12394: checking size of clock_t
  3673. configure:12399: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  3674. configure:12399: $? = 0
  3675. configure:12399: ./conftest
  3676. configure:12399: $? = 0
  3677. configure:12414: result: 8
  3678. configure:12427: checking packed struct attribute
  3679. configure:12449: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  3680. conftest.c:78:35: error: unknown type name 'pack'
  3681. #define PACKED_STRUCT(x) __pragma(pack(push, 1)) x __pragma(pack(pop))
  3682. ^
  3683. conftest.c:79:4: note: in expansion of macro 'PACKED_STRUCT'
  3684. PACKED_STRUCT(struct { int a; });
  3685. ^~~~~~~~~~~~~
  3686. conftest.c:78:61: error: unknown type name 'pack'
  3687. #define PACKED_STRUCT(x) __pragma(pack(push, 1)) x __pragma(pack(pop))
  3688. ^
  3689. conftest.c:79:4: note: in expansion of macro 'PACKED_STRUCT'
  3690. PACKED_STRUCT(struct { int a; });
  3691. ^~~~~~~~~~~~~
  3692. configure:12449: $? = 1
  3693. configure: failed program was:
  3694. | /* confdefs.h */
  3695. | #define PACKAGE_NAME ""
  3696. | #define PACKAGE_TARNAME ""
  3697. | #define PACKAGE_VERSION ""
  3698. | #define PACKAGE_STRING ""
  3699. | #define PACKAGE_BUGREPORT ""
  3700. | #define PACKAGE_URL ""
  3701. | #define CANONICALIZATION_FOR_MATHN 1
  3702. | #define STDC_HEADERS 1
  3703. | #define HAVE_SYS_TYPES_H 1
  3704. | #define HAVE_SYS_STAT_H 1
  3705. | #define HAVE_STDLIB_H 1
  3706. | #define HAVE_STRING_H 1
  3707. | #define HAVE_MEMORY_H 1
  3708. | #define HAVE_STRINGS_H 1
  3709. | #define HAVE_INTTYPES_H 1
  3710. | #define HAVE_STDINT_H 1
  3711. | #define HAVE_UNISTD_H 1
  3712. | #define __EXTENSIONS__ 1
  3713. | #define _ALL_SOURCE 1
  3714. | #define _GNU_SOURCE 1
  3715. | #define _POSIX_PTHREAD_SEMANTICS 1
  3716. | #define _TANDEM_SOURCE 1
  3717. | #define HAVE_INFINITY 1
  3718. | #define HAVE_NAN 1
  3719. | #define RUBY_SYMBOL_EXPORT_BEGIN _Pragma("GCC visibility push(default)")
  3720. | #define RUBY_SYMBOL_EXPORT_END _Pragma("GCC visibility pop")
  3721. | #define HAVE_LIBCRYPT 1
  3722. | #define HAVE_LIBDL 1
  3723. | #define HAVE_DIRENT_H 1
  3724. | #define HAVE__BOOL 1
  3725. | #define HAVE_STDBOOL_H 1
  3726. | #define HAVE_SYS_WAIT_H 1
  3727. | #define HAVE_A_OUT_H 1
  3728. | #define HAVE_GRP_H 1
  3729. | #define HAVE_FCNTL_H 1
  3730. | #define HAVE_FLOAT_H 1
  3731. | #define HAVE_LANGINFO_H 1
  3732. | #define HAVE_LIMITS_H 1
  3733. | #define HAVE_LOCALE_H 1
  3734. | #define HAVE_MALLOC_H 1
  3735. | #define HAVE_PWD_H 1
  3736. | #define HAVE_SYS_FCNTL_H 1
  3737. | #define HAVE_SYS_FILE_H 1
  3738. | #define HAVE_SYS_IOCTL_H 1
  3739. | #define HAVE_SYS_PARAM_H 1
  3740. | #define HAVE_SYS_PRCTL_H 1
  3741. | #define HAVE_SYS_RESOURCE_H 1
  3742. | #define HAVE_SYS_SELECT_H 1
  3743. | #define HAVE_SYS_SENDFILE_H 1
  3744. | #define HAVE_SYS_SOCKET_H 1
  3745. | #define HAVE_SYS_SYSCALL_H 1
  3746. | #define HAVE_SYS_TIME_H 1
  3747. | #define HAVE_SYS_TIMES_H 1
  3748. | #define HAVE_SYS_UIO_H 1
  3749. | #define HAVE_SYSCALL_H 1
  3750. | #define HAVE_TIME_H 1
  3751. | #define HAVE_UCONTEXT_H 1
  3752. | #define HAVE_UTIME_H 1
  3753. | #define HAVE_GMP_H 1
  3754. | #define HAVE_LIBGMP 1
  3755. | #define HAVE_TYPEOF 1
  3756. | #define typeof __typeof__
  3757. | #define HAVE_LONG_LONG 1
  3758. | #define HAVE_OFF_T 1
  3759. | #define SIZEOF_INT 4
  3760. | #define SIZEOF_SHORT 2
  3761. | #define SIZEOF_LONG 8
  3762. | #define SIZEOF_LONG_LONG 8
  3763. | #define SIZEOF___INT64 0
  3764. | #define SIZEOF_OFF_T 8
  3765. | #define SIZEOF_VOIDP 8
  3766. | #define SIZEOF_FLOAT 4
  3767. | #define SIZEOF_DOUBLE 8
  3768. | #define SIZEOF_TIME_T 8
  3769. | #define SIZEOF_CLOCK_T 8
  3770. | /* end confdefs.h. */
  3771. | #define PACKED_STRUCT(x) __pragma(pack(push, 1)) x __pragma(pack(pop))
  3772. | PACKED_STRUCT(struct { int a; });
  3773. | int
  3774. | main ()
  3775. | {
  3776. |
  3777. | ;
  3778. | return 0;
  3779. | }
  3780. configure:12449: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  3781. conftest.c:79:25: warning: unnamed struct/union that defines no instances
  3782. PACKED_STRUCT(struct { int a; });
  3783. ^
  3784. conftest.c:78:26: note: in definition of macro 'PACKED_STRUCT'
  3785. #define PACKED_STRUCT(x) x __attribute__((packed))
  3786. ^
  3787. configure:12449: $? = 0
  3788. configure:12455: result: x __attribute__((packed))
  3789. configure:12478: checking for printf prefix for long long
  3790. configure:12525: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat conftest.c >&5
  3791. configure:12525: $? = 0
  3792. configure:12538: result: ll
  3793. configure:12623: checking for pid_t
  3794. configure:12623: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  3795. configure:12623: $? = 0
  3796. configure:12623: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  3797. conftest.c: In function 'main':
  3798. conftest.c:117:20: error: expected expression before ')' token
  3799. if (sizeof ((pid_t)))
  3800. ^
  3801. configure:12623: $? = 1
  3802. configure: failed program was:
  3803. | /* confdefs.h */
  3804. | #define PACKAGE_NAME ""
  3805. | #define PACKAGE_TARNAME ""
  3806. | #define PACKAGE_VERSION ""
  3807. | #define PACKAGE_STRING ""
  3808. | #define PACKAGE_BUGREPORT ""
  3809. | #define PACKAGE_URL ""
  3810. | #define CANONICALIZATION_FOR_MATHN 1
  3811. | #define STDC_HEADERS 1
  3812. | #define HAVE_SYS_TYPES_H 1
  3813. | #define HAVE_SYS_STAT_H 1
  3814. | #define HAVE_STDLIB_H 1
  3815. | #define HAVE_STRING_H 1
  3816. | #define HAVE_MEMORY_H 1
  3817. | #define HAVE_STRINGS_H 1
  3818. | #define HAVE_INTTYPES_H 1
  3819. | #define HAVE_STDINT_H 1
  3820. | #define HAVE_UNISTD_H 1
  3821. | #define __EXTENSIONS__ 1
  3822. | #define _ALL_SOURCE 1
  3823. | #define _GNU_SOURCE 1
  3824. | #define _POSIX_PTHREAD_SEMANTICS 1
  3825. | #define _TANDEM_SOURCE 1
  3826. | #define HAVE_INFINITY 1
  3827. | #define HAVE_NAN 1
  3828. | #define RUBY_SYMBOL_EXPORT_BEGIN _Pragma("GCC visibility push(default)")
  3829. | #define RUBY_SYMBOL_EXPORT_END _Pragma("GCC visibility pop")
  3830. | #define HAVE_LIBCRYPT 1
  3831. | #define HAVE_LIBDL 1
  3832. | #define HAVE_DIRENT_H 1
  3833. | #define HAVE__BOOL 1
  3834. | #define HAVE_STDBOOL_H 1
  3835. | #define HAVE_SYS_WAIT_H 1
  3836. | #define HAVE_A_OUT_H 1
  3837. | #define HAVE_GRP_H 1
  3838. | #define HAVE_FCNTL_H 1
  3839. | #define HAVE_FLOAT_H 1
  3840. | #define HAVE_LANGINFO_H 1
  3841. | #define HAVE_LIMITS_H 1
  3842. | #define HAVE_LOCALE_H 1
  3843. | #define HAVE_MALLOC_H 1
  3844. | #define HAVE_PWD_H 1
  3845. | #define HAVE_SYS_FCNTL_H 1
  3846. | #define HAVE_SYS_FILE_H 1
  3847. | #define HAVE_SYS_IOCTL_H 1
  3848. | #define HAVE_SYS_PARAM_H 1
  3849. | #define HAVE_SYS_PRCTL_H 1
  3850. | #define HAVE_SYS_RESOURCE_H 1
  3851. | #define HAVE_SYS_SELECT_H 1
  3852. | #define HAVE_SYS_SENDFILE_H 1
  3853. | #define HAVE_SYS_SOCKET_H 1
  3854. | #define HAVE_SYS_SYSCALL_H 1
  3855. | #define HAVE_SYS_TIME_H 1
  3856. | #define HAVE_SYS_TIMES_H 1
  3857. | #define HAVE_SYS_UIO_H 1
  3858. | #define HAVE_SYSCALL_H 1
  3859. | #define HAVE_TIME_H 1
  3860. | #define HAVE_UCONTEXT_H 1
  3861. | #define HAVE_UTIME_H 1
  3862. | #define HAVE_GMP_H 1
  3863. | #define HAVE_LIBGMP 1
  3864. | #define HAVE_TYPEOF 1
  3865. | #define typeof __typeof__
  3866. | #define HAVE_LONG_LONG 1
  3867. | #define HAVE_OFF_T 1
  3868. | #define SIZEOF_INT 4
  3869. | #define SIZEOF_SHORT 2
  3870. | #define SIZEOF_LONG 8
  3871. | #define SIZEOF_LONG_LONG 8
  3872. | #define SIZEOF___INT64 0
  3873. | #define SIZEOF_OFF_T 8
  3874. | #define SIZEOF_VOIDP 8
  3875. | #define SIZEOF_FLOAT 4
  3876. | #define SIZEOF_DOUBLE 8
  3877. | #define SIZEOF_TIME_T 8
  3878. | #define SIZEOF_CLOCK_T 8
  3879. | #define PACKED_STRUCT(x) x __attribute__((packed))
  3880. | #define PACKED_STRUCT_UNALIGNED(x) x
  3881. | #define PRI_LL_PREFIX "ll"
  3882. | /* end confdefs.h. */
  3883. | #include <stdio.h>
  3884. | #ifdef HAVE_SYS_TYPES_H
  3885. | # include <sys/types.h>
  3886. | #endif
  3887. | #ifdef HAVE_SYS_STAT_H
  3888. | # include <sys/stat.h>
  3889. | #endif
  3890. | #ifdef STDC_HEADERS
  3891. | # include <stdlib.h>
  3892. | # include <stddef.h>
  3893. | #else
  3894. | # ifdef HAVE_STDLIB_H
  3895. | # include <stdlib.h>
  3896. | # endif
  3897. | #endif
  3898. | #ifdef HAVE_STRING_H
  3899. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  3900. | # include <memory.h>
  3901. | # endif
  3902. | # include <string.h>
  3903. | #endif
  3904. | #ifdef HAVE_STRINGS_H
  3905. | # include <strings.h>
  3906. | #endif
  3907. | #ifdef HAVE_INTTYPES_H
  3908. | # include <inttypes.h>
  3909. | #endif
  3910. | #ifdef HAVE_STDINT_H
  3911. | # include <stdint.h>
  3912. | #endif
  3913. | #ifdef HAVE_UNISTD_H
  3914. | # include <unistd.h>
  3915. | #endif
  3916. | int
  3917. | main ()
  3918. | {
  3919. | if (sizeof ((pid_t)))
  3920. | return 0;
  3921. | ;
  3922. | return 0;
  3923. | }
  3924. configure:12623: result: yes
  3925. configure:12630: checking for convertible type of pid_t
  3926. configure:12658: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  3927. conftest.c: In function 'main':
  3928. conftest.c:117:12: error: size of array 'test_array' is negative
  3929. static int test_array [1 - 2 * !((pid_t)-1 > 0)];
  3930. ^~~~~~~~~~
  3931. configure:12658: $? = 1
  3932. configure: failed program was:
  3933. | /* confdefs.h */
  3934. | #define PACKAGE_NAME ""
  3935. | #define PACKAGE_TARNAME ""
  3936. | #define PACKAGE_VERSION ""
  3937. | #define PACKAGE_STRING ""
  3938. | #define PACKAGE_BUGREPORT ""
  3939. | #define PACKAGE_URL ""
  3940. | #define CANONICALIZATION_FOR_MATHN 1
  3941. | #define STDC_HEADERS 1
  3942. | #define HAVE_SYS_TYPES_H 1
  3943. | #define HAVE_SYS_STAT_H 1
  3944. | #define HAVE_STDLIB_H 1
  3945. | #define HAVE_STRING_H 1
  3946. | #define HAVE_MEMORY_H 1
  3947. | #define HAVE_STRINGS_H 1
  3948. | #define HAVE_INTTYPES_H 1
  3949. | #define HAVE_STDINT_H 1
  3950. | #define HAVE_UNISTD_H 1
  3951. | #define __EXTENSIONS__ 1
  3952. | #define _ALL_SOURCE 1
  3953. | #define _GNU_SOURCE 1
  3954. | #define _POSIX_PTHREAD_SEMANTICS 1
  3955. | #define _TANDEM_SOURCE 1
  3956. | #define HAVE_INFINITY 1
  3957. | #define HAVE_NAN 1
  3958. | #define RUBY_SYMBOL_EXPORT_BEGIN _Pragma("GCC visibility push(default)")
  3959. | #define RUBY_SYMBOL_EXPORT_END _Pragma("GCC visibility pop")
  3960. | #define HAVE_LIBCRYPT 1
  3961. | #define HAVE_LIBDL 1
  3962. | #define HAVE_DIRENT_H 1
  3963. | #define HAVE__BOOL 1
  3964. | #define HAVE_STDBOOL_H 1
  3965. | #define HAVE_SYS_WAIT_H 1
  3966. | #define HAVE_A_OUT_H 1
  3967. | #define HAVE_GRP_H 1
  3968. | #define HAVE_FCNTL_H 1
  3969. | #define HAVE_FLOAT_H 1
  3970. | #define HAVE_LANGINFO_H 1
  3971. | #define HAVE_LIMITS_H 1
  3972. | #define HAVE_LOCALE_H 1
  3973. | #define HAVE_MALLOC_H 1
  3974. | #define HAVE_PWD_H 1
  3975. | #define HAVE_SYS_FCNTL_H 1
  3976. | #define HAVE_SYS_FILE_H 1
  3977. | #define HAVE_SYS_IOCTL_H 1
  3978. | #define HAVE_SYS_PARAM_H 1
  3979. | #define HAVE_SYS_PRCTL_H 1
  3980. | #define HAVE_SYS_RESOURCE_H 1
  3981. | #define HAVE_SYS_SELECT_H 1
  3982. | #define HAVE_SYS_SENDFILE_H 1
  3983. | #define HAVE_SYS_SOCKET_H 1
  3984. | #define HAVE_SYS_SYSCALL_H 1
  3985. | #define HAVE_SYS_TIME_H 1
  3986. | #define HAVE_SYS_TIMES_H 1
  3987. | #define HAVE_SYS_UIO_H 1
  3988. | #define HAVE_SYSCALL_H 1
  3989. | #define HAVE_TIME_H 1
  3990. | #define HAVE_UCONTEXT_H 1
  3991. | #define HAVE_UTIME_H 1
  3992. | #define HAVE_GMP_H 1
  3993. | #define HAVE_LIBGMP 1
  3994. | #define HAVE_TYPEOF 1
  3995. | #define typeof __typeof__
  3996. | #define HAVE_LONG_LONG 1
  3997. | #define HAVE_OFF_T 1
  3998. | #define SIZEOF_INT 4
  3999. | #define SIZEOF_SHORT 2
  4000. | #define SIZEOF_LONG 8
  4001. | #define SIZEOF_LONG_LONG 8
  4002. | #define SIZEOF___INT64 0
  4003. | #define SIZEOF_OFF_T 8
  4004. | #define SIZEOF_VOIDP 8
  4005. | #define SIZEOF_FLOAT 4
  4006. | #define SIZEOF_DOUBLE 8
  4007. | #define SIZEOF_TIME_T 8
  4008. | #define SIZEOF_CLOCK_T 8
  4009. | #define PACKED_STRUCT(x) x __attribute__((packed))
  4010. | #define PACKED_STRUCT_UNALIGNED(x) x
  4011. | #define PRI_LL_PREFIX "ll"
  4012. | /* end confdefs.h. */
  4013. | #include <stdio.h>
  4014. | #ifdef HAVE_SYS_TYPES_H
  4015. | # include <sys/types.h>
  4016. | #endif
  4017. | #ifdef HAVE_SYS_STAT_H
  4018. | # include <sys/stat.h>
  4019. | #endif
  4020. | #ifdef STDC_HEADERS
  4021. | # include <stdlib.h>
  4022. | # include <stddef.h>
  4023. | #else
  4024. | # ifdef HAVE_STDLIB_H
  4025. | # include <stdlib.h>
  4026. | # endif
  4027. | #endif
  4028. | #ifdef HAVE_STRING_H
  4029. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  4030. | # include <memory.h>
  4031. | # endif
  4032. | # include <string.h>
  4033. | #endif
  4034. | #ifdef HAVE_STRINGS_H
  4035. | # include <strings.h>
  4036. | #endif
  4037. | #ifdef HAVE_INTTYPES_H
  4038. | # include <inttypes.h>
  4039. | #endif
  4040. | #ifdef HAVE_STDINT_H
  4041. | # include <stdint.h>
  4042. | #endif
  4043. | #ifdef HAVE_UNISTD_H
  4044. | # include <unistd.h>
  4045. | #endif
  4046. | int
  4047. | main ()
  4048. | {
  4049. | static int test_array [1 - 2 * !((pid_t)-1 > 0)];
  4050. | test_array [0] = 0;
  4051. | return test_array [0];
  4052. |
  4053. | ;
  4054. | return 0;
  4055. | }
  4056. configure:12687: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  4057. conftest.c:117:38: error: conflicting types for 'rbcv_conftest_var'
  4058. extern rbcv_conftest_replace_type rbcv_conftest_var;
  4059. ^~~~~~~~~~~~~~~~~
  4060. conftest.c:116:37: note: previous declaration of 'rbcv_conftest_var' was here
  4061. extern rbcv_conftest_target_type rbcv_conftest_var;
  4062. ^~~~~~~~~~~~~~~~~
  4063. conftest.c:119:38: error: conflicting types for 'rbcv_conftest_func'
  4064. extern rbcv_conftest_replace_type rbcv_conftest_func(void);
  4065. ^~~~~~~~~~~~~~~~~~
  4066. conftest.c:118:37: note: previous declaration of 'rbcv_conftest_func' was here
  4067. extern rbcv_conftest_target_type rbcv_conftest_func(void);
  4068. ^~~~~~~~~~~~~~~~~~
  4069. conftest.c: In function 'main':
  4070. conftest.c:124:12: error: size of array 'test_array' is negative
  4071. static int test_array [1 - 2 * !(sizeof(rbcv_conftest_target_type) == sizeof(rbcv_conftest_replace_type))];
  4072. ^~~~~~~~~~
  4073. configure:12687: $? = 1
  4074. configure: failed program was:
  4075. | /* confdefs.h */
  4076. | #define PACKAGE_NAME ""
  4077. | #define PACKAGE_TARNAME ""
  4078. | #define PACKAGE_VERSION ""
  4079. | #define PACKAGE_STRING ""
  4080. | #define PACKAGE_BUGREPORT ""
  4081. | #define PACKAGE_URL ""
  4082. | #define CANONICALIZATION_FOR_MATHN 1
  4083. | #define STDC_HEADERS 1
  4084. | #define HAVE_SYS_TYPES_H 1
  4085. | #define HAVE_SYS_STAT_H 1
  4086. | #define HAVE_STDLIB_H 1
  4087. | #define HAVE_STRING_H 1
  4088. | #define HAVE_MEMORY_H 1
  4089. | #define HAVE_STRINGS_H 1
  4090. | #define HAVE_INTTYPES_H 1
  4091. | #define HAVE_STDINT_H 1
  4092. | #define HAVE_UNISTD_H 1
  4093. | #define __EXTENSIONS__ 1
  4094. | #define _ALL_SOURCE 1
  4095. | #define _GNU_SOURCE 1
  4096. | #define _POSIX_PTHREAD_SEMANTICS 1
  4097. | #define _TANDEM_SOURCE 1
  4098. | #define HAVE_INFINITY 1
  4099. | #define HAVE_NAN 1
  4100. | #define RUBY_SYMBOL_EXPORT_BEGIN _Pragma("GCC visibility push(default)")
  4101. | #define RUBY_SYMBOL_EXPORT_END _Pragma("GCC visibility pop")
  4102. | #define HAVE_LIBCRYPT 1
  4103. | #define HAVE_LIBDL 1
  4104. | #define HAVE_DIRENT_H 1
  4105. | #define HAVE__BOOL 1
  4106. | #define HAVE_STDBOOL_H 1
  4107. | #define HAVE_SYS_WAIT_H 1
  4108. | #define HAVE_A_OUT_H 1
  4109. | #define HAVE_GRP_H 1
  4110. | #define HAVE_FCNTL_H 1
  4111. | #define HAVE_FLOAT_H 1
  4112. | #define HAVE_LANGINFO_H 1
  4113. | #define HAVE_LIMITS_H 1
  4114. | #define HAVE_LOCALE_H 1
  4115. | #define HAVE_MALLOC_H 1
  4116. | #define HAVE_PWD_H 1
  4117. | #define HAVE_SYS_FCNTL_H 1
  4118. | #define HAVE_SYS_FILE_H 1
  4119. | #define HAVE_SYS_IOCTL_H 1
  4120. | #define HAVE_SYS_PARAM_H 1
  4121. | #define HAVE_SYS_PRCTL_H 1
  4122. | #define HAVE_SYS_RESOURCE_H 1
  4123. | #define HAVE_SYS_SELECT_H 1
  4124. | #define HAVE_SYS_SENDFILE_H 1
  4125. | #define HAVE_SYS_SOCKET_H 1
  4126. | #define HAVE_SYS_SYSCALL_H 1
  4127. | #define HAVE_SYS_TIME_H 1
  4128. | #define HAVE_SYS_TIMES_H 1
  4129. | #define HAVE_SYS_UIO_H 1
  4130. | #define HAVE_SYSCALL_H 1
  4131. | #define HAVE_TIME_H 1
  4132. | #define HAVE_UCONTEXT_H 1
  4133. | #define HAVE_UTIME_H 1
  4134. | #define HAVE_GMP_H 1
  4135. | #define HAVE_LIBGMP 1
  4136. | #define HAVE_TYPEOF 1
  4137. | #define typeof __typeof__
  4138. | #define HAVE_LONG_LONG 1
  4139. | #define HAVE_OFF_T 1
  4140. | #define SIZEOF_INT 4
  4141. | #define SIZEOF_SHORT 2
  4142. | #define SIZEOF_LONG 8
  4143. | #define SIZEOF_LONG_LONG 8
  4144. | #define SIZEOF___INT64 0
  4145. | #define SIZEOF_OFF_T 8
  4146. | #define SIZEOF_VOIDP 8
  4147. | #define SIZEOF_FLOAT 4
  4148. | #define SIZEOF_DOUBLE 8
  4149. | #define SIZEOF_TIME_T 8
  4150. | #define SIZEOF_CLOCK_T 8
  4151. | #define PACKED_STRUCT(x) x __attribute__((packed))
  4152. | #define PACKED_STRUCT_UNALIGNED(x) x
  4153. | #define PRI_LL_PREFIX "ll"
  4154. | /* end confdefs.h. */
  4155. | #include <stdio.h>
  4156. | #ifdef HAVE_SYS_TYPES_H
  4157. | # include <sys/types.h>
  4158. | #endif
  4159. | #ifdef HAVE_SYS_STAT_H
  4160. | # include <sys/stat.h>
  4161. | #endif
  4162. | #ifdef STDC_HEADERS
  4163. | # include <stdlib.h>
  4164. | # include <stddef.h>
  4165. | #else
  4166. | # ifdef HAVE_STDLIB_H
  4167. | # include <stdlib.h>
  4168. | # endif
  4169. | #endif
  4170. | #ifdef HAVE_STRING_H
  4171. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  4172. | # include <memory.h>
  4173. | # endif
  4174. | # include <string.h>
  4175. | #endif
  4176. | #ifdef HAVE_STRINGS_H
  4177. | # include <strings.h>
  4178. | #endif
  4179. | #ifdef HAVE_INTTYPES_H
  4180. | # include <inttypes.h>
  4181. | #endif
  4182. | #ifdef HAVE_STDINT_H
  4183. | # include <stdint.h>
  4184. | #endif
  4185. | #ifdef HAVE_UNISTD_H
  4186. | # include <unistd.h>
  4187. | #endif
  4188. | typedef pid_t rbcv_conftest_target_type;
  4189. | typedef long long rbcv_conftest_replace_type;
  4190. | extern rbcv_conftest_target_type rbcv_conftest_var;
  4191. | extern rbcv_conftest_replace_type rbcv_conftest_var;
  4192. | extern rbcv_conftest_target_type rbcv_conftest_func(void);
  4193. | extern rbcv_conftest_replace_type rbcv_conftest_func(void);
  4194. |
  4195. | int
  4196. | main ()
  4197. | {
  4198. | static int test_array [1 - 2 * !(sizeof(rbcv_conftest_target_type) == sizeof(rbcv_conftest_replace_type))];
  4199. | test_array [0] = 0;
  4200. | return test_array [0];
  4201. |
  4202. | ;
  4203. | return 0;
  4204. | }
  4205. configure:12687: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  4206. conftest.c:117:38: error: conflicting types for 'rbcv_conftest_var'
  4207. extern rbcv_conftest_replace_type rbcv_conftest_var;
  4208. ^~~~~~~~~~~~~~~~~
  4209. conftest.c:116:37: note: previous declaration of 'rbcv_conftest_var' was here
  4210. extern rbcv_conftest_target_type rbcv_conftest_var;
  4211. ^~~~~~~~~~~~~~~~~
  4212. conftest.c:119:38: error: conflicting types for 'rbcv_conftest_func'
  4213. extern rbcv_conftest_replace_type rbcv_conftest_func(void);
  4214. ^~~~~~~~~~~~~~~~~~
  4215. conftest.c:118:37: note: previous declaration of 'rbcv_conftest_func' was here
  4216. extern rbcv_conftest_target_type rbcv_conftest_func(void);
  4217. ^~~~~~~~~~~~~~~~~~
  4218. conftest.c: In function 'main':
  4219. conftest.c:124:12: error: size of array 'test_array' is negative
  4220. static int test_array [1 - 2 * !(sizeof(rbcv_conftest_target_type) == sizeof(rbcv_conftest_replace_type))];
  4221. ^~~~~~~~~~
  4222. configure:12687: $? = 1
  4223. configure: failed program was:
  4224. | /* confdefs.h */
  4225. | #define PACKAGE_NAME ""
  4226. | #define PACKAGE_TARNAME ""
  4227. | #define PACKAGE_VERSION ""
  4228. | #define PACKAGE_STRING ""
  4229. | #define PACKAGE_BUGREPORT ""
  4230. | #define PACKAGE_URL ""
  4231. | #define CANONICALIZATION_FOR_MATHN 1
  4232. | #define STDC_HEADERS 1
  4233. | #define HAVE_SYS_TYPES_H 1
  4234. | #define HAVE_SYS_STAT_H 1
  4235. | #define HAVE_STDLIB_H 1
  4236. | #define HAVE_STRING_H 1
  4237. | #define HAVE_MEMORY_H 1
  4238. | #define HAVE_STRINGS_H 1
  4239. | #define HAVE_INTTYPES_H 1
  4240. | #define HAVE_STDINT_H 1
  4241. | #define HAVE_UNISTD_H 1
  4242. | #define __EXTENSIONS__ 1
  4243. | #define _ALL_SOURCE 1
  4244. | #define _GNU_SOURCE 1
  4245. | #define _POSIX_PTHREAD_SEMANTICS 1
  4246. | #define _TANDEM_SOURCE 1
  4247. | #define HAVE_INFINITY 1
  4248. | #define HAVE_NAN 1
  4249. | #define RUBY_SYMBOL_EXPORT_BEGIN _Pragma("GCC visibility push(default)")
  4250. | #define RUBY_SYMBOL_EXPORT_END _Pragma("GCC visibility pop")
  4251. | #define HAVE_LIBCRYPT 1
  4252. | #define HAVE_LIBDL 1
  4253. | #define HAVE_DIRENT_H 1
  4254. | #define HAVE__BOOL 1
  4255. | #define HAVE_STDBOOL_H 1
  4256. | #define HAVE_SYS_WAIT_H 1
  4257. | #define HAVE_A_OUT_H 1
  4258. | #define HAVE_GRP_H 1
  4259. | #define HAVE_FCNTL_H 1
  4260. | #define HAVE_FLOAT_H 1
  4261. | #define HAVE_LANGINFO_H 1
  4262. | #define HAVE_LIMITS_H 1
  4263. | #define HAVE_LOCALE_H 1
  4264. | #define HAVE_MALLOC_H 1
  4265. | #define HAVE_PWD_H 1
  4266. | #define HAVE_SYS_FCNTL_H 1
  4267. | #define HAVE_SYS_FILE_H 1
  4268. | #define HAVE_SYS_IOCTL_H 1
  4269. | #define HAVE_SYS_PARAM_H 1
  4270. | #define HAVE_SYS_PRCTL_H 1
  4271. | #define HAVE_SYS_RESOURCE_H 1
  4272. | #define HAVE_SYS_SELECT_H 1
  4273. | #define HAVE_SYS_SENDFILE_H 1
  4274. | #define HAVE_SYS_SOCKET_H 1
  4275. | #define HAVE_SYS_SYSCALL_H 1
  4276. | #define HAVE_SYS_TIME_H 1
  4277. | #define HAVE_SYS_TIMES_H 1
  4278. | #define HAVE_SYS_UIO_H 1
  4279. | #define HAVE_SYSCALL_H 1
  4280. | #define HAVE_TIME_H 1
  4281. | #define HAVE_UCONTEXT_H 1
  4282. | #define HAVE_UTIME_H 1
  4283. | #define HAVE_GMP_H 1
  4284. | #define HAVE_LIBGMP 1
  4285. | #define HAVE_TYPEOF 1
  4286. | #define typeof __typeof__
  4287. | #define HAVE_LONG_LONG 1
  4288. | #define HAVE_OFF_T 1
  4289. | #define SIZEOF_INT 4
  4290. | #define SIZEOF_SHORT 2
  4291. | #define SIZEOF_LONG 8
  4292. | #define SIZEOF_LONG_LONG 8
  4293. | #define SIZEOF___INT64 0
  4294. | #define SIZEOF_OFF_T 8
  4295. | #define SIZEOF_VOIDP 8
  4296. | #define SIZEOF_FLOAT 4
  4297. | #define SIZEOF_DOUBLE 8
  4298. | #define SIZEOF_TIME_T 8
  4299. | #define SIZEOF_CLOCK_T 8
  4300. | #define PACKED_STRUCT(x) x __attribute__((packed))
  4301. | #define PACKED_STRUCT_UNALIGNED(x) x
  4302. | #define PRI_LL_PREFIX "ll"
  4303. | /* end confdefs.h. */
  4304. | #include <stdio.h>
  4305. | #ifdef HAVE_SYS_TYPES_H
  4306. | # include <sys/types.h>
  4307. | #endif
  4308. | #ifdef HAVE_SYS_STAT_H
  4309. | # include <sys/stat.h>
  4310. | #endif
  4311. | #ifdef STDC_HEADERS
  4312. | # include <stdlib.h>
  4313. | # include <stddef.h>
  4314. | #else
  4315. | # ifdef HAVE_STDLIB_H
  4316. | # include <stdlib.h>
  4317. | # endif
  4318. | #endif
  4319. | #ifdef HAVE_STRING_H
  4320. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  4321. | # include <memory.h>
  4322. | # endif
  4323. | # include <string.h>
  4324. | #endif
  4325. | #ifdef HAVE_STRINGS_H
  4326. | # include <strings.h>
  4327. | #endif
  4328. | #ifdef HAVE_INTTYPES_H
  4329. | # include <inttypes.h>
  4330. | #endif
  4331. | #ifdef HAVE_STDINT_H
  4332. | # include <stdint.h>
  4333. | #endif
  4334. | #ifdef HAVE_UNISTD_H
  4335. | # include <unistd.h>
  4336. | #endif
  4337. | typedef pid_t rbcv_conftest_target_type;
  4338. | typedef long rbcv_conftest_replace_type;
  4339. | extern rbcv_conftest_target_type rbcv_conftest_var;
  4340. | extern rbcv_conftest_replace_type rbcv_conftest_var;
  4341. | extern rbcv_conftest_target_type rbcv_conftest_func(void);
  4342. | extern rbcv_conftest_replace_type rbcv_conftest_func(void);
  4343. |
  4344. | int
  4345. | main ()
  4346. | {
  4347. | static int test_array [1 - 2 * !(sizeof(rbcv_conftest_target_type) == sizeof(rbcv_conftest_replace_type))];
  4348. | test_array [0] = 0;
  4349. | return test_array [0];
  4350. |
  4351. | ;
  4352. | return 0;
  4353. | }
  4354. configure:12687: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  4355. configure:12687: $? = 0
  4356. configure:12706: result: INT
  4357. configure:12753: checking for uid_t
  4358. configure:12753: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  4359. configure:12753: $? = 0
  4360. configure:12753: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  4361. conftest.c: In function 'main':
  4362. conftest.c:122:20: error: expected expression before ')' token
  4363. if (sizeof ((uid_t)))
  4364. ^
  4365. configure:12753: $? = 1
  4366. configure: failed program was:
  4367. | /* confdefs.h */
  4368. | #define PACKAGE_NAME ""
  4369. | #define PACKAGE_TARNAME ""
  4370. | #define PACKAGE_VERSION ""
  4371. | #define PACKAGE_STRING ""
  4372. | #define PACKAGE_BUGREPORT ""
  4373. | #define PACKAGE_URL ""
  4374. | #define CANONICALIZATION_FOR_MATHN 1
  4375. | #define STDC_HEADERS 1
  4376. | #define HAVE_SYS_TYPES_H 1
  4377. | #define HAVE_SYS_STAT_H 1
  4378. | #define HAVE_STDLIB_H 1
  4379. | #define HAVE_STRING_H 1
  4380. | #define HAVE_MEMORY_H 1
  4381. | #define HAVE_STRINGS_H 1
  4382. | #define HAVE_INTTYPES_H 1
  4383. | #define HAVE_STDINT_H 1
  4384. | #define HAVE_UNISTD_H 1
  4385. | #define __EXTENSIONS__ 1
  4386. | #define _ALL_SOURCE 1
  4387. | #define _GNU_SOURCE 1
  4388. | #define _POSIX_PTHREAD_SEMANTICS 1
  4389. | #define _TANDEM_SOURCE 1
  4390. | #define HAVE_INFINITY 1
  4391. | #define HAVE_NAN 1
  4392. | #define RUBY_SYMBOL_EXPORT_BEGIN _Pragma("GCC visibility push(default)")
  4393. | #define RUBY_SYMBOL_EXPORT_END _Pragma("GCC visibility pop")
  4394. | #define HAVE_LIBCRYPT 1
  4395. | #define HAVE_LIBDL 1
  4396. | #define HAVE_DIRENT_H 1
  4397. | #define HAVE__BOOL 1
  4398. | #define HAVE_STDBOOL_H 1
  4399. | #define HAVE_SYS_WAIT_H 1
  4400. | #define HAVE_A_OUT_H 1
  4401. | #define HAVE_GRP_H 1
  4402. | #define HAVE_FCNTL_H 1
  4403. | #define HAVE_FLOAT_H 1
  4404. | #define HAVE_LANGINFO_H 1
  4405. | #define HAVE_LIMITS_H 1
  4406. | #define HAVE_LOCALE_H 1
  4407. | #define HAVE_MALLOC_H 1
  4408. | #define HAVE_PWD_H 1
  4409. | #define HAVE_SYS_FCNTL_H 1
  4410. | #define HAVE_SYS_FILE_H 1
  4411. | #define HAVE_SYS_IOCTL_H 1
  4412. | #define HAVE_SYS_PARAM_H 1
  4413. | #define HAVE_SYS_PRCTL_H 1
  4414. | #define HAVE_SYS_RESOURCE_H 1
  4415. | #define HAVE_SYS_SELECT_H 1
  4416. | #define HAVE_SYS_SENDFILE_H 1
  4417. | #define HAVE_SYS_SOCKET_H 1
  4418. | #define HAVE_SYS_SYSCALL_H 1
  4419. | #define HAVE_SYS_TIME_H 1
  4420. | #define HAVE_SYS_TIMES_H 1
  4421. | #define HAVE_SYS_UIO_H 1
  4422. | #define HAVE_SYSCALL_H 1
  4423. | #define HAVE_TIME_H 1
  4424. | #define HAVE_UCONTEXT_H 1
  4425. | #define HAVE_UTIME_H 1
  4426. | #define HAVE_GMP_H 1
  4427. | #define HAVE_LIBGMP 1
  4428. | #define HAVE_TYPEOF 1
  4429. | #define typeof __typeof__
  4430. | #define HAVE_LONG_LONG 1
  4431. | #define HAVE_OFF_T 1
  4432. | #define SIZEOF_INT 4
  4433. | #define SIZEOF_SHORT 2
  4434. | #define SIZEOF_LONG 8
  4435. | #define SIZEOF_LONG_LONG 8
  4436. | #define SIZEOF___INT64 0
  4437. | #define SIZEOF_OFF_T 8
  4438. | #define SIZEOF_VOIDP 8
  4439. | #define SIZEOF_FLOAT 4
  4440. | #define SIZEOF_DOUBLE 8
  4441. | #define SIZEOF_TIME_T 8
  4442. | #define SIZEOF_CLOCK_T 8
  4443. | #define PACKED_STRUCT(x) x __attribute__((packed))
  4444. | #define PACKED_STRUCT_UNALIGNED(x) x
  4445. | #define PRI_LL_PREFIX "ll"
  4446. | #define rb_pid_t pid_t
  4447. | #define SIGNEDNESS_OF_PID_T -1
  4448. | #define PIDT2NUM(v) INT2NUM(v)
  4449. | #define NUM2PIDT(v) NUM2INT(v)
  4450. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  4451. | /* end confdefs.h. */
  4452. | #include <stdio.h>
  4453. | #ifdef HAVE_SYS_TYPES_H
  4454. | # include <sys/types.h>
  4455. | #endif
  4456. | #ifdef HAVE_SYS_STAT_H
  4457. | # include <sys/stat.h>
  4458. | #endif
  4459. | #ifdef STDC_HEADERS
  4460. | # include <stdlib.h>
  4461. | # include <stddef.h>
  4462. | #else
  4463. | # ifdef HAVE_STDLIB_H
  4464. | # include <stdlib.h>
  4465. | # endif
  4466. | #endif
  4467. | #ifdef HAVE_STRING_H
  4468. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  4469. | # include <memory.h>
  4470. | # endif
  4471. | # include <string.h>
  4472. | #endif
  4473. | #ifdef HAVE_STRINGS_H
  4474. | # include <strings.h>
  4475. | #endif
  4476. | #ifdef HAVE_INTTYPES_H
  4477. | # include <inttypes.h>
  4478. | #endif
  4479. | #ifdef HAVE_STDINT_H
  4480. | # include <stdint.h>
  4481. | #endif
  4482. | #ifdef HAVE_UNISTD_H
  4483. | # include <unistd.h>
  4484. | #endif
  4485. | int
  4486. | main ()
  4487. | {
  4488. | if (sizeof ((uid_t)))
  4489. | return 0;
  4490. | ;
  4491. | return 0;
  4492. | }
  4493. configure:12753: result: yes
  4494. configure:12760: checking for convertible type of uid_t
  4495. configure:12788: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  4496. configure:12788: $? = 0
  4497. configure:12817: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  4498. conftest.c:122:38: error: conflicting types for 'rbcv_conftest_var'
  4499. extern rbcv_conftest_replace_type rbcv_conftest_var;
  4500. ^~~~~~~~~~~~~~~~~
  4501. conftest.c:121:37: note: previous declaration of 'rbcv_conftest_var' was here
  4502. extern rbcv_conftest_target_type rbcv_conftest_var;
  4503. ^~~~~~~~~~~~~~~~~
  4504. conftest.c:124:38: error: conflicting types for 'rbcv_conftest_func'
  4505. extern rbcv_conftest_replace_type rbcv_conftest_func(void);
  4506. ^~~~~~~~~~~~~~~~~~
  4507. conftest.c:123:37: note: previous declaration of 'rbcv_conftest_func' was here
  4508. extern rbcv_conftest_target_type rbcv_conftest_func(void);
  4509. ^~~~~~~~~~~~~~~~~~
  4510. conftest.c: In function 'main':
  4511. conftest.c:129:12: error: size of array 'test_array' is negative
  4512. static int test_array [1 - 2 * !(sizeof(rbcv_conftest_target_type) == sizeof(rbcv_conftest_replace_type))];
  4513. ^~~~~~~~~~
  4514. configure:12817: $? = 1
  4515. configure: failed program was:
  4516. | /* confdefs.h */
  4517. | #define PACKAGE_NAME ""
  4518. | #define PACKAGE_TARNAME ""
  4519. | #define PACKAGE_VERSION ""
  4520. | #define PACKAGE_STRING ""
  4521. | #define PACKAGE_BUGREPORT ""
  4522. | #define PACKAGE_URL ""
  4523. | #define CANONICALIZATION_FOR_MATHN 1
  4524. | #define STDC_HEADERS 1
  4525. | #define HAVE_SYS_TYPES_H 1
  4526. | #define HAVE_SYS_STAT_H 1
  4527. | #define HAVE_STDLIB_H 1
  4528. | #define HAVE_STRING_H 1
  4529. | #define HAVE_MEMORY_H 1
  4530. | #define HAVE_STRINGS_H 1
  4531. | #define HAVE_INTTYPES_H 1
  4532. | #define HAVE_STDINT_H 1
  4533. | #define HAVE_UNISTD_H 1
  4534. | #define __EXTENSIONS__ 1
  4535. | #define _ALL_SOURCE 1
  4536. | #define _GNU_SOURCE 1
  4537. | #define _POSIX_PTHREAD_SEMANTICS 1
  4538. | #define _TANDEM_SOURCE 1
  4539. | #define HAVE_INFINITY 1
  4540. | #define HAVE_NAN 1
  4541. | #define RUBY_SYMBOL_EXPORT_BEGIN _Pragma("GCC visibility push(default)")
  4542. | #define RUBY_SYMBOL_EXPORT_END _Pragma("GCC visibility pop")
  4543. | #define HAVE_LIBCRYPT 1
  4544. | #define HAVE_LIBDL 1
  4545. | #define HAVE_DIRENT_H 1
  4546. | #define HAVE__BOOL 1
  4547. | #define HAVE_STDBOOL_H 1
  4548. | #define HAVE_SYS_WAIT_H 1
  4549. | #define HAVE_A_OUT_H 1
  4550. | #define HAVE_GRP_H 1
  4551. | #define HAVE_FCNTL_H 1
  4552. | #define HAVE_FLOAT_H 1
  4553. | #define HAVE_LANGINFO_H 1
  4554. | #define HAVE_LIMITS_H 1
  4555. | #define HAVE_LOCALE_H 1
  4556. | #define HAVE_MALLOC_H 1
  4557. | #define HAVE_PWD_H 1
  4558. | #define HAVE_SYS_FCNTL_H 1
  4559. | #define HAVE_SYS_FILE_H 1
  4560. | #define HAVE_SYS_IOCTL_H 1
  4561. | #define HAVE_SYS_PARAM_H 1
  4562. | #define HAVE_SYS_PRCTL_H 1
  4563. | #define HAVE_SYS_RESOURCE_H 1
  4564. | #define HAVE_SYS_SELECT_H 1
  4565. | #define HAVE_SYS_SENDFILE_H 1
  4566. | #define HAVE_SYS_SOCKET_H 1
  4567. | #define HAVE_SYS_SYSCALL_H 1
  4568. | #define HAVE_SYS_TIME_H 1
  4569. | #define HAVE_SYS_TIMES_H 1
  4570. | #define HAVE_SYS_UIO_H 1
  4571. | #define HAVE_SYSCALL_H 1
  4572. | #define HAVE_TIME_H 1
  4573. | #define HAVE_UCONTEXT_H 1
  4574. | #define HAVE_UTIME_H 1
  4575. | #define HAVE_GMP_H 1
  4576. | #define HAVE_LIBGMP 1
  4577. | #define HAVE_TYPEOF 1
  4578. | #define typeof __typeof__
  4579. | #define HAVE_LONG_LONG 1
  4580. | #define HAVE_OFF_T 1
  4581. | #define SIZEOF_INT 4
  4582. | #define SIZEOF_SHORT 2
  4583. | #define SIZEOF_LONG 8
  4584. | #define SIZEOF_LONG_LONG 8
  4585. | #define SIZEOF___INT64 0
  4586. | #define SIZEOF_OFF_T 8
  4587. | #define SIZEOF_VOIDP 8
  4588. | #define SIZEOF_FLOAT 4
  4589. | #define SIZEOF_DOUBLE 8
  4590. | #define SIZEOF_TIME_T 8
  4591. | #define SIZEOF_CLOCK_T 8
  4592. | #define PACKED_STRUCT(x) x __attribute__((packed))
  4593. | #define PACKED_STRUCT_UNALIGNED(x) x
  4594. | #define PRI_LL_PREFIX "ll"
  4595. | #define rb_pid_t pid_t
  4596. | #define SIGNEDNESS_OF_PID_T -1
  4597. | #define PIDT2NUM(v) INT2NUM(v)
  4598. | #define NUM2PIDT(v) NUM2INT(v)
  4599. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  4600. | /* end confdefs.h. */
  4601. | #include <stdio.h>
  4602. | #ifdef HAVE_SYS_TYPES_H
  4603. | # include <sys/types.h>
  4604. | #endif
  4605. | #ifdef HAVE_SYS_STAT_H
  4606. | # include <sys/stat.h>
  4607. | #endif
  4608. | #ifdef STDC_HEADERS
  4609. | # include <stdlib.h>
  4610. | # include <stddef.h>
  4611. | #else
  4612. | # ifdef HAVE_STDLIB_H
  4613. | # include <stdlib.h>
  4614. | # endif
  4615. | #endif
  4616. | #ifdef HAVE_STRING_H
  4617. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  4618. | # include <memory.h>
  4619. | # endif
  4620. | # include <string.h>
  4621. | #endif
  4622. | #ifdef HAVE_STRINGS_H
  4623. | # include <strings.h>
  4624. | #endif
  4625. | #ifdef HAVE_INTTYPES_H
  4626. | # include <inttypes.h>
  4627. | #endif
  4628. | #ifdef HAVE_STDINT_H
  4629. | # include <stdint.h>
  4630. | #endif
  4631. | #ifdef HAVE_UNISTD_H
  4632. | # include <unistd.h>
  4633. | #endif
  4634. | typedef uid_t rbcv_conftest_target_type;
  4635. | typedef unsigned long long rbcv_conftest_replace_type;
  4636. | extern rbcv_conftest_target_type rbcv_conftest_var;
  4637. | extern rbcv_conftest_replace_type rbcv_conftest_var;
  4638. | extern rbcv_conftest_target_type rbcv_conftest_func(void);
  4639. | extern rbcv_conftest_replace_type rbcv_conftest_func(void);
  4640. |
  4641. | int
  4642. | main ()
  4643. | {
  4644. | static int test_array [1 - 2 * !(sizeof(rbcv_conftest_target_type) == sizeof(rbcv_conftest_replace_type))];
  4645. | test_array [0] = 0;
  4646. | return test_array [0];
  4647. |
  4648. | ;
  4649. | return 0;
  4650. | }
  4651. configure:12817: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  4652. conftest.c:122:38: error: conflicting types for 'rbcv_conftest_var'
  4653. extern rbcv_conftest_replace_type rbcv_conftest_var;
  4654. ^~~~~~~~~~~~~~~~~
  4655. conftest.c:121:37: note: previous declaration of 'rbcv_conftest_var' was here
  4656. extern rbcv_conftest_target_type rbcv_conftest_var;
  4657. ^~~~~~~~~~~~~~~~~
  4658. conftest.c:124:38: error: conflicting types for 'rbcv_conftest_func'
  4659. extern rbcv_conftest_replace_type rbcv_conftest_func(void);
  4660. ^~~~~~~~~~~~~~~~~~
  4661. conftest.c:123:37: note: previous declaration of 'rbcv_conftest_func' was here
  4662. extern rbcv_conftest_target_type rbcv_conftest_func(void);
  4663. ^~~~~~~~~~~~~~~~~~
  4664. conftest.c: In function 'main':
  4665. conftest.c:129:12: error: size of array 'test_array' is negative
  4666. static int test_array [1 - 2 * !(sizeof(rbcv_conftest_target_type) == sizeof(rbcv_conftest_replace_type))];
  4667. ^~~~~~~~~~
  4668. configure:12817: $? = 1
  4669. configure: failed program was:
  4670. | /* confdefs.h */
  4671. | #define PACKAGE_NAME ""
  4672. | #define PACKAGE_TARNAME ""
  4673. | #define PACKAGE_VERSION ""
  4674. | #define PACKAGE_STRING ""
  4675. | #define PACKAGE_BUGREPORT ""
  4676. | #define PACKAGE_URL ""
  4677. | #define CANONICALIZATION_FOR_MATHN 1
  4678. | #define STDC_HEADERS 1
  4679. | #define HAVE_SYS_TYPES_H 1
  4680. | #define HAVE_SYS_STAT_H 1
  4681. | #define HAVE_STDLIB_H 1
  4682. | #define HAVE_STRING_H 1
  4683. | #define HAVE_MEMORY_H 1
  4684. | #define HAVE_STRINGS_H 1
  4685. | #define HAVE_INTTYPES_H 1
  4686. | #define HAVE_STDINT_H 1
  4687. | #define HAVE_UNISTD_H 1
  4688. | #define __EXTENSIONS__ 1
  4689. | #define _ALL_SOURCE 1
  4690. | #define _GNU_SOURCE 1
  4691. | #define _POSIX_PTHREAD_SEMANTICS 1
  4692. | #define _TANDEM_SOURCE 1
  4693. | #define HAVE_INFINITY 1
  4694. | #define HAVE_NAN 1
  4695. | #define RUBY_SYMBOL_EXPORT_BEGIN _Pragma("GCC visibility push(default)")
  4696. | #define RUBY_SYMBOL_EXPORT_END _Pragma("GCC visibility pop")
  4697. | #define HAVE_LIBCRYPT 1
  4698. | #define HAVE_LIBDL 1
  4699. | #define HAVE_DIRENT_H 1
  4700. | #define HAVE__BOOL 1
  4701. | #define HAVE_STDBOOL_H 1
  4702. | #define HAVE_SYS_WAIT_H 1
  4703. | #define HAVE_A_OUT_H 1
  4704. | #define HAVE_GRP_H 1
  4705. | #define HAVE_FCNTL_H 1
  4706. | #define HAVE_FLOAT_H 1
  4707. | #define HAVE_LANGINFO_H 1
  4708. | #define HAVE_LIMITS_H 1
  4709. | #define HAVE_LOCALE_H 1
  4710. | #define HAVE_MALLOC_H 1
  4711. | #define HAVE_PWD_H 1
  4712. | #define HAVE_SYS_FCNTL_H 1
  4713. | #define HAVE_SYS_FILE_H 1
  4714. | #define HAVE_SYS_IOCTL_H 1
  4715. | #define HAVE_SYS_PARAM_H 1
  4716. | #define HAVE_SYS_PRCTL_H 1
  4717. | #define HAVE_SYS_RESOURCE_H 1
  4718. | #define HAVE_SYS_SELECT_H 1
  4719. | #define HAVE_SYS_SENDFILE_H 1
  4720. | #define HAVE_SYS_SOCKET_H 1
  4721. | #define HAVE_SYS_SYSCALL_H 1
  4722. | #define HAVE_SYS_TIME_H 1
  4723. | #define HAVE_SYS_TIMES_H 1
  4724. | #define HAVE_SYS_UIO_H 1
  4725. | #define HAVE_SYSCALL_H 1
  4726. | #define HAVE_TIME_H 1
  4727. | #define HAVE_UCONTEXT_H 1
  4728. | #define HAVE_UTIME_H 1
  4729. | #define HAVE_GMP_H 1
  4730. | #define HAVE_LIBGMP 1
  4731. | #define HAVE_TYPEOF 1
  4732. | #define typeof __typeof__
  4733. | #define HAVE_LONG_LONG 1
  4734. | #define HAVE_OFF_T 1
  4735. | #define SIZEOF_INT 4
  4736. | #define SIZEOF_SHORT 2
  4737. | #define SIZEOF_LONG 8
  4738. | #define SIZEOF_LONG_LONG 8
  4739. | #define SIZEOF___INT64 0
  4740. | #define SIZEOF_OFF_T 8
  4741. | #define SIZEOF_VOIDP 8
  4742. | #define SIZEOF_FLOAT 4
  4743. | #define SIZEOF_DOUBLE 8
  4744. | #define SIZEOF_TIME_T 8
  4745. | #define SIZEOF_CLOCK_T 8
  4746. | #define PACKED_STRUCT(x) x __attribute__((packed))
  4747. | #define PACKED_STRUCT_UNALIGNED(x) x
  4748. | #define PRI_LL_PREFIX "ll"
  4749. | #define rb_pid_t pid_t
  4750. | #define SIGNEDNESS_OF_PID_T -1
  4751. | #define PIDT2NUM(v) INT2NUM(v)
  4752. | #define NUM2PIDT(v) NUM2INT(v)
  4753. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  4754. | /* end confdefs.h. */
  4755. | #include <stdio.h>
  4756. | #ifdef HAVE_SYS_TYPES_H
  4757. | # include <sys/types.h>
  4758. | #endif
  4759. | #ifdef HAVE_SYS_STAT_H
  4760. | # include <sys/stat.h>
  4761. | #endif
  4762. | #ifdef STDC_HEADERS
  4763. | # include <stdlib.h>
  4764. | # include <stddef.h>
  4765. | #else
  4766. | # ifdef HAVE_STDLIB_H
  4767. | # include <stdlib.h>
  4768. | # endif
  4769. | #endif
  4770. | #ifdef HAVE_STRING_H
  4771. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  4772. | # include <memory.h>
  4773. | # endif
  4774. | # include <string.h>
  4775. | #endif
  4776. | #ifdef HAVE_STRINGS_H
  4777. | # include <strings.h>
  4778. | #endif
  4779. | #ifdef HAVE_INTTYPES_H
  4780. | # include <inttypes.h>
  4781. | #endif
  4782. | #ifdef HAVE_STDINT_H
  4783. | # include <stdint.h>
  4784. | #endif
  4785. | #ifdef HAVE_UNISTD_H
  4786. | # include <unistd.h>
  4787. | #endif
  4788. | typedef uid_t rbcv_conftest_target_type;
  4789. | typedef unsigned long rbcv_conftest_replace_type;
  4790. | extern rbcv_conftest_target_type rbcv_conftest_var;
  4791. | extern rbcv_conftest_replace_type rbcv_conftest_var;
  4792. | extern rbcv_conftest_target_type rbcv_conftest_func(void);
  4793. | extern rbcv_conftest_replace_type rbcv_conftest_func(void);
  4794. |
  4795. | int
  4796. | main ()
  4797. | {
  4798. | static int test_array [1 - 2 * !(sizeof(rbcv_conftest_target_type) == sizeof(rbcv_conftest_replace_type))];
  4799. | test_array [0] = 0;
  4800. | return test_array [0];
  4801. |
  4802. | ;
  4803. | return 0;
  4804. | }
  4805. configure:12817: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  4806. configure:12817: $? = 0
  4807. configure:12836: result: UINT
  4808. configure:12883: checking for gid_t
  4809. configure:12883: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  4810. configure:12883: $? = 0
  4811. configure:12883: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  4812. conftest.c: In function 'main':
  4813. conftest.c:127:20: error: expected expression before ')' token
  4814. if (sizeof ((gid_t)))
  4815. ^
  4816. configure:12883: $? = 1
  4817. configure: failed program was:
  4818. | /* confdefs.h */
  4819. | #define PACKAGE_NAME ""
  4820. | #define PACKAGE_TARNAME ""
  4821. | #define PACKAGE_VERSION ""
  4822. | #define PACKAGE_STRING ""
  4823. | #define PACKAGE_BUGREPORT ""
  4824. | #define PACKAGE_URL ""
  4825. | #define CANONICALIZATION_FOR_MATHN 1
  4826. | #define STDC_HEADERS 1
  4827. | #define HAVE_SYS_TYPES_H 1
  4828. | #define HAVE_SYS_STAT_H 1
  4829. | #define HAVE_STDLIB_H 1
  4830. | #define HAVE_STRING_H 1
  4831. | #define HAVE_MEMORY_H 1
  4832. | #define HAVE_STRINGS_H 1
  4833. | #define HAVE_INTTYPES_H 1
  4834. | #define HAVE_STDINT_H 1
  4835. | #define HAVE_UNISTD_H 1
  4836. | #define __EXTENSIONS__ 1
  4837. | #define _ALL_SOURCE 1
  4838. | #define _GNU_SOURCE 1
  4839. | #define _POSIX_PTHREAD_SEMANTICS 1
  4840. | #define _TANDEM_SOURCE 1
  4841. | #define HAVE_INFINITY 1
  4842. | #define HAVE_NAN 1
  4843. | #define RUBY_SYMBOL_EXPORT_BEGIN _Pragma("GCC visibility push(default)")
  4844. | #define RUBY_SYMBOL_EXPORT_END _Pragma("GCC visibility pop")
  4845. | #define HAVE_LIBCRYPT 1
  4846. | #define HAVE_LIBDL 1
  4847. | #define HAVE_DIRENT_H 1
  4848. | #define HAVE__BOOL 1
  4849. | #define HAVE_STDBOOL_H 1
  4850. | #define HAVE_SYS_WAIT_H 1
  4851. | #define HAVE_A_OUT_H 1
  4852. | #define HAVE_GRP_H 1
  4853. | #define HAVE_FCNTL_H 1
  4854. | #define HAVE_FLOAT_H 1
  4855. | #define HAVE_LANGINFO_H 1
  4856. | #define HAVE_LIMITS_H 1
  4857. | #define HAVE_LOCALE_H 1
  4858. | #define HAVE_MALLOC_H 1
  4859. | #define HAVE_PWD_H 1
  4860. | #define HAVE_SYS_FCNTL_H 1
  4861. | #define HAVE_SYS_FILE_H 1
  4862. | #define HAVE_SYS_IOCTL_H 1
  4863. | #define HAVE_SYS_PARAM_H 1
  4864. | #define HAVE_SYS_PRCTL_H 1
  4865. | #define HAVE_SYS_RESOURCE_H 1
  4866. | #define HAVE_SYS_SELECT_H 1
  4867. | #define HAVE_SYS_SENDFILE_H 1
  4868. | #define HAVE_SYS_SOCKET_H 1
  4869. | #define HAVE_SYS_SYSCALL_H 1
  4870. | #define HAVE_SYS_TIME_H 1
  4871. | #define HAVE_SYS_TIMES_H 1
  4872. | #define HAVE_SYS_UIO_H 1
  4873. | #define HAVE_SYSCALL_H 1
  4874. | #define HAVE_TIME_H 1
  4875. | #define HAVE_UCONTEXT_H 1
  4876. | #define HAVE_UTIME_H 1
  4877. | #define HAVE_GMP_H 1
  4878. | #define HAVE_LIBGMP 1
  4879. | #define HAVE_TYPEOF 1
  4880. | #define typeof __typeof__
  4881. | #define HAVE_LONG_LONG 1
  4882. | #define HAVE_OFF_T 1
  4883. | #define SIZEOF_INT 4
  4884. | #define SIZEOF_SHORT 2
  4885. | #define SIZEOF_LONG 8
  4886. | #define SIZEOF_LONG_LONG 8
  4887. | #define SIZEOF___INT64 0
  4888. | #define SIZEOF_OFF_T 8
  4889. | #define SIZEOF_VOIDP 8
  4890. | #define SIZEOF_FLOAT 4
  4891. | #define SIZEOF_DOUBLE 8
  4892. | #define SIZEOF_TIME_T 8
  4893. | #define SIZEOF_CLOCK_T 8
  4894. | #define PACKED_STRUCT(x) x __attribute__((packed))
  4895. | #define PACKED_STRUCT_UNALIGNED(x) x
  4896. | #define PRI_LL_PREFIX "ll"
  4897. | #define rb_pid_t pid_t
  4898. | #define SIGNEDNESS_OF_PID_T -1
  4899. | #define PIDT2NUM(v) INT2NUM(v)
  4900. | #define NUM2PIDT(v) NUM2INT(v)
  4901. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  4902. | #define rb_uid_t uid_t
  4903. | #define SIGNEDNESS_OF_UID_T +1
  4904. | #define UIDT2NUM(v) UINT2NUM(v)
  4905. | #define NUM2UIDT(v) NUM2UINT(v)
  4906. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  4907. | /* end confdefs.h. */
  4908. | #include <stdio.h>
  4909. | #ifdef HAVE_SYS_TYPES_H
  4910. | # include <sys/types.h>
  4911. | #endif
  4912. | #ifdef HAVE_SYS_STAT_H
  4913. | # include <sys/stat.h>
  4914. | #endif
  4915. | #ifdef STDC_HEADERS
  4916. | # include <stdlib.h>
  4917. | # include <stddef.h>
  4918. | #else
  4919. | # ifdef HAVE_STDLIB_H
  4920. | # include <stdlib.h>
  4921. | # endif
  4922. | #endif
  4923. | #ifdef HAVE_STRING_H
  4924. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  4925. | # include <memory.h>
  4926. | # endif
  4927. | # include <string.h>
  4928. | #endif
  4929. | #ifdef HAVE_STRINGS_H
  4930. | # include <strings.h>
  4931. | #endif
  4932. | #ifdef HAVE_INTTYPES_H
  4933. | # include <inttypes.h>
  4934. | #endif
  4935. | #ifdef HAVE_STDINT_H
  4936. | # include <stdint.h>
  4937. | #endif
  4938. | #ifdef HAVE_UNISTD_H
  4939. | # include <unistd.h>
  4940. | #endif
  4941. | int
  4942. | main ()
  4943. | {
  4944. | if (sizeof ((gid_t)))
  4945. | return 0;
  4946. | ;
  4947. | return 0;
  4948. | }
  4949. configure:12883: result: yes
  4950. configure:12890: checking for convertible type of gid_t
  4951. configure:12918: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  4952. configure:12918: $? = 0
  4953. configure:12947: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  4954. conftest.c:127:38: error: conflicting types for 'rbcv_conftest_var'
  4955. extern rbcv_conftest_replace_type rbcv_conftest_var;
  4956. ^~~~~~~~~~~~~~~~~
  4957. conftest.c:126:37: note: previous declaration of 'rbcv_conftest_var' was here
  4958. extern rbcv_conftest_target_type rbcv_conftest_var;
  4959. ^~~~~~~~~~~~~~~~~
  4960. conftest.c:129:38: error: conflicting types for 'rbcv_conftest_func'
  4961. extern rbcv_conftest_replace_type rbcv_conftest_func(void);
  4962. ^~~~~~~~~~~~~~~~~~
  4963. conftest.c:128:37: note: previous declaration of 'rbcv_conftest_func' was here
  4964. extern rbcv_conftest_target_type rbcv_conftest_func(void);
  4965. ^~~~~~~~~~~~~~~~~~
  4966. conftest.c: In function 'main':
  4967. conftest.c:134:12: error: size of array 'test_array' is negative
  4968. static int test_array [1 - 2 * !(sizeof(rbcv_conftest_target_type) == sizeof(rbcv_conftest_replace_type))];
  4969. ^~~~~~~~~~
  4970. configure:12947: $? = 1
  4971. configure: failed program was:
  4972. | /* confdefs.h */
  4973. | #define PACKAGE_NAME ""
  4974. | #define PACKAGE_TARNAME ""
  4975. | #define PACKAGE_VERSION ""
  4976. | #define PACKAGE_STRING ""
  4977. | #define PACKAGE_BUGREPORT ""
  4978. | #define PACKAGE_URL ""
  4979. | #define CANONICALIZATION_FOR_MATHN 1
  4980. | #define STDC_HEADERS 1
  4981. | #define HAVE_SYS_TYPES_H 1
  4982. | #define HAVE_SYS_STAT_H 1
  4983. | #define HAVE_STDLIB_H 1
  4984. | #define HAVE_STRING_H 1
  4985. | #define HAVE_MEMORY_H 1
  4986. | #define HAVE_STRINGS_H 1
  4987. | #define HAVE_INTTYPES_H 1
  4988. | #define HAVE_STDINT_H 1
  4989. | #define HAVE_UNISTD_H 1
  4990. | #define __EXTENSIONS__ 1
  4991. | #define _ALL_SOURCE 1
  4992. | #define _GNU_SOURCE 1
  4993. | #define _POSIX_PTHREAD_SEMANTICS 1
  4994. | #define _TANDEM_SOURCE 1
  4995. | #define HAVE_INFINITY 1
  4996. | #define HAVE_NAN 1
  4997. | #define RUBY_SYMBOL_EXPORT_BEGIN _Pragma("GCC visibility push(default)")
  4998. | #define RUBY_SYMBOL_EXPORT_END _Pragma("GCC visibility pop")
  4999. | #define HAVE_LIBCRYPT 1
  5000. | #define HAVE_LIBDL 1
  5001. | #define HAVE_DIRENT_H 1
  5002. | #define HAVE__BOOL 1
  5003. | #define HAVE_STDBOOL_H 1
  5004. | #define HAVE_SYS_WAIT_H 1
  5005. | #define HAVE_A_OUT_H 1
  5006. | #define HAVE_GRP_H 1
  5007. | #define HAVE_FCNTL_H 1
  5008. | #define HAVE_FLOAT_H 1
  5009. | #define HAVE_LANGINFO_H 1
  5010. | #define HAVE_LIMITS_H 1
  5011. | #define HAVE_LOCALE_H 1
  5012. | #define HAVE_MALLOC_H 1
  5013. | #define HAVE_PWD_H 1
  5014. | #define HAVE_SYS_FCNTL_H 1
  5015. | #define HAVE_SYS_FILE_H 1
  5016. | #define HAVE_SYS_IOCTL_H 1
  5017. | #define HAVE_SYS_PARAM_H 1
  5018. | #define HAVE_SYS_PRCTL_H 1
  5019. | #define HAVE_SYS_RESOURCE_H 1
  5020. | #define HAVE_SYS_SELECT_H 1
  5021. | #define HAVE_SYS_SENDFILE_H 1
  5022. | #define HAVE_SYS_SOCKET_H 1
  5023. | #define HAVE_SYS_SYSCALL_H 1
  5024. | #define HAVE_SYS_TIME_H 1
  5025. | #define HAVE_SYS_TIMES_H 1
  5026. | #define HAVE_SYS_UIO_H 1
  5027. | #define HAVE_SYSCALL_H 1
  5028. | #define HAVE_TIME_H 1
  5029. | #define HAVE_UCONTEXT_H 1
  5030. | #define HAVE_UTIME_H 1
  5031. | #define HAVE_GMP_H 1
  5032. | #define HAVE_LIBGMP 1
  5033. | #define HAVE_TYPEOF 1
  5034. | #define typeof __typeof__
  5035. | #define HAVE_LONG_LONG 1
  5036. | #define HAVE_OFF_T 1
  5037. | #define SIZEOF_INT 4
  5038. | #define SIZEOF_SHORT 2
  5039. | #define SIZEOF_LONG 8
  5040. | #define SIZEOF_LONG_LONG 8
  5041. | #define SIZEOF___INT64 0
  5042. | #define SIZEOF_OFF_T 8
  5043. | #define SIZEOF_VOIDP 8
  5044. | #define SIZEOF_FLOAT 4
  5045. | #define SIZEOF_DOUBLE 8
  5046. | #define SIZEOF_TIME_T 8
  5047. | #define SIZEOF_CLOCK_T 8
  5048. | #define PACKED_STRUCT(x) x __attribute__((packed))
  5049. | #define PACKED_STRUCT_UNALIGNED(x) x
  5050. | #define PRI_LL_PREFIX "ll"
  5051. | #define rb_pid_t pid_t
  5052. | #define SIGNEDNESS_OF_PID_T -1
  5053. | #define PIDT2NUM(v) INT2NUM(v)
  5054. | #define NUM2PIDT(v) NUM2INT(v)
  5055. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  5056. | #define rb_uid_t uid_t
  5057. | #define SIGNEDNESS_OF_UID_T +1
  5058. | #define UIDT2NUM(v) UINT2NUM(v)
  5059. | #define NUM2UIDT(v) NUM2UINT(v)
  5060. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  5061. | /* end confdefs.h. */
  5062. | #include <stdio.h>
  5063. | #ifdef HAVE_SYS_TYPES_H
  5064. | # include <sys/types.h>
  5065. | #endif
  5066. | #ifdef HAVE_SYS_STAT_H
  5067. | # include <sys/stat.h>
  5068. | #endif
  5069. | #ifdef STDC_HEADERS
  5070. | # include <stdlib.h>
  5071. | # include <stddef.h>
  5072. | #else
  5073. | # ifdef HAVE_STDLIB_H
  5074. | # include <stdlib.h>
  5075. | # endif
  5076. | #endif
  5077. | #ifdef HAVE_STRING_H
  5078. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  5079. | # include <memory.h>
  5080. | # endif
  5081. | # include <string.h>
  5082. | #endif
  5083. | #ifdef HAVE_STRINGS_H
  5084. | # include <strings.h>
  5085. | #endif
  5086. | #ifdef HAVE_INTTYPES_H
  5087. | # include <inttypes.h>
  5088. | #endif
  5089. | #ifdef HAVE_STDINT_H
  5090. | # include <stdint.h>
  5091. | #endif
  5092. | #ifdef HAVE_UNISTD_H
  5093. | # include <unistd.h>
  5094. | #endif
  5095. | typedef gid_t rbcv_conftest_target_type;
  5096. | typedef unsigned long long rbcv_conftest_replace_type;
  5097. | extern rbcv_conftest_target_type rbcv_conftest_var;
  5098. | extern rbcv_conftest_replace_type rbcv_conftest_var;
  5099. | extern rbcv_conftest_target_type rbcv_conftest_func(void);
  5100. | extern rbcv_conftest_replace_type rbcv_conftest_func(void);
  5101. |
  5102. | int
  5103. | main ()
  5104. | {
  5105. | static int test_array [1 - 2 * !(sizeof(rbcv_conftest_target_type) == sizeof(rbcv_conftest_replace_type))];
  5106. | test_array [0] = 0;
  5107. | return test_array [0];
  5108. |
  5109. | ;
  5110. | return 0;
  5111. | }
  5112. configure:12947: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  5113. conftest.c:127:38: error: conflicting types for 'rbcv_conftest_var'
  5114. extern rbcv_conftest_replace_type rbcv_conftest_var;
  5115. ^~~~~~~~~~~~~~~~~
  5116. conftest.c:126:37: note: previous declaration of 'rbcv_conftest_var' was here
  5117. extern rbcv_conftest_target_type rbcv_conftest_var;
  5118. ^~~~~~~~~~~~~~~~~
  5119. conftest.c:129:38: error: conflicting types for 'rbcv_conftest_func'
  5120. extern rbcv_conftest_replace_type rbcv_conftest_func(void);
  5121. ^~~~~~~~~~~~~~~~~~
  5122. conftest.c:128:37: note: previous declaration of 'rbcv_conftest_func' was here
  5123. extern rbcv_conftest_target_type rbcv_conftest_func(void);
  5124. ^~~~~~~~~~~~~~~~~~
  5125. conftest.c: In function 'main':
  5126. conftest.c:134:12: error: size of array 'test_array' is negative
  5127. static int test_array [1 - 2 * !(sizeof(rbcv_conftest_target_type) == sizeof(rbcv_conftest_replace_type))];
  5128. ^~~~~~~~~~
  5129. configure:12947: $? = 1
  5130. configure: failed program was:
  5131. | /* confdefs.h */
  5132. | #define PACKAGE_NAME ""
  5133. | #define PACKAGE_TARNAME ""
  5134. | #define PACKAGE_VERSION ""
  5135. | #define PACKAGE_STRING ""
  5136. | #define PACKAGE_BUGREPORT ""
  5137. | #define PACKAGE_URL ""
  5138. | #define CANONICALIZATION_FOR_MATHN 1
  5139. | #define STDC_HEADERS 1
  5140. | #define HAVE_SYS_TYPES_H 1
  5141. | #define HAVE_SYS_STAT_H 1
  5142. | #define HAVE_STDLIB_H 1
  5143. | #define HAVE_STRING_H 1
  5144. | #define HAVE_MEMORY_H 1
  5145. | #define HAVE_STRINGS_H 1
  5146. | #define HAVE_INTTYPES_H 1
  5147. | #define HAVE_STDINT_H 1
  5148. | #define HAVE_UNISTD_H 1
  5149. | #define __EXTENSIONS__ 1
  5150. | #define _ALL_SOURCE 1
  5151. | #define _GNU_SOURCE 1
  5152. | #define _POSIX_PTHREAD_SEMANTICS 1
  5153. | #define _TANDEM_SOURCE 1
  5154. | #define HAVE_INFINITY 1
  5155. | #define HAVE_NAN 1
  5156. | #define RUBY_SYMBOL_EXPORT_BEGIN _Pragma("GCC visibility push(default)")
  5157. | #define RUBY_SYMBOL_EXPORT_END _Pragma("GCC visibility pop")
  5158. | #define HAVE_LIBCRYPT 1
  5159. | #define HAVE_LIBDL 1
  5160. | #define HAVE_DIRENT_H 1
  5161. | #define HAVE__BOOL 1
  5162. | #define HAVE_STDBOOL_H 1
  5163. | #define HAVE_SYS_WAIT_H 1
  5164. | #define HAVE_A_OUT_H 1
  5165. | #define HAVE_GRP_H 1
  5166. | #define HAVE_FCNTL_H 1
  5167. | #define HAVE_FLOAT_H 1
  5168. | #define HAVE_LANGINFO_H 1
  5169. | #define HAVE_LIMITS_H 1
  5170. | #define HAVE_LOCALE_H 1
  5171. | #define HAVE_MALLOC_H 1
  5172. | #define HAVE_PWD_H 1
  5173. | #define HAVE_SYS_FCNTL_H 1
  5174. | #define HAVE_SYS_FILE_H 1
  5175. | #define HAVE_SYS_IOCTL_H 1
  5176. | #define HAVE_SYS_PARAM_H 1
  5177. | #define HAVE_SYS_PRCTL_H 1
  5178. | #define HAVE_SYS_RESOURCE_H 1
  5179. | #define HAVE_SYS_SELECT_H 1
  5180. | #define HAVE_SYS_SENDFILE_H 1
  5181. | #define HAVE_SYS_SOCKET_H 1
  5182. | #define HAVE_SYS_SYSCALL_H 1
  5183. | #define HAVE_SYS_TIME_H 1
  5184. | #define HAVE_SYS_TIMES_H 1
  5185. | #define HAVE_SYS_UIO_H 1
  5186. | #define HAVE_SYSCALL_H 1
  5187. | #define HAVE_TIME_H 1
  5188. | #define HAVE_UCONTEXT_H 1
  5189. | #define HAVE_UTIME_H 1
  5190. | #define HAVE_GMP_H 1
  5191. | #define HAVE_LIBGMP 1
  5192. | #define HAVE_TYPEOF 1
  5193. | #define typeof __typeof__
  5194. | #define HAVE_LONG_LONG 1
  5195. | #define HAVE_OFF_T 1
  5196. | #define SIZEOF_INT 4
  5197. | #define SIZEOF_SHORT 2
  5198. | #define SIZEOF_LONG 8
  5199. | #define SIZEOF_LONG_LONG 8
  5200. | #define SIZEOF___INT64 0
  5201. | #define SIZEOF_OFF_T 8
  5202. | #define SIZEOF_VOIDP 8
  5203. | #define SIZEOF_FLOAT 4
  5204. | #define SIZEOF_DOUBLE 8
  5205. | #define SIZEOF_TIME_T 8
  5206. | #define SIZEOF_CLOCK_T 8
  5207. | #define PACKED_STRUCT(x) x __attribute__((packed))
  5208. | #define PACKED_STRUCT_UNALIGNED(x) x
  5209. | #define PRI_LL_PREFIX "ll"
  5210. | #define rb_pid_t pid_t
  5211. | #define SIGNEDNESS_OF_PID_T -1
  5212. | #define PIDT2NUM(v) INT2NUM(v)
  5213. | #define NUM2PIDT(v) NUM2INT(v)
  5214. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  5215. | #define rb_uid_t uid_t
  5216. | #define SIGNEDNESS_OF_UID_T +1
  5217. | #define UIDT2NUM(v) UINT2NUM(v)
  5218. | #define NUM2UIDT(v) NUM2UINT(v)
  5219. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  5220. | /* end confdefs.h. */
  5221. | #include <stdio.h>
  5222. | #ifdef HAVE_SYS_TYPES_H
  5223. | # include <sys/types.h>
  5224. | #endif
  5225. | #ifdef HAVE_SYS_STAT_H
  5226. | # include <sys/stat.h>
  5227. | #endif
  5228. | #ifdef STDC_HEADERS
  5229. | # include <stdlib.h>
  5230. | # include <stddef.h>
  5231. | #else
  5232. | # ifdef HAVE_STDLIB_H
  5233. | # include <stdlib.h>
  5234. | # endif
  5235. | #endif
  5236. | #ifdef HAVE_STRING_H
  5237. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  5238. | # include <memory.h>
  5239. | # endif
  5240. | # include <string.h>
  5241. | #endif
  5242. | #ifdef HAVE_STRINGS_H
  5243. | # include <strings.h>
  5244. | #endif
  5245. | #ifdef HAVE_INTTYPES_H
  5246. | # include <inttypes.h>
  5247. | #endif
  5248. | #ifdef HAVE_STDINT_H
  5249. | # include <stdint.h>
  5250. | #endif
  5251. | #ifdef HAVE_UNISTD_H
  5252. | # include <unistd.h>
  5253. | #endif
  5254. | typedef gid_t rbcv_conftest_target_type;
  5255. | typedef unsigned long rbcv_conftest_replace_type;
  5256. | extern rbcv_conftest_target_type rbcv_conftest_var;
  5257. | extern rbcv_conftest_replace_type rbcv_conftest_var;
  5258. | extern rbcv_conftest_target_type rbcv_conftest_func(void);
  5259. | extern rbcv_conftest_replace_type rbcv_conftest_func(void);
  5260. |
  5261. | int
  5262. | main ()
  5263. | {
  5264. | static int test_array [1 - 2 * !(sizeof(rbcv_conftest_target_type) == sizeof(rbcv_conftest_replace_type))];
  5265. | test_array [0] = 0;
  5266. | return test_array [0];
  5267. |
  5268. | ;
  5269. | return 0;
  5270. | }
  5271. configure:12947: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  5272. configure:12947: $? = 0
  5273. configure:12966: result: UINT
  5274. configure:13013: checking for time_t
  5275. configure:13013: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  5276. configure:13013: $? = 0
  5277. configure:13013: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  5278. conftest.c: In function 'main':
  5279. conftest.c:101:21: error: expected expression before ')' token
  5280. if (sizeof ((time_t)))
  5281. ^
  5282. configure:13013: $? = 1
  5283. configure: failed program was:
  5284. | /* confdefs.h */
  5285. | #define PACKAGE_NAME ""
  5286. | #define PACKAGE_TARNAME ""
  5287. | #define PACKAGE_VERSION ""
  5288. | #define PACKAGE_STRING ""
  5289. | #define PACKAGE_BUGREPORT ""
  5290. | #define PACKAGE_URL ""
  5291. | #define CANONICALIZATION_FOR_MATHN 1
  5292. | #define STDC_HEADERS 1
  5293. | #define HAVE_SYS_TYPES_H 1
  5294. | #define HAVE_SYS_STAT_H 1
  5295. | #define HAVE_STDLIB_H 1
  5296. | #define HAVE_STRING_H 1
  5297. | #define HAVE_MEMORY_H 1
  5298. | #define HAVE_STRINGS_H 1
  5299. | #define HAVE_INTTYPES_H 1
  5300. | #define HAVE_STDINT_H 1
  5301. | #define HAVE_UNISTD_H 1
  5302. | #define __EXTENSIONS__ 1
  5303. | #define _ALL_SOURCE 1
  5304. | #define _GNU_SOURCE 1
  5305. | #define _POSIX_PTHREAD_SEMANTICS 1
  5306. | #define _TANDEM_SOURCE 1
  5307. | #define HAVE_INFINITY 1
  5308. | #define HAVE_NAN 1
  5309. | #define RUBY_SYMBOL_EXPORT_BEGIN _Pragma("GCC visibility push(default)")
  5310. | #define RUBY_SYMBOL_EXPORT_END _Pragma("GCC visibility pop")
  5311. | #define HAVE_LIBCRYPT 1
  5312. | #define HAVE_LIBDL 1
  5313. | #define HAVE_DIRENT_H 1
  5314. | #define HAVE__BOOL 1
  5315. | #define HAVE_STDBOOL_H 1
  5316. | #define HAVE_SYS_WAIT_H 1
  5317. | #define HAVE_A_OUT_H 1
  5318. | #define HAVE_GRP_H 1
  5319. | #define HAVE_FCNTL_H 1
  5320. | #define HAVE_FLOAT_H 1
  5321. | #define HAVE_LANGINFO_H 1
  5322. | #define HAVE_LIMITS_H 1
  5323. | #define HAVE_LOCALE_H 1
  5324. | #define HAVE_MALLOC_H 1
  5325. | #define HAVE_PWD_H 1
  5326. | #define HAVE_SYS_FCNTL_H 1
  5327. | #define HAVE_SYS_FILE_H 1
  5328. | #define HAVE_SYS_IOCTL_H 1
  5329. | #define HAVE_SYS_PARAM_H 1
  5330. | #define HAVE_SYS_PRCTL_H 1
  5331. | #define HAVE_SYS_RESOURCE_H 1
  5332. | #define HAVE_SYS_SELECT_H 1
  5333. | #define HAVE_SYS_SENDFILE_H 1
  5334. | #define HAVE_SYS_SOCKET_H 1
  5335. | #define HAVE_SYS_SYSCALL_H 1
  5336. | #define HAVE_SYS_TIME_H 1
  5337. | #define HAVE_SYS_TIMES_H 1
  5338. | #define HAVE_SYS_UIO_H 1
  5339. | #define HAVE_SYSCALL_H 1
  5340. | #define HAVE_TIME_H 1
  5341. | #define HAVE_UCONTEXT_H 1
  5342. | #define HAVE_UTIME_H 1
  5343. | #define HAVE_GMP_H 1
  5344. | #define HAVE_LIBGMP 1
  5345. | #define HAVE_TYPEOF 1
  5346. | #define typeof __typeof__
  5347. | #define HAVE_LONG_LONG 1
  5348. | #define HAVE_OFF_T 1
  5349. | #define SIZEOF_INT 4
  5350. | #define SIZEOF_SHORT 2
  5351. | #define SIZEOF_LONG 8
  5352. | #define SIZEOF_LONG_LONG 8
  5353. | #define SIZEOF___INT64 0
  5354. | #define SIZEOF_OFF_T 8
  5355. | #define SIZEOF_VOIDP 8
  5356. | #define SIZEOF_FLOAT 4
  5357. | #define SIZEOF_DOUBLE 8
  5358. | #define SIZEOF_TIME_T 8
  5359. | #define SIZEOF_CLOCK_T 8
  5360. | #define PACKED_STRUCT(x) x __attribute__((packed))
  5361. | #define PACKED_STRUCT_UNALIGNED(x) x
  5362. | #define PRI_LL_PREFIX "ll"
  5363. | #define rb_pid_t pid_t
  5364. | #define SIGNEDNESS_OF_PID_T -1
  5365. | #define PIDT2NUM(v) INT2NUM(v)
  5366. | #define NUM2PIDT(v) NUM2INT(v)
  5367. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  5368. | #define rb_uid_t uid_t
  5369. | #define SIGNEDNESS_OF_UID_T +1
  5370. | #define UIDT2NUM(v) UINT2NUM(v)
  5371. | #define NUM2UIDT(v) NUM2UINT(v)
  5372. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  5373. | #define rb_gid_t gid_t
  5374. | #define SIGNEDNESS_OF_GID_T +1
  5375. | #define GIDT2NUM(v) UINT2NUM(v)
  5376. | #define NUM2GIDT(v) NUM2UINT(v)
  5377. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  5378. | /* end confdefs.h. */
  5379. | #include <time.h>
  5380. |
  5381. | int
  5382. | main ()
  5383. | {
  5384. | if (sizeof ((time_t)))
  5385. | return 0;
  5386. | ;
  5387. | return 0;
  5388. | }
  5389. configure:13013: result: yes
  5390. configure:13021: checking for convertible type of time_t
  5391. configure:13050: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  5392. conftest.c: In function 'main':
  5393. conftest.c:101:12: error: size of array 'test_array' is negative
  5394. static int test_array [1 - 2 * !((time_t)-1 > 0)];
  5395. ^~~~~~~~~~
  5396. configure:13050: $? = 1
  5397. configure: failed program was:
  5398. | /* confdefs.h */
  5399. | #define PACKAGE_NAME ""
  5400. | #define PACKAGE_TARNAME ""
  5401. | #define PACKAGE_VERSION ""
  5402. | #define PACKAGE_STRING ""
  5403. | #define PACKAGE_BUGREPORT ""
  5404. | #define PACKAGE_URL ""
  5405. | #define CANONICALIZATION_FOR_MATHN 1
  5406. | #define STDC_HEADERS 1
  5407. | #define HAVE_SYS_TYPES_H 1
  5408. | #define HAVE_SYS_STAT_H 1
  5409. | #define HAVE_STDLIB_H 1
  5410. | #define HAVE_STRING_H 1
  5411. | #define HAVE_MEMORY_H 1
  5412. | #define HAVE_STRINGS_H 1
  5413. | #define HAVE_INTTYPES_H 1
  5414. | #define HAVE_STDINT_H 1
  5415. | #define HAVE_UNISTD_H 1
  5416. | #define __EXTENSIONS__ 1
  5417. | #define _ALL_SOURCE 1
  5418. | #define _GNU_SOURCE 1
  5419. | #define _POSIX_PTHREAD_SEMANTICS 1
  5420. | #define _TANDEM_SOURCE 1
  5421. | #define HAVE_INFINITY 1
  5422. | #define HAVE_NAN 1
  5423. | #define RUBY_SYMBOL_EXPORT_BEGIN _Pragma("GCC visibility push(default)")
  5424. | #define RUBY_SYMBOL_EXPORT_END _Pragma("GCC visibility pop")
  5425. | #define HAVE_LIBCRYPT 1
  5426. | #define HAVE_LIBDL 1
  5427. | #define HAVE_DIRENT_H 1
  5428. | #define HAVE__BOOL 1
  5429. | #define HAVE_STDBOOL_H 1
  5430. | #define HAVE_SYS_WAIT_H 1
  5431. | #define HAVE_A_OUT_H 1
  5432. | #define HAVE_GRP_H 1
  5433. | #define HAVE_FCNTL_H 1
  5434. | #define HAVE_FLOAT_H 1
  5435. | #define HAVE_LANGINFO_H 1
  5436. | #define HAVE_LIMITS_H 1
  5437. | #define HAVE_LOCALE_H 1
  5438. | #define HAVE_MALLOC_H 1
  5439. | #define HAVE_PWD_H 1
  5440. | #define HAVE_SYS_FCNTL_H 1
  5441. | #define HAVE_SYS_FILE_H 1
  5442. | #define HAVE_SYS_IOCTL_H 1
  5443. | #define HAVE_SYS_PARAM_H 1
  5444. | #define HAVE_SYS_PRCTL_H 1
  5445. | #define HAVE_SYS_RESOURCE_H 1
  5446. | #define HAVE_SYS_SELECT_H 1
  5447. | #define HAVE_SYS_SENDFILE_H 1
  5448. | #define HAVE_SYS_SOCKET_H 1
  5449. | #define HAVE_SYS_SYSCALL_H 1
  5450. | #define HAVE_SYS_TIME_H 1
  5451. | #define HAVE_SYS_TIMES_H 1
  5452. | #define HAVE_SYS_UIO_H 1
  5453. | #define HAVE_SYSCALL_H 1
  5454. | #define HAVE_TIME_H 1
  5455. | #define HAVE_UCONTEXT_H 1
  5456. | #define HAVE_UTIME_H 1
  5457. | #define HAVE_GMP_H 1
  5458. | #define HAVE_LIBGMP 1
  5459. | #define HAVE_TYPEOF 1
  5460. | #define typeof __typeof__
  5461. | #define HAVE_LONG_LONG 1
  5462. | #define HAVE_OFF_T 1
  5463. | #define SIZEOF_INT 4
  5464. | #define SIZEOF_SHORT 2
  5465. | #define SIZEOF_LONG 8
  5466. | #define SIZEOF_LONG_LONG 8
  5467. | #define SIZEOF___INT64 0
  5468. | #define SIZEOF_OFF_T 8
  5469. | #define SIZEOF_VOIDP 8
  5470. | #define SIZEOF_FLOAT 4
  5471. | #define SIZEOF_DOUBLE 8
  5472. | #define SIZEOF_TIME_T 8
  5473. | #define SIZEOF_CLOCK_T 8
  5474. | #define PACKED_STRUCT(x) x __attribute__((packed))
  5475. | #define PACKED_STRUCT_UNALIGNED(x) x
  5476. | #define PRI_LL_PREFIX "ll"
  5477. | #define rb_pid_t pid_t
  5478. | #define SIGNEDNESS_OF_PID_T -1
  5479. | #define PIDT2NUM(v) INT2NUM(v)
  5480. | #define NUM2PIDT(v) NUM2INT(v)
  5481. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  5482. | #define rb_uid_t uid_t
  5483. | #define SIGNEDNESS_OF_UID_T +1
  5484. | #define UIDT2NUM(v) UINT2NUM(v)
  5485. | #define NUM2UIDT(v) NUM2UINT(v)
  5486. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  5487. | #define rb_gid_t gid_t
  5488. | #define SIGNEDNESS_OF_GID_T +1
  5489. | #define GIDT2NUM(v) UINT2NUM(v)
  5490. | #define NUM2GIDT(v) NUM2UINT(v)
  5491. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  5492. | /* end confdefs.h. */
  5493. | #include <time.h>
  5494. |
  5495. | int
  5496. | main ()
  5497. | {
  5498. | static int test_array [1 - 2 * !((time_t)-1 > 0)];
  5499. | test_array [0] = 0;
  5500. | return test_array [0];
  5501. |
  5502. | ;
  5503. | return 0;
  5504. | }
  5505. configure:13080: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  5506. conftest.c:101:38: error: conflicting types for 'rbcv_conftest_var'
  5507. extern rbcv_conftest_replace_type rbcv_conftest_var;
  5508. ^~~~~~~~~~~~~~~~~
  5509. conftest.c:100:37: note: previous declaration of 'rbcv_conftest_var' was here
  5510. extern rbcv_conftest_target_type rbcv_conftest_var;
  5511. ^~~~~~~~~~~~~~~~~
  5512. conftest.c:103:38: error: conflicting types for 'rbcv_conftest_func'
  5513. extern rbcv_conftest_replace_type rbcv_conftest_func(void);
  5514. ^~~~~~~~~~~~~~~~~~
  5515. conftest.c:102:37: note: previous declaration of 'rbcv_conftest_func' was here
  5516. extern rbcv_conftest_target_type rbcv_conftest_func(void);
  5517. ^~~~~~~~~~~~~~~~~~
  5518. configure:13080: $? = 1
  5519. configure: failed program was:
  5520. | /* confdefs.h */
  5521. | #define PACKAGE_NAME ""
  5522. | #define PACKAGE_TARNAME ""
  5523. | #define PACKAGE_VERSION ""
  5524. | #define PACKAGE_STRING ""
  5525. | #define PACKAGE_BUGREPORT ""
  5526. | #define PACKAGE_URL ""
  5527. | #define CANONICALIZATION_FOR_MATHN 1
  5528. | #define STDC_HEADERS 1
  5529. | #define HAVE_SYS_TYPES_H 1
  5530. | #define HAVE_SYS_STAT_H 1
  5531. | #define HAVE_STDLIB_H 1
  5532. | #define HAVE_STRING_H 1
  5533. | #define HAVE_MEMORY_H 1
  5534. | #define HAVE_STRINGS_H 1
  5535. | #define HAVE_INTTYPES_H 1
  5536. | #define HAVE_STDINT_H 1
  5537. | #define HAVE_UNISTD_H 1
  5538. | #define __EXTENSIONS__ 1
  5539. | #define _ALL_SOURCE 1
  5540. | #define _GNU_SOURCE 1
  5541. | #define _POSIX_PTHREAD_SEMANTICS 1
  5542. | #define _TANDEM_SOURCE 1
  5543. | #define HAVE_INFINITY 1
  5544. | #define HAVE_NAN 1
  5545. | #define RUBY_SYMBOL_EXPORT_BEGIN _Pragma("GCC visibility push(default)")
  5546. | #define RUBY_SYMBOL_EXPORT_END _Pragma("GCC visibility pop")
  5547. | #define HAVE_LIBCRYPT 1
  5548. | #define HAVE_LIBDL 1
  5549. | #define HAVE_DIRENT_H 1
  5550. | #define HAVE__BOOL 1
  5551. | #define HAVE_STDBOOL_H 1
  5552. | #define HAVE_SYS_WAIT_H 1
  5553. | #define HAVE_A_OUT_H 1
  5554. | #define HAVE_GRP_H 1
  5555. | #define HAVE_FCNTL_H 1
  5556. | #define HAVE_FLOAT_H 1
  5557. | #define HAVE_LANGINFO_H 1
  5558. | #define HAVE_LIMITS_H 1
  5559. | #define HAVE_LOCALE_H 1
  5560. | #define HAVE_MALLOC_H 1
  5561. | #define HAVE_PWD_H 1
  5562. | #define HAVE_SYS_FCNTL_H 1
  5563. | #define HAVE_SYS_FILE_H 1
  5564. | #define HAVE_SYS_IOCTL_H 1
  5565. | #define HAVE_SYS_PARAM_H 1
  5566. | #define HAVE_SYS_PRCTL_H 1
  5567. | #define HAVE_SYS_RESOURCE_H 1
  5568. | #define HAVE_SYS_SELECT_H 1
  5569. | #define HAVE_SYS_SENDFILE_H 1
  5570. | #define HAVE_SYS_SOCKET_H 1
  5571. | #define HAVE_SYS_SYSCALL_H 1
  5572. | #define HAVE_SYS_TIME_H 1
  5573. | #define HAVE_SYS_TIMES_H 1
  5574. | #define HAVE_SYS_UIO_H 1
  5575. | #define HAVE_SYSCALL_H 1
  5576. | #define HAVE_TIME_H 1
  5577. | #define HAVE_UCONTEXT_H 1
  5578. | #define HAVE_UTIME_H 1
  5579. | #define HAVE_GMP_H 1
  5580. | #define HAVE_LIBGMP 1
  5581. | #define HAVE_TYPEOF 1
  5582. | #define typeof __typeof__
  5583. | #define HAVE_LONG_LONG 1
  5584. | #define HAVE_OFF_T 1
  5585. | #define SIZEOF_INT 4
  5586. | #define SIZEOF_SHORT 2
  5587. | #define SIZEOF_LONG 8
  5588. | #define SIZEOF_LONG_LONG 8
  5589. | #define SIZEOF___INT64 0
  5590. | #define SIZEOF_OFF_T 8
  5591. | #define SIZEOF_VOIDP 8
  5592. | #define SIZEOF_FLOAT 4
  5593. | #define SIZEOF_DOUBLE 8
  5594. | #define SIZEOF_TIME_T 8
  5595. | #define SIZEOF_CLOCK_T 8
  5596. | #define PACKED_STRUCT(x) x __attribute__((packed))
  5597. | #define PACKED_STRUCT_UNALIGNED(x) x
  5598. | #define PRI_LL_PREFIX "ll"
  5599. | #define rb_pid_t pid_t
  5600. | #define SIGNEDNESS_OF_PID_T -1
  5601. | #define PIDT2NUM(v) INT2NUM(v)
  5602. | #define NUM2PIDT(v) NUM2INT(v)
  5603. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  5604. | #define rb_uid_t uid_t
  5605. | #define SIGNEDNESS_OF_UID_T +1
  5606. | #define UIDT2NUM(v) UINT2NUM(v)
  5607. | #define NUM2UIDT(v) NUM2UINT(v)
  5608. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  5609. | #define rb_gid_t gid_t
  5610. | #define SIGNEDNESS_OF_GID_T +1
  5611. | #define GIDT2NUM(v) UINT2NUM(v)
  5612. | #define NUM2GIDT(v) NUM2UINT(v)
  5613. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  5614. | /* end confdefs.h. */
  5615. | #include <time.h>
  5616. |
  5617. | typedef time_t rbcv_conftest_target_type;
  5618. | typedef long long rbcv_conftest_replace_type;
  5619. | extern rbcv_conftest_target_type rbcv_conftest_var;
  5620. | extern rbcv_conftest_replace_type rbcv_conftest_var;
  5621. | extern rbcv_conftest_target_type rbcv_conftest_func(void);
  5622. | extern rbcv_conftest_replace_type rbcv_conftest_func(void);
  5623. |
  5624. | int
  5625. | main ()
  5626. | {
  5627. | static int test_array [1 - 2 * !(sizeof(rbcv_conftest_target_type) == sizeof(rbcv_conftest_replace_type))];
  5628. | test_array [0] = 0;
  5629. | return test_array [0];
  5630. |
  5631. | ;
  5632. | return 0;
  5633. | }
  5634. configure:13080: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  5635. configure:13080: $? = 0
  5636. configure:13099: result: LONG
  5637. configure:13146: checking for dev_t
  5638. configure:13146: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  5639. configure:13146: $? = 0
  5640. configure:13146: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  5641. conftest.c: In function 'main':
  5642. conftest.c:137:20: error: expected expression before ')' token
  5643. if (sizeof ((dev_t)))
  5644. ^
  5645. configure:13146: $? = 1
  5646. configure: failed program was:
  5647. | /* confdefs.h */
  5648. | #define PACKAGE_NAME ""
  5649. | #define PACKAGE_TARNAME ""
  5650. | #define PACKAGE_VERSION ""
  5651. | #define PACKAGE_STRING ""
  5652. | #define PACKAGE_BUGREPORT ""
  5653. | #define PACKAGE_URL ""
  5654. | #define CANONICALIZATION_FOR_MATHN 1
  5655. | #define STDC_HEADERS 1
  5656. | #define HAVE_SYS_TYPES_H 1
  5657. | #define HAVE_SYS_STAT_H 1
  5658. | #define HAVE_STDLIB_H 1
  5659. | #define HAVE_STRING_H 1
  5660. | #define HAVE_MEMORY_H 1
  5661. | #define HAVE_STRINGS_H 1
  5662. | #define HAVE_INTTYPES_H 1
  5663. | #define HAVE_STDINT_H 1
  5664. | #define HAVE_UNISTD_H 1
  5665. | #define __EXTENSIONS__ 1
  5666. | #define _ALL_SOURCE 1
  5667. | #define _GNU_SOURCE 1
  5668. | #define _POSIX_PTHREAD_SEMANTICS 1
  5669. | #define _TANDEM_SOURCE 1
  5670. | #define HAVE_INFINITY 1
  5671. | #define HAVE_NAN 1
  5672. | #define RUBY_SYMBOL_EXPORT_BEGIN _Pragma("GCC visibility push(default)")
  5673. | #define RUBY_SYMBOL_EXPORT_END _Pragma("GCC visibility pop")
  5674. | #define HAVE_LIBCRYPT 1
  5675. | #define HAVE_LIBDL 1
  5676. | #define HAVE_DIRENT_H 1
  5677. | #define HAVE__BOOL 1
  5678. | #define HAVE_STDBOOL_H 1
  5679. | #define HAVE_SYS_WAIT_H 1
  5680. | #define HAVE_A_OUT_H 1
  5681. | #define HAVE_GRP_H 1
  5682. | #define HAVE_FCNTL_H 1
  5683. | #define HAVE_FLOAT_H 1
  5684. | #define HAVE_LANGINFO_H 1
  5685. | #define HAVE_LIMITS_H 1
  5686. | #define HAVE_LOCALE_H 1
  5687. | #define HAVE_MALLOC_H 1
  5688. | #define HAVE_PWD_H 1
  5689. | #define HAVE_SYS_FCNTL_H 1
  5690. | #define HAVE_SYS_FILE_H 1
  5691. | #define HAVE_SYS_IOCTL_H 1
  5692. | #define HAVE_SYS_PARAM_H 1
  5693. | #define HAVE_SYS_PRCTL_H 1
  5694. | #define HAVE_SYS_RESOURCE_H 1
  5695. | #define HAVE_SYS_SELECT_H 1
  5696. | #define HAVE_SYS_SENDFILE_H 1
  5697. | #define HAVE_SYS_SOCKET_H 1
  5698. | #define HAVE_SYS_SYSCALL_H 1
  5699. | #define HAVE_SYS_TIME_H 1
  5700. | #define HAVE_SYS_TIMES_H 1
  5701. | #define HAVE_SYS_UIO_H 1
  5702. | #define HAVE_SYSCALL_H 1
  5703. | #define HAVE_TIME_H 1
  5704. | #define HAVE_UCONTEXT_H 1
  5705. | #define HAVE_UTIME_H 1
  5706. | #define HAVE_GMP_H 1
  5707. | #define HAVE_LIBGMP 1
  5708. | #define HAVE_TYPEOF 1
  5709. | #define typeof __typeof__
  5710. | #define HAVE_LONG_LONG 1
  5711. | #define HAVE_OFF_T 1
  5712. | #define SIZEOF_INT 4
  5713. | #define SIZEOF_SHORT 2
  5714. | #define SIZEOF_LONG 8
  5715. | #define SIZEOF_LONG_LONG 8
  5716. | #define SIZEOF___INT64 0
  5717. | #define SIZEOF_OFF_T 8
  5718. | #define SIZEOF_VOIDP 8
  5719. | #define SIZEOF_FLOAT 4
  5720. | #define SIZEOF_DOUBLE 8
  5721. | #define SIZEOF_TIME_T 8
  5722. | #define SIZEOF_CLOCK_T 8
  5723. | #define PACKED_STRUCT(x) x __attribute__((packed))
  5724. | #define PACKED_STRUCT_UNALIGNED(x) x
  5725. | #define PRI_LL_PREFIX "ll"
  5726. | #define rb_pid_t pid_t
  5727. | #define SIGNEDNESS_OF_PID_T -1
  5728. | #define PIDT2NUM(v) INT2NUM(v)
  5729. | #define NUM2PIDT(v) NUM2INT(v)
  5730. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  5731. | #define rb_uid_t uid_t
  5732. | #define SIGNEDNESS_OF_UID_T +1
  5733. | #define UIDT2NUM(v) UINT2NUM(v)
  5734. | #define NUM2UIDT(v) NUM2UINT(v)
  5735. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  5736. | #define rb_gid_t gid_t
  5737. | #define SIGNEDNESS_OF_GID_T +1
  5738. | #define GIDT2NUM(v) UINT2NUM(v)
  5739. | #define NUM2GIDT(v) NUM2UINT(v)
  5740. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  5741. | #define rb_time_t time_t
  5742. | #define SIGNEDNESS_OF_TIME_T -1
  5743. | #define TIMET2NUM(v) LONG2NUM(v)
  5744. | #define NUM2TIMET(v) NUM2LONG(v)
  5745. | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
  5746. | /* end confdefs.h. */
  5747. | #include <stdio.h>
  5748. | #ifdef HAVE_SYS_TYPES_H
  5749. | # include <sys/types.h>
  5750. | #endif
  5751. | #ifdef HAVE_SYS_STAT_H
  5752. | # include <sys/stat.h>
  5753. | #endif
  5754. | #ifdef STDC_HEADERS
  5755. | # include <stdlib.h>
  5756. | # include <stddef.h>
  5757. | #else
  5758. | # ifdef HAVE_STDLIB_H
  5759. | # include <stdlib.h>
  5760. | # endif
  5761. | #endif
  5762. | #ifdef HAVE_STRING_H
  5763. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  5764. | # include <memory.h>
  5765. | # endif
  5766. | # include <string.h>
  5767. | #endif
  5768. | #ifdef HAVE_STRINGS_H
  5769. | # include <strings.h>
  5770. | #endif
  5771. | #ifdef HAVE_INTTYPES_H
  5772. | # include <inttypes.h>
  5773. | #endif
  5774. | #ifdef HAVE_STDINT_H
  5775. | # include <stdint.h>
  5776. | #endif
  5777. | #ifdef HAVE_UNISTD_H
  5778. | # include <unistd.h>
  5779. | #endif
  5780. | int
  5781. | main ()
  5782. | {
  5783. | if (sizeof ((dev_t)))
  5784. | return 0;
  5785. | ;
  5786. | return 0;
  5787. | }
  5788. configure:13146: result: yes
  5789. configure:13153: checking for convertible type of dev_t
  5790. configure:13181: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  5791. configure:13181: $? = 0
  5792. configure:13210: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  5793. conftest.c:137:38: error: conflicting types for 'rbcv_conftest_var'
  5794. extern rbcv_conftest_replace_type rbcv_conftest_var;
  5795. ^~~~~~~~~~~~~~~~~
  5796. conftest.c:136:37: note: previous declaration of 'rbcv_conftest_var' was here
  5797. extern rbcv_conftest_target_type rbcv_conftest_var;
  5798. ^~~~~~~~~~~~~~~~~
  5799. conftest.c:139:38: error: conflicting types for 'rbcv_conftest_func'
  5800. extern rbcv_conftest_replace_type rbcv_conftest_func(void);
  5801. ^~~~~~~~~~~~~~~~~~
  5802. conftest.c:138:37: note: previous declaration of 'rbcv_conftest_func' was here
  5803. extern rbcv_conftest_target_type rbcv_conftest_func(void);
  5804. ^~~~~~~~~~~~~~~~~~
  5805. configure:13210: $? = 1
  5806. configure: failed program was:
  5807. | /* confdefs.h */
  5808. | #define PACKAGE_NAME ""
  5809. | #define PACKAGE_TARNAME ""
  5810. | #define PACKAGE_VERSION ""
  5811. | #define PACKAGE_STRING ""
  5812. | #define PACKAGE_BUGREPORT ""
  5813. | #define PACKAGE_URL ""
  5814. | #define CANONICALIZATION_FOR_MATHN 1
  5815. | #define STDC_HEADERS 1
  5816. | #define HAVE_SYS_TYPES_H 1
  5817. | #define HAVE_SYS_STAT_H 1
  5818. | #define HAVE_STDLIB_H 1
  5819. | #define HAVE_STRING_H 1
  5820. | #define HAVE_MEMORY_H 1
  5821. | #define HAVE_STRINGS_H 1
  5822. | #define HAVE_INTTYPES_H 1
  5823. | #define HAVE_STDINT_H 1
  5824. | #define HAVE_UNISTD_H 1
  5825. | #define __EXTENSIONS__ 1
  5826. | #define _ALL_SOURCE 1
  5827. | #define _GNU_SOURCE 1
  5828. | #define _POSIX_PTHREAD_SEMANTICS 1
  5829. | #define _TANDEM_SOURCE 1
  5830. | #define HAVE_INFINITY 1
  5831. | #define HAVE_NAN 1
  5832. | #define RUBY_SYMBOL_EXPORT_BEGIN _Pragma("GCC visibility push(default)")
  5833. | #define RUBY_SYMBOL_EXPORT_END _Pragma("GCC visibility pop")
  5834. | #define HAVE_LIBCRYPT 1
  5835. | #define HAVE_LIBDL 1
  5836. | #define HAVE_DIRENT_H 1
  5837. | #define HAVE__BOOL 1
  5838. | #define HAVE_STDBOOL_H 1
  5839. | #define HAVE_SYS_WAIT_H 1
  5840. | #define HAVE_A_OUT_H 1
  5841. | #define HAVE_GRP_H 1
  5842. | #define HAVE_FCNTL_H 1
  5843. | #define HAVE_FLOAT_H 1
  5844. | #define HAVE_LANGINFO_H 1
  5845. | #define HAVE_LIMITS_H 1
  5846. | #define HAVE_LOCALE_H 1
  5847. | #define HAVE_MALLOC_H 1
  5848. | #define HAVE_PWD_H 1
  5849. | #define HAVE_SYS_FCNTL_H 1
  5850. | #define HAVE_SYS_FILE_H 1
  5851. | #define HAVE_SYS_IOCTL_H 1
  5852. | #define HAVE_SYS_PARAM_H 1
  5853. | #define HAVE_SYS_PRCTL_H 1
  5854. | #define HAVE_SYS_RESOURCE_H 1
  5855. | #define HAVE_SYS_SELECT_H 1
  5856. | #define HAVE_SYS_SENDFILE_H 1
  5857. | #define HAVE_SYS_SOCKET_H 1
  5858. | #define HAVE_SYS_SYSCALL_H 1
  5859. | #define HAVE_SYS_TIME_H 1
  5860. | #define HAVE_SYS_TIMES_H 1
  5861. | #define HAVE_SYS_UIO_H 1
  5862. | #define HAVE_SYSCALL_H 1
  5863. | #define HAVE_TIME_H 1
  5864. | #define HAVE_UCONTEXT_H 1
  5865. | #define HAVE_UTIME_H 1
  5866. | #define HAVE_GMP_H 1
  5867. | #define HAVE_LIBGMP 1
  5868. | #define HAVE_TYPEOF 1
  5869. | #define typeof __typeof__
  5870. | #define HAVE_LONG_LONG 1
  5871. | #define HAVE_OFF_T 1
  5872. | #define SIZEOF_INT 4
  5873. | #define SIZEOF_SHORT 2
  5874. | #define SIZEOF_LONG 8
  5875. | #define SIZEOF_LONG_LONG 8
  5876. | #define SIZEOF___INT64 0
  5877. | #define SIZEOF_OFF_T 8
  5878. | #define SIZEOF_VOIDP 8
  5879. | #define SIZEOF_FLOAT 4
  5880. | #define SIZEOF_DOUBLE 8
  5881. | #define SIZEOF_TIME_T 8
  5882. | #define SIZEOF_CLOCK_T 8
  5883. | #define PACKED_STRUCT(x) x __attribute__((packed))
  5884. | #define PACKED_STRUCT_UNALIGNED(x) x
  5885. | #define PRI_LL_PREFIX "ll"
  5886. | #define rb_pid_t pid_t
  5887. | #define SIGNEDNESS_OF_PID_T -1
  5888. | #define PIDT2NUM(v) INT2NUM(v)
  5889. | #define NUM2PIDT(v) NUM2INT(v)
  5890. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  5891. | #define rb_uid_t uid_t
  5892. | #define SIGNEDNESS_OF_UID_T +1
  5893. | #define UIDT2NUM(v) UINT2NUM(v)
  5894. | #define NUM2UIDT(v) NUM2UINT(v)
  5895. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  5896. | #define rb_gid_t gid_t
  5897. | #define SIGNEDNESS_OF_GID_T +1
  5898. | #define GIDT2NUM(v) UINT2NUM(v)
  5899. | #define NUM2GIDT(v) NUM2UINT(v)
  5900. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  5901. | #define rb_time_t time_t
  5902. | #define SIGNEDNESS_OF_TIME_T -1
  5903. | #define TIMET2NUM(v) LONG2NUM(v)
  5904. | #define NUM2TIMET(v) NUM2LONG(v)
  5905. | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
  5906. | /* end confdefs.h. */
  5907. | #include <stdio.h>
  5908. | #ifdef HAVE_SYS_TYPES_H
  5909. | # include <sys/types.h>
  5910. | #endif
  5911. | #ifdef HAVE_SYS_STAT_H
  5912. | # include <sys/stat.h>
  5913. | #endif
  5914. | #ifdef STDC_HEADERS
  5915. | # include <stdlib.h>
  5916. | # include <stddef.h>
  5917. | #else
  5918. | # ifdef HAVE_STDLIB_H
  5919. | # include <stdlib.h>
  5920. | # endif
  5921. | #endif
  5922. | #ifdef HAVE_STRING_H
  5923. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  5924. | # include <memory.h>
  5925. | # endif
  5926. | # include <string.h>
  5927. | #endif
  5928. | #ifdef HAVE_STRINGS_H
  5929. | # include <strings.h>
  5930. | #endif
  5931. | #ifdef HAVE_INTTYPES_H
  5932. | # include <inttypes.h>
  5933. | #endif
  5934. | #ifdef HAVE_STDINT_H
  5935. | # include <stdint.h>
  5936. | #endif
  5937. | #ifdef HAVE_UNISTD_H
  5938. | # include <unistd.h>
  5939. | #endif
  5940. | typedef dev_t rbcv_conftest_target_type;
  5941. | typedef unsigned long long rbcv_conftest_replace_type;
  5942. | extern rbcv_conftest_target_type rbcv_conftest_var;
  5943. | extern rbcv_conftest_replace_type rbcv_conftest_var;
  5944. | extern rbcv_conftest_target_type rbcv_conftest_func(void);
  5945. | extern rbcv_conftest_replace_type rbcv_conftest_func(void);
  5946. |
  5947. | int
  5948. | main ()
  5949. | {
  5950. | static int test_array [1 - 2 * !(sizeof(rbcv_conftest_target_type) == sizeof(rbcv_conftest_replace_type))];
  5951. | test_array [0] = 0;
  5952. | return test_array [0];
  5953. |
  5954. | ;
  5955. | return 0;
  5956. | }
  5957. configure:13210: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  5958. configure:13210: $? = 0
  5959. configure:13229: result: ULONG
  5960. configure:13276: checking for mode_t
  5961. configure:13276: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  5962. configure:13276: $? = 0
  5963. configure:13276: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  5964. conftest.c: In function 'main':
  5965. conftest.c:111:21: error: expected expression before ')' token
  5966. if (sizeof ((mode_t)))
  5967. ^
  5968. configure:13276: $? = 1
  5969. configure: failed program was:
  5970. | /* confdefs.h */
  5971. | #define PACKAGE_NAME ""
  5972. | #define PACKAGE_TARNAME ""
  5973. | #define PACKAGE_VERSION ""
  5974. | #define PACKAGE_STRING ""
  5975. | #define PACKAGE_BUGREPORT ""
  5976. | #define PACKAGE_URL ""
  5977. | #define CANONICALIZATION_FOR_MATHN 1
  5978. | #define STDC_HEADERS 1
  5979. | #define HAVE_SYS_TYPES_H 1
  5980. | #define HAVE_SYS_STAT_H 1
  5981. | #define HAVE_STDLIB_H 1
  5982. | #define HAVE_STRING_H 1
  5983. | #define HAVE_MEMORY_H 1
  5984. | #define HAVE_STRINGS_H 1
  5985. | #define HAVE_INTTYPES_H 1
  5986. | #define HAVE_STDINT_H 1
  5987. | #define HAVE_UNISTD_H 1
  5988. | #define __EXTENSIONS__ 1
  5989. | #define _ALL_SOURCE 1
  5990. | #define _GNU_SOURCE 1
  5991. | #define _POSIX_PTHREAD_SEMANTICS 1
  5992. | #define _TANDEM_SOURCE 1
  5993. | #define HAVE_INFINITY 1
  5994. | #define HAVE_NAN 1
  5995. | #define RUBY_SYMBOL_EXPORT_BEGIN _Pragma("GCC visibility push(default)")
  5996. | #define RUBY_SYMBOL_EXPORT_END _Pragma("GCC visibility pop")
  5997. | #define HAVE_LIBCRYPT 1
  5998. | #define HAVE_LIBDL 1
  5999. | #define HAVE_DIRENT_H 1
  6000. | #define HAVE__BOOL 1
  6001. | #define HAVE_STDBOOL_H 1
  6002. | #define HAVE_SYS_WAIT_H 1
  6003. | #define HAVE_A_OUT_H 1
  6004. | #define HAVE_GRP_H 1
  6005. | #define HAVE_FCNTL_H 1
  6006. | #define HAVE_FLOAT_H 1
  6007. | #define HAVE_LANGINFO_H 1
  6008. | #define HAVE_LIMITS_H 1
  6009. | #define HAVE_LOCALE_H 1
  6010. | #define HAVE_MALLOC_H 1
  6011. | #define HAVE_PWD_H 1
  6012. | #define HAVE_SYS_FCNTL_H 1
  6013. | #define HAVE_SYS_FILE_H 1
  6014. | #define HAVE_SYS_IOCTL_H 1
  6015. | #define HAVE_SYS_PARAM_H 1
  6016. | #define HAVE_SYS_PRCTL_H 1
  6017. | #define HAVE_SYS_RESOURCE_H 1
  6018. | #define HAVE_SYS_SELECT_H 1
  6019. | #define HAVE_SYS_SENDFILE_H 1
  6020. | #define HAVE_SYS_SOCKET_H 1
  6021. | #define HAVE_SYS_SYSCALL_H 1
  6022. | #define HAVE_SYS_TIME_H 1
  6023. | #define HAVE_SYS_TIMES_H 1
  6024. | #define HAVE_SYS_UIO_H 1
  6025. | #define HAVE_SYSCALL_H 1
  6026. | #define HAVE_TIME_H 1
  6027. | #define HAVE_UCONTEXT_H 1
  6028. | #define HAVE_UTIME_H 1
  6029. | #define HAVE_GMP_H 1
  6030. | #define HAVE_LIBGMP 1
  6031. | #define HAVE_TYPEOF 1
  6032. | #define typeof __typeof__
  6033. | #define HAVE_LONG_LONG 1
  6034. | #define HAVE_OFF_T 1
  6035. | #define SIZEOF_INT 4
  6036. | #define SIZEOF_SHORT 2
  6037. | #define SIZEOF_LONG 8
  6038. | #define SIZEOF_LONG_LONG 8
  6039. | #define SIZEOF___INT64 0
  6040. | #define SIZEOF_OFF_T 8
  6041. | #define SIZEOF_VOIDP 8
  6042. | #define SIZEOF_FLOAT 4
  6043. | #define SIZEOF_DOUBLE 8
  6044. | #define SIZEOF_TIME_T 8
  6045. | #define SIZEOF_CLOCK_T 8
  6046. | #define PACKED_STRUCT(x) x __attribute__((packed))
  6047. | #define PACKED_STRUCT_UNALIGNED(x) x
  6048. | #define PRI_LL_PREFIX "ll"
  6049. | #define rb_pid_t pid_t
  6050. | #define SIGNEDNESS_OF_PID_T -1
  6051. | #define PIDT2NUM(v) INT2NUM(v)
  6052. | #define NUM2PIDT(v) NUM2INT(v)
  6053. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  6054. | #define rb_uid_t uid_t
  6055. | #define SIGNEDNESS_OF_UID_T +1
  6056. | #define UIDT2NUM(v) UINT2NUM(v)
  6057. | #define NUM2UIDT(v) NUM2UINT(v)
  6058. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  6059. | #define rb_gid_t gid_t
  6060. | #define SIGNEDNESS_OF_GID_T +1
  6061. | #define GIDT2NUM(v) UINT2NUM(v)
  6062. | #define NUM2GIDT(v) NUM2UINT(v)
  6063. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  6064. | #define rb_time_t time_t
  6065. | #define SIGNEDNESS_OF_TIME_T -1
  6066. | #define TIMET2NUM(v) LONG2NUM(v)
  6067. | #define NUM2TIMET(v) NUM2LONG(v)
  6068. | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
  6069. | #define rb_dev_t dev_t
  6070. | #define SIGNEDNESS_OF_DEV_T +1
  6071. | #define DEVT2NUM(v) ULONG2NUM(v)
  6072. | #define NUM2DEVT(v) NUM2ULONG(v)
  6073. | #define PRI_DEVT_PREFIX PRI_LONG_PREFIX
  6074. | /* end confdefs.h. */
  6075. | #include <sys/stat.h>
  6076. |
  6077. | int
  6078. | main ()
  6079. | {
  6080. | if (sizeof ((mode_t)))
  6081. | return 0;
  6082. | ;
  6083. | return 0;
  6084. | }
  6085. configure:13276: result: yes
  6086. configure:13284: checking for convertible type of mode_t
  6087. configure:13313: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  6088. configure:13313: $? = 0
  6089. configure:13343: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  6090. conftest.c:111:38: error: conflicting types for 'rbcv_conftest_var'
  6091. extern rbcv_conftest_replace_type rbcv_conftest_var;
  6092. ^~~~~~~~~~~~~~~~~
  6093. conftest.c:110:37: note: previous declaration of 'rbcv_conftest_var' was here
  6094. extern rbcv_conftest_target_type rbcv_conftest_var;
  6095. ^~~~~~~~~~~~~~~~~
  6096. conftest.c:113:38: error: conflicting types for 'rbcv_conftest_func'
  6097. extern rbcv_conftest_replace_type rbcv_conftest_func(void);
  6098. ^~~~~~~~~~~~~~~~~~
  6099. conftest.c:112:37: note: previous declaration of 'rbcv_conftest_func' was here
  6100. extern rbcv_conftest_target_type rbcv_conftest_func(void);
  6101. ^~~~~~~~~~~~~~~~~~
  6102. conftest.c: In function 'main':
  6103. conftest.c:118:12: error: size of array 'test_array' is negative
  6104. static int test_array [1 - 2 * !(sizeof(rbcv_conftest_target_type) == sizeof(rbcv_conftest_replace_type))];
  6105. ^~~~~~~~~~
  6106. configure:13343: $? = 1
  6107. configure: failed program was:
  6108. | /* confdefs.h */
  6109. | #define PACKAGE_NAME ""
  6110. | #define PACKAGE_TARNAME ""
  6111. | #define PACKAGE_VERSION ""
  6112. | #define PACKAGE_STRING ""
  6113. | #define PACKAGE_BUGREPORT ""
  6114. | #define PACKAGE_URL ""
  6115. | #define CANONICALIZATION_FOR_MATHN 1
  6116. | #define STDC_HEADERS 1
  6117. | #define HAVE_SYS_TYPES_H 1
  6118. | #define HAVE_SYS_STAT_H 1
  6119. | #define HAVE_STDLIB_H 1
  6120. | #define HAVE_STRING_H 1
  6121. | #define HAVE_MEMORY_H 1
  6122. | #define HAVE_STRINGS_H 1
  6123. | #define HAVE_INTTYPES_H 1
  6124. | #define HAVE_STDINT_H 1
  6125. | #define HAVE_UNISTD_H 1
  6126. | #define __EXTENSIONS__ 1
  6127. | #define _ALL_SOURCE 1
  6128. | #define _GNU_SOURCE 1
  6129. | #define _POSIX_PTHREAD_SEMANTICS 1
  6130. | #define _TANDEM_SOURCE 1
  6131. | #define HAVE_INFINITY 1
  6132. | #define HAVE_NAN 1
  6133. | #define RUBY_SYMBOL_EXPORT_BEGIN _Pragma("GCC visibility push(default)")
  6134. | #define RUBY_SYMBOL_EXPORT_END _Pragma("GCC visibility pop")
  6135. | #define HAVE_LIBCRYPT 1
  6136. | #define HAVE_LIBDL 1
  6137. | #define HAVE_DIRENT_H 1
  6138. | #define HAVE__BOOL 1
  6139. | #define HAVE_STDBOOL_H 1
  6140. | #define HAVE_SYS_WAIT_H 1
  6141. | #define HAVE_A_OUT_H 1
  6142. | #define HAVE_GRP_H 1
  6143. | #define HAVE_FCNTL_H 1
  6144. | #define HAVE_FLOAT_H 1
  6145. | #define HAVE_LANGINFO_H 1
  6146. | #define HAVE_LIMITS_H 1
  6147. | #define HAVE_LOCALE_H 1
  6148. | #define HAVE_MALLOC_H 1
  6149. | #define HAVE_PWD_H 1
  6150. | #define HAVE_SYS_FCNTL_H 1
  6151. | #define HAVE_SYS_FILE_H 1
  6152. | #define HAVE_SYS_IOCTL_H 1
  6153. | #define HAVE_SYS_PARAM_H 1
  6154. | #define HAVE_SYS_PRCTL_H 1
  6155. | #define HAVE_SYS_RESOURCE_H 1
  6156. | #define HAVE_SYS_SELECT_H 1
  6157. | #define HAVE_SYS_SENDFILE_H 1
  6158. | #define HAVE_SYS_SOCKET_H 1
  6159. | #define HAVE_SYS_SYSCALL_H 1
  6160. | #define HAVE_SYS_TIME_H 1
  6161. | #define HAVE_SYS_TIMES_H 1
  6162. | #define HAVE_SYS_UIO_H 1
  6163. | #define HAVE_SYSCALL_H 1
  6164. | #define HAVE_TIME_H 1
  6165. | #define HAVE_UCONTEXT_H 1
  6166. | #define HAVE_UTIME_H 1
  6167. | #define HAVE_GMP_H 1
  6168. | #define HAVE_LIBGMP 1
  6169. | #define HAVE_TYPEOF 1
  6170. | #define typeof __typeof__
  6171. | #define HAVE_LONG_LONG 1
  6172. | #define HAVE_OFF_T 1
  6173. | #define SIZEOF_INT 4
  6174. | #define SIZEOF_SHORT 2
  6175. | #define SIZEOF_LONG 8
  6176. | #define SIZEOF_LONG_LONG 8
  6177. | #define SIZEOF___INT64 0
  6178. | #define SIZEOF_OFF_T 8
  6179. | #define SIZEOF_VOIDP 8
  6180. | #define SIZEOF_FLOAT 4
  6181. | #define SIZEOF_DOUBLE 8
  6182. | #define SIZEOF_TIME_T 8
  6183. | #define SIZEOF_CLOCK_T 8
  6184. | #define PACKED_STRUCT(x) x __attribute__((packed))
  6185. | #define PACKED_STRUCT_UNALIGNED(x) x
  6186. | #define PRI_LL_PREFIX "ll"
  6187. | #define rb_pid_t pid_t
  6188. | #define SIGNEDNESS_OF_PID_T -1
  6189. | #define PIDT2NUM(v) INT2NUM(v)
  6190. | #define NUM2PIDT(v) NUM2INT(v)
  6191. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  6192. | #define rb_uid_t uid_t
  6193. | #define SIGNEDNESS_OF_UID_T +1
  6194. | #define UIDT2NUM(v) UINT2NUM(v)
  6195. | #define NUM2UIDT(v) NUM2UINT(v)
  6196. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  6197. | #define rb_gid_t gid_t
  6198. | #define SIGNEDNESS_OF_GID_T +1
  6199. | #define GIDT2NUM(v) UINT2NUM(v)
  6200. | #define NUM2GIDT(v) NUM2UINT(v)
  6201. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  6202. | #define rb_time_t time_t
  6203. | #define SIGNEDNESS_OF_TIME_T -1
  6204. | #define TIMET2NUM(v) LONG2NUM(v)
  6205. | #define NUM2TIMET(v) NUM2LONG(v)
  6206. | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
  6207. | #define rb_dev_t dev_t
  6208. | #define SIGNEDNESS_OF_DEV_T +1
  6209. | #define DEVT2NUM(v) ULONG2NUM(v)
  6210. | #define NUM2DEVT(v) NUM2ULONG(v)
  6211. | #define PRI_DEVT_PREFIX PRI_LONG_PREFIX
  6212. | /* end confdefs.h. */
  6213. | #include <sys/stat.h>
  6214. |
  6215. | typedef mode_t rbcv_conftest_target_type;
  6216. | typedef unsigned long long rbcv_conftest_replace_type;
  6217. | extern rbcv_conftest_target_type rbcv_conftest_var;
  6218. | extern rbcv_conftest_replace_type rbcv_conftest_var;
  6219. | extern rbcv_conftest_target_type rbcv_conftest_func(void);
  6220. | extern rbcv_conftest_replace_type rbcv_conftest_func(void);
  6221. |
  6222. | int
  6223. | main ()
  6224. | {
  6225. | static int test_array [1 - 2 * !(sizeof(rbcv_conftest_target_type) == sizeof(rbcv_conftest_replace_type))];
  6226. | test_array [0] = 0;
  6227. | return test_array [0];
  6228. |
  6229. | ;
  6230. | return 0;
  6231. | }
  6232. configure:13343: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  6233. conftest.c:111:38: error: conflicting types for 'rbcv_conftest_var'
  6234. extern rbcv_conftest_replace_type rbcv_conftest_var;
  6235. ^~~~~~~~~~~~~~~~~
  6236. conftest.c:110:37: note: previous declaration of 'rbcv_conftest_var' was here
  6237. extern rbcv_conftest_target_type rbcv_conftest_var;
  6238. ^~~~~~~~~~~~~~~~~
  6239. conftest.c:113:38: error: conflicting types for 'rbcv_conftest_func'
  6240. extern rbcv_conftest_replace_type rbcv_conftest_func(void);
  6241. ^~~~~~~~~~~~~~~~~~
  6242. conftest.c:112:37: note: previous declaration of 'rbcv_conftest_func' was here
  6243. extern rbcv_conftest_target_type rbcv_conftest_func(void);
  6244. ^~~~~~~~~~~~~~~~~~
  6245. conftest.c: In function 'main':
  6246. conftest.c:118:12: error: size of array 'test_array' is negative
  6247. static int test_array [1 - 2 * !(sizeof(rbcv_conftest_target_type) == sizeof(rbcv_conftest_replace_type))];
  6248. ^~~~~~~~~~
  6249. configure:13343: $? = 1
  6250. configure: failed program was:
  6251. | /* confdefs.h */
  6252. | #define PACKAGE_NAME ""
  6253. | #define PACKAGE_TARNAME ""
  6254. | #define PACKAGE_VERSION ""
  6255. | #define PACKAGE_STRING ""
  6256. | #define PACKAGE_BUGREPORT ""
  6257. | #define PACKAGE_URL ""
  6258. | #define CANONICALIZATION_FOR_MATHN 1
  6259. | #define STDC_HEADERS 1
  6260. | #define HAVE_SYS_TYPES_H 1
  6261. | #define HAVE_SYS_STAT_H 1
  6262. | #define HAVE_STDLIB_H 1
  6263. | #define HAVE_STRING_H 1
  6264. | #define HAVE_MEMORY_H 1
  6265. | #define HAVE_STRINGS_H 1
  6266. | #define HAVE_INTTYPES_H 1
  6267. | #define HAVE_STDINT_H 1
  6268. | #define HAVE_UNISTD_H 1
  6269. | #define __EXTENSIONS__ 1
  6270. | #define _ALL_SOURCE 1
  6271. | #define _GNU_SOURCE 1
  6272. | #define _POSIX_PTHREAD_SEMANTICS 1
  6273. | #define _TANDEM_SOURCE 1
  6274. | #define HAVE_INFINITY 1
  6275. | #define HAVE_NAN 1
  6276. | #define RUBY_SYMBOL_EXPORT_BEGIN _Pragma("GCC visibility push(default)")
  6277. | #define RUBY_SYMBOL_EXPORT_END _Pragma("GCC visibility pop")
  6278. | #define HAVE_LIBCRYPT 1
  6279. | #define HAVE_LIBDL 1
  6280. | #define HAVE_DIRENT_H 1
  6281. | #define HAVE__BOOL 1
  6282. | #define HAVE_STDBOOL_H 1
  6283. | #define HAVE_SYS_WAIT_H 1
  6284. | #define HAVE_A_OUT_H 1
  6285. | #define HAVE_GRP_H 1
  6286. | #define HAVE_FCNTL_H 1
  6287. | #define HAVE_FLOAT_H 1
  6288. | #define HAVE_LANGINFO_H 1
  6289. | #define HAVE_LIMITS_H 1
  6290. | #define HAVE_LOCALE_H 1
  6291. | #define HAVE_MALLOC_H 1
  6292. | #define HAVE_PWD_H 1
  6293. | #define HAVE_SYS_FCNTL_H 1
  6294. | #define HAVE_SYS_FILE_H 1
  6295. | #define HAVE_SYS_IOCTL_H 1
  6296. | #define HAVE_SYS_PARAM_H 1
  6297. | #define HAVE_SYS_PRCTL_H 1
  6298. | #define HAVE_SYS_RESOURCE_H 1
  6299. | #define HAVE_SYS_SELECT_H 1
  6300. | #define HAVE_SYS_SENDFILE_H 1
  6301. | #define HAVE_SYS_SOCKET_H 1
  6302. | #define HAVE_SYS_SYSCALL_H 1
  6303. | #define HAVE_SYS_TIME_H 1
  6304. | #define HAVE_SYS_TIMES_H 1
  6305. | #define HAVE_SYS_UIO_H 1
  6306. | #define HAVE_SYSCALL_H 1
  6307. | #define HAVE_TIME_H 1
  6308. | #define HAVE_UCONTEXT_H 1
  6309. | #define HAVE_UTIME_H 1
  6310. | #define HAVE_GMP_H 1
  6311. | #define HAVE_LIBGMP 1
  6312. | #define HAVE_TYPEOF 1
  6313. | #define typeof __typeof__
  6314. | #define HAVE_LONG_LONG 1
  6315. | #define HAVE_OFF_T 1
  6316. | #define SIZEOF_INT 4
  6317. | #define SIZEOF_SHORT 2
  6318. | #define SIZEOF_LONG 8
  6319. | #define SIZEOF_LONG_LONG 8
  6320. | #define SIZEOF___INT64 0
  6321. | #define SIZEOF_OFF_T 8
  6322. | #define SIZEOF_VOIDP 8
  6323. | #define SIZEOF_FLOAT 4
  6324. | #define SIZEOF_DOUBLE 8
  6325. | #define SIZEOF_TIME_T 8
  6326. | #define SIZEOF_CLOCK_T 8
  6327. | #define PACKED_STRUCT(x) x __attribute__((packed))
  6328. | #define PACKED_STRUCT_UNALIGNED(x) x
  6329. | #define PRI_LL_PREFIX "ll"
  6330. | #define rb_pid_t pid_t
  6331. | #define SIGNEDNESS_OF_PID_T -1
  6332. | #define PIDT2NUM(v) INT2NUM(v)
  6333. | #define NUM2PIDT(v) NUM2INT(v)
  6334. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  6335. | #define rb_uid_t uid_t
  6336. | #define SIGNEDNESS_OF_UID_T +1
  6337. | #define UIDT2NUM(v) UINT2NUM(v)
  6338. | #define NUM2UIDT(v) NUM2UINT(v)
  6339. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  6340. | #define rb_gid_t gid_t
  6341. | #define SIGNEDNESS_OF_GID_T +1
  6342. | #define GIDT2NUM(v) UINT2NUM(v)
  6343. | #define NUM2GIDT(v) NUM2UINT(v)
  6344. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  6345. | #define rb_time_t time_t
  6346. | #define SIGNEDNESS_OF_TIME_T -1
  6347. | #define TIMET2NUM(v) LONG2NUM(v)
  6348. | #define NUM2TIMET(v) NUM2LONG(v)
  6349. | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
  6350. | #define rb_dev_t dev_t
  6351. | #define SIGNEDNESS_OF_DEV_T +1
  6352. | #define DEVT2NUM(v) ULONG2NUM(v)
  6353. | #define NUM2DEVT(v) NUM2ULONG(v)
  6354. | #define PRI_DEVT_PREFIX PRI_LONG_PREFIX
  6355. | /* end confdefs.h. */
  6356. | #include <sys/stat.h>
  6357. |
  6358. | typedef mode_t rbcv_conftest_target_type;
  6359. | typedef unsigned long rbcv_conftest_replace_type;
  6360. | extern rbcv_conftest_target_type rbcv_conftest_var;
  6361. | extern rbcv_conftest_replace_type rbcv_conftest_var;
  6362. | extern rbcv_conftest_target_type rbcv_conftest_func(void);
  6363. | extern rbcv_conftest_replace_type rbcv_conftest_func(void);
  6364. |
  6365. | int
  6366. | main ()
  6367. | {
  6368. | static int test_array [1 - 2 * !(sizeof(rbcv_conftest_target_type) == sizeof(rbcv_conftest_replace_type))];
  6369. | test_array [0] = 0;
  6370. | return test_array [0];
  6371. |
  6372. | ;
  6373. | return 0;
  6374. | }
  6375. configure:13343: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  6376. configure:13343: $? = 0
  6377. configure:13362: result: UINT
  6378. configure:13409: checking for rlim_t
  6379. configure:13409: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  6380. configure:13409: $? = 0
  6381. configure:13409: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  6382. conftest.c: In function 'main':
  6383. conftest.c:124:21: error: expected expression before ')' token
  6384. if (sizeof ((rlim_t)))
  6385. ^
  6386. configure:13409: $? = 1
  6387. configure: failed program was:
  6388. | /* confdefs.h */
  6389. | #define PACKAGE_NAME ""
  6390. | #define PACKAGE_TARNAME ""
  6391. | #define PACKAGE_VERSION ""
  6392. | #define PACKAGE_STRING ""
  6393. | #define PACKAGE_BUGREPORT ""
  6394. | #define PACKAGE_URL ""
  6395. | #define CANONICALIZATION_FOR_MATHN 1
  6396. | #define STDC_HEADERS 1
  6397. | #define HAVE_SYS_TYPES_H 1
  6398. | #define HAVE_SYS_STAT_H 1
  6399. | #define HAVE_STDLIB_H 1
  6400. | #define HAVE_STRING_H 1
  6401. | #define HAVE_MEMORY_H 1
  6402. | #define HAVE_STRINGS_H 1
  6403. | #define HAVE_INTTYPES_H 1
  6404. | #define HAVE_STDINT_H 1
  6405. | #define HAVE_UNISTD_H 1
  6406. | #define __EXTENSIONS__ 1
  6407. | #define _ALL_SOURCE 1
  6408. | #define _GNU_SOURCE 1
  6409. | #define _POSIX_PTHREAD_SEMANTICS 1
  6410. | #define _TANDEM_SOURCE 1
  6411. | #define HAVE_INFINITY 1
  6412. | #define HAVE_NAN 1
  6413. | #define RUBY_SYMBOL_EXPORT_BEGIN _Pragma("GCC visibility push(default)")
  6414. | #define RUBY_SYMBOL_EXPORT_END _Pragma("GCC visibility pop")
  6415. | #define HAVE_LIBCRYPT 1
  6416. | #define HAVE_LIBDL 1
  6417. | #define HAVE_DIRENT_H 1
  6418. | #define HAVE__BOOL 1
  6419. | #define HAVE_STDBOOL_H 1
  6420. | #define HAVE_SYS_WAIT_H 1
  6421. | #define HAVE_A_OUT_H 1
  6422. | #define HAVE_GRP_H 1
  6423. | #define HAVE_FCNTL_H 1
  6424. | #define HAVE_FLOAT_H 1
  6425. | #define HAVE_LANGINFO_H 1
  6426. | #define HAVE_LIMITS_H 1
  6427. | #define HAVE_LOCALE_H 1
  6428. | #define HAVE_MALLOC_H 1
  6429. | #define HAVE_PWD_H 1
  6430. | #define HAVE_SYS_FCNTL_H 1
  6431. | #define HAVE_SYS_FILE_H 1
  6432. | #define HAVE_SYS_IOCTL_H 1
  6433. | #define HAVE_SYS_PARAM_H 1
  6434. | #define HAVE_SYS_PRCTL_H 1
  6435. | #define HAVE_SYS_RESOURCE_H 1
  6436. | #define HAVE_SYS_SELECT_H 1
  6437. | #define HAVE_SYS_SENDFILE_H 1
  6438. | #define HAVE_SYS_SOCKET_H 1
  6439. | #define HAVE_SYS_SYSCALL_H 1
  6440. | #define HAVE_SYS_TIME_H 1
  6441. | #define HAVE_SYS_TIMES_H 1
  6442. | #define HAVE_SYS_UIO_H 1
  6443. | #define HAVE_SYSCALL_H 1
  6444. | #define HAVE_TIME_H 1
  6445. | #define HAVE_UCONTEXT_H 1
  6446. | #define HAVE_UTIME_H 1
  6447. | #define HAVE_GMP_H 1
  6448. | #define HAVE_LIBGMP 1
  6449. | #define HAVE_TYPEOF 1
  6450. | #define typeof __typeof__
  6451. | #define HAVE_LONG_LONG 1
  6452. | #define HAVE_OFF_T 1
  6453. | #define SIZEOF_INT 4
  6454. | #define SIZEOF_SHORT 2
  6455. | #define SIZEOF_LONG 8
  6456. | #define SIZEOF_LONG_LONG 8
  6457. | #define SIZEOF___INT64 0
  6458. | #define SIZEOF_OFF_T 8
  6459. | #define SIZEOF_VOIDP 8
  6460. | #define SIZEOF_FLOAT 4
  6461. | #define SIZEOF_DOUBLE 8
  6462. | #define SIZEOF_TIME_T 8
  6463. | #define SIZEOF_CLOCK_T 8
  6464. | #define PACKED_STRUCT(x) x __attribute__((packed))
  6465. | #define PACKED_STRUCT_UNALIGNED(x) x
  6466. | #define PRI_LL_PREFIX "ll"
  6467. | #define rb_pid_t pid_t
  6468. | #define SIGNEDNESS_OF_PID_T -1
  6469. | #define PIDT2NUM(v) INT2NUM(v)
  6470. | #define NUM2PIDT(v) NUM2INT(v)
  6471. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  6472. | #define rb_uid_t uid_t
  6473. | #define SIGNEDNESS_OF_UID_T +1
  6474. | #define UIDT2NUM(v) UINT2NUM(v)
  6475. | #define NUM2UIDT(v) NUM2UINT(v)
  6476. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  6477. | #define rb_gid_t gid_t
  6478. | #define SIGNEDNESS_OF_GID_T +1
  6479. | #define GIDT2NUM(v) UINT2NUM(v)
  6480. | #define NUM2GIDT(v) NUM2UINT(v)
  6481. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  6482. | #define rb_time_t time_t
  6483. | #define SIGNEDNESS_OF_TIME_T -1
  6484. | #define TIMET2NUM(v) LONG2NUM(v)
  6485. | #define NUM2TIMET(v) NUM2LONG(v)
  6486. | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
  6487. | #define rb_dev_t dev_t
  6488. | #define SIGNEDNESS_OF_DEV_T +1
  6489. | #define DEVT2NUM(v) ULONG2NUM(v)
  6490. | #define NUM2DEVT(v) NUM2ULONG(v)
  6491. | #define PRI_DEVT_PREFIX PRI_LONG_PREFIX
  6492. | #define rb_mode_t mode_t
  6493. | #define SIGNEDNESS_OF_MODE_T +1
  6494. | #define MODET2NUM(v) UINT2NUM(v)
  6495. | #define NUM2MODET(v) NUM2UINT(v)
  6496. | #define PRI_MODET_PREFIX PRI_INT_PREFIX
  6497. | /* end confdefs.h. */
  6498. |
  6499. | #ifdef HAVE_SYS_TYPES_H
  6500. | #include <sys/types.h>
  6501. | #endif
  6502. | #ifdef HAVE_SYS_TYPES_H
  6503. | #include <sys/time.h>
  6504. | #endif
  6505. | #include <sys/resource.h>
  6506. |
  6507. |
  6508. | int
  6509. | main ()
  6510. | {
  6511. | if (sizeof ((rlim_t)))
  6512. | return 0;
  6513. | ;
  6514. | return 0;
  6515. | }
  6516. configure:13409: result: yes
  6517. configure:13425: checking for convertible type of rlim_t
  6518. configure:13462: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  6519. configure:13462: $? = 0
  6520. configure:13500: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  6521. conftest.c:124:38: error: conflicting types for 'rbcv_conftest_var'
  6522. extern rbcv_conftest_replace_type rbcv_conftest_var;
  6523. ^~~~~~~~~~~~~~~~~
  6524. conftest.c:123:37: note: previous declaration of 'rbcv_conftest_var' was here
  6525. extern rbcv_conftest_target_type rbcv_conftest_var;
  6526. ^~~~~~~~~~~~~~~~~
  6527. conftest.c:126:38: error: conflicting types for 'rbcv_conftest_func'
  6528. extern rbcv_conftest_replace_type rbcv_conftest_func(void);
  6529. ^~~~~~~~~~~~~~~~~~
  6530. conftest.c:125:37: note: previous declaration of 'rbcv_conftest_func' was here
  6531. extern rbcv_conftest_target_type rbcv_conftest_func(void);
  6532. ^~~~~~~~~~~~~~~~~~
  6533. configure:13500: $? = 1
  6534. configure: failed program was:
  6535. | /* confdefs.h */
  6536. | #define PACKAGE_NAME ""
  6537. | #define PACKAGE_TARNAME ""
  6538. | #define PACKAGE_VERSION ""
  6539. | #define PACKAGE_STRING ""
  6540. | #define PACKAGE_BUGREPORT ""
  6541. | #define PACKAGE_URL ""
  6542. | #define CANONICALIZATION_FOR_MATHN 1
  6543. | #define STDC_HEADERS 1
  6544. | #define HAVE_SYS_TYPES_H 1
  6545. | #define HAVE_SYS_STAT_H 1
  6546. | #define HAVE_STDLIB_H 1
  6547. | #define HAVE_STRING_H 1
  6548. | #define HAVE_MEMORY_H 1
  6549. | #define HAVE_STRINGS_H 1
  6550. | #define HAVE_INTTYPES_H 1
  6551. | #define HAVE_STDINT_H 1
  6552. | #define HAVE_UNISTD_H 1
  6553. | #define __EXTENSIONS__ 1
  6554. | #define _ALL_SOURCE 1
  6555. | #define _GNU_SOURCE 1
  6556. | #define _POSIX_PTHREAD_SEMANTICS 1
  6557. | #define _TANDEM_SOURCE 1
  6558. | #define HAVE_INFINITY 1
  6559. | #define HAVE_NAN 1
  6560. | #define RUBY_SYMBOL_EXPORT_BEGIN _Pragma("GCC visibility push(default)")
  6561. | #define RUBY_SYMBOL_EXPORT_END _Pragma("GCC visibility pop")
  6562. | #define HAVE_LIBCRYPT 1
  6563. | #define HAVE_LIBDL 1
  6564. | #define HAVE_DIRENT_H 1
  6565. | #define HAVE__BOOL 1
  6566. | #define HAVE_STDBOOL_H 1
  6567. | #define HAVE_SYS_WAIT_H 1
  6568. | #define HAVE_A_OUT_H 1
  6569. | #define HAVE_GRP_H 1
  6570. | #define HAVE_FCNTL_H 1
  6571. | #define HAVE_FLOAT_H 1
  6572. | #define HAVE_LANGINFO_H 1
  6573. | #define HAVE_LIMITS_H 1
  6574. | #define HAVE_LOCALE_H 1
  6575. | #define HAVE_MALLOC_H 1
  6576. | #define HAVE_PWD_H 1
  6577. | #define HAVE_SYS_FCNTL_H 1
  6578. | #define HAVE_SYS_FILE_H 1
  6579. | #define HAVE_SYS_IOCTL_H 1
  6580. | #define HAVE_SYS_PARAM_H 1
  6581. | #define HAVE_SYS_PRCTL_H 1
  6582. | #define HAVE_SYS_RESOURCE_H 1
  6583. | #define HAVE_SYS_SELECT_H 1
  6584. | #define HAVE_SYS_SENDFILE_H 1
  6585. | #define HAVE_SYS_SOCKET_H 1
  6586. | #define HAVE_SYS_SYSCALL_H 1
  6587. | #define HAVE_SYS_TIME_H 1
  6588. | #define HAVE_SYS_TIMES_H 1
  6589. | #define HAVE_SYS_UIO_H 1
  6590. | #define HAVE_SYSCALL_H 1
  6591. | #define HAVE_TIME_H 1
  6592. | #define HAVE_UCONTEXT_H 1
  6593. | #define HAVE_UTIME_H 1
  6594. | #define HAVE_GMP_H 1
  6595. | #define HAVE_LIBGMP 1
  6596. | #define HAVE_TYPEOF 1
  6597. | #define typeof __typeof__
  6598. | #define HAVE_LONG_LONG 1
  6599. | #define HAVE_OFF_T 1
  6600. | #define SIZEOF_INT 4
  6601. | #define SIZEOF_SHORT 2
  6602. | #define SIZEOF_LONG 8
  6603. | #define SIZEOF_LONG_LONG 8
  6604. | #define SIZEOF___INT64 0
  6605. | #define SIZEOF_OFF_T 8
  6606. | #define SIZEOF_VOIDP 8
  6607. | #define SIZEOF_FLOAT 4
  6608. | #define SIZEOF_DOUBLE 8
  6609. | #define SIZEOF_TIME_T 8
  6610. | #define SIZEOF_CLOCK_T 8
  6611. | #define PACKED_STRUCT(x) x __attribute__((packed))
  6612. | #define PACKED_STRUCT_UNALIGNED(x) x
  6613. | #define PRI_LL_PREFIX "ll"
  6614. | #define rb_pid_t pid_t
  6615. | #define SIGNEDNESS_OF_PID_T -1
  6616. | #define PIDT2NUM(v) INT2NUM(v)
  6617. | #define NUM2PIDT(v) NUM2INT(v)
  6618. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  6619. | #define rb_uid_t uid_t
  6620. | #define SIGNEDNESS_OF_UID_T +1
  6621. | #define UIDT2NUM(v) UINT2NUM(v)
  6622. | #define NUM2UIDT(v) NUM2UINT(v)
  6623. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  6624. | #define rb_gid_t gid_t
  6625. | #define SIGNEDNESS_OF_GID_T +1
  6626. | #define GIDT2NUM(v) UINT2NUM(v)
  6627. | #define NUM2GIDT(v) NUM2UINT(v)
  6628. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  6629. | #define rb_time_t time_t
  6630. | #define SIGNEDNESS_OF_TIME_T -1
  6631. | #define TIMET2NUM(v) LONG2NUM(v)
  6632. | #define NUM2TIMET(v) NUM2LONG(v)
  6633. | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
  6634. | #define rb_dev_t dev_t
  6635. | #define SIGNEDNESS_OF_DEV_T +1
  6636. | #define DEVT2NUM(v) ULONG2NUM(v)
  6637. | #define NUM2DEVT(v) NUM2ULONG(v)
  6638. | #define PRI_DEVT_PREFIX PRI_LONG_PREFIX
  6639. | #define rb_mode_t mode_t
  6640. | #define SIGNEDNESS_OF_MODE_T +1
  6641. | #define MODET2NUM(v) UINT2NUM(v)
  6642. | #define NUM2MODET(v) NUM2UINT(v)
  6643. | #define PRI_MODET_PREFIX PRI_INT_PREFIX
  6644. | /* end confdefs.h. */
  6645. |
  6646. | #ifdef HAVE_SYS_TYPES_H
  6647. | #include <sys/types.h>
  6648. | #endif
  6649. | #ifdef HAVE_SYS_TYPES_H
  6650. | #include <sys/time.h>
  6651. | #endif
  6652. | #include <sys/resource.h>
  6653. |
  6654. |
  6655. | typedef rlim_t rbcv_conftest_target_type;
  6656. | typedef unsigned long long rbcv_conftest_replace_type;
  6657. | extern rbcv_conftest_target_type rbcv_conftest_var;
  6658. | extern rbcv_conftest_replace_type rbcv_conftest_var;
  6659. | extern rbcv_conftest_target_type rbcv_conftest_func(void);
  6660. | extern rbcv_conftest_replace_type rbcv_conftest_func(void);
  6661. |
  6662. | int
  6663. | main ()
  6664. | {
  6665. | static int test_array [1 - 2 * !(sizeof(rbcv_conftest_target_type) == sizeof(rbcv_conftest_replace_type))];
  6666. | test_array [0] = 0;
  6667. | return test_array [0];
  6668. |
  6669. | ;
  6670. | return 0;
  6671. | }
  6672. configure:13500: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  6673. configure:13500: $? = 0
  6674. configure:13519: result: ULONG
  6675. configure:13566: checking for off_t
  6676. configure:13566: result: yes
  6677. configure:13573: checking for convertible type of off_t
  6678. configure:13601: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  6679. conftest.c: In function 'main':
  6680. conftest.c:152:12: error: size of array 'test_array' is negative
  6681. static int test_array [1 - 2 * !((off_t)-1 > 0)];
  6682. ^~~~~~~~~~
  6683. configure:13601: $? = 1
  6684. configure: failed program was:
  6685. | /* confdefs.h */
  6686. | #define PACKAGE_NAME ""
  6687. | #define PACKAGE_TARNAME ""
  6688. | #define PACKAGE_VERSION ""
  6689. | #define PACKAGE_STRING ""
  6690. | #define PACKAGE_BUGREPORT ""
  6691. | #define PACKAGE_URL ""
  6692. | #define CANONICALIZATION_FOR_MATHN 1
  6693. | #define STDC_HEADERS 1
  6694. | #define HAVE_SYS_TYPES_H 1
  6695. | #define HAVE_SYS_STAT_H 1
  6696. | #define HAVE_STDLIB_H 1
  6697. | #define HAVE_STRING_H 1
  6698. | #define HAVE_MEMORY_H 1
  6699. | #define HAVE_STRINGS_H 1
  6700. | #define HAVE_INTTYPES_H 1
  6701. | #define HAVE_STDINT_H 1
  6702. | #define HAVE_UNISTD_H 1
  6703. | #define __EXTENSIONS__ 1
  6704. | #define _ALL_SOURCE 1
  6705. | #define _GNU_SOURCE 1
  6706. | #define _POSIX_PTHREAD_SEMANTICS 1
  6707. | #define _TANDEM_SOURCE 1
  6708. | #define HAVE_INFINITY 1
  6709. | #define HAVE_NAN 1
  6710. | #define RUBY_SYMBOL_EXPORT_BEGIN _Pragma("GCC visibility push(default)")
  6711. | #define RUBY_SYMBOL_EXPORT_END _Pragma("GCC visibility pop")
  6712. | #define HAVE_LIBCRYPT 1
  6713. | #define HAVE_LIBDL 1
  6714. | #define HAVE_DIRENT_H 1
  6715. | #define HAVE__BOOL 1
  6716. | #define HAVE_STDBOOL_H 1
  6717. | #define HAVE_SYS_WAIT_H 1
  6718. | #define HAVE_A_OUT_H 1
  6719. | #define HAVE_GRP_H 1
  6720. | #define HAVE_FCNTL_H 1
  6721. | #define HAVE_FLOAT_H 1
  6722. | #define HAVE_LANGINFO_H 1
  6723. | #define HAVE_LIMITS_H 1
  6724. | #define HAVE_LOCALE_H 1
  6725. | #define HAVE_MALLOC_H 1
  6726. | #define HAVE_PWD_H 1
  6727. | #define HAVE_SYS_FCNTL_H 1
  6728. | #define HAVE_SYS_FILE_H 1
  6729. | #define HAVE_SYS_IOCTL_H 1
  6730. | #define HAVE_SYS_PARAM_H 1
  6731. | #define HAVE_SYS_PRCTL_H 1
  6732. | #define HAVE_SYS_RESOURCE_H 1
  6733. | #define HAVE_SYS_SELECT_H 1
  6734. | #define HAVE_SYS_SENDFILE_H 1
  6735. | #define HAVE_SYS_SOCKET_H 1
  6736. | #define HAVE_SYS_SYSCALL_H 1
  6737. | #define HAVE_SYS_TIME_H 1
  6738. | #define HAVE_SYS_TIMES_H 1
  6739. | #define HAVE_SYS_UIO_H 1
  6740. | #define HAVE_SYSCALL_H 1
  6741. | #define HAVE_TIME_H 1
  6742. | #define HAVE_UCONTEXT_H 1
  6743. | #define HAVE_UTIME_H 1
  6744. | #define HAVE_GMP_H 1
  6745. | #define HAVE_LIBGMP 1
  6746. | #define HAVE_TYPEOF 1
  6747. | #define typeof __typeof__
  6748. | #define HAVE_LONG_LONG 1
  6749. | #define HAVE_OFF_T 1
  6750. | #define SIZEOF_INT 4
  6751. | #define SIZEOF_SHORT 2
  6752. | #define SIZEOF_LONG 8
  6753. | #define SIZEOF_LONG_LONG 8
  6754. | #define SIZEOF___INT64 0
  6755. | #define SIZEOF_OFF_T 8
  6756. | #define SIZEOF_VOIDP 8
  6757. | #define SIZEOF_FLOAT 4
  6758. | #define SIZEOF_DOUBLE 8
  6759. | #define SIZEOF_TIME_T 8
  6760. | #define SIZEOF_CLOCK_T 8
  6761. | #define PACKED_STRUCT(x) x __attribute__((packed))
  6762. | #define PACKED_STRUCT_UNALIGNED(x) x
  6763. | #define PRI_LL_PREFIX "ll"
  6764. | #define rb_pid_t pid_t
  6765. | #define SIGNEDNESS_OF_PID_T -1
  6766. | #define PIDT2NUM(v) INT2NUM(v)
  6767. | #define NUM2PIDT(v) NUM2INT(v)
  6768. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  6769. | #define rb_uid_t uid_t
  6770. | #define SIGNEDNESS_OF_UID_T +1
  6771. | #define UIDT2NUM(v) UINT2NUM(v)
  6772. | #define NUM2UIDT(v) NUM2UINT(v)
  6773. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  6774. | #define rb_gid_t gid_t
  6775. | #define SIGNEDNESS_OF_GID_T +1
  6776. | #define GIDT2NUM(v) UINT2NUM(v)
  6777. | #define NUM2GIDT(v) NUM2UINT(v)
  6778. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  6779. | #define rb_time_t time_t
  6780. | #define SIGNEDNESS_OF_TIME_T -1
  6781. | #define TIMET2NUM(v) LONG2NUM(v)
  6782. | #define NUM2TIMET(v) NUM2LONG(v)
  6783. | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
  6784. | #define rb_dev_t dev_t
  6785. | #define SIGNEDNESS_OF_DEV_T +1
  6786. | #define DEVT2NUM(v) ULONG2NUM(v)
  6787. | #define NUM2DEVT(v) NUM2ULONG(v)
  6788. | #define PRI_DEVT_PREFIX PRI_LONG_PREFIX
  6789. | #define rb_mode_t mode_t
  6790. | #define SIGNEDNESS_OF_MODE_T +1
  6791. | #define MODET2NUM(v) UINT2NUM(v)
  6792. | #define NUM2MODET(v) NUM2UINT(v)
  6793. | #define PRI_MODET_PREFIX PRI_INT_PREFIX
  6794. | #define rb_rlim_t rlim_t
  6795. | #define SIGNEDNESS_OF_RLIM_T +1
  6796. | #define RLIM2NUM(v) ULONG2NUM(v)
  6797. | #define NUM2RLIM(v) NUM2ULONG(v)
  6798. | #define PRI_RLIM_PREFIX PRI_LONG_PREFIX
  6799. | /* end confdefs.h. */
  6800. | #include <stdio.h>
  6801. | #ifdef HAVE_SYS_TYPES_H
  6802. | # include <sys/types.h>
  6803. | #endif
  6804. | #ifdef HAVE_SYS_STAT_H
  6805. | # include <sys/stat.h>
  6806. | #endif
  6807. | #ifdef STDC_HEADERS
  6808. | # include <stdlib.h>
  6809. | # include <stddef.h>
  6810. | #else
  6811. | # ifdef HAVE_STDLIB_H
  6812. | # include <stdlib.h>
  6813. | # endif
  6814. | #endif
  6815. | #ifdef HAVE_STRING_H
  6816. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  6817. | # include <memory.h>
  6818. | # endif
  6819. | # include <string.h>
  6820. | #endif
  6821. | #ifdef HAVE_STRINGS_H
  6822. | # include <strings.h>
  6823. | #endif
  6824. | #ifdef HAVE_INTTYPES_H
  6825. | # include <inttypes.h>
  6826. | #endif
  6827. | #ifdef HAVE_STDINT_H
  6828. | # include <stdint.h>
  6829. | #endif
  6830. | #ifdef HAVE_UNISTD_H
  6831. | # include <unistd.h>
  6832. | #endif
  6833. | int
  6834. | main ()
  6835. | {
  6836. | static int test_array [1 - 2 * !((off_t)-1 > 0)];
  6837. | test_array [0] = 0;
  6838. | return test_array [0];
  6839. |
  6840. | ;
  6841. | return 0;
  6842. | }
  6843. configure:13630: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  6844. conftest.c:152:38: error: conflicting types for 'rbcv_conftest_var'
  6845. extern rbcv_conftest_replace_type rbcv_conftest_var;
  6846. ^~~~~~~~~~~~~~~~~
  6847. conftest.c:151:37: note: previous declaration of 'rbcv_conftest_var' was here
  6848. extern rbcv_conftest_target_type rbcv_conftest_var;
  6849. ^~~~~~~~~~~~~~~~~
  6850. conftest.c:154:38: error: conflicting types for 'rbcv_conftest_func'
  6851. extern rbcv_conftest_replace_type rbcv_conftest_func(void);
  6852. ^~~~~~~~~~~~~~~~~~
  6853. conftest.c:153:37: note: previous declaration of 'rbcv_conftest_func' was here
  6854. extern rbcv_conftest_target_type rbcv_conftest_func(void);
  6855. ^~~~~~~~~~~~~~~~~~
  6856. configure:13630: $? = 1
  6857. configure: failed program was:
  6858. | /* confdefs.h */
  6859. | #define PACKAGE_NAME ""
  6860. | #define PACKAGE_TARNAME ""
  6861. | #define PACKAGE_VERSION ""
  6862. | #define PACKAGE_STRING ""
  6863. | #define PACKAGE_BUGREPORT ""
  6864. | #define PACKAGE_URL ""
  6865. | #define CANONICALIZATION_FOR_MATHN 1
  6866. | #define STDC_HEADERS 1
  6867. | #define HAVE_SYS_TYPES_H 1
  6868. | #define HAVE_SYS_STAT_H 1
  6869. | #define HAVE_STDLIB_H 1
  6870. | #define HAVE_STRING_H 1
  6871. | #define HAVE_MEMORY_H 1
  6872. | #define HAVE_STRINGS_H 1
  6873. | #define HAVE_INTTYPES_H 1
  6874. | #define HAVE_STDINT_H 1
  6875. | #define HAVE_UNISTD_H 1
  6876. | #define __EXTENSIONS__ 1
  6877. | #define _ALL_SOURCE 1
  6878. | #define _GNU_SOURCE 1
  6879. | #define _POSIX_PTHREAD_SEMANTICS 1
  6880. | #define _TANDEM_SOURCE 1
  6881. | #define HAVE_INFINITY 1
  6882. | #define HAVE_NAN 1
  6883. | #define RUBY_SYMBOL_EXPORT_BEGIN _Pragma("GCC visibility push(default)")
  6884. | #define RUBY_SYMBOL_EXPORT_END _Pragma("GCC visibility pop")
  6885. | #define HAVE_LIBCRYPT 1
  6886. | #define HAVE_LIBDL 1
  6887. | #define HAVE_DIRENT_H 1
  6888. | #define HAVE__BOOL 1
  6889. | #define HAVE_STDBOOL_H 1
  6890. | #define HAVE_SYS_WAIT_H 1
  6891. | #define HAVE_A_OUT_H 1
  6892. | #define HAVE_GRP_H 1
  6893. | #define HAVE_FCNTL_H 1
  6894. | #define HAVE_FLOAT_H 1
  6895. | #define HAVE_LANGINFO_H 1
  6896. | #define HAVE_LIMITS_H 1
  6897. | #define HAVE_LOCALE_H 1
  6898. | #define HAVE_MALLOC_H 1
  6899. | #define HAVE_PWD_H 1
  6900. | #define HAVE_SYS_FCNTL_H 1
  6901. | #define HAVE_SYS_FILE_H 1
  6902. | #define HAVE_SYS_IOCTL_H 1
  6903. | #define HAVE_SYS_PARAM_H 1
  6904. | #define HAVE_SYS_PRCTL_H 1
  6905. | #define HAVE_SYS_RESOURCE_H 1
  6906. | #define HAVE_SYS_SELECT_H 1
  6907. | #define HAVE_SYS_SENDFILE_H 1
  6908. | #define HAVE_SYS_SOCKET_H 1
  6909. | #define HAVE_SYS_SYSCALL_H 1
  6910. | #define HAVE_SYS_TIME_H 1
  6911. | #define HAVE_SYS_TIMES_H 1
  6912. | #define HAVE_SYS_UIO_H 1
  6913. | #define HAVE_SYSCALL_H 1
  6914. | #define HAVE_TIME_H 1
  6915. | #define HAVE_UCONTEXT_H 1
  6916. | #define HAVE_UTIME_H 1
  6917. | #define HAVE_GMP_H 1
  6918. | #define HAVE_LIBGMP 1
  6919. | #define HAVE_TYPEOF 1
  6920. | #define typeof __typeof__
  6921. | #define HAVE_LONG_LONG 1
  6922. | #define HAVE_OFF_T 1
  6923. | #define SIZEOF_INT 4
  6924. | #define SIZEOF_SHORT 2
  6925. | #define SIZEOF_LONG 8
  6926. | #define SIZEOF_LONG_LONG 8
  6927. | #define SIZEOF___INT64 0
  6928. | #define SIZEOF_OFF_T 8
  6929. | #define SIZEOF_VOIDP 8
  6930. | #define SIZEOF_FLOAT 4
  6931. | #define SIZEOF_DOUBLE 8
  6932. | #define SIZEOF_TIME_T 8
  6933. | #define SIZEOF_CLOCK_T 8
  6934. | #define PACKED_STRUCT(x) x __attribute__((packed))
  6935. | #define PACKED_STRUCT_UNALIGNED(x) x
  6936. | #define PRI_LL_PREFIX "ll"
  6937. | #define rb_pid_t pid_t
  6938. | #define SIGNEDNESS_OF_PID_T -1
  6939. | #define PIDT2NUM(v) INT2NUM(v)
  6940. | #define NUM2PIDT(v) NUM2INT(v)
  6941. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  6942. | #define rb_uid_t uid_t
  6943. | #define SIGNEDNESS_OF_UID_T +1
  6944. | #define UIDT2NUM(v) UINT2NUM(v)
  6945. | #define NUM2UIDT(v) NUM2UINT(v)
  6946. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  6947. | #define rb_gid_t gid_t
  6948. | #define SIGNEDNESS_OF_GID_T +1
  6949. | #define GIDT2NUM(v) UINT2NUM(v)
  6950. | #define NUM2GIDT(v) NUM2UINT(v)
  6951. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  6952. | #define rb_time_t time_t
  6953. | #define SIGNEDNESS_OF_TIME_T -1
  6954. | #define TIMET2NUM(v) LONG2NUM(v)
  6955. | #define NUM2TIMET(v) NUM2LONG(v)
  6956. | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
  6957. | #define rb_dev_t dev_t
  6958. | #define SIGNEDNESS_OF_DEV_T +1
  6959. | #define DEVT2NUM(v) ULONG2NUM(v)
  6960. | #define NUM2DEVT(v) NUM2ULONG(v)
  6961. | #define PRI_DEVT_PREFIX PRI_LONG_PREFIX
  6962. | #define rb_mode_t mode_t
  6963. | #define SIGNEDNESS_OF_MODE_T +1
  6964. | #define MODET2NUM(v) UINT2NUM(v)
  6965. | #define NUM2MODET(v) NUM2UINT(v)
  6966. | #define PRI_MODET_PREFIX PRI_INT_PREFIX
  6967. | #define rb_rlim_t rlim_t
  6968. | #define SIGNEDNESS_OF_RLIM_T +1
  6969. | #define RLIM2NUM(v) ULONG2NUM(v)
  6970. | #define NUM2RLIM(v) NUM2ULONG(v)
  6971. | #define PRI_RLIM_PREFIX PRI_LONG_PREFIX
  6972. | /* end confdefs.h. */
  6973. | #include <stdio.h>
  6974. | #ifdef HAVE_SYS_TYPES_H
  6975. | # include <sys/types.h>
  6976. | #endif
  6977. | #ifdef HAVE_SYS_STAT_H
  6978. | # include <sys/stat.h>
  6979. | #endif
  6980. | #ifdef STDC_HEADERS
  6981. | # include <stdlib.h>
  6982. | # include <stddef.h>
  6983. | #else
  6984. | # ifdef HAVE_STDLIB_H
  6985. | # include <stdlib.h>
  6986. | # endif
  6987. | #endif
  6988. | #ifdef HAVE_STRING_H
  6989. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  6990. | # include <memory.h>
  6991. | # endif
  6992. | # include <string.h>
  6993. | #endif
  6994. | #ifdef HAVE_STRINGS_H
  6995. | # include <strings.h>
  6996. | #endif
  6997. | #ifdef HAVE_INTTYPES_H
  6998. | # include <inttypes.h>
  6999. | #endif
  7000. | #ifdef HAVE_STDINT_H
  7001. | # include <stdint.h>
  7002. | #endif
  7003. | #ifdef HAVE_UNISTD_H
  7004. | # include <unistd.h>
  7005. | #endif
  7006. | typedef off_t rbcv_conftest_target_type;
  7007. | typedef long long rbcv_conftest_replace_type;
  7008. | extern rbcv_conftest_target_type rbcv_conftest_var;
  7009. | extern rbcv_conftest_replace_type rbcv_conftest_var;
  7010. | extern rbcv_conftest_target_type rbcv_conftest_func(void);
  7011. | extern rbcv_conftest_replace_type rbcv_conftest_func(void);
  7012. |
  7013. | int
  7014. | main ()
  7015. | {
  7016. | static int test_array [1 - 2 * !(sizeof(rbcv_conftest_target_type) == sizeof(rbcv_conftest_replace_type))];
  7017. | test_array [0] = 0;
  7018. | return test_array [0];
  7019. |
  7020. | ;
  7021. | return 0;
  7022. | }
  7023. configure:13630: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  7024. configure:13630: $? = 0
  7025. configure:13649: result: LONG
  7026. configure:13696: checking for clockid_t
  7027. configure:13696: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  7028. configure:13696: $? = 0
  7029. configure:13696: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  7030. conftest.c: In function 'main':
  7031. conftest.c:157:24: error: expected expression before ')' token
  7032. if (sizeof ((clockid_t)))
  7033. ^
  7034. configure:13696: $? = 1
  7035. configure: failed program was:
  7036. | /* confdefs.h */
  7037. | #define PACKAGE_NAME ""
  7038. | #define PACKAGE_TARNAME ""
  7039. | #define PACKAGE_VERSION ""
  7040. | #define PACKAGE_STRING ""
  7041. | #define PACKAGE_BUGREPORT ""
  7042. | #define PACKAGE_URL ""
  7043. | #define CANONICALIZATION_FOR_MATHN 1
  7044. | #define STDC_HEADERS 1
  7045. | #define HAVE_SYS_TYPES_H 1
  7046. | #define HAVE_SYS_STAT_H 1
  7047. | #define HAVE_STDLIB_H 1
  7048. | #define HAVE_STRING_H 1
  7049. | #define HAVE_MEMORY_H 1
  7050. | #define HAVE_STRINGS_H 1
  7051. | #define HAVE_INTTYPES_H 1
  7052. | #define HAVE_STDINT_H 1
  7053. | #define HAVE_UNISTD_H 1
  7054. | #define __EXTENSIONS__ 1
  7055. | #define _ALL_SOURCE 1
  7056. | #define _GNU_SOURCE 1
  7057. | #define _POSIX_PTHREAD_SEMANTICS 1
  7058. | #define _TANDEM_SOURCE 1
  7059. | #define HAVE_INFINITY 1
  7060. | #define HAVE_NAN 1
  7061. | #define RUBY_SYMBOL_EXPORT_BEGIN _Pragma("GCC visibility push(default)")
  7062. | #define RUBY_SYMBOL_EXPORT_END _Pragma("GCC visibility pop")
  7063. | #define HAVE_LIBCRYPT 1
  7064. | #define HAVE_LIBDL 1
  7065. | #define HAVE_DIRENT_H 1
  7066. | #define HAVE__BOOL 1
  7067. | #define HAVE_STDBOOL_H 1
  7068. | #define HAVE_SYS_WAIT_H 1
  7069. | #define HAVE_A_OUT_H 1
  7070. | #define HAVE_GRP_H 1
  7071. | #define HAVE_FCNTL_H 1
  7072. | #define HAVE_FLOAT_H 1
  7073. | #define HAVE_LANGINFO_H 1
  7074. | #define HAVE_LIMITS_H 1
  7075. | #define HAVE_LOCALE_H 1
  7076. | #define HAVE_MALLOC_H 1
  7077. | #define HAVE_PWD_H 1
  7078. | #define HAVE_SYS_FCNTL_H 1
  7079. | #define HAVE_SYS_FILE_H 1
  7080. | #define HAVE_SYS_IOCTL_H 1
  7081. | #define HAVE_SYS_PARAM_H 1
  7082. | #define HAVE_SYS_PRCTL_H 1
  7083. | #define HAVE_SYS_RESOURCE_H 1
  7084. | #define HAVE_SYS_SELECT_H 1
  7085. | #define HAVE_SYS_SENDFILE_H 1
  7086. | #define HAVE_SYS_SOCKET_H 1
  7087. | #define HAVE_SYS_SYSCALL_H 1
  7088. | #define HAVE_SYS_TIME_H 1
  7089. | #define HAVE_SYS_TIMES_H 1
  7090. | #define HAVE_SYS_UIO_H 1
  7091. | #define HAVE_SYSCALL_H 1
  7092. | #define HAVE_TIME_H 1
  7093. | #define HAVE_UCONTEXT_H 1
  7094. | #define HAVE_UTIME_H 1
  7095. | #define HAVE_GMP_H 1
  7096. | #define HAVE_LIBGMP 1
  7097. | #define HAVE_TYPEOF 1
  7098. | #define typeof __typeof__
  7099. | #define HAVE_LONG_LONG 1
  7100. | #define HAVE_OFF_T 1
  7101. | #define SIZEOF_INT 4
  7102. | #define SIZEOF_SHORT 2
  7103. | #define SIZEOF_LONG 8
  7104. | #define SIZEOF_LONG_LONG 8
  7105. | #define SIZEOF___INT64 0
  7106. | #define SIZEOF_OFF_T 8
  7107. | #define SIZEOF_VOIDP 8
  7108. | #define SIZEOF_FLOAT 4
  7109. | #define SIZEOF_DOUBLE 8
  7110. | #define SIZEOF_TIME_T 8
  7111. | #define SIZEOF_CLOCK_T 8
  7112. | #define PACKED_STRUCT(x) x __attribute__((packed))
  7113. | #define PACKED_STRUCT_UNALIGNED(x) x
  7114. | #define PRI_LL_PREFIX "ll"
  7115. | #define rb_pid_t pid_t
  7116. | #define SIGNEDNESS_OF_PID_T -1
  7117. | #define PIDT2NUM(v) INT2NUM(v)
  7118. | #define NUM2PIDT(v) NUM2INT(v)
  7119. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  7120. | #define rb_uid_t uid_t
  7121. | #define SIGNEDNESS_OF_UID_T +1
  7122. | #define UIDT2NUM(v) UINT2NUM(v)
  7123. | #define NUM2UIDT(v) NUM2UINT(v)
  7124. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  7125. | #define rb_gid_t gid_t
  7126. | #define SIGNEDNESS_OF_GID_T +1
  7127. | #define GIDT2NUM(v) UINT2NUM(v)
  7128. | #define NUM2GIDT(v) NUM2UINT(v)
  7129. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  7130. | #define rb_time_t time_t
  7131. | #define SIGNEDNESS_OF_TIME_T -1
  7132. | #define TIMET2NUM(v) LONG2NUM(v)
  7133. | #define NUM2TIMET(v) NUM2LONG(v)
  7134. | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
  7135. | #define rb_dev_t dev_t
  7136. | #define SIGNEDNESS_OF_DEV_T +1
  7137. | #define DEVT2NUM(v) ULONG2NUM(v)
  7138. | #define NUM2DEVT(v) NUM2ULONG(v)
  7139. | #define PRI_DEVT_PREFIX PRI_LONG_PREFIX
  7140. | #define rb_mode_t mode_t
  7141. | #define SIGNEDNESS_OF_MODE_T +1
  7142. | #define MODET2NUM(v) UINT2NUM(v)
  7143. | #define NUM2MODET(v) NUM2UINT(v)
  7144. | #define PRI_MODET_PREFIX PRI_INT_PREFIX
  7145. | #define rb_rlim_t rlim_t
  7146. | #define SIGNEDNESS_OF_RLIM_T +1
  7147. | #define RLIM2NUM(v) ULONG2NUM(v)
  7148. | #define NUM2RLIM(v) NUM2ULONG(v)
  7149. | #define PRI_RLIM_PREFIX PRI_LONG_PREFIX
  7150. | #define rb_off_t off_t
  7151. | #define SIGNEDNESS_OF_OFF_T -1
  7152. | #define OFFT2NUM(v) LONG2NUM(v)
  7153. | #define NUM2OFFT(v) NUM2LONG(v)
  7154. | #define PRI_OFFT_PREFIX PRI_LONG_PREFIX
  7155. | /* end confdefs.h. */
  7156. | #include <stdio.h>
  7157. | #ifdef HAVE_SYS_TYPES_H
  7158. | # include <sys/types.h>
  7159. | #endif
  7160. | #ifdef HAVE_SYS_STAT_H
  7161. | # include <sys/stat.h>
  7162. | #endif
  7163. | #ifdef STDC_HEADERS
  7164. | # include <stdlib.h>
  7165. | # include <stddef.h>
  7166. | #else
  7167. | # ifdef HAVE_STDLIB_H
  7168. | # include <stdlib.h>
  7169. | # endif
  7170. | #endif
  7171. | #ifdef HAVE_STRING_H
  7172. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  7173. | # include <memory.h>
  7174. | # endif
  7175. | # include <string.h>
  7176. | #endif
  7177. | #ifdef HAVE_STRINGS_H
  7178. | # include <strings.h>
  7179. | #endif
  7180. | #ifdef HAVE_INTTYPES_H
  7181. | # include <inttypes.h>
  7182. | #endif
  7183. | #ifdef HAVE_STDINT_H
  7184. | # include <stdint.h>
  7185. | #endif
  7186. | #ifdef HAVE_UNISTD_H
  7187. | # include <unistd.h>
  7188. | #endif
  7189. | int
  7190. | main ()
  7191. | {
  7192. | if (sizeof ((clockid_t)))
  7193. | return 0;
  7194. | ;
  7195. | return 0;
  7196. | }
  7197. configure:13696: result: yes
  7198. configure:13703: checking for convertible type of clockid_t
  7199. configure:13731: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  7200. conftest.c: In function 'main':
  7201. conftest.c:157:12: error: size of array 'test_array' is negative
  7202. static int test_array [1 - 2 * !((clockid_t)-1 > 0)];
  7203. ^~~~~~~~~~
  7204. configure:13731: $? = 1
  7205. configure: failed program was:
  7206. | /* confdefs.h */
  7207. | #define PACKAGE_NAME ""
  7208. | #define PACKAGE_TARNAME ""
  7209. | #define PACKAGE_VERSION ""
  7210. | #define PACKAGE_STRING ""
  7211. | #define PACKAGE_BUGREPORT ""
  7212. | #define PACKAGE_URL ""
  7213. | #define CANONICALIZATION_FOR_MATHN 1
  7214. | #define STDC_HEADERS 1
  7215. | #define HAVE_SYS_TYPES_H 1
  7216. | #define HAVE_SYS_STAT_H 1
  7217. | #define HAVE_STDLIB_H 1
  7218. | #define HAVE_STRING_H 1
  7219. | #define HAVE_MEMORY_H 1
  7220. | #define HAVE_STRINGS_H 1
  7221. | #define HAVE_INTTYPES_H 1
  7222. | #define HAVE_STDINT_H 1
  7223. | #define HAVE_UNISTD_H 1
  7224. | #define __EXTENSIONS__ 1
  7225. | #define _ALL_SOURCE 1
  7226. | #define _GNU_SOURCE 1
  7227. | #define _POSIX_PTHREAD_SEMANTICS 1
  7228. | #define _TANDEM_SOURCE 1
  7229. | #define HAVE_INFINITY 1
  7230. | #define HAVE_NAN 1
  7231. | #define RUBY_SYMBOL_EXPORT_BEGIN _Pragma("GCC visibility push(default)")
  7232. | #define RUBY_SYMBOL_EXPORT_END _Pragma("GCC visibility pop")
  7233. | #define HAVE_LIBCRYPT 1
  7234. | #define HAVE_LIBDL 1
  7235. | #define HAVE_DIRENT_H 1
  7236. | #define HAVE__BOOL 1
  7237. | #define HAVE_STDBOOL_H 1
  7238. | #define HAVE_SYS_WAIT_H 1
  7239. | #define HAVE_A_OUT_H 1
  7240. | #define HAVE_GRP_H 1
  7241. | #define HAVE_FCNTL_H 1
  7242. | #define HAVE_FLOAT_H 1
  7243. | #define HAVE_LANGINFO_H 1
  7244. | #define HAVE_LIMITS_H 1
  7245. | #define HAVE_LOCALE_H 1
  7246. | #define HAVE_MALLOC_H 1
  7247. | #define HAVE_PWD_H 1
  7248. | #define HAVE_SYS_FCNTL_H 1
  7249. | #define HAVE_SYS_FILE_H 1
  7250. | #define HAVE_SYS_IOCTL_H 1
  7251. | #define HAVE_SYS_PARAM_H 1
  7252. | #define HAVE_SYS_PRCTL_H 1
  7253. | #define HAVE_SYS_RESOURCE_H 1
  7254. | #define HAVE_SYS_SELECT_H 1
  7255. | #define HAVE_SYS_SENDFILE_H 1
  7256. | #define HAVE_SYS_SOCKET_H 1
  7257. | #define HAVE_SYS_SYSCALL_H 1
  7258. | #define HAVE_SYS_TIME_H 1
  7259. | #define HAVE_SYS_TIMES_H 1
  7260. | #define HAVE_SYS_UIO_H 1
  7261. | #define HAVE_SYSCALL_H 1
  7262. | #define HAVE_TIME_H 1
  7263. | #define HAVE_UCONTEXT_H 1
  7264. | #define HAVE_UTIME_H 1
  7265. | #define HAVE_GMP_H 1
  7266. | #define HAVE_LIBGMP 1
  7267. | #define HAVE_TYPEOF 1
  7268. | #define typeof __typeof__
  7269. | #define HAVE_LONG_LONG 1
  7270. | #define HAVE_OFF_T 1
  7271. | #define SIZEOF_INT 4
  7272. | #define SIZEOF_SHORT 2
  7273. | #define SIZEOF_LONG 8
  7274. | #define SIZEOF_LONG_LONG 8
  7275. | #define SIZEOF___INT64 0
  7276. | #define SIZEOF_OFF_T 8
  7277. | #define SIZEOF_VOIDP 8
  7278. | #define SIZEOF_FLOAT 4
  7279. | #define SIZEOF_DOUBLE 8
  7280. | #define SIZEOF_TIME_T 8
  7281. | #define SIZEOF_CLOCK_T 8
  7282. | #define PACKED_STRUCT(x) x __attribute__((packed))
  7283. | #define PACKED_STRUCT_UNALIGNED(x) x
  7284. | #define PRI_LL_PREFIX "ll"
  7285. | #define rb_pid_t pid_t
  7286. | #define SIGNEDNESS_OF_PID_T -1
  7287. | #define PIDT2NUM(v) INT2NUM(v)
  7288. | #define NUM2PIDT(v) NUM2INT(v)
  7289. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  7290. | #define rb_uid_t uid_t
  7291. | #define SIGNEDNESS_OF_UID_T +1
  7292. | #define UIDT2NUM(v) UINT2NUM(v)
  7293. | #define NUM2UIDT(v) NUM2UINT(v)
  7294. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  7295. | #define rb_gid_t gid_t
  7296. | #define SIGNEDNESS_OF_GID_T +1
  7297. | #define GIDT2NUM(v) UINT2NUM(v)
  7298. | #define NUM2GIDT(v) NUM2UINT(v)
  7299. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  7300. | #define rb_time_t time_t
  7301. | #define SIGNEDNESS_OF_TIME_T -1
  7302. | #define TIMET2NUM(v) LONG2NUM(v)
  7303. | #define NUM2TIMET(v) NUM2LONG(v)
  7304. | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
  7305. | #define rb_dev_t dev_t
  7306. | #define SIGNEDNESS_OF_DEV_T +1
  7307. | #define DEVT2NUM(v) ULONG2NUM(v)
  7308. | #define NUM2DEVT(v) NUM2ULONG(v)
  7309. | #define PRI_DEVT_PREFIX PRI_LONG_PREFIX
  7310. | #define rb_mode_t mode_t
  7311. | #define SIGNEDNESS_OF_MODE_T +1
  7312. | #define MODET2NUM(v) UINT2NUM(v)
  7313. | #define NUM2MODET(v) NUM2UINT(v)
  7314. | #define PRI_MODET_PREFIX PRI_INT_PREFIX
  7315. | #define rb_rlim_t rlim_t
  7316. | #define SIGNEDNESS_OF_RLIM_T +1
  7317. | #define RLIM2NUM(v) ULONG2NUM(v)
  7318. | #define NUM2RLIM(v) NUM2ULONG(v)
  7319. | #define PRI_RLIM_PREFIX PRI_LONG_PREFIX
  7320. | #define rb_off_t off_t
  7321. | #define SIGNEDNESS_OF_OFF_T -1
  7322. | #define OFFT2NUM(v) LONG2NUM(v)
  7323. | #define NUM2OFFT(v) NUM2LONG(v)
  7324. | #define PRI_OFFT_PREFIX PRI_LONG_PREFIX
  7325. | /* end confdefs.h. */
  7326. | #include <stdio.h>
  7327. | #ifdef HAVE_SYS_TYPES_H
  7328. | # include <sys/types.h>
  7329. | #endif
  7330. | #ifdef HAVE_SYS_STAT_H
  7331. | # include <sys/stat.h>
  7332. | #endif
  7333. | #ifdef STDC_HEADERS
  7334. | # include <stdlib.h>
  7335. | # include <stddef.h>
  7336. | #else
  7337. | # ifdef HAVE_STDLIB_H
  7338. | # include <stdlib.h>
  7339. | # endif
  7340. | #endif
  7341. | #ifdef HAVE_STRING_H
  7342. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  7343. | # include <memory.h>
  7344. | # endif
  7345. | # include <string.h>
  7346. | #endif
  7347. | #ifdef HAVE_STRINGS_H
  7348. | # include <strings.h>
  7349. | #endif
  7350. | #ifdef HAVE_INTTYPES_H
  7351. | # include <inttypes.h>
  7352. | #endif
  7353. | #ifdef HAVE_STDINT_H
  7354. | # include <stdint.h>
  7355. | #endif
  7356. | #ifdef HAVE_UNISTD_H
  7357. | # include <unistd.h>
  7358. | #endif
  7359. | int
  7360. | main ()
  7361. | {
  7362. | static int test_array [1 - 2 * !((clockid_t)-1 > 0)];
  7363. | test_array [0] = 0;
  7364. | return test_array [0];
  7365. |
  7366. | ;
  7367. | return 0;
  7368. | }
  7369. configure:13760: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  7370. conftest.c:157:38: error: conflicting types for 'rbcv_conftest_var'
  7371. extern rbcv_conftest_replace_type rbcv_conftest_var;
  7372. ^~~~~~~~~~~~~~~~~
  7373. conftest.c:156:37: note: previous declaration of 'rbcv_conftest_var' was here
  7374. extern rbcv_conftest_target_type rbcv_conftest_var;
  7375. ^~~~~~~~~~~~~~~~~
  7376. conftest.c:159:38: error: conflicting types for 'rbcv_conftest_func'
  7377. extern rbcv_conftest_replace_type rbcv_conftest_func(void);
  7378. ^~~~~~~~~~~~~~~~~~
  7379. conftest.c:158:37: note: previous declaration of 'rbcv_conftest_func' was here
  7380. extern rbcv_conftest_target_type rbcv_conftest_func(void);
  7381. ^~~~~~~~~~~~~~~~~~
  7382. conftest.c: In function 'main':
  7383. conftest.c:164:12: error: size of array 'test_array' is negative
  7384. static int test_array [1 - 2 * !(sizeof(rbcv_conftest_target_type) == sizeof(rbcv_conftest_replace_type))];
  7385. ^~~~~~~~~~
  7386. configure:13760: $? = 1
  7387. configure: failed program was:
  7388. | /* confdefs.h */
  7389. | #define PACKAGE_NAME ""
  7390. | #define PACKAGE_TARNAME ""
  7391. | #define PACKAGE_VERSION ""
  7392. | #define PACKAGE_STRING ""
  7393. | #define PACKAGE_BUGREPORT ""
  7394. | #define PACKAGE_URL ""
  7395. | #define CANONICALIZATION_FOR_MATHN 1
  7396. | #define STDC_HEADERS 1
  7397. | #define HAVE_SYS_TYPES_H 1
  7398. | #define HAVE_SYS_STAT_H 1
  7399. | #define HAVE_STDLIB_H 1
  7400. | #define HAVE_STRING_H 1
  7401. | #define HAVE_MEMORY_H 1
  7402. | #define HAVE_STRINGS_H 1
  7403. | #define HAVE_INTTYPES_H 1
  7404. | #define HAVE_STDINT_H 1
  7405. | #define HAVE_UNISTD_H 1
  7406. | #define __EXTENSIONS__ 1
  7407. | #define _ALL_SOURCE 1
  7408. | #define _GNU_SOURCE 1
  7409. | #define _POSIX_PTHREAD_SEMANTICS 1
  7410. | #define _TANDEM_SOURCE 1
  7411. | #define HAVE_INFINITY 1
  7412. | #define HAVE_NAN 1
  7413. | #define RUBY_SYMBOL_EXPORT_BEGIN _Pragma("GCC visibility push(default)")
  7414. | #define RUBY_SYMBOL_EXPORT_END _Pragma("GCC visibility pop")
  7415. | #define HAVE_LIBCRYPT 1
  7416. | #define HAVE_LIBDL 1
  7417. | #define HAVE_DIRENT_H 1
  7418. | #define HAVE__BOOL 1
  7419. | #define HAVE_STDBOOL_H 1
  7420. | #define HAVE_SYS_WAIT_H 1
  7421. | #define HAVE_A_OUT_H 1
  7422. | #define HAVE_GRP_H 1
  7423. | #define HAVE_FCNTL_H 1
  7424. | #define HAVE_FLOAT_H 1
  7425. | #define HAVE_LANGINFO_H 1
  7426. | #define HAVE_LIMITS_H 1
  7427. | #define HAVE_LOCALE_H 1
  7428. | #define HAVE_MALLOC_H 1
  7429. | #define HAVE_PWD_H 1
  7430. | #define HAVE_SYS_FCNTL_H 1
  7431. | #define HAVE_SYS_FILE_H 1
  7432. | #define HAVE_SYS_IOCTL_H 1
  7433. | #define HAVE_SYS_PARAM_H 1
  7434. | #define HAVE_SYS_PRCTL_H 1
  7435. | #define HAVE_SYS_RESOURCE_H 1
  7436. | #define HAVE_SYS_SELECT_H 1
  7437. | #define HAVE_SYS_SENDFILE_H 1
  7438. | #define HAVE_SYS_SOCKET_H 1
  7439. | #define HAVE_SYS_SYSCALL_H 1
  7440. | #define HAVE_SYS_TIME_H 1
  7441. | #define HAVE_SYS_TIMES_H 1
  7442. | #define HAVE_SYS_UIO_H 1
  7443. | #define HAVE_SYSCALL_H 1
  7444. | #define HAVE_TIME_H 1
  7445. | #define HAVE_UCONTEXT_H 1
  7446. | #define HAVE_UTIME_H 1
  7447. | #define HAVE_GMP_H 1
  7448. | #define HAVE_LIBGMP 1
  7449. | #define HAVE_TYPEOF 1
  7450. | #define typeof __typeof__
  7451. | #define HAVE_LONG_LONG 1
  7452. | #define HAVE_OFF_T 1
  7453. | #define SIZEOF_INT 4
  7454. | #define SIZEOF_SHORT 2
  7455. | #define SIZEOF_LONG 8
  7456. | #define SIZEOF_LONG_LONG 8
  7457. | #define SIZEOF___INT64 0
  7458. | #define SIZEOF_OFF_T 8
  7459. | #define SIZEOF_VOIDP 8
  7460. | #define SIZEOF_FLOAT 4
  7461. | #define SIZEOF_DOUBLE 8
  7462. | #define SIZEOF_TIME_T 8
  7463. | #define SIZEOF_CLOCK_T 8
  7464. | #define PACKED_STRUCT(x) x __attribute__((packed))
  7465. | #define PACKED_STRUCT_UNALIGNED(x) x
  7466. | #define PRI_LL_PREFIX "ll"
  7467. | #define rb_pid_t pid_t
  7468. | #define SIGNEDNESS_OF_PID_T -1
  7469. | #define PIDT2NUM(v) INT2NUM(v)
  7470. | #define NUM2PIDT(v) NUM2INT(v)
  7471. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  7472. | #define rb_uid_t uid_t
  7473. | #define SIGNEDNESS_OF_UID_T +1
  7474. | #define UIDT2NUM(v) UINT2NUM(v)
  7475. | #define NUM2UIDT(v) NUM2UINT(v)
  7476. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  7477. | #define rb_gid_t gid_t
  7478. | #define SIGNEDNESS_OF_GID_T +1
  7479. | #define GIDT2NUM(v) UINT2NUM(v)
  7480. | #define NUM2GIDT(v) NUM2UINT(v)
  7481. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  7482. | #define rb_time_t time_t
  7483. | #define SIGNEDNESS_OF_TIME_T -1
  7484. | #define TIMET2NUM(v) LONG2NUM(v)
  7485. | #define NUM2TIMET(v) NUM2LONG(v)
  7486. | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
  7487. | #define rb_dev_t dev_t
  7488. | #define SIGNEDNESS_OF_DEV_T +1
  7489. | #define DEVT2NUM(v) ULONG2NUM(v)
  7490. | #define NUM2DEVT(v) NUM2ULONG(v)
  7491. | #define PRI_DEVT_PREFIX PRI_LONG_PREFIX
  7492. | #define rb_mode_t mode_t
  7493. | #define SIGNEDNESS_OF_MODE_T +1
  7494. | #define MODET2NUM(v) UINT2NUM(v)
  7495. | #define NUM2MODET(v) NUM2UINT(v)
  7496. | #define PRI_MODET_PREFIX PRI_INT_PREFIX
  7497. | #define rb_rlim_t rlim_t
  7498. | #define SIGNEDNESS_OF_RLIM_T +1
  7499. | #define RLIM2NUM(v) ULONG2NUM(v)
  7500. | #define NUM2RLIM(v) NUM2ULONG(v)
  7501. | #define PRI_RLIM_PREFIX PRI_LONG_PREFIX
  7502. | #define rb_off_t off_t
  7503. | #define SIGNEDNESS_OF_OFF_T -1
  7504. | #define OFFT2NUM(v) LONG2NUM(v)
  7505. | #define NUM2OFFT(v) NUM2LONG(v)
  7506. | #define PRI_OFFT_PREFIX PRI_LONG_PREFIX
  7507. | /* end confdefs.h. */
  7508. | #include <stdio.h>
  7509. | #ifdef HAVE_SYS_TYPES_H
  7510. | # include <sys/types.h>
  7511. | #endif
  7512. | #ifdef HAVE_SYS_STAT_H
  7513. | # include <sys/stat.h>
  7514. | #endif
  7515. | #ifdef STDC_HEADERS
  7516. | # include <stdlib.h>
  7517. | # include <stddef.h>
  7518. | #else
  7519. | # ifdef HAVE_STDLIB_H
  7520. | # include <stdlib.h>
  7521. | # endif
  7522. | #endif
  7523. | #ifdef HAVE_STRING_H
  7524. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  7525. | # include <memory.h>
  7526. | # endif
  7527. | # include <string.h>
  7528. | #endif
  7529. | #ifdef HAVE_STRINGS_H
  7530. | # include <strings.h>
  7531. | #endif
  7532. | #ifdef HAVE_INTTYPES_H
  7533. | # include <inttypes.h>
  7534. | #endif
  7535. | #ifdef HAVE_STDINT_H
  7536. | # include <stdint.h>
  7537. | #endif
  7538. | #ifdef HAVE_UNISTD_H
  7539. | # include <unistd.h>
  7540. | #endif
  7541. | typedef clockid_t rbcv_conftest_target_type;
  7542. | typedef long long rbcv_conftest_replace_type;
  7543. | extern rbcv_conftest_target_type rbcv_conftest_var;
  7544. | extern rbcv_conftest_replace_type rbcv_conftest_var;
  7545. | extern rbcv_conftest_target_type rbcv_conftest_func(void);
  7546. | extern rbcv_conftest_replace_type rbcv_conftest_func(void);
  7547. |
  7548. | int
  7549. | main ()
  7550. | {
  7551. | static int test_array [1 - 2 * !(sizeof(rbcv_conftest_target_type) == sizeof(rbcv_conftest_replace_type))];
  7552. | test_array [0] = 0;
  7553. | return test_array [0];
  7554. |
  7555. | ;
  7556. | return 0;
  7557. | }
  7558. configure:13760: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  7559. conftest.c:157:38: error: conflicting types for 'rbcv_conftest_var'
  7560. extern rbcv_conftest_replace_type rbcv_conftest_var;
  7561. ^~~~~~~~~~~~~~~~~
  7562. conftest.c:156:37: note: previous declaration of 'rbcv_conftest_var' was here
  7563. extern rbcv_conftest_target_type rbcv_conftest_var;
  7564. ^~~~~~~~~~~~~~~~~
  7565. conftest.c:159:38: error: conflicting types for 'rbcv_conftest_func'
  7566. extern rbcv_conftest_replace_type rbcv_conftest_func(void);
  7567. ^~~~~~~~~~~~~~~~~~
  7568. conftest.c:158:37: note: previous declaration of 'rbcv_conftest_func' was here
  7569. extern rbcv_conftest_target_type rbcv_conftest_func(void);
  7570. ^~~~~~~~~~~~~~~~~~
  7571. conftest.c: In function 'main':
  7572. conftest.c:164:12: error: size of array 'test_array' is negative
  7573. static int test_array [1 - 2 * !(sizeof(rbcv_conftest_target_type) == sizeof(rbcv_conftest_replace_type))];
  7574. ^~~~~~~~~~
  7575. configure:13760: $? = 1
  7576. configure: failed program was:
  7577. | /* confdefs.h */
  7578. | #define PACKAGE_NAME ""
  7579. | #define PACKAGE_TARNAME ""
  7580. | #define PACKAGE_VERSION ""
  7581. | #define PACKAGE_STRING ""
  7582. | #define PACKAGE_BUGREPORT ""
  7583. | #define PACKAGE_URL ""
  7584. | #define CANONICALIZATION_FOR_MATHN 1
  7585. | #define STDC_HEADERS 1
  7586. | #define HAVE_SYS_TYPES_H 1
  7587. | #define HAVE_SYS_STAT_H 1
  7588. | #define HAVE_STDLIB_H 1
  7589. | #define HAVE_STRING_H 1
  7590. | #define HAVE_MEMORY_H 1
  7591. | #define HAVE_STRINGS_H 1
  7592. | #define HAVE_INTTYPES_H 1
  7593. | #define HAVE_STDINT_H 1
  7594. | #define HAVE_UNISTD_H 1
  7595. | #define __EXTENSIONS__ 1
  7596. | #define _ALL_SOURCE 1
  7597. | #define _GNU_SOURCE 1
  7598. | #define _POSIX_PTHREAD_SEMANTICS 1
  7599. | #define _TANDEM_SOURCE 1
  7600. | #define HAVE_INFINITY 1
  7601. | #define HAVE_NAN 1
  7602. | #define RUBY_SYMBOL_EXPORT_BEGIN _Pragma("GCC visibility push(default)")
  7603. | #define RUBY_SYMBOL_EXPORT_END _Pragma("GCC visibility pop")
  7604. | #define HAVE_LIBCRYPT 1
  7605. | #define HAVE_LIBDL 1
  7606. | #define HAVE_DIRENT_H 1
  7607. | #define HAVE__BOOL 1
  7608. | #define HAVE_STDBOOL_H 1
  7609. | #define HAVE_SYS_WAIT_H 1
  7610. | #define HAVE_A_OUT_H 1
  7611. | #define HAVE_GRP_H 1
  7612. | #define HAVE_FCNTL_H 1
  7613. | #define HAVE_FLOAT_H 1
  7614. | #define HAVE_LANGINFO_H 1
  7615. | #define HAVE_LIMITS_H 1
  7616. | #define HAVE_LOCALE_H 1
  7617. | #define HAVE_MALLOC_H 1
  7618. | #define HAVE_PWD_H 1
  7619. | #define HAVE_SYS_FCNTL_H 1
  7620. | #define HAVE_SYS_FILE_H 1
  7621. | #define HAVE_SYS_IOCTL_H 1
  7622. | #define HAVE_SYS_PARAM_H 1
  7623. | #define HAVE_SYS_PRCTL_H 1
  7624. | #define HAVE_SYS_RESOURCE_H 1
  7625. | #define HAVE_SYS_SELECT_H 1
  7626. | #define HAVE_SYS_SENDFILE_H 1
  7627. | #define HAVE_SYS_SOCKET_H 1
  7628. | #define HAVE_SYS_SYSCALL_H 1
  7629. | #define HAVE_SYS_TIME_H 1
  7630. | #define HAVE_SYS_TIMES_H 1
  7631. | #define HAVE_SYS_UIO_H 1
  7632. | #define HAVE_SYSCALL_H 1
  7633. | #define HAVE_TIME_H 1
  7634. | #define HAVE_UCONTEXT_H 1
  7635. | #define HAVE_UTIME_H 1
  7636. | #define HAVE_GMP_H 1
  7637. | #define HAVE_LIBGMP 1
  7638. | #define HAVE_TYPEOF 1
  7639. | #define typeof __typeof__
  7640. | #define HAVE_LONG_LONG 1
  7641. | #define HAVE_OFF_T 1
  7642. | #define SIZEOF_INT 4
  7643. | #define SIZEOF_SHORT 2
  7644. | #define SIZEOF_LONG 8
  7645. | #define SIZEOF_LONG_LONG 8
  7646. | #define SIZEOF___INT64 0
  7647. | #define SIZEOF_OFF_T 8
  7648. | #define SIZEOF_VOIDP 8
  7649. | #define SIZEOF_FLOAT 4
  7650. | #define SIZEOF_DOUBLE 8
  7651. | #define SIZEOF_TIME_T 8
  7652. | #define SIZEOF_CLOCK_T 8
  7653. | #define PACKED_STRUCT(x) x __attribute__((packed))
  7654. | #define PACKED_STRUCT_UNALIGNED(x) x
  7655. | #define PRI_LL_PREFIX "ll"
  7656. | #define rb_pid_t pid_t
  7657. | #define SIGNEDNESS_OF_PID_T -1
  7658. | #define PIDT2NUM(v) INT2NUM(v)
  7659. | #define NUM2PIDT(v) NUM2INT(v)
  7660. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  7661. | #define rb_uid_t uid_t
  7662. | #define SIGNEDNESS_OF_UID_T +1
  7663. | #define UIDT2NUM(v) UINT2NUM(v)
  7664. | #define NUM2UIDT(v) NUM2UINT(v)
  7665. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  7666. | #define rb_gid_t gid_t
  7667. | #define SIGNEDNESS_OF_GID_T +1
  7668. | #define GIDT2NUM(v) UINT2NUM(v)
  7669. | #define NUM2GIDT(v) NUM2UINT(v)
  7670. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  7671. | #define rb_time_t time_t
  7672. | #define SIGNEDNESS_OF_TIME_T -1
  7673. | #define TIMET2NUM(v) LONG2NUM(v)
  7674. | #define NUM2TIMET(v) NUM2LONG(v)
  7675. | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
  7676. | #define rb_dev_t dev_t
  7677. | #define SIGNEDNESS_OF_DEV_T +1
  7678. | #define DEVT2NUM(v) ULONG2NUM(v)
  7679. | #define NUM2DEVT(v) NUM2ULONG(v)
  7680. | #define PRI_DEVT_PREFIX PRI_LONG_PREFIX
  7681. | #define rb_mode_t mode_t
  7682. | #define SIGNEDNESS_OF_MODE_T +1
  7683. | #define MODET2NUM(v) UINT2NUM(v)
  7684. | #define NUM2MODET(v) NUM2UINT(v)
  7685. | #define PRI_MODET_PREFIX PRI_INT_PREFIX
  7686. | #define rb_rlim_t rlim_t
  7687. | #define SIGNEDNESS_OF_RLIM_T +1
  7688. | #define RLIM2NUM(v) ULONG2NUM(v)
  7689. | #define NUM2RLIM(v) NUM2ULONG(v)
  7690. | #define PRI_RLIM_PREFIX PRI_LONG_PREFIX
  7691. | #define rb_off_t off_t
  7692. | #define SIGNEDNESS_OF_OFF_T -1
  7693. | #define OFFT2NUM(v) LONG2NUM(v)
  7694. | #define NUM2OFFT(v) NUM2LONG(v)
  7695. | #define PRI_OFFT_PREFIX PRI_LONG_PREFIX
  7696. | /* end confdefs.h. */
  7697. | #include <stdio.h>
  7698. | #ifdef HAVE_SYS_TYPES_H
  7699. | # include <sys/types.h>
  7700. | #endif
  7701. | #ifdef HAVE_SYS_STAT_H
  7702. | # include <sys/stat.h>
  7703. | #endif
  7704. | #ifdef STDC_HEADERS
  7705. | # include <stdlib.h>
  7706. | # include <stddef.h>
  7707. | #else
  7708. | # ifdef HAVE_STDLIB_H
  7709. | # include <stdlib.h>
  7710. | # endif
  7711. | #endif
  7712. | #ifdef HAVE_STRING_H
  7713. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  7714. | # include <memory.h>
  7715. | # endif
  7716. | # include <string.h>
  7717. | #endif
  7718. | #ifdef HAVE_STRINGS_H
  7719. | # include <strings.h>
  7720. | #endif
  7721. | #ifdef HAVE_INTTYPES_H
  7722. | # include <inttypes.h>
  7723. | #endif
  7724. | #ifdef HAVE_STDINT_H
  7725. | # include <stdint.h>
  7726. | #endif
  7727. | #ifdef HAVE_UNISTD_H
  7728. | # include <unistd.h>
  7729. | #endif
  7730. | typedef clockid_t rbcv_conftest_target_type;
  7731. | typedef long rbcv_conftest_replace_type;
  7732. | extern rbcv_conftest_target_type rbcv_conftest_var;
  7733. | extern rbcv_conftest_replace_type rbcv_conftest_var;
  7734. | extern rbcv_conftest_target_type rbcv_conftest_func(void);
  7735. | extern rbcv_conftest_replace_type rbcv_conftest_func(void);
  7736. |
  7737. | int
  7738. | main ()
  7739. | {
  7740. | static int test_array [1 - 2 * !(sizeof(rbcv_conftest_target_type) == sizeof(rbcv_conftest_replace_type))];
  7741. | test_array [0] = 0;
  7742. | return test_array [0];
  7743. |
  7744. | ;
  7745. | return 0;
  7746. | }
  7747. configure:13760: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  7748. configure:13760: $? = 0
  7749. configure:13779: result: INT
  7750. configure:13827: checking for prototypes
  7751. configure:13843: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  7752. configure:13843: $? = 0
  7753. configure:13850: result: yes
  7754. configure:13857: checking token paste string
  7755. configure:13873: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  7756. configure:13873: $? = 0
  7757. configure:13880: result: ansi
  7758. configure:13890: checking stringization
  7759. configure:13919: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  7760. configure:13919: $? = 0
  7761. configure:13928: result: #expr
  7762. configure:13941: checking string literal concatenation
  7763. configure:13965: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  7764. configure:13965: $? = 0
  7765. configure:13973: result: yes
  7766. configure:13980: checking for variable length prototypes and stdarg.h
  7767. configure:14006: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  7768. configure:14006: $? = 0
  7769. configure:14013: result: yes
  7770. configure:14020: checking for variable length macro
  7771. configure:14039: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  7772. configure:14039: $? = 0
  7773. configure:14046: result: yes
  7774. configure:14061: checking for NORETURN function attribute
  7775. configure:14098: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat conftest.c >&5
  7776. configure:14098: $? = 0
  7777. configure:14112: result: __attribute__ ((noreturn)) x
  7778. configure:14123: checking for DEPRECATED function attribute
  7779. configure:14160: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat conftest.c >&5
  7780. configure:14160: $? = 0
  7781. configure:14174: result: __attribute__ ((deprecated)) x
  7782. configure:14185: checking for DEPRECATED_BY function attribute
  7783. configure:14222: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat conftest.c >&5
  7784. configure:14222: $? = 0
  7785. configure:14236: result: __attribute__ ((deprecated("by "#n))) x
  7786. configure:14247: checking for DEPRECATED_TYPE type attribute
  7787. configure:14286: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat conftest.c >&5
  7788. configure:14286: $? = 0
  7789. configure:14300: result: __attribute__ ((deprecated mesg)) x
  7790. configure:14311: checking for NOINLINE function attribute
  7791. configure:14348: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat conftest.c >&5
  7792. configure:14348: $? = 0
  7793. configure:14362: result: __attribute__ ((noinline)) x
  7794. configure:14373: checking for WEAK function attribute
  7795. configure:14410: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat conftest.c >&5
  7796. configure:14410: $? = 0
  7797. configure:14424: result: __attribute__ ((weak)) x
  7798. configure:14441: checking for stdcall function attribute
  7799. configure:14480: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat conftest.c >&5
  7800. conftest.c:145:5: warning: 'stdcall' attribute ignored [-Wattributes]
  7801. FUNC_STDCALL(x);
  7802. ^~~~~~~~~~~~
  7803. configure:14480: $? = 0
  7804. configure: failed program was:
  7805. | /* confdefs.h */
  7806. | #define PACKAGE_NAME ""
  7807. | #define PACKAGE_TARNAME ""
  7808. | #define PACKAGE_VERSION ""
  7809. | #define PACKAGE_STRING ""
  7810. | #define PACKAGE_BUGREPORT ""
  7811. | #define PACKAGE_URL ""
  7812. | #define CANONICALIZATION_FOR_MATHN 1
  7813. | #define STDC_HEADERS 1
  7814. | #define HAVE_SYS_TYPES_H 1
  7815. | #define HAVE_SYS_STAT_H 1
  7816. | #define HAVE_STDLIB_H 1
  7817. | #define HAVE_STRING_H 1
  7818. | #define HAVE_MEMORY_H 1
  7819. | #define HAVE_STRINGS_H 1
  7820. | #define HAVE_INTTYPES_H 1
  7821. | #define HAVE_STDINT_H 1
  7822. | #define HAVE_UNISTD_H 1
  7823. | #define __EXTENSIONS__ 1
  7824. | #define _ALL_SOURCE 1
  7825. | #define _GNU_SOURCE 1
  7826. | #define _POSIX_PTHREAD_SEMANTICS 1
  7827. | #define _TANDEM_SOURCE 1
  7828. | #define HAVE_INFINITY 1
  7829. | #define HAVE_NAN 1
  7830. | #define RUBY_SYMBOL_EXPORT_BEGIN _Pragma("GCC visibility push(default)")
  7831. | #define RUBY_SYMBOL_EXPORT_END _Pragma("GCC visibility pop")
  7832. | #define HAVE_LIBCRYPT 1
  7833. | #define HAVE_LIBDL 1
  7834. | #define HAVE_DIRENT_H 1
  7835. | #define HAVE__BOOL 1
  7836. | #define HAVE_STDBOOL_H 1
  7837. | #define HAVE_SYS_WAIT_H 1
  7838. | #define HAVE_A_OUT_H 1
  7839. | #define HAVE_GRP_H 1
  7840. | #define HAVE_FCNTL_H 1
  7841. | #define HAVE_FLOAT_H 1
  7842. | #define HAVE_LANGINFO_H 1
  7843. | #define HAVE_LIMITS_H 1
  7844. | #define HAVE_LOCALE_H 1
  7845. | #define HAVE_MALLOC_H 1
  7846. | #define HAVE_PWD_H 1
  7847. | #define HAVE_SYS_FCNTL_H 1
  7848. | #define HAVE_SYS_FILE_H 1
  7849. | #define HAVE_SYS_IOCTL_H 1
  7850. | #define HAVE_SYS_PARAM_H 1
  7851. | #define HAVE_SYS_PRCTL_H 1
  7852. | #define HAVE_SYS_RESOURCE_H 1
  7853. | #define HAVE_SYS_SELECT_H 1
  7854. | #define HAVE_SYS_SENDFILE_H 1
  7855. | #define HAVE_SYS_SOCKET_H 1
  7856. | #define HAVE_SYS_SYSCALL_H 1
  7857. | #define HAVE_SYS_TIME_H 1
  7858. | #define HAVE_SYS_TIMES_H 1
  7859. | #define HAVE_SYS_UIO_H 1
  7860. | #define HAVE_SYSCALL_H 1
  7861. | #define HAVE_TIME_H 1
  7862. | #define HAVE_UCONTEXT_H 1
  7863. | #define HAVE_UTIME_H 1
  7864. | #define HAVE_GMP_H 1
  7865. | #define HAVE_LIBGMP 1
  7866. | #define HAVE_TYPEOF 1
  7867. | #define typeof __typeof__
  7868. | #define HAVE_LONG_LONG 1
  7869. | #define HAVE_OFF_T 1
  7870. | #define SIZEOF_INT 4
  7871. | #define SIZEOF_SHORT 2
  7872. | #define SIZEOF_LONG 8
  7873. | #define SIZEOF_LONG_LONG 8
  7874. | #define SIZEOF___INT64 0
  7875. | #define SIZEOF_OFF_T 8
  7876. | #define SIZEOF_VOIDP 8
  7877. | #define SIZEOF_FLOAT 4
  7878. | #define SIZEOF_DOUBLE 8
  7879. | #define SIZEOF_TIME_T 8
  7880. | #define SIZEOF_CLOCK_T 8
  7881. | #define PACKED_STRUCT(x) x __attribute__((packed))
  7882. | #define PACKED_STRUCT_UNALIGNED(x) x
  7883. | #define PRI_LL_PREFIX "ll"
  7884. | #define rb_pid_t pid_t
  7885. | #define SIGNEDNESS_OF_PID_T -1
  7886. | #define PIDT2NUM(v) INT2NUM(v)
  7887. | #define NUM2PIDT(v) NUM2INT(v)
  7888. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  7889. | #define rb_uid_t uid_t
  7890. | #define SIGNEDNESS_OF_UID_T +1
  7891. | #define UIDT2NUM(v) UINT2NUM(v)
  7892. | #define NUM2UIDT(v) NUM2UINT(v)
  7893. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  7894. | #define rb_gid_t gid_t
  7895. | #define SIGNEDNESS_OF_GID_T +1
  7896. | #define GIDT2NUM(v) UINT2NUM(v)
  7897. | #define NUM2GIDT(v) NUM2UINT(v)
  7898. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  7899. | #define rb_time_t time_t
  7900. | #define SIGNEDNESS_OF_TIME_T -1
  7901. | #define TIMET2NUM(v) LONG2NUM(v)
  7902. | #define NUM2TIMET(v) NUM2LONG(v)
  7903. | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
  7904. | #define rb_dev_t dev_t
  7905. | #define SIGNEDNESS_OF_DEV_T +1
  7906. | #define DEVT2NUM(v) ULONG2NUM(v)
  7907. | #define NUM2DEVT(v) NUM2ULONG(v)
  7908. | #define PRI_DEVT_PREFIX PRI_LONG_PREFIX
  7909. | #define rb_mode_t mode_t
  7910. | #define SIGNEDNESS_OF_MODE_T +1
  7911. | #define MODET2NUM(v) UINT2NUM(v)
  7912. | #define NUM2MODET(v) NUM2UINT(v)
  7913. | #define PRI_MODET_PREFIX PRI_INT_PREFIX
  7914. | #define rb_rlim_t rlim_t
  7915. | #define SIGNEDNESS_OF_RLIM_T +1
  7916. | #define RLIM2NUM(v) ULONG2NUM(v)
  7917. | #define NUM2RLIM(v) NUM2ULONG(v)
  7918. | #define PRI_RLIM_PREFIX PRI_LONG_PREFIX
  7919. | #define rb_off_t off_t
  7920. | #define SIGNEDNESS_OF_OFF_T -1
  7921. | #define OFFT2NUM(v) LONG2NUM(v)
  7922. | #define NUM2OFFT(v) NUM2LONG(v)
  7923. | #define PRI_OFFT_PREFIX PRI_LONG_PREFIX
  7924. | #define rb_clockid_t clockid_t
  7925. | #define SIGNEDNESS_OF_CLOCKID_T -1
  7926. | #define CLOCKID2NUM(v) INT2NUM(v)
  7927. | #define NUM2CLOCKID(v) NUM2INT(v)
  7928. | #define PRI_CLOCKID_PREFIX PRI_INT_PREFIX
  7929. | #define HAVE_PROTOTYPES 1
  7930. | #define TOKEN_PASTE(x,y) x##y
  7931. | #define STRINGIZE(expr) STRINGIZE0(expr)
  7932. | #define HAVE_STDARG_PROTOTYPES 1
  7933. | #define HAVE_VA_ARGS_MACRO 1
  7934. | #define NORETURN(x) __attribute__ ((noreturn)) x
  7935. | #define DEPRECATED(x) __attribute__ ((deprecated)) x
  7936. | #define DEPRECATED_BY(n,x) __attribute__ ((deprecated("by "#n))) x
  7937. | #define DEPRECATED_TYPE(mesg,x) __attribute__ ((deprecated mesg)) x
  7938. | #define NOINLINE(x) __attribute__ ((noinline)) x
  7939. | #define WEAK(x) __attribute__ ((weak)) x
  7940. | #define HAVE_FUNC_WEAK 1
  7941. | /* end confdefs.h. */
  7942. |
  7943. | #define FUNC_STDCALL(x) __attribute__ ((stdcall)) x
  7944. |
  7945. |
  7946. |
  7947. | #define x void conftest_attribute_check(void)
  7948. |
  7949. | FUNC_STDCALL(x);
  7950. | int
  7951. | main ()
  7952. | {
  7953. |
  7954. | ;
  7955. | return 0;
  7956. | }
  7957. configure:14480: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat conftest.c >&5
  7958. conftest.c:145:5: warning: 'stdcall' attribute ignored [-Wattributes]
  7959. FUNC_STDCALL(x);
  7960. ^~~~~~~~~~~~
  7961. configure:14480: $? = 0
  7962. configure: failed program was:
  7963. | /* confdefs.h */
  7964. | #define PACKAGE_NAME ""
  7965. | #define PACKAGE_TARNAME ""
  7966. | #define PACKAGE_VERSION ""
  7967. | #define PACKAGE_STRING ""
  7968. | #define PACKAGE_BUGREPORT ""
  7969. | #define PACKAGE_URL ""
  7970. | #define CANONICALIZATION_FOR_MATHN 1
  7971. | #define STDC_HEADERS 1
  7972. | #define HAVE_SYS_TYPES_H 1
  7973. | #define HAVE_SYS_STAT_H 1
  7974. | #define HAVE_STDLIB_H 1
  7975. | #define HAVE_STRING_H 1
  7976. | #define HAVE_MEMORY_H 1
  7977. | #define HAVE_STRINGS_H 1
  7978. | #define HAVE_INTTYPES_H 1
  7979. | #define HAVE_STDINT_H 1
  7980. | #define HAVE_UNISTD_H 1
  7981. | #define __EXTENSIONS__ 1
  7982. | #define _ALL_SOURCE 1
  7983. | #define _GNU_SOURCE 1
  7984. | #define _POSIX_PTHREAD_SEMANTICS 1
  7985. | #define _TANDEM_SOURCE 1
  7986. | #define HAVE_INFINITY 1
  7987. | #define HAVE_NAN 1
  7988. | #define RUBY_SYMBOL_EXPORT_BEGIN _Pragma("GCC visibility push(default)")
  7989. | #define RUBY_SYMBOL_EXPORT_END _Pragma("GCC visibility pop")
  7990. | #define HAVE_LIBCRYPT 1
  7991. | #define HAVE_LIBDL 1
  7992. | #define HAVE_DIRENT_H 1
  7993. | #define HAVE__BOOL 1
  7994. | #define HAVE_STDBOOL_H 1
  7995. | #define HAVE_SYS_WAIT_H 1
  7996. | #define HAVE_A_OUT_H 1
  7997. | #define HAVE_GRP_H 1
  7998. | #define HAVE_FCNTL_H 1
  7999. | #define HAVE_FLOAT_H 1
  8000. | #define HAVE_LANGINFO_H 1
  8001. | #define HAVE_LIMITS_H 1
  8002. | #define HAVE_LOCALE_H 1
  8003. | #define HAVE_MALLOC_H 1
  8004. | #define HAVE_PWD_H 1
  8005. | #define HAVE_SYS_FCNTL_H 1
  8006. | #define HAVE_SYS_FILE_H 1
  8007. | #define HAVE_SYS_IOCTL_H 1
  8008. | #define HAVE_SYS_PARAM_H 1
  8009. | #define HAVE_SYS_PRCTL_H 1
  8010. | #define HAVE_SYS_RESOURCE_H 1
  8011. | #define HAVE_SYS_SELECT_H 1
  8012. | #define HAVE_SYS_SENDFILE_H 1
  8013. | #define HAVE_SYS_SOCKET_H 1
  8014. | #define HAVE_SYS_SYSCALL_H 1
  8015. | #define HAVE_SYS_TIME_H 1
  8016. | #define HAVE_SYS_TIMES_H 1
  8017. | #define HAVE_SYS_UIO_H 1
  8018. | #define HAVE_SYSCALL_H 1
  8019. | #define HAVE_TIME_H 1
  8020. | #define HAVE_UCONTEXT_H 1
  8021. | #define HAVE_UTIME_H 1
  8022. | #define HAVE_GMP_H 1
  8023. | #define HAVE_LIBGMP 1
  8024. | #define HAVE_TYPEOF 1
  8025. | #define typeof __typeof__
  8026. | #define HAVE_LONG_LONG 1
  8027. | #define HAVE_OFF_T 1
  8028. | #define SIZEOF_INT 4
  8029. | #define SIZEOF_SHORT 2
  8030. | #define SIZEOF_LONG 8
  8031. | #define SIZEOF_LONG_LONG 8
  8032. | #define SIZEOF___INT64 0
  8033. | #define SIZEOF_OFF_T 8
  8034. | #define SIZEOF_VOIDP 8
  8035. | #define SIZEOF_FLOAT 4
  8036. | #define SIZEOF_DOUBLE 8
  8037. | #define SIZEOF_TIME_T 8
  8038. | #define SIZEOF_CLOCK_T 8
  8039. | #define PACKED_STRUCT(x) x __attribute__((packed))
  8040. | #define PACKED_STRUCT_UNALIGNED(x) x
  8041. | #define PRI_LL_PREFIX "ll"
  8042. | #define rb_pid_t pid_t
  8043. | #define SIGNEDNESS_OF_PID_T -1
  8044. | #define PIDT2NUM(v) INT2NUM(v)
  8045. | #define NUM2PIDT(v) NUM2INT(v)
  8046. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  8047. | #define rb_uid_t uid_t
  8048. | #define SIGNEDNESS_OF_UID_T +1
  8049. | #define UIDT2NUM(v) UINT2NUM(v)
  8050. | #define NUM2UIDT(v) NUM2UINT(v)
  8051. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  8052. | #define rb_gid_t gid_t
  8053. | #define SIGNEDNESS_OF_GID_T +1
  8054. | #define GIDT2NUM(v) UINT2NUM(v)
  8055. | #define NUM2GIDT(v) NUM2UINT(v)
  8056. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  8057. | #define rb_time_t time_t
  8058. | #define SIGNEDNESS_OF_TIME_T -1
  8059. | #define TIMET2NUM(v) LONG2NUM(v)
  8060. | #define NUM2TIMET(v) NUM2LONG(v)
  8061. | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
  8062. | #define rb_dev_t dev_t
  8063. | #define SIGNEDNESS_OF_DEV_T +1
  8064. | #define DEVT2NUM(v) ULONG2NUM(v)
  8065. | #define NUM2DEVT(v) NUM2ULONG(v)
  8066. | #define PRI_DEVT_PREFIX PRI_LONG_PREFIX
  8067. | #define rb_mode_t mode_t
  8068. | #define SIGNEDNESS_OF_MODE_T +1
  8069. | #define MODET2NUM(v) UINT2NUM(v)
  8070. | #define NUM2MODET(v) NUM2UINT(v)
  8071. | #define PRI_MODET_PREFIX PRI_INT_PREFIX
  8072. | #define rb_rlim_t rlim_t
  8073. | #define SIGNEDNESS_OF_RLIM_T +1
  8074. | #define RLIM2NUM(v) ULONG2NUM(v)
  8075. | #define NUM2RLIM(v) NUM2ULONG(v)
  8076. | #define PRI_RLIM_PREFIX PRI_LONG_PREFIX
  8077. | #define rb_off_t off_t
  8078. | #define SIGNEDNESS_OF_OFF_T -1
  8079. | #define OFFT2NUM(v) LONG2NUM(v)
  8080. | #define NUM2OFFT(v) NUM2LONG(v)
  8081. | #define PRI_OFFT_PREFIX PRI_LONG_PREFIX
  8082. | #define rb_clockid_t clockid_t
  8083. | #define SIGNEDNESS_OF_CLOCKID_T -1
  8084. | #define CLOCKID2NUM(v) INT2NUM(v)
  8085. | #define NUM2CLOCKID(v) NUM2INT(v)
  8086. | #define PRI_CLOCKID_PREFIX PRI_INT_PREFIX
  8087. | #define HAVE_PROTOTYPES 1
  8088. | #define TOKEN_PASTE(x,y) x##y
  8089. | #define STRINGIZE(expr) STRINGIZE0(expr)
  8090. | #define HAVE_STDARG_PROTOTYPES 1
  8091. | #define HAVE_VA_ARGS_MACRO 1
  8092. | #define NORETURN(x) __attribute__ ((noreturn)) x
  8093. | #define DEPRECATED(x) __attribute__ ((deprecated)) x
  8094. | #define DEPRECATED_BY(n,x) __attribute__ ((deprecated("by "#n))) x
  8095. | #define DEPRECATED_TYPE(mesg,x) __attribute__ ((deprecated mesg)) x
  8096. | #define NOINLINE(x) __attribute__ ((noinline)) x
  8097. | #define WEAK(x) __attribute__ ((weak)) x
  8098. | #define HAVE_FUNC_WEAK 1
  8099. | /* end confdefs.h. */
  8100. |
  8101. | #define FUNC_STDCALL(x) x __attribute__ ((stdcall))
  8102. |
  8103. |
  8104. |
  8105. | #define x void conftest_attribute_check(void)
  8106. |
  8107. | FUNC_STDCALL(x);
  8108. | int
  8109. | main ()
  8110. | {
  8111. |
  8112. | ;
  8113. | return 0;
  8114. | }
  8115. configure:14480: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat conftest.c >&5
  8116. conftest.c:139:25: warning: return type defaults to 'int' [-Wimplicit-int]
  8117. #define FUNC_STDCALL(x) __declspec(stdcall) x
  8118. ^
  8119. conftest.c:145:5: note: in expansion of macro 'FUNC_STDCALL'
  8120. FUNC_STDCALL(x);
  8121. ^~~~~~~~~~~~
  8122. conftest.c: In function '__declspec':
  8123. conftest.c:148:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
  8124. {
  8125. ^
  8126. conftest.c:139:25: warning: type of 'stdcall' defaults to 'int' [-Wimplicit-int]
  8127. #define FUNC_STDCALL(x) __declspec(stdcall) x
  8128. ^
  8129. conftest.c:145:5: note: in expansion of macro 'FUNC_STDCALL'
  8130. FUNC_STDCALL(x);
  8131. ^~~~~~~~~~~~
  8132. conftest.c:143:16: error: declaration for parameter 'conftest_attribute_check' but no such parameter
  8133. #define x void conftest_attribute_check(void)
  8134. ^
  8135. conftest.c:139:45: note: in definition of macro 'FUNC_STDCALL'
  8136. #define FUNC_STDCALL(x) __declspec(stdcall) x
  8137. ^
  8138. conftest.c:145:18: note: in expansion of macro 'x'
  8139. FUNC_STDCALL(x);
  8140. ^
  8141. conftest.c:152:1: error: expected '{' at end of input
  8142. }
  8143. ^
  8144. conftest.c:152:1: warning: control reaches end of non-void function [-Wreturn-type]
  8145. }
  8146. ^
  8147. configure:14480: $? = 1
  8148. configure: failed program was:
  8149. | /* confdefs.h */
  8150. | #define PACKAGE_NAME ""
  8151. | #define PACKAGE_TARNAME ""
  8152. | #define PACKAGE_VERSION ""
  8153. | #define PACKAGE_STRING ""
  8154. | #define PACKAGE_BUGREPORT ""
  8155. | #define PACKAGE_URL ""
  8156. | #define CANONICALIZATION_FOR_MATHN 1
  8157. | #define STDC_HEADERS 1
  8158. | #define HAVE_SYS_TYPES_H 1
  8159. | #define HAVE_SYS_STAT_H 1
  8160. | #define HAVE_STDLIB_H 1
  8161. | #define HAVE_STRING_H 1
  8162. | #define HAVE_MEMORY_H 1
  8163. | #define HAVE_STRINGS_H 1
  8164. | #define HAVE_INTTYPES_H 1
  8165. | #define HAVE_STDINT_H 1
  8166. | #define HAVE_UNISTD_H 1
  8167. | #define __EXTENSIONS__ 1
  8168. | #define _ALL_SOURCE 1
  8169. | #define _GNU_SOURCE 1
  8170. | #define _POSIX_PTHREAD_SEMANTICS 1
  8171. | #define _TANDEM_SOURCE 1
  8172. | #define HAVE_INFINITY 1
  8173. | #define HAVE_NAN 1
  8174. | #define RUBY_SYMBOL_EXPORT_BEGIN _Pragma("GCC visibility push(default)")
  8175. | #define RUBY_SYMBOL_EXPORT_END _Pragma("GCC visibility pop")
  8176. | #define HAVE_LIBCRYPT 1
  8177. | #define HAVE_LIBDL 1
  8178. | #define HAVE_DIRENT_H 1
  8179. | #define HAVE__BOOL 1
  8180. | #define HAVE_STDBOOL_H 1
  8181. | #define HAVE_SYS_WAIT_H 1
  8182. | #define HAVE_A_OUT_H 1
  8183. | #define HAVE_GRP_H 1
  8184. | #define HAVE_FCNTL_H 1
  8185. | #define HAVE_FLOAT_H 1
  8186. | #define HAVE_LANGINFO_H 1
  8187. | #define HAVE_LIMITS_H 1
  8188. | #define HAVE_LOCALE_H 1
  8189. | #define HAVE_MALLOC_H 1
  8190. | #define HAVE_PWD_H 1
  8191. | #define HAVE_SYS_FCNTL_H 1
  8192. | #define HAVE_SYS_FILE_H 1
  8193. | #define HAVE_SYS_IOCTL_H 1
  8194. | #define HAVE_SYS_PARAM_H 1
  8195. | #define HAVE_SYS_PRCTL_H 1
  8196. | #define HAVE_SYS_RESOURCE_H 1
  8197. | #define HAVE_SYS_SELECT_H 1
  8198. | #define HAVE_SYS_SENDFILE_H 1
  8199. | #define HAVE_SYS_SOCKET_H 1
  8200. | #define HAVE_SYS_SYSCALL_H 1
  8201. | #define HAVE_SYS_TIME_H 1
  8202. | #define HAVE_SYS_TIMES_H 1
  8203. | #define HAVE_SYS_UIO_H 1
  8204. | #define HAVE_SYSCALL_H 1
  8205. | #define HAVE_TIME_H 1
  8206. | #define HAVE_UCONTEXT_H 1
  8207. | #define HAVE_UTIME_H 1
  8208. | #define HAVE_GMP_H 1
  8209. | #define HAVE_LIBGMP 1
  8210. | #define HAVE_TYPEOF 1
  8211. | #define typeof __typeof__
  8212. | #define HAVE_LONG_LONG 1
  8213. | #define HAVE_OFF_T 1
  8214. | #define SIZEOF_INT 4
  8215. | #define SIZEOF_SHORT 2
  8216. | #define SIZEOF_LONG 8
  8217. | #define SIZEOF_LONG_LONG 8
  8218. | #define SIZEOF___INT64 0
  8219. | #define SIZEOF_OFF_T 8
  8220. | #define SIZEOF_VOIDP 8
  8221. | #define SIZEOF_FLOAT 4
  8222. | #define SIZEOF_DOUBLE 8
  8223. | #define SIZEOF_TIME_T 8
  8224. | #define SIZEOF_CLOCK_T 8
  8225. | #define PACKED_STRUCT(x) x __attribute__((packed))
  8226. | #define PACKED_STRUCT_UNALIGNED(x) x
  8227. | #define PRI_LL_PREFIX "ll"
  8228. | #define rb_pid_t pid_t
  8229. | #define SIGNEDNESS_OF_PID_T -1
  8230. | #define PIDT2NUM(v) INT2NUM(v)
  8231. | #define NUM2PIDT(v) NUM2INT(v)
  8232. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  8233. | #define rb_uid_t uid_t
  8234. | #define SIGNEDNESS_OF_UID_T +1
  8235. | #define UIDT2NUM(v) UINT2NUM(v)
  8236. | #define NUM2UIDT(v) NUM2UINT(v)
  8237. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  8238. | #define rb_gid_t gid_t
  8239. | #define SIGNEDNESS_OF_GID_T +1
  8240. | #define GIDT2NUM(v) UINT2NUM(v)
  8241. | #define NUM2GIDT(v) NUM2UINT(v)
  8242. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  8243. | #define rb_time_t time_t
  8244. | #define SIGNEDNESS_OF_TIME_T -1
  8245. | #define TIMET2NUM(v) LONG2NUM(v)
  8246. | #define NUM2TIMET(v) NUM2LONG(v)
  8247. | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
  8248. | #define rb_dev_t dev_t
  8249. | #define SIGNEDNESS_OF_DEV_T +1
  8250. | #define DEVT2NUM(v) ULONG2NUM(v)
  8251. | #define NUM2DEVT(v) NUM2ULONG(v)
  8252. | #define PRI_DEVT_PREFIX PRI_LONG_PREFIX
  8253. | #define rb_mode_t mode_t
  8254. | #define SIGNEDNESS_OF_MODE_T +1
  8255. | #define MODET2NUM(v) UINT2NUM(v)
  8256. | #define NUM2MODET(v) NUM2UINT(v)
  8257. | #define PRI_MODET_PREFIX PRI_INT_PREFIX
  8258. | #define rb_rlim_t rlim_t
  8259. | #define SIGNEDNESS_OF_RLIM_T +1
  8260. | #define RLIM2NUM(v) ULONG2NUM(v)
  8261. | #define NUM2RLIM(v) NUM2ULONG(v)
  8262. | #define PRI_RLIM_PREFIX PRI_LONG_PREFIX
  8263. | #define rb_off_t off_t
  8264. | #define SIGNEDNESS_OF_OFF_T -1
  8265. | #define OFFT2NUM(v) LONG2NUM(v)
  8266. | #define NUM2OFFT(v) NUM2LONG(v)
  8267. | #define PRI_OFFT_PREFIX PRI_LONG_PREFIX
  8268. | #define rb_clockid_t clockid_t
  8269. | #define SIGNEDNESS_OF_CLOCKID_T -1
  8270. | #define CLOCKID2NUM(v) INT2NUM(v)
  8271. | #define NUM2CLOCKID(v) NUM2INT(v)
  8272. | #define PRI_CLOCKID_PREFIX PRI_INT_PREFIX
  8273. | #define HAVE_PROTOTYPES 1
  8274. | #define TOKEN_PASTE(x,y) x##y
  8275. | #define STRINGIZE(expr) STRINGIZE0(expr)
  8276. | #define HAVE_STDARG_PROTOTYPES 1
  8277. | #define HAVE_VA_ARGS_MACRO 1
  8278. | #define NORETURN(x) __attribute__ ((noreturn)) x
  8279. | #define DEPRECATED(x) __attribute__ ((deprecated)) x
  8280. | #define DEPRECATED_BY(n,x) __attribute__ ((deprecated("by "#n))) x
  8281. | #define DEPRECATED_TYPE(mesg,x) __attribute__ ((deprecated mesg)) x
  8282. | #define NOINLINE(x) __attribute__ ((noinline)) x
  8283. | #define WEAK(x) __attribute__ ((weak)) x
  8284. | #define HAVE_FUNC_WEAK 1
  8285. | /* end confdefs.h. */
  8286. |
  8287. | #define FUNC_STDCALL(x) __declspec(stdcall) x
  8288. |
  8289. |
  8290. |
  8291. | #define x void conftest_attribute_check(void)
  8292. |
  8293. | FUNC_STDCALL(x);
  8294. | int
  8295. | main ()
  8296. | {
  8297. |
  8298. | ;
  8299. | return 0;
  8300. | }
  8301. configure:14480: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat conftest.c >&5
  8302. configure:14480: $? = 0
  8303. configure:14494: result: x
  8304. configure:14511: checking for cdecl function attribute
  8305. configure:14550: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat conftest.c >&5
  8306. conftest.c:145:5: warning: 'cdecl' attribute ignored [-Wattributes]
  8307. FUNC_CDECL(x);
  8308. ^~~~~~~~~~
  8309. configure:14550: $? = 0
  8310. configure: failed program was:
  8311. | /* confdefs.h */
  8312. | #define PACKAGE_NAME ""
  8313. | #define PACKAGE_TARNAME ""
  8314. | #define PACKAGE_VERSION ""
  8315. | #define PACKAGE_STRING ""
  8316. | #define PACKAGE_BUGREPORT ""
  8317. | #define PACKAGE_URL ""
  8318. | #define CANONICALIZATION_FOR_MATHN 1
  8319. | #define STDC_HEADERS 1
  8320. | #define HAVE_SYS_TYPES_H 1
  8321. | #define HAVE_SYS_STAT_H 1
  8322. | #define HAVE_STDLIB_H 1
  8323. | #define HAVE_STRING_H 1
  8324. | #define HAVE_MEMORY_H 1
  8325. | #define HAVE_STRINGS_H 1
  8326. | #define HAVE_INTTYPES_H 1
  8327. | #define HAVE_STDINT_H 1
  8328. | #define HAVE_UNISTD_H 1
  8329. | #define __EXTENSIONS__ 1
  8330. | #define _ALL_SOURCE 1
  8331. | #define _GNU_SOURCE 1
  8332. | #define _POSIX_PTHREAD_SEMANTICS 1
  8333. | #define _TANDEM_SOURCE 1
  8334. | #define HAVE_INFINITY 1
  8335. | #define HAVE_NAN 1
  8336. | #define RUBY_SYMBOL_EXPORT_BEGIN _Pragma("GCC visibility push(default)")
  8337. | #define RUBY_SYMBOL_EXPORT_END _Pragma("GCC visibility pop")
  8338. | #define HAVE_LIBCRYPT 1
  8339. | #define HAVE_LIBDL 1
  8340. | #define HAVE_DIRENT_H 1
  8341. | #define HAVE__BOOL 1
  8342. | #define HAVE_STDBOOL_H 1
  8343. | #define HAVE_SYS_WAIT_H 1
  8344. | #define HAVE_A_OUT_H 1
  8345. | #define HAVE_GRP_H 1
  8346. | #define HAVE_FCNTL_H 1
  8347. | #define HAVE_FLOAT_H 1
  8348. | #define HAVE_LANGINFO_H 1
  8349. | #define HAVE_LIMITS_H 1
  8350. | #define HAVE_LOCALE_H 1
  8351. | #define HAVE_MALLOC_H 1
  8352. | #define HAVE_PWD_H 1
  8353. | #define HAVE_SYS_FCNTL_H 1
  8354. | #define HAVE_SYS_FILE_H 1
  8355. | #define HAVE_SYS_IOCTL_H 1
  8356. | #define HAVE_SYS_PARAM_H 1
  8357. | #define HAVE_SYS_PRCTL_H 1
  8358. | #define HAVE_SYS_RESOURCE_H 1
  8359. | #define HAVE_SYS_SELECT_H 1
  8360. | #define HAVE_SYS_SENDFILE_H 1
  8361. | #define HAVE_SYS_SOCKET_H 1
  8362. | #define HAVE_SYS_SYSCALL_H 1
  8363. | #define HAVE_SYS_TIME_H 1
  8364. | #define HAVE_SYS_TIMES_H 1
  8365. | #define HAVE_SYS_UIO_H 1
  8366. | #define HAVE_SYSCALL_H 1
  8367. | #define HAVE_TIME_H 1
  8368. | #define HAVE_UCONTEXT_H 1
  8369. | #define HAVE_UTIME_H 1
  8370. | #define HAVE_GMP_H 1
  8371. | #define HAVE_LIBGMP 1
  8372. | #define HAVE_TYPEOF 1
  8373. | #define typeof __typeof__
  8374. | #define HAVE_LONG_LONG 1
  8375. | #define HAVE_OFF_T 1
  8376. | #define SIZEOF_INT 4
  8377. | #define SIZEOF_SHORT 2
  8378. | #define SIZEOF_LONG 8
  8379. | #define SIZEOF_LONG_LONG 8
  8380. | #define SIZEOF___INT64 0
  8381. | #define SIZEOF_OFF_T 8
  8382. | #define SIZEOF_VOIDP 8
  8383. | #define SIZEOF_FLOAT 4
  8384. | #define SIZEOF_DOUBLE 8
  8385. | #define SIZEOF_TIME_T 8
  8386. | #define SIZEOF_CLOCK_T 8
  8387. | #define PACKED_STRUCT(x) x __attribute__((packed))
  8388. | #define PACKED_STRUCT_UNALIGNED(x) x
  8389. | #define PRI_LL_PREFIX "ll"
  8390. | #define rb_pid_t pid_t
  8391. | #define SIGNEDNESS_OF_PID_T -1
  8392. | #define PIDT2NUM(v) INT2NUM(v)
  8393. | #define NUM2PIDT(v) NUM2INT(v)
  8394. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  8395. | #define rb_uid_t uid_t
  8396. | #define SIGNEDNESS_OF_UID_T +1
  8397. | #define UIDT2NUM(v) UINT2NUM(v)
  8398. | #define NUM2UIDT(v) NUM2UINT(v)
  8399. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  8400. | #define rb_gid_t gid_t
  8401. | #define SIGNEDNESS_OF_GID_T +1
  8402. | #define GIDT2NUM(v) UINT2NUM(v)
  8403. | #define NUM2GIDT(v) NUM2UINT(v)
  8404. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  8405. | #define rb_time_t time_t
  8406. | #define SIGNEDNESS_OF_TIME_T -1
  8407. | #define TIMET2NUM(v) LONG2NUM(v)
  8408. | #define NUM2TIMET(v) NUM2LONG(v)
  8409. | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
  8410. | #define rb_dev_t dev_t
  8411. | #define SIGNEDNESS_OF_DEV_T +1
  8412. | #define DEVT2NUM(v) ULONG2NUM(v)
  8413. | #define NUM2DEVT(v) NUM2ULONG(v)
  8414. | #define PRI_DEVT_PREFIX PRI_LONG_PREFIX
  8415. | #define rb_mode_t mode_t
  8416. | #define SIGNEDNESS_OF_MODE_T +1
  8417. | #define MODET2NUM(v) UINT2NUM(v)
  8418. | #define NUM2MODET(v) NUM2UINT(v)
  8419. | #define PRI_MODET_PREFIX PRI_INT_PREFIX
  8420. | #define rb_rlim_t rlim_t
  8421. | #define SIGNEDNESS_OF_RLIM_T +1
  8422. | #define RLIM2NUM(v) ULONG2NUM(v)
  8423. | #define NUM2RLIM(v) NUM2ULONG(v)
  8424. | #define PRI_RLIM_PREFIX PRI_LONG_PREFIX
  8425. | #define rb_off_t off_t
  8426. | #define SIGNEDNESS_OF_OFF_T -1
  8427. | #define OFFT2NUM(v) LONG2NUM(v)
  8428. | #define NUM2OFFT(v) NUM2LONG(v)
  8429. | #define PRI_OFFT_PREFIX PRI_LONG_PREFIX
  8430. | #define rb_clockid_t clockid_t
  8431. | #define SIGNEDNESS_OF_CLOCKID_T -1
  8432. | #define CLOCKID2NUM(v) INT2NUM(v)
  8433. | #define NUM2CLOCKID(v) NUM2INT(v)
  8434. | #define PRI_CLOCKID_PREFIX PRI_INT_PREFIX
  8435. | #define HAVE_PROTOTYPES 1
  8436. | #define TOKEN_PASTE(x,y) x##y
  8437. | #define STRINGIZE(expr) STRINGIZE0(expr)
  8438. | #define HAVE_STDARG_PROTOTYPES 1
  8439. | #define HAVE_VA_ARGS_MACRO 1
  8440. | #define NORETURN(x) __attribute__ ((noreturn)) x
  8441. | #define DEPRECATED(x) __attribute__ ((deprecated)) x
  8442. | #define DEPRECATED_BY(n,x) __attribute__ ((deprecated("by "#n))) x
  8443. | #define DEPRECATED_TYPE(mesg,x) __attribute__ ((deprecated mesg)) x
  8444. | #define NOINLINE(x) __attribute__ ((noinline)) x
  8445. | #define WEAK(x) __attribute__ ((weak)) x
  8446. | #define HAVE_FUNC_WEAK 1
  8447. | /* end confdefs.h. */
  8448. |
  8449. | #define FUNC_CDECL(x) __attribute__ ((cdecl)) x
  8450. |
  8451. |
  8452. |
  8453. | #define x void conftest_attribute_check(void)
  8454. |
  8455. | FUNC_CDECL(x);
  8456. | int
  8457. | main ()
  8458. | {
  8459. |
  8460. | ;
  8461. | return 0;
  8462. | }
  8463. configure:14550: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat conftest.c >&5
  8464. conftest.c:145:5: warning: 'cdecl' attribute ignored [-Wattributes]
  8465. FUNC_CDECL(x);
  8466. ^~~~~~~~~~
  8467. configure:14550: $? = 0
  8468. configure: failed program was:
  8469. | /* confdefs.h */
  8470. | #define PACKAGE_NAME ""
  8471. | #define PACKAGE_TARNAME ""
  8472. | #define PACKAGE_VERSION ""
  8473. | #define PACKAGE_STRING ""
  8474. | #define PACKAGE_BUGREPORT ""
  8475. | #define PACKAGE_URL ""
  8476. | #define CANONICALIZATION_FOR_MATHN 1
  8477. | #define STDC_HEADERS 1
  8478. | #define HAVE_SYS_TYPES_H 1
  8479. | #define HAVE_SYS_STAT_H 1
  8480. | #define HAVE_STDLIB_H 1
  8481. | #define HAVE_STRING_H 1
  8482. | #define HAVE_MEMORY_H 1
  8483. | #define HAVE_STRINGS_H 1
  8484. | #define HAVE_INTTYPES_H 1
  8485. | #define HAVE_STDINT_H 1
  8486. | #define HAVE_UNISTD_H 1
  8487. | #define __EXTENSIONS__ 1
  8488. | #define _ALL_SOURCE 1
  8489. | #define _GNU_SOURCE 1
  8490. | #define _POSIX_PTHREAD_SEMANTICS 1
  8491. | #define _TANDEM_SOURCE 1
  8492. | #define HAVE_INFINITY 1
  8493. | #define HAVE_NAN 1
  8494. | #define RUBY_SYMBOL_EXPORT_BEGIN _Pragma("GCC visibility push(default)")
  8495. | #define RUBY_SYMBOL_EXPORT_END _Pragma("GCC visibility pop")
  8496. | #define HAVE_LIBCRYPT 1
  8497. | #define HAVE_LIBDL 1
  8498. | #define HAVE_DIRENT_H 1
  8499. | #define HAVE__BOOL 1
  8500. | #define HAVE_STDBOOL_H 1
  8501. | #define HAVE_SYS_WAIT_H 1
  8502. | #define HAVE_A_OUT_H 1
  8503. | #define HAVE_GRP_H 1
  8504. | #define HAVE_FCNTL_H 1
  8505. | #define HAVE_FLOAT_H 1
  8506. | #define HAVE_LANGINFO_H 1
  8507. | #define HAVE_LIMITS_H 1
  8508. | #define HAVE_LOCALE_H 1
  8509. | #define HAVE_MALLOC_H 1
  8510. | #define HAVE_PWD_H 1
  8511. | #define HAVE_SYS_FCNTL_H 1
  8512. | #define HAVE_SYS_FILE_H 1
  8513. | #define HAVE_SYS_IOCTL_H 1
  8514. | #define HAVE_SYS_PARAM_H 1
  8515. | #define HAVE_SYS_PRCTL_H 1
  8516. | #define HAVE_SYS_RESOURCE_H 1
  8517. | #define HAVE_SYS_SELECT_H 1
  8518. | #define HAVE_SYS_SENDFILE_H 1
  8519. | #define HAVE_SYS_SOCKET_H 1
  8520. | #define HAVE_SYS_SYSCALL_H 1
  8521. | #define HAVE_SYS_TIME_H 1
  8522. | #define HAVE_SYS_TIMES_H 1
  8523. | #define HAVE_SYS_UIO_H 1
  8524. | #define HAVE_SYSCALL_H 1
  8525. | #define HAVE_TIME_H 1
  8526. | #define HAVE_UCONTEXT_H 1
  8527. | #define HAVE_UTIME_H 1
  8528. | #define HAVE_GMP_H 1
  8529. | #define HAVE_LIBGMP 1
  8530. | #define HAVE_TYPEOF 1
  8531. | #define typeof __typeof__
  8532. | #define HAVE_LONG_LONG 1
  8533. | #define HAVE_OFF_T 1
  8534. | #define SIZEOF_INT 4
  8535. | #define SIZEOF_SHORT 2
  8536. | #define SIZEOF_LONG 8
  8537. | #define SIZEOF_LONG_LONG 8
  8538. | #define SIZEOF___INT64 0
  8539. | #define SIZEOF_OFF_T 8
  8540. | #define SIZEOF_VOIDP 8
  8541. | #define SIZEOF_FLOAT 4
  8542. | #define SIZEOF_DOUBLE 8
  8543. | #define SIZEOF_TIME_T 8
  8544. | #define SIZEOF_CLOCK_T 8
  8545. | #define PACKED_STRUCT(x) x __attribute__((packed))
  8546. | #define PACKED_STRUCT_UNALIGNED(x) x
  8547. | #define PRI_LL_PREFIX "ll"
  8548. | #define rb_pid_t pid_t
  8549. | #define SIGNEDNESS_OF_PID_T -1
  8550. | #define PIDT2NUM(v) INT2NUM(v)
  8551. | #define NUM2PIDT(v) NUM2INT(v)
  8552. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  8553. | #define rb_uid_t uid_t
  8554. | #define SIGNEDNESS_OF_UID_T +1
  8555. | #define UIDT2NUM(v) UINT2NUM(v)
  8556. | #define NUM2UIDT(v) NUM2UINT(v)
  8557. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  8558. | #define rb_gid_t gid_t
  8559. | #define SIGNEDNESS_OF_GID_T +1
  8560. | #define GIDT2NUM(v) UINT2NUM(v)
  8561. | #define NUM2GIDT(v) NUM2UINT(v)
  8562. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  8563. | #define rb_time_t time_t
  8564. | #define SIGNEDNESS_OF_TIME_T -1
  8565. | #define TIMET2NUM(v) LONG2NUM(v)
  8566. | #define NUM2TIMET(v) NUM2LONG(v)
  8567. | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
  8568. | #define rb_dev_t dev_t
  8569. | #define SIGNEDNESS_OF_DEV_T +1
  8570. | #define DEVT2NUM(v) ULONG2NUM(v)
  8571. | #define NUM2DEVT(v) NUM2ULONG(v)
  8572. | #define PRI_DEVT_PREFIX PRI_LONG_PREFIX
  8573. | #define rb_mode_t mode_t
  8574. | #define SIGNEDNESS_OF_MODE_T +1
  8575. | #define MODET2NUM(v) UINT2NUM(v)
  8576. | #define NUM2MODET(v) NUM2UINT(v)
  8577. | #define PRI_MODET_PREFIX PRI_INT_PREFIX
  8578. | #define rb_rlim_t rlim_t
  8579. | #define SIGNEDNESS_OF_RLIM_T +1
  8580. | #define RLIM2NUM(v) ULONG2NUM(v)
  8581. | #define NUM2RLIM(v) NUM2ULONG(v)
  8582. | #define PRI_RLIM_PREFIX PRI_LONG_PREFIX
  8583. | #define rb_off_t off_t
  8584. | #define SIGNEDNESS_OF_OFF_T -1
  8585. | #define OFFT2NUM(v) LONG2NUM(v)
  8586. | #define NUM2OFFT(v) NUM2LONG(v)
  8587. | #define PRI_OFFT_PREFIX PRI_LONG_PREFIX
  8588. | #define rb_clockid_t clockid_t
  8589. | #define SIGNEDNESS_OF_CLOCKID_T -1
  8590. | #define CLOCKID2NUM(v) INT2NUM(v)
  8591. | #define NUM2CLOCKID(v) NUM2INT(v)
  8592. | #define PRI_CLOCKID_PREFIX PRI_INT_PREFIX
  8593. | #define HAVE_PROTOTYPES 1
  8594. | #define TOKEN_PASTE(x,y) x##y
  8595. | #define STRINGIZE(expr) STRINGIZE0(expr)
  8596. | #define HAVE_STDARG_PROTOTYPES 1
  8597. | #define HAVE_VA_ARGS_MACRO 1
  8598. | #define NORETURN(x) __attribute__ ((noreturn)) x
  8599. | #define DEPRECATED(x) __attribute__ ((deprecated)) x
  8600. | #define DEPRECATED_BY(n,x) __attribute__ ((deprecated("by "#n))) x
  8601. | #define DEPRECATED_TYPE(mesg,x) __attribute__ ((deprecated mesg)) x
  8602. | #define NOINLINE(x) __attribute__ ((noinline)) x
  8603. | #define WEAK(x) __attribute__ ((weak)) x
  8604. | #define HAVE_FUNC_WEAK 1
  8605. | /* end confdefs.h. */
  8606. |
  8607. | #define FUNC_CDECL(x) x __attribute__ ((cdecl))
  8608. |
  8609. |
  8610. |
  8611. | #define x void conftest_attribute_check(void)
  8612. |
  8613. | FUNC_CDECL(x);
  8614. | int
  8615. | main ()
  8616. | {
  8617. |
  8618. | ;
  8619. | return 0;
  8620. | }
  8621. configure:14550: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat conftest.c >&5
  8622. conftest.c:139:23: warning: return type defaults to 'int' [-Wimplicit-int]
  8623. #define FUNC_CDECL(x) __declspec(cdecl) x
  8624. ^
  8625. conftest.c:145:5: note: in expansion of macro 'FUNC_CDECL'
  8626. FUNC_CDECL(x);
  8627. ^~~~~~~~~~
  8628. conftest.c: In function '__declspec':
  8629. conftest.c:148:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
  8630. {
  8631. ^
  8632. conftest.c:139:23: warning: type of 'cdecl' defaults to 'int' [-Wimplicit-int]
  8633. #define FUNC_CDECL(x) __declspec(cdecl) x
  8634. ^
  8635. conftest.c:145:5: note: in expansion of macro 'FUNC_CDECL'
  8636. FUNC_CDECL(x);
  8637. ^~~~~~~~~~
  8638. conftest.c:143:16: error: declaration for parameter 'conftest_attribute_check' but no such parameter
  8639. #define x void conftest_attribute_check(void)
  8640. ^
  8641. conftest.c:139:41: note: in definition of macro 'FUNC_CDECL'
  8642. #define FUNC_CDECL(x) __declspec(cdecl) x
  8643. ^
  8644. conftest.c:145:16: note: in expansion of macro 'x'
  8645. FUNC_CDECL(x);
  8646. ^
  8647. conftest.c:152:1: error: expected '{' at end of input
  8648. }
  8649. ^
  8650. conftest.c:152:1: warning: control reaches end of non-void function [-Wreturn-type]
  8651. }
  8652. ^
  8653. configure:14550: $? = 1
  8654. configure: failed program was:
  8655. | /* confdefs.h */
  8656. | #define PACKAGE_NAME ""
  8657. | #define PACKAGE_TARNAME ""
  8658. | #define PACKAGE_VERSION ""
  8659. | #define PACKAGE_STRING ""
  8660. | #define PACKAGE_BUGREPORT ""
  8661. | #define PACKAGE_URL ""
  8662. | #define CANONICALIZATION_FOR_MATHN 1
  8663. | #define STDC_HEADERS 1
  8664. | #define HAVE_SYS_TYPES_H 1
  8665. | #define HAVE_SYS_STAT_H 1
  8666. | #define HAVE_STDLIB_H 1
  8667. | #define HAVE_STRING_H 1
  8668. | #define HAVE_MEMORY_H 1
  8669. | #define HAVE_STRINGS_H 1
  8670. | #define HAVE_INTTYPES_H 1
  8671. | #define HAVE_STDINT_H 1
  8672. | #define HAVE_UNISTD_H 1
  8673. | #define __EXTENSIONS__ 1
  8674. | #define _ALL_SOURCE 1
  8675. | #define _GNU_SOURCE 1
  8676. | #define _POSIX_PTHREAD_SEMANTICS 1
  8677. | #define _TANDEM_SOURCE 1
  8678. | #define HAVE_INFINITY 1
  8679. | #define HAVE_NAN 1
  8680. | #define RUBY_SYMBOL_EXPORT_BEGIN _Pragma("GCC visibility push(default)")
  8681. | #define RUBY_SYMBOL_EXPORT_END _Pragma("GCC visibility pop")
  8682. | #define HAVE_LIBCRYPT 1
  8683. | #define HAVE_LIBDL 1
  8684. | #define HAVE_DIRENT_H 1
  8685. | #define HAVE__BOOL 1
  8686. | #define HAVE_STDBOOL_H 1
  8687. | #define HAVE_SYS_WAIT_H 1
  8688. | #define HAVE_A_OUT_H 1
  8689. | #define HAVE_GRP_H 1
  8690. | #define HAVE_FCNTL_H 1
  8691. | #define HAVE_FLOAT_H 1
  8692. | #define HAVE_LANGINFO_H 1
  8693. | #define HAVE_LIMITS_H 1
  8694. | #define HAVE_LOCALE_H 1
  8695. | #define HAVE_MALLOC_H 1
  8696. | #define HAVE_PWD_H 1
  8697. | #define HAVE_SYS_FCNTL_H 1
  8698. | #define HAVE_SYS_FILE_H 1
  8699. | #define HAVE_SYS_IOCTL_H 1
  8700. | #define HAVE_SYS_PARAM_H 1
  8701. | #define HAVE_SYS_PRCTL_H 1
  8702. | #define HAVE_SYS_RESOURCE_H 1
  8703. | #define HAVE_SYS_SELECT_H 1
  8704. | #define HAVE_SYS_SENDFILE_H 1
  8705. | #define HAVE_SYS_SOCKET_H 1
  8706. | #define HAVE_SYS_SYSCALL_H 1
  8707. | #define HAVE_SYS_TIME_H 1
  8708. | #define HAVE_SYS_TIMES_H 1
  8709. | #define HAVE_SYS_UIO_H 1
  8710. | #define HAVE_SYSCALL_H 1
  8711. | #define HAVE_TIME_H 1
  8712. | #define HAVE_UCONTEXT_H 1
  8713. | #define HAVE_UTIME_H 1
  8714. | #define HAVE_GMP_H 1
  8715. | #define HAVE_LIBGMP 1
  8716. | #define HAVE_TYPEOF 1
  8717. | #define typeof __typeof__
  8718. | #define HAVE_LONG_LONG 1
  8719. | #define HAVE_OFF_T 1
  8720. | #define SIZEOF_INT 4
  8721. | #define SIZEOF_SHORT 2
  8722. | #define SIZEOF_LONG 8
  8723. | #define SIZEOF_LONG_LONG 8
  8724. | #define SIZEOF___INT64 0
  8725. | #define SIZEOF_OFF_T 8
  8726. | #define SIZEOF_VOIDP 8
  8727. | #define SIZEOF_FLOAT 4
  8728. | #define SIZEOF_DOUBLE 8
  8729. | #define SIZEOF_TIME_T 8
  8730. | #define SIZEOF_CLOCK_T 8
  8731. | #define PACKED_STRUCT(x) x __attribute__((packed))
  8732. | #define PACKED_STRUCT_UNALIGNED(x) x
  8733. | #define PRI_LL_PREFIX "ll"
  8734. | #define rb_pid_t pid_t
  8735. | #define SIGNEDNESS_OF_PID_T -1
  8736. | #define PIDT2NUM(v) INT2NUM(v)
  8737. | #define NUM2PIDT(v) NUM2INT(v)
  8738. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  8739. | #define rb_uid_t uid_t
  8740. | #define SIGNEDNESS_OF_UID_T +1
  8741. | #define UIDT2NUM(v) UINT2NUM(v)
  8742. | #define NUM2UIDT(v) NUM2UINT(v)
  8743. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  8744. | #define rb_gid_t gid_t
  8745. | #define SIGNEDNESS_OF_GID_T +1
  8746. | #define GIDT2NUM(v) UINT2NUM(v)
  8747. | #define NUM2GIDT(v) NUM2UINT(v)
  8748. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  8749. | #define rb_time_t time_t
  8750. | #define SIGNEDNESS_OF_TIME_T -1
  8751. | #define TIMET2NUM(v) LONG2NUM(v)
  8752. | #define NUM2TIMET(v) NUM2LONG(v)
  8753. | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
  8754. | #define rb_dev_t dev_t
  8755. | #define SIGNEDNESS_OF_DEV_T +1
  8756. | #define DEVT2NUM(v) ULONG2NUM(v)
  8757. | #define NUM2DEVT(v) NUM2ULONG(v)
  8758. | #define PRI_DEVT_PREFIX PRI_LONG_PREFIX
  8759. | #define rb_mode_t mode_t
  8760. | #define SIGNEDNESS_OF_MODE_T +1
  8761. | #define MODET2NUM(v) UINT2NUM(v)
  8762. | #define NUM2MODET(v) NUM2UINT(v)
  8763. | #define PRI_MODET_PREFIX PRI_INT_PREFIX
  8764. | #define rb_rlim_t rlim_t
  8765. | #define SIGNEDNESS_OF_RLIM_T +1
  8766. | #define RLIM2NUM(v) ULONG2NUM(v)
  8767. | #define NUM2RLIM(v) NUM2ULONG(v)
  8768. | #define PRI_RLIM_PREFIX PRI_LONG_PREFIX
  8769. | #define rb_off_t off_t
  8770. | #define SIGNEDNESS_OF_OFF_T -1
  8771. | #define OFFT2NUM(v) LONG2NUM(v)
  8772. | #define NUM2OFFT(v) NUM2LONG(v)
  8773. | #define PRI_OFFT_PREFIX PRI_LONG_PREFIX
  8774. | #define rb_clockid_t clockid_t
  8775. | #define SIGNEDNESS_OF_CLOCKID_T -1
  8776. | #define CLOCKID2NUM(v) INT2NUM(v)
  8777. | #define NUM2CLOCKID(v) NUM2INT(v)
  8778. | #define PRI_CLOCKID_PREFIX PRI_INT_PREFIX
  8779. | #define HAVE_PROTOTYPES 1
  8780. | #define TOKEN_PASTE(x,y) x##y
  8781. | #define STRINGIZE(expr) STRINGIZE0(expr)
  8782. | #define HAVE_STDARG_PROTOTYPES 1
  8783. | #define HAVE_VA_ARGS_MACRO 1
  8784. | #define NORETURN(x) __attribute__ ((noreturn)) x
  8785. | #define DEPRECATED(x) __attribute__ ((deprecated)) x
  8786. | #define DEPRECATED_BY(n,x) __attribute__ ((deprecated("by "#n))) x
  8787. | #define DEPRECATED_TYPE(mesg,x) __attribute__ ((deprecated mesg)) x
  8788. | #define NOINLINE(x) __attribute__ ((noinline)) x
  8789. | #define WEAK(x) __attribute__ ((weak)) x
  8790. | #define HAVE_FUNC_WEAK 1
  8791. | /* end confdefs.h. */
  8792. |
  8793. | #define FUNC_CDECL(x) __declspec(cdecl) x
  8794. |
  8795. |
  8796. |
  8797. | #define x void conftest_attribute_check(void)
  8798. |
  8799. | FUNC_CDECL(x);
  8800. | int
  8801. | main ()
  8802. | {
  8803. |
  8804. | ;
  8805. | return 0;
  8806. | }
  8807. configure:14550: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat conftest.c >&5
  8808. configure:14550: $? = 0
  8809. configure:14564: result: x
  8810. configure:14581: checking for fastcall function attribute
  8811. configure:14620: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat conftest.c >&5
  8812. conftest.c:145:5: warning: 'fastcall' attribute ignored [-Wattributes]
  8813. FUNC_FASTCALL(x);
  8814. ^~~~~~~~~~~~~
  8815. configure:14620: $? = 0
  8816. configure: failed program was:
  8817. | /* confdefs.h */
  8818. | #define PACKAGE_NAME ""
  8819. | #define PACKAGE_TARNAME ""
  8820. | #define PACKAGE_VERSION ""
  8821. | #define PACKAGE_STRING ""
  8822. | #define PACKAGE_BUGREPORT ""
  8823. | #define PACKAGE_URL ""
  8824. | #define CANONICALIZATION_FOR_MATHN 1
  8825. | #define STDC_HEADERS 1
  8826. | #define HAVE_SYS_TYPES_H 1
  8827. | #define HAVE_SYS_STAT_H 1
  8828. | #define HAVE_STDLIB_H 1
  8829. | #define HAVE_STRING_H 1
  8830. | #define HAVE_MEMORY_H 1
  8831. | #define HAVE_STRINGS_H 1
  8832. | #define HAVE_INTTYPES_H 1
  8833. | #define HAVE_STDINT_H 1
  8834. | #define HAVE_UNISTD_H 1
  8835. | #define __EXTENSIONS__ 1
  8836. | #define _ALL_SOURCE 1
  8837. | #define _GNU_SOURCE 1
  8838. | #define _POSIX_PTHREAD_SEMANTICS 1
  8839. | #define _TANDEM_SOURCE 1
  8840. | #define HAVE_INFINITY 1
  8841. | #define HAVE_NAN 1
  8842. | #define RUBY_SYMBOL_EXPORT_BEGIN _Pragma("GCC visibility push(default)")
  8843. | #define RUBY_SYMBOL_EXPORT_END _Pragma("GCC visibility pop")
  8844. | #define HAVE_LIBCRYPT 1
  8845. | #define HAVE_LIBDL 1
  8846. | #define HAVE_DIRENT_H 1
  8847. | #define HAVE__BOOL 1
  8848. | #define HAVE_STDBOOL_H 1
  8849. | #define HAVE_SYS_WAIT_H 1
  8850. | #define HAVE_A_OUT_H 1
  8851. | #define HAVE_GRP_H 1
  8852. | #define HAVE_FCNTL_H 1
  8853. | #define HAVE_FLOAT_H 1
  8854. | #define HAVE_LANGINFO_H 1
  8855. | #define HAVE_LIMITS_H 1
  8856. | #define HAVE_LOCALE_H 1
  8857. | #define HAVE_MALLOC_H 1
  8858. | #define HAVE_PWD_H 1
  8859. | #define HAVE_SYS_FCNTL_H 1
  8860. | #define HAVE_SYS_FILE_H 1
  8861. | #define HAVE_SYS_IOCTL_H 1
  8862. | #define HAVE_SYS_PARAM_H 1
  8863. | #define HAVE_SYS_PRCTL_H 1
  8864. | #define HAVE_SYS_RESOURCE_H 1
  8865. | #define HAVE_SYS_SELECT_H 1
  8866. | #define HAVE_SYS_SENDFILE_H 1
  8867. | #define HAVE_SYS_SOCKET_H 1
  8868. | #define HAVE_SYS_SYSCALL_H 1
  8869. | #define HAVE_SYS_TIME_H 1
  8870. | #define HAVE_SYS_TIMES_H 1
  8871. | #define HAVE_SYS_UIO_H 1
  8872. | #define HAVE_SYSCALL_H 1
  8873. | #define HAVE_TIME_H 1
  8874. | #define HAVE_UCONTEXT_H 1
  8875. | #define HAVE_UTIME_H 1
  8876. | #define HAVE_GMP_H 1
  8877. | #define HAVE_LIBGMP 1
  8878. | #define HAVE_TYPEOF 1
  8879. | #define typeof __typeof__
  8880. | #define HAVE_LONG_LONG 1
  8881. | #define HAVE_OFF_T 1
  8882. | #define SIZEOF_INT 4
  8883. | #define SIZEOF_SHORT 2
  8884. | #define SIZEOF_LONG 8
  8885. | #define SIZEOF_LONG_LONG 8
  8886. | #define SIZEOF___INT64 0
  8887. | #define SIZEOF_OFF_T 8
  8888. | #define SIZEOF_VOIDP 8
  8889. | #define SIZEOF_FLOAT 4
  8890. | #define SIZEOF_DOUBLE 8
  8891. | #define SIZEOF_TIME_T 8
  8892. | #define SIZEOF_CLOCK_T 8
  8893. | #define PACKED_STRUCT(x) x __attribute__((packed))
  8894. | #define PACKED_STRUCT_UNALIGNED(x) x
  8895. | #define PRI_LL_PREFIX "ll"
  8896. | #define rb_pid_t pid_t
  8897. | #define SIGNEDNESS_OF_PID_T -1
  8898. | #define PIDT2NUM(v) INT2NUM(v)
  8899. | #define NUM2PIDT(v) NUM2INT(v)
  8900. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  8901. | #define rb_uid_t uid_t
  8902. | #define SIGNEDNESS_OF_UID_T +1
  8903. | #define UIDT2NUM(v) UINT2NUM(v)
  8904. | #define NUM2UIDT(v) NUM2UINT(v)
  8905. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  8906. | #define rb_gid_t gid_t
  8907. | #define SIGNEDNESS_OF_GID_T +1
  8908. | #define GIDT2NUM(v) UINT2NUM(v)
  8909. | #define NUM2GIDT(v) NUM2UINT(v)
  8910. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  8911. | #define rb_time_t time_t
  8912. | #define SIGNEDNESS_OF_TIME_T -1
  8913. | #define TIMET2NUM(v) LONG2NUM(v)
  8914. | #define NUM2TIMET(v) NUM2LONG(v)
  8915. | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
  8916. | #define rb_dev_t dev_t
  8917. | #define SIGNEDNESS_OF_DEV_T +1
  8918. | #define DEVT2NUM(v) ULONG2NUM(v)
  8919. | #define NUM2DEVT(v) NUM2ULONG(v)
  8920. | #define PRI_DEVT_PREFIX PRI_LONG_PREFIX
  8921. | #define rb_mode_t mode_t
  8922. | #define SIGNEDNESS_OF_MODE_T +1
  8923. | #define MODET2NUM(v) UINT2NUM(v)
  8924. | #define NUM2MODET(v) NUM2UINT(v)
  8925. | #define PRI_MODET_PREFIX PRI_INT_PREFIX
  8926. | #define rb_rlim_t rlim_t
  8927. | #define SIGNEDNESS_OF_RLIM_T +1
  8928. | #define RLIM2NUM(v) ULONG2NUM(v)
  8929. | #define NUM2RLIM(v) NUM2ULONG(v)
  8930. | #define PRI_RLIM_PREFIX PRI_LONG_PREFIX
  8931. | #define rb_off_t off_t
  8932. | #define SIGNEDNESS_OF_OFF_T -1
  8933. | #define OFFT2NUM(v) LONG2NUM(v)
  8934. | #define NUM2OFFT(v) NUM2LONG(v)
  8935. | #define PRI_OFFT_PREFIX PRI_LONG_PREFIX
  8936. | #define rb_clockid_t clockid_t
  8937. | #define SIGNEDNESS_OF_CLOCKID_T -1
  8938. | #define CLOCKID2NUM(v) INT2NUM(v)
  8939. | #define NUM2CLOCKID(v) NUM2INT(v)
  8940. | #define PRI_CLOCKID_PREFIX PRI_INT_PREFIX
  8941. | #define HAVE_PROTOTYPES 1
  8942. | #define TOKEN_PASTE(x,y) x##y
  8943. | #define STRINGIZE(expr) STRINGIZE0(expr)
  8944. | #define HAVE_STDARG_PROTOTYPES 1
  8945. | #define HAVE_VA_ARGS_MACRO 1
  8946. | #define NORETURN(x) __attribute__ ((noreturn)) x
  8947. | #define DEPRECATED(x) __attribute__ ((deprecated)) x
  8948. | #define DEPRECATED_BY(n,x) __attribute__ ((deprecated("by "#n))) x
  8949. | #define DEPRECATED_TYPE(mesg,x) __attribute__ ((deprecated mesg)) x
  8950. | #define NOINLINE(x) __attribute__ ((noinline)) x
  8951. | #define WEAK(x) __attribute__ ((weak)) x
  8952. | #define HAVE_FUNC_WEAK 1
  8953. | /* end confdefs.h. */
  8954. |
  8955. | #define FUNC_FASTCALL(x) __attribute__ ((fastcall)) x
  8956. |
  8957. |
  8958. |
  8959. | #define x void conftest_attribute_check(void)
  8960. |
  8961. | FUNC_FASTCALL(x);
  8962. | int
  8963. | main ()
  8964. | {
  8965. |
  8966. | ;
  8967. | return 0;
  8968. | }
  8969. configure:14620: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat conftest.c >&5
  8970. conftest.c:145:5: warning: 'fastcall' attribute ignored [-Wattributes]
  8971. FUNC_FASTCALL(x);
  8972. ^~~~~~~~~~~~~
  8973. configure:14620: $? = 0
  8974. configure: failed program was:
  8975. | /* confdefs.h */
  8976. | #define PACKAGE_NAME ""
  8977. | #define PACKAGE_TARNAME ""
  8978. | #define PACKAGE_VERSION ""
  8979. | #define PACKAGE_STRING ""
  8980. | #define PACKAGE_BUGREPORT ""
  8981. | #define PACKAGE_URL ""
  8982. | #define CANONICALIZATION_FOR_MATHN 1
  8983. | #define STDC_HEADERS 1
  8984. | #define HAVE_SYS_TYPES_H 1
  8985. | #define HAVE_SYS_STAT_H 1
  8986. | #define HAVE_STDLIB_H 1
  8987. | #define HAVE_STRING_H 1
  8988. | #define HAVE_MEMORY_H 1
  8989. | #define HAVE_STRINGS_H 1
  8990. | #define HAVE_INTTYPES_H 1
  8991. | #define HAVE_STDINT_H 1
  8992. | #define HAVE_UNISTD_H 1
  8993. | #define __EXTENSIONS__ 1
  8994. | #define _ALL_SOURCE 1
  8995. | #define _GNU_SOURCE 1
  8996. | #define _POSIX_PTHREAD_SEMANTICS 1
  8997. | #define _TANDEM_SOURCE 1
  8998. | #define HAVE_INFINITY 1
  8999. | #define HAVE_NAN 1
  9000. | #define RUBY_SYMBOL_EXPORT_BEGIN _Pragma("GCC visibility push(default)")
  9001. | #define RUBY_SYMBOL_EXPORT_END _Pragma("GCC visibility pop")
  9002. | #define HAVE_LIBCRYPT 1
  9003. | #define HAVE_LIBDL 1
  9004. | #define HAVE_DIRENT_H 1
  9005. | #define HAVE__BOOL 1
  9006. | #define HAVE_STDBOOL_H 1
  9007. | #define HAVE_SYS_WAIT_H 1
  9008. | #define HAVE_A_OUT_H 1
  9009. | #define HAVE_GRP_H 1
  9010. | #define HAVE_FCNTL_H 1
  9011. | #define HAVE_FLOAT_H 1
  9012. | #define HAVE_LANGINFO_H 1
  9013. | #define HAVE_LIMITS_H 1
  9014. | #define HAVE_LOCALE_H 1
  9015. | #define HAVE_MALLOC_H 1
  9016. | #define HAVE_PWD_H 1
  9017. | #define HAVE_SYS_FCNTL_H 1
  9018. | #define HAVE_SYS_FILE_H 1
  9019. | #define HAVE_SYS_IOCTL_H 1
  9020. | #define HAVE_SYS_PARAM_H 1
  9021. | #define HAVE_SYS_PRCTL_H 1
  9022. | #define HAVE_SYS_RESOURCE_H 1
  9023. | #define HAVE_SYS_SELECT_H 1
  9024. | #define HAVE_SYS_SENDFILE_H 1
  9025. | #define HAVE_SYS_SOCKET_H 1
  9026. | #define HAVE_SYS_SYSCALL_H 1
  9027. | #define HAVE_SYS_TIME_H 1
  9028. | #define HAVE_SYS_TIMES_H 1
  9029. | #define HAVE_SYS_UIO_H 1
  9030. | #define HAVE_SYSCALL_H 1
  9031. | #define HAVE_TIME_H 1
  9032. | #define HAVE_UCONTEXT_H 1
  9033. | #define HAVE_UTIME_H 1
  9034. | #define HAVE_GMP_H 1
  9035. | #define HAVE_LIBGMP 1
  9036. | #define HAVE_TYPEOF 1
  9037. | #define typeof __typeof__
  9038. | #define HAVE_LONG_LONG 1
  9039. | #define HAVE_OFF_T 1
  9040. | #define SIZEOF_INT 4
  9041. | #define SIZEOF_SHORT 2
  9042. | #define SIZEOF_LONG 8
  9043. | #define SIZEOF_LONG_LONG 8
  9044. | #define SIZEOF___INT64 0
  9045. | #define SIZEOF_OFF_T 8
  9046. | #define SIZEOF_VOIDP 8
  9047. | #define SIZEOF_FLOAT 4
  9048. | #define SIZEOF_DOUBLE 8
  9049. | #define SIZEOF_TIME_T 8
  9050. | #define SIZEOF_CLOCK_T 8
  9051. | #define PACKED_STRUCT(x) x __attribute__((packed))
  9052. | #define PACKED_STRUCT_UNALIGNED(x) x
  9053. | #define PRI_LL_PREFIX "ll"
  9054. | #define rb_pid_t pid_t
  9055. | #define SIGNEDNESS_OF_PID_T -1
  9056. | #define PIDT2NUM(v) INT2NUM(v)
  9057. | #define NUM2PIDT(v) NUM2INT(v)
  9058. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  9059. | #define rb_uid_t uid_t
  9060. | #define SIGNEDNESS_OF_UID_T +1
  9061. | #define UIDT2NUM(v) UINT2NUM(v)
  9062. | #define NUM2UIDT(v) NUM2UINT(v)
  9063. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  9064. | #define rb_gid_t gid_t
  9065. | #define SIGNEDNESS_OF_GID_T +1
  9066. | #define GIDT2NUM(v) UINT2NUM(v)
  9067. | #define NUM2GIDT(v) NUM2UINT(v)
  9068. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  9069. | #define rb_time_t time_t
  9070. | #define SIGNEDNESS_OF_TIME_T -1
  9071. | #define TIMET2NUM(v) LONG2NUM(v)
  9072. | #define NUM2TIMET(v) NUM2LONG(v)
  9073. | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
  9074. | #define rb_dev_t dev_t
  9075. | #define SIGNEDNESS_OF_DEV_T +1
  9076. | #define DEVT2NUM(v) ULONG2NUM(v)
  9077. | #define NUM2DEVT(v) NUM2ULONG(v)
  9078. | #define PRI_DEVT_PREFIX PRI_LONG_PREFIX
  9079. | #define rb_mode_t mode_t
  9080. | #define SIGNEDNESS_OF_MODE_T +1
  9081. | #define MODET2NUM(v) UINT2NUM(v)
  9082. | #define NUM2MODET(v) NUM2UINT(v)
  9083. | #define PRI_MODET_PREFIX PRI_INT_PREFIX
  9084. | #define rb_rlim_t rlim_t
  9085. | #define SIGNEDNESS_OF_RLIM_T +1
  9086. | #define RLIM2NUM(v) ULONG2NUM(v)
  9087. | #define NUM2RLIM(v) NUM2ULONG(v)
  9088. | #define PRI_RLIM_PREFIX PRI_LONG_PREFIX
  9089. | #define rb_off_t off_t
  9090. | #define SIGNEDNESS_OF_OFF_T -1
  9091. | #define OFFT2NUM(v) LONG2NUM(v)
  9092. | #define NUM2OFFT(v) NUM2LONG(v)
  9093. | #define PRI_OFFT_PREFIX PRI_LONG_PREFIX
  9094. | #define rb_clockid_t clockid_t
  9095. | #define SIGNEDNESS_OF_CLOCKID_T -1
  9096. | #define CLOCKID2NUM(v) INT2NUM(v)
  9097. | #define NUM2CLOCKID(v) NUM2INT(v)
  9098. | #define PRI_CLOCKID_PREFIX PRI_INT_PREFIX
  9099. | #define HAVE_PROTOTYPES 1
  9100. | #define TOKEN_PASTE(x,y) x##y
  9101. | #define STRINGIZE(expr) STRINGIZE0(expr)
  9102. | #define HAVE_STDARG_PROTOTYPES 1
  9103. | #define HAVE_VA_ARGS_MACRO 1
  9104. | #define NORETURN(x) __attribute__ ((noreturn)) x
  9105. | #define DEPRECATED(x) __attribute__ ((deprecated)) x
  9106. | #define DEPRECATED_BY(n,x) __attribute__ ((deprecated("by "#n))) x
  9107. | #define DEPRECATED_TYPE(mesg,x) __attribute__ ((deprecated mesg)) x
  9108. | #define NOINLINE(x) __attribute__ ((noinline)) x
  9109. | #define WEAK(x) __attribute__ ((weak)) x
  9110. | #define HAVE_FUNC_WEAK 1
  9111. | /* end confdefs.h. */
  9112. |
  9113. | #define FUNC_FASTCALL(x) x __attribute__ ((fastcall))
  9114. |
  9115. |
  9116. |
  9117. | #define x void conftest_attribute_check(void)
  9118. |
  9119. | FUNC_FASTCALL(x);
  9120. | int
  9121. | main ()
  9122. | {
  9123. |
  9124. | ;
  9125. | return 0;
  9126. | }
  9127. configure:14620: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat conftest.c >&5
  9128. conftest.c:139:26: warning: return type defaults to 'int' [-Wimplicit-int]
  9129. #define FUNC_FASTCALL(x) __declspec(fastcall) x
  9130. ^
  9131. conftest.c:145:5: note: in expansion of macro 'FUNC_FASTCALL'
  9132. FUNC_FASTCALL(x);
  9133. ^~~~~~~~~~~~~
  9134. conftest.c: In function '__declspec':
  9135. conftest.c:148:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
  9136. {
  9137. ^
  9138. conftest.c:139:26: warning: type of 'fastcall' defaults to 'int' [-Wimplicit-int]
  9139. #define FUNC_FASTCALL(x) __declspec(fastcall) x
  9140. ^
  9141. conftest.c:145:5: note: in expansion of macro 'FUNC_FASTCALL'
  9142. FUNC_FASTCALL(x);
  9143. ^~~~~~~~~~~~~
  9144. conftest.c:143:16: error: declaration for parameter 'conftest_attribute_check' but no such parameter
  9145. #define x void conftest_attribute_check(void)
  9146. ^
  9147. conftest.c:139:47: note: in definition of macro 'FUNC_FASTCALL'
  9148. #define FUNC_FASTCALL(x) __declspec(fastcall) x
  9149. ^
  9150. conftest.c:145:19: note: in expansion of macro 'x'
  9151. FUNC_FASTCALL(x);
  9152. ^
  9153. conftest.c:152:1: error: expected '{' at end of input
  9154. }
  9155. ^
  9156. conftest.c:152:1: warning: control reaches end of non-void function [-Wreturn-type]
  9157. }
  9158. ^
  9159. configure:14620: $? = 1
  9160. configure: failed program was:
  9161. | /* confdefs.h */
  9162. | #define PACKAGE_NAME ""
  9163. | #define PACKAGE_TARNAME ""
  9164. | #define PACKAGE_VERSION ""
  9165. | #define PACKAGE_STRING ""
  9166. | #define PACKAGE_BUGREPORT ""
  9167. | #define PACKAGE_URL ""
  9168. | #define CANONICALIZATION_FOR_MATHN 1
  9169. | #define STDC_HEADERS 1
  9170. | #define HAVE_SYS_TYPES_H 1
  9171. | #define HAVE_SYS_STAT_H 1
  9172. | #define HAVE_STDLIB_H 1
  9173. | #define HAVE_STRING_H 1
  9174. | #define HAVE_MEMORY_H 1
  9175. | #define HAVE_STRINGS_H 1
  9176. | #define HAVE_INTTYPES_H 1
  9177. | #define HAVE_STDINT_H 1
  9178. | #define HAVE_UNISTD_H 1
  9179. | #define __EXTENSIONS__ 1
  9180. | #define _ALL_SOURCE 1
  9181. | #define _GNU_SOURCE 1
  9182. | #define _POSIX_PTHREAD_SEMANTICS 1
  9183. | #define _TANDEM_SOURCE 1
  9184. | #define HAVE_INFINITY 1
  9185. | #define HAVE_NAN 1
  9186. | #define RUBY_SYMBOL_EXPORT_BEGIN _Pragma("GCC visibility push(default)")
  9187. | #define RUBY_SYMBOL_EXPORT_END _Pragma("GCC visibility pop")
  9188. | #define HAVE_LIBCRYPT 1
  9189. | #define HAVE_LIBDL 1
  9190. | #define HAVE_DIRENT_H 1
  9191. | #define HAVE__BOOL 1
  9192. | #define HAVE_STDBOOL_H 1
  9193. | #define HAVE_SYS_WAIT_H 1
  9194. | #define HAVE_A_OUT_H 1
  9195. | #define HAVE_GRP_H 1
  9196. | #define HAVE_FCNTL_H 1
  9197. | #define HAVE_FLOAT_H 1
  9198. | #define HAVE_LANGINFO_H 1
  9199. | #define HAVE_LIMITS_H 1
  9200. | #define HAVE_LOCALE_H 1
  9201. | #define HAVE_MALLOC_H 1
  9202. | #define HAVE_PWD_H 1
  9203. | #define HAVE_SYS_FCNTL_H 1
  9204. | #define HAVE_SYS_FILE_H 1
  9205. | #define HAVE_SYS_IOCTL_H 1
  9206. | #define HAVE_SYS_PARAM_H 1
  9207. | #define HAVE_SYS_PRCTL_H 1
  9208. | #define HAVE_SYS_RESOURCE_H 1
  9209. | #define HAVE_SYS_SELECT_H 1
  9210. | #define HAVE_SYS_SENDFILE_H 1
  9211. | #define HAVE_SYS_SOCKET_H 1
  9212. | #define HAVE_SYS_SYSCALL_H 1
  9213. | #define HAVE_SYS_TIME_H 1
  9214. | #define HAVE_SYS_TIMES_H 1
  9215. | #define HAVE_SYS_UIO_H 1
  9216. | #define HAVE_SYSCALL_H 1
  9217. | #define HAVE_TIME_H 1
  9218. | #define HAVE_UCONTEXT_H 1
  9219. | #define HAVE_UTIME_H 1
  9220. | #define HAVE_GMP_H 1
  9221. | #define HAVE_LIBGMP 1
  9222. | #define HAVE_TYPEOF 1
  9223. | #define typeof __typeof__
  9224. | #define HAVE_LONG_LONG 1
  9225. | #define HAVE_OFF_T 1
  9226. | #define SIZEOF_INT 4
  9227. | #define SIZEOF_SHORT 2
  9228. | #define SIZEOF_LONG 8
  9229. | #define SIZEOF_LONG_LONG 8
  9230. | #define SIZEOF___INT64 0
  9231. | #define SIZEOF_OFF_T 8
  9232. | #define SIZEOF_VOIDP 8
  9233. | #define SIZEOF_FLOAT 4
  9234. | #define SIZEOF_DOUBLE 8
  9235. | #define SIZEOF_TIME_T 8
  9236. | #define SIZEOF_CLOCK_T 8
  9237. | #define PACKED_STRUCT(x) x __attribute__((packed))
  9238. | #define PACKED_STRUCT_UNALIGNED(x) x
  9239. | #define PRI_LL_PREFIX "ll"
  9240. | #define rb_pid_t pid_t
  9241. | #define SIGNEDNESS_OF_PID_T -1
  9242. | #define PIDT2NUM(v) INT2NUM(v)
  9243. | #define NUM2PIDT(v) NUM2INT(v)
  9244. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  9245. | #define rb_uid_t uid_t
  9246. | #define SIGNEDNESS_OF_UID_T +1
  9247. | #define UIDT2NUM(v) UINT2NUM(v)
  9248. | #define NUM2UIDT(v) NUM2UINT(v)
  9249. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  9250. | #define rb_gid_t gid_t
  9251. | #define SIGNEDNESS_OF_GID_T +1
  9252. | #define GIDT2NUM(v) UINT2NUM(v)
  9253. | #define NUM2GIDT(v) NUM2UINT(v)
  9254. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  9255. | #define rb_time_t time_t
  9256. | #define SIGNEDNESS_OF_TIME_T -1
  9257. | #define TIMET2NUM(v) LONG2NUM(v)
  9258. | #define NUM2TIMET(v) NUM2LONG(v)
  9259. | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
  9260. | #define rb_dev_t dev_t
  9261. | #define SIGNEDNESS_OF_DEV_T +1
  9262. | #define DEVT2NUM(v) ULONG2NUM(v)
  9263. | #define NUM2DEVT(v) NUM2ULONG(v)
  9264. | #define PRI_DEVT_PREFIX PRI_LONG_PREFIX
  9265. | #define rb_mode_t mode_t
  9266. | #define SIGNEDNESS_OF_MODE_T +1
  9267. | #define MODET2NUM(v) UINT2NUM(v)
  9268. | #define NUM2MODET(v) NUM2UINT(v)
  9269. | #define PRI_MODET_PREFIX PRI_INT_PREFIX
  9270. | #define rb_rlim_t rlim_t
  9271. | #define SIGNEDNESS_OF_RLIM_T +1
  9272. | #define RLIM2NUM(v) ULONG2NUM(v)
  9273. | #define NUM2RLIM(v) NUM2ULONG(v)
  9274. | #define PRI_RLIM_PREFIX PRI_LONG_PREFIX
  9275. | #define rb_off_t off_t
  9276. | #define SIGNEDNESS_OF_OFF_T -1
  9277. | #define OFFT2NUM(v) LONG2NUM(v)
  9278. | #define NUM2OFFT(v) NUM2LONG(v)
  9279. | #define PRI_OFFT_PREFIX PRI_LONG_PREFIX
  9280. | #define rb_clockid_t clockid_t
  9281. | #define SIGNEDNESS_OF_CLOCKID_T -1
  9282. | #define CLOCKID2NUM(v) INT2NUM(v)
  9283. | #define NUM2CLOCKID(v) NUM2INT(v)
  9284. | #define PRI_CLOCKID_PREFIX PRI_INT_PREFIX
  9285. | #define HAVE_PROTOTYPES 1
  9286. | #define TOKEN_PASTE(x,y) x##y
  9287. | #define STRINGIZE(expr) STRINGIZE0(expr)
  9288. | #define HAVE_STDARG_PROTOTYPES 1
  9289. | #define HAVE_VA_ARGS_MACRO 1
  9290. | #define NORETURN(x) __attribute__ ((noreturn)) x
  9291. | #define DEPRECATED(x) __attribute__ ((deprecated)) x
  9292. | #define DEPRECATED_BY(n,x) __attribute__ ((deprecated("by "#n))) x
  9293. | #define DEPRECATED_TYPE(mesg,x) __attribute__ ((deprecated mesg)) x
  9294. | #define NOINLINE(x) __attribute__ ((noinline)) x
  9295. | #define WEAK(x) __attribute__ ((weak)) x
  9296. | #define HAVE_FUNC_WEAK 1
  9297. | /* end confdefs.h. */
  9298. |
  9299. | #define FUNC_FASTCALL(x) __declspec(fastcall) x
  9300. |
  9301. |
  9302. |
  9303. | #define x void conftest_attribute_check(void)
  9304. |
  9305. | FUNC_FASTCALL(x);
  9306. | int
  9307. | main ()
  9308. | {
  9309. |
  9310. | ;
  9311. | return 0;
  9312. | }
  9313. configure:14620: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat conftest.c >&5
  9314. configure:14620: $? = 0
  9315. configure:14634: result: x
  9316. configure:14651: checking for FUNC_UNOPTIMIZED function attribute
  9317. configure:14688: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat conftest.c >&5
  9318. configure:14688: $? = 0
  9319. configure:14702: result: __attribute__ ((optimize("O0"))) x
  9320. configure:14713: checking for FUNC_MINIMIZED function attribute
  9321. configure:14750: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat conftest.c >&5
  9322. configure:14750: $? = 0
  9323. configure:14764: result: __attribute__ ((optimize("-Os","-fomit-frame-pointer"))) x
  9324. configure:14776: checking for function alias
  9325. configure:14795: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  9326. configure:14795: $? = 0
  9327. configure:14802: result: alias
  9328. configure:14817: checking for __atomic builtins
  9329. configure:14840: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  9330. configure:14840: $? = 0
  9331. configure:14848: result: yes
  9332. configure:14855: checking for __sync builtins
  9333. configure:14879: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  9334. configure:14879: $? = 0
  9335. configure:14887: result: yes
  9336. configure:14894: checking for __builtin_unreachable
  9337. configure:14918: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  9338. configure:14918: $? = 0
  9339. configure:14935: result: yes
  9340. configure:14945: checking for exported function attribute
  9341. configure:14974: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat conftest.c >&5
  9342. configure:14974: $? = 0
  9343. configure:14988: result: __attribute__ ((visibility("default")))
  9344. configure:15007: checking for function name string predefined identifier
  9345. configure:15034: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  9346. configure:15034: $? = 0
  9347. configure:15051: result: __func__
  9348. configure:15060: checking if enum over int is allowed
  9349. configure:15103: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat conftest.c >&5
  9350. configure:15103: $? = 0
  9351. configure:15120: result: yes
  9352. configure:15127: checking whether sys_nerr is declared
  9353. configure:15127: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  9354. configure:15127: $? = 0
  9355. configure:15127: result: yes
  9356. configure:15141: checking whether getenv is declared
  9357. configure:15141: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  9358. configure:15141: $? = 0
  9359. configure:15141: result: yes
  9360. configure:15184: checking for size_t
  9361. configure:15184: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  9362. configure:15184: $? = 0
  9363. configure:15184: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  9364. conftest.c: In function 'main':
  9365. conftest.c:187:21: error: expected expression before ')' token
  9366. if (sizeof ((size_t)))
  9367. ^
  9368. configure:15184: $? = 1
  9369. configure: failed program was:
  9370. | /* confdefs.h */
  9371. | #define PACKAGE_NAME ""
  9372. | #define PACKAGE_TARNAME ""
  9373. | #define PACKAGE_VERSION ""
  9374. | #define PACKAGE_STRING ""
  9375. | #define PACKAGE_BUGREPORT ""
  9376. | #define PACKAGE_URL ""
  9377. | #define CANONICALIZATION_FOR_MATHN 1
  9378. | #define STDC_HEADERS 1
  9379. | #define HAVE_SYS_TYPES_H 1
  9380. | #define HAVE_SYS_STAT_H 1
  9381. | #define HAVE_STDLIB_H 1
  9382. | #define HAVE_STRING_H 1
  9383. | #define HAVE_MEMORY_H 1
  9384. | #define HAVE_STRINGS_H 1
  9385. | #define HAVE_INTTYPES_H 1
  9386. | #define HAVE_STDINT_H 1
  9387. | #define HAVE_UNISTD_H 1
  9388. | #define __EXTENSIONS__ 1
  9389. | #define _ALL_SOURCE 1
  9390. | #define _GNU_SOURCE 1
  9391. | #define _POSIX_PTHREAD_SEMANTICS 1
  9392. | #define _TANDEM_SOURCE 1
  9393. | #define HAVE_INFINITY 1
  9394. | #define HAVE_NAN 1
  9395. | #define RUBY_SYMBOL_EXPORT_BEGIN _Pragma("GCC visibility push(default)")
  9396. | #define RUBY_SYMBOL_EXPORT_END _Pragma("GCC visibility pop")
  9397. | #define HAVE_LIBCRYPT 1
  9398. | #define HAVE_LIBDL 1
  9399. | #define HAVE_DIRENT_H 1
  9400. | #define HAVE__BOOL 1
  9401. | #define HAVE_STDBOOL_H 1
  9402. | #define HAVE_SYS_WAIT_H 1
  9403. | #define HAVE_A_OUT_H 1
  9404. | #define HAVE_GRP_H 1
  9405. | #define HAVE_FCNTL_H 1
  9406. | #define HAVE_FLOAT_H 1
  9407. | #define HAVE_LANGINFO_H 1
  9408. | #define HAVE_LIMITS_H 1
  9409. | #define HAVE_LOCALE_H 1
  9410. | #define HAVE_MALLOC_H 1
  9411. | #define HAVE_PWD_H 1
  9412. | #define HAVE_SYS_FCNTL_H 1
  9413. | #define HAVE_SYS_FILE_H 1
  9414. | #define HAVE_SYS_IOCTL_H 1
  9415. | #define HAVE_SYS_PARAM_H 1
  9416. | #define HAVE_SYS_PRCTL_H 1
  9417. | #define HAVE_SYS_RESOURCE_H 1
  9418. | #define HAVE_SYS_SELECT_H 1
  9419. | #define HAVE_SYS_SENDFILE_H 1
  9420. | #define HAVE_SYS_SOCKET_H 1
  9421. | #define HAVE_SYS_SYSCALL_H 1
  9422. | #define HAVE_SYS_TIME_H 1
  9423. | #define HAVE_SYS_TIMES_H 1
  9424. | #define HAVE_SYS_UIO_H 1
  9425. | #define HAVE_SYSCALL_H 1
  9426. | #define HAVE_TIME_H 1
  9427. | #define HAVE_UCONTEXT_H 1
  9428. | #define HAVE_UTIME_H 1
  9429. | #define HAVE_GMP_H 1
  9430. | #define HAVE_LIBGMP 1
  9431. | #define HAVE_TYPEOF 1
  9432. | #define typeof __typeof__
  9433. | #define HAVE_LONG_LONG 1
  9434. | #define HAVE_OFF_T 1
  9435. | #define SIZEOF_INT 4
  9436. | #define SIZEOF_SHORT 2
  9437. | #define SIZEOF_LONG 8
  9438. | #define SIZEOF_LONG_LONG 8
  9439. | #define SIZEOF___INT64 0
  9440. | #define SIZEOF_OFF_T 8
  9441. | #define SIZEOF_VOIDP 8
  9442. | #define SIZEOF_FLOAT 4
  9443. | #define SIZEOF_DOUBLE 8
  9444. | #define SIZEOF_TIME_T 8
  9445. | #define SIZEOF_CLOCK_T 8
  9446. | #define PACKED_STRUCT(x) x __attribute__((packed))
  9447. | #define PACKED_STRUCT_UNALIGNED(x) x
  9448. | #define PRI_LL_PREFIX "ll"
  9449. | #define rb_pid_t pid_t
  9450. | #define SIGNEDNESS_OF_PID_T -1
  9451. | #define PIDT2NUM(v) INT2NUM(v)
  9452. | #define NUM2PIDT(v) NUM2INT(v)
  9453. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  9454. | #define rb_uid_t uid_t
  9455. | #define SIGNEDNESS_OF_UID_T +1
  9456. | #define UIDT2NUM(v) UINT2NUM(v)
  9457. | #define NUM2UIDT(v) NUM2UINT(v)
  9458. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  9459. | #define rb_gid_t gid_t
  9460. | #define SIGNEDNESS_OF_GID_T +1
  9461. | #define GIDT2NUM(v) UINT2NUM(v)
  9462. | #define NUM2GIDT(v) NUM2UINT(v)
  9463. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  9464. | #define rb_time_t time_t
  9465. | #define SIGNEDNESS_OF_TIME_T -1
  9466. | #define TIMET2NUM(v) LONG2NUM(v)
  9467. | #define NUM2TIMET(v) NUM2LONG(v)
  9468. | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
  9469. | #define rb_dev_t dev_t
  9470. | #define SIGNEDNESS_OF_DEV_T +1
  9471. | #define DEVT2NUM(v) ULONG2NUM(v)
  9472. | #define NUM2DEVT(v) NUM2ULONG(v)
  9473. | #define PRI_DEVT_PREFIX PRI_LONG_PREFIX
  9474. | #define rb_mode_t mode_t
  9475. | #define SIGNEDNESS_OF_MODE_T +1
  9476. | #define MODET2NUM(v) UINT2NUM(v)
  9477. | #define NUM2MODET(v) NUM2UINT(v)
  9478. | #define PRI_MODET_PREFIX PRI_INT_PREFIX
  9479. | #define rb_rlim_t rlim_t
  9480. | #define SIGNEDNESS_OF_RLIM_T +1
  9481. | #define RLIM2NUM(v) ULONG2NUM(v)
  9482. | #define NUM2RLIM(v) NUM2ULONG(v)
  9483. | #define PRI_RLIM_PREFIX PRI_LONG_PREFIX
  9484. | #define rb_off_t off_t
  9485. | #define SIGNEDNESS_OF_OFF_T -1
  9486. | #define OFFT2NUM(v) LONG2NUM(v)
  9487. | #define NUM2OFFT(v) NUM2LONG(v)
  9488. | #define PRI_OFFT_PREFIX PRI_LONG_PREFIX
  9489. | #define rb_clockid_t clockid_t
  9490. | #define SIGNEDNESS_OF_CLOCKID_T -1
  9491. | #define CLOCKID2NUM(v) INT2NUM(v)
  9492. | #define NUM2CLOCKID(v) NUM2INT(v)
  9493. | #define PRI_CLOCKID_PREFIX PRI_INT_PREFIX
  9494. | #define HAVE_PROTOTYPES 1
  9495. | #define TOKEN_PASTE(x,y) x##y
  9496. | #define STRINGIZE(expr) STRINGIZE0(expr)
  9497. | #define HAVE_STDARG_PROTOTYPES 1
  9498. | #define HAVE_VA_ARGS_MACRO 1
  9499. | #define NORETURN(x) __attribute__ ((noreturn)) x
  9500. | #define DEPRECATED(x) __attribute__ ((deprecated)) x
  9501. | #define DEPRECATED_BY(n,x) __attribute__ ((deprecated("by "#n))) x
  9502. | #define DEPRECATED_TYPE(mesg,x) __attribute__ ((deprecated mesg)) x
  9503. | #define NOINLINE(x) __attribute__ ((noinline)) x
  9504. | #define WEAK(x) __attribute__ ((weak)) x
  9505. | #define HAVE_FUNC_WEAK 1
  9506. | #define FUNC_UNOPTIMIZED(x) __attribute__ ((optimize("O0"))) x
  9507. | #define FUNC_MINIMIZED(x) __attribute__ ((optimize("-Os","-fomit-frame-pointer"))) x
  9508. | #define HAVE_ATTRIBUTE_FUNCTION_ALIAS 1
  9509. | #define RUBY_ALIAS_FUNCTION_TYPE(type, prot, name, args) type prot __attribute__((alias(#name)));
  9510. | #define RUBY_ALIAS_FUNCTION_VOID(prot, name, args) RUBY_ALIAS_FUNCTION_TYPE(void, prot, name, args)
  9511. | #define HAVE_GCC_ATOMIC_BUILTINS 1
  9512. | #define HAVE_GCC_SYNC_BUILTINS 1
  9513. | #define UNREACHABLE __builtin_unreachable()
  9514. | #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
  9515. | #define RUBY_FUNCTION_NAME_STRING __func__
  9516. | #define ENUM_OVER_INT 1
  9517. | #define HAVE_DECL_SYS_NERR 1
  9518. | #define HAVE_DECL_GETENV 1
  9519. | /* end confdefs.h. */
  9520. | #include <stdio.h>
  9521. | #ifdef HAVE_SYS_TYPES_H
  9522. | # include <sys/types.h>
  9523. | #endif
  9524. | #ifdef HAVE_SYS_STAT_H
  9525. | # include <sys/stat.h>
  9526. | #endif
  9527. | #ifdef STDC_HEADERS
  9528. | # include <stdlib.h>
  9529. | # include <stddef.h>
  9530. | #else
  9531. | # ifdef HAVE_STDLIB_H
  9532. | # include <stdlib.h>
  9533. | # endif
  9534. | #endif
  9535. | #ifdef HAVE_STRING_H
  9536. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  9537. | # include <memory.h>
  9538. | # endif
  9539. | # include <string.h>
  9540. | #endif
  9541. | #ifdef HAVE_STRINGS_H
  9542. | # include <strings.h>
  9543. | #endif
  9544. | #ifdef HAVE_INTTYPES_H
  9545. | # include <inttypes.h>
  9546. | #endif
  9547. | #ifdef HAVE_STDINT_H
  9548. | # include <stdint.h>
  9549. | #endif
  9550. | #ifdef HAVE_UNISTD_H
  9551. | # include <unistd.h>
  9552. | #endif
  9553. | int
  9554. | main ()
  9555. | {
  9556. | if (sizeof ((size_t)))
  9557. | return 0;
  9558. | ;
  9559. | return 0;
  9560. | }
  9561. configure:15184: result: yes
  9562. configure:15210: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  9563. configure:15210: $? = 0
  9564. configure:15309: checking size of size_t
  9565. configure:15314: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  9566. configure:15314: $? = 0
  9567. configure:15314: ./conftest
  9568. configure:15314: $? = 0
  9569. configure:15329: result: 8
  9570. configure:15434: checking size of ptrdiff_t
  9571. configure:15439: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  9572. configure:15439: $? = 0
  9573. configure:15439: ./conftest
  9574. configure:15439: $? = 0
  9575. configure:15454: result: 8
  9576. configure:15467: checking for printf prefix for size_t
  9577. configure:15514: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat conftest.c >&5
  9578. configure:15514: $? = 0
  9579. configure:15527: result: z
  9580. configure:15537: checking for printf prefix for ptrdiff_t
  9581. configure:15584: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat conftest.c >&5
  9582. configure:15584: $? = 0
  9583. configure:15597: result: t
  9584. configure:15606: checking for struct stat.st_blksize
  9585. configure:15606: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  9586. configure:15606: $? = 0
  9587. configure:15606: result: yes
  9588. configure:15619: checking for struct stat.st_blocks
  9589. configure:15619: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  9590. configure:15619: $? = 0
  9591. configure:15619: result: yes
  9592. configure:15639: checking for struct stat.st_rdev
  9593. configure:15639: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  9594. configure:15639: $? = 0
  9595. configure:15639: result: yes
  9596. configure:15653: checking size of struct stat.st_size
  9597. configure:15683: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  9598. configure:15683: $? = 0
  9599. configure:15717: result: SIZEOF_OFF_T
  9600. configure:15744: checking size of struct stat.st_blocks
  9601. configure:15774: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  9602. configure:15774: $? = 0
  9603. configure:15808: result: SIZEOF_OFF_T
  9604. configure:15835: checking size of struct stat.st_ino
  9605. configure:15865: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  9606. configure:15865: $? = 0
  9607. configure:15899: result: SIZEOF_LONG
  9608. configure:15924: checking for struct stat.st_atim
  9609. configure:15924: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  9610. conftest.c: In function 'main':
  9611. conftest.c:201:5: error: used struct type value where scalar is required
  9612. if (ac_aggr.st_atim)
  9613. ^~~~~~~
  9614. configure:15924: $? = 1
  9615. configure: failed program was:
  9616. | /* confdefs.h */
  9617. | #define PACKAGE_NAME ""
  9618. | #define PACKAGE_TARNAME ""
  9619. | #define PACKAGE_VERSION ""
  9620. | #define PACKAGE_STRING ""
  9621. | #define PACKAGE_BUGREPORT ""
  9622. | #define PACKAGE_URL ""
  9623. | #define CANONICALIZATION_FOR_MATHN 1
  9624. | #define STDC_HEADERS 1
  9625. | #define HAVE_SYS_TYPES_H 1
  9626. | #define HAVE_SYS_STAT_H 1
  9627. | #define HAVE_STDLIB_H 1
  9628. | #define HAVE_STRING_H 1
  9629. | #define HAVE_MEMORY_H 1
  9630. | #define HAVE_STRINGS_H 1
  9631. | #define HAVE_INTTYPES_H 1
  9632. | #define HAVE_STDINT_H 1
  9633. | #define HAVE_UNISTD_H 1
  9634. | #define __EXTENSIONS__ 1
  9635. | #define _ALL_SOURCE 1
  9636. | #define _GNU_SOURCE 1
  9637. | #define _POSIX_PTHREAD_SEMANTICS 1
  9638. | #define _TANDEM_SOURCE 1
  9639. | #define HAVE_INFINITY 1
  9640. | #define HAVE_NAN 1
  9641. | #define RUBY_SYMBOL_EXPORT_BEGIN _Pragma("GCC visibility push(default)")
  9642. | #define RUBY_SYMBOL_EXPORT_END _Pragma("GCC visibility pop")
  9643. | #define HAVE_LIBCRYPT 1
  9644. | #define HAVE_LIBDL 1
  9645. | #define HAVE_DIRENT_H 1
  9646. | #define HAVE__BOOL 1
  9647. | #define HAVE_STDBOOL_H 1
  9648. | #define HAVE_SYS_WAIT_H 1
  9649. | #define HAVE_A_OUT_H 1
  9650. | #define HAVE_GRP_H 1
  9651. | #define HAVE_FCNTL_H 1
  9652. | #define HAVE_FLOAT_H 1
  9653. | #define HAVE_LANGINFO_H 1
  9654. | #define HAVE_LIMITS_H 1
  9655. | #define HAVE_LOCALE_H 1
  9656. | #define HAVE_MALLOC_H 1
  9657. | #define HAVE_PWD_H 1
  9658. | #define HAVE_SYS_FCNTL_H 1
  9659. | #define HAVE_SYS_FILE_H 1
  9660. | #define HAVE_SYS_IOCTL_H 1
  9661. | #define HAVE_SYS_PARAM_H 1
  9662. | #define HAVE_SYS_PRCTL_H 1
  9663. | #define HAVE_SYS_RESOURCE_H 1
  9664. | #define HAVE_SYS_SELECT_H 1
  9665. | #define HAVE_SYS_SENDFILE_H 1
  9666. | #define HAVE_SYS_SOCKET_H 1
  9667. | #define HAVE_SYS_SYSCALL_H 1
  9668. | #define HAVE_SYS_TIME_H 1
  9669. | #define HAVE_SYS_TIMES_H 1
  9670. | #define HAVE_SYS_UIO_H 1
  9671. | #define HAVE_SYSCALL_H 1
  9672. | #define HAVE_TIME_H 1
  9673. | #define HAVE_UCONTEXT_H 1
  9674. | #define HAVE_UTIME_H 1
  9675. | #define HAVE_GMP_H 1
  9676. | #define HAVE_LIBGMP 1
  9677. | #define HAVE_TYPEOF 1
  9678. | #define typeof __typeof__
  9679. | #define HAVE_LONG_LONG 1
  9680. | #define HAVE_OFF_T 1
  9681. | #define SIZEOF_INT 4
  9682. | #define SIZEOF_SHORT 2
  9683. | #define SIZEOF_LONG 8
  9684. | #define SIZEOF_LONG_LONG 8
  9685. | #define SIZEOF___INT64 0
  9686. | #define SIZEOF_OFF_T 8
  9687. | #define SIZEOF_VOIDP 8
  9688. | #define SIZEOF_FLOAT 4
  9689. | #define SIZEOF_DOUBLE 8
  9690. | #define SIZEOF_TIME_T 8
  9691. | #define SIZEOF_CLOCK_T 8
  9692. | #define PACKED_STRUCT(x) x __attribute__((packed))
  9693. | #define PACKED_STRUCT_UNALIGNED(x) x
  9694. | #define PRI_LL_PREFIX "ll"
  9695. | #define rb_pid_t pid_t
  9696. | #define SIGNEDNESS_OF_PID_T -1
  9697. | #define PIDT2NUM(v) INT2NUM(v)
  9698. | #define NUM2PIDT(v) NUM2INT(v)
  9699. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  9700. | #define rb_uid_t uid_t
  9701. | #define SIGNEDNESS_OF_UID_T +1
  9702. | #define UIDT2NUM(v) UINT2NUM(v)
  9703. | #define NUM2UIDT(v) NUM2UINT(v)
  9704. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  9705. | #define rb_gid_t gid_t
  9706. | #define SIGNEDNESS_OF_GID_T +1
  9707. | #define GIDT2NUM(v) UINT2NUM(v)
  9708. | #define NUM2GIDT(v) NUM2UINT(v)
  9709. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  9710. | #define rb_time_t time_t
  9711. | #define SIGNEDNESS_OF_TIME_T -1
  9712. | #define TIMET2NUM(v) LONG2NUM(v)
  9713. | #define NUM2TIMET(v) NUM2LONG(v)
  9714. | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
  9715. | #define rb_dev_t dev_t
  9716. | #define SIGNEDNESS_OF_DEV_T +1
  9717. | #define DEVT2NUM(v) ULONG2NUM(v)
  9718. | #define NUM2DEVT(v) NUM2ULONG(v)
  9719. | #define PRI_DEVT_PREFIX PRI_LONG_PREFIX
  9720. | #define rb_mode_t mode_t
  9721. | #define SIGNEDNESS_OF_MODE_T +1
  9722. | #define MODET2NUM(v) UINT2NUM(v)
  9723. | #define NUM2MODET(v) NUM2UINT(v)
  9724. | #define PRI_MODET_PREFIX PRI_INT_PREFIX
  9725. | #define rb_rlim_t rlim_t
  9726. | #define SIGNEDNESS_OF_RLIM_T +1
  9727. | #define RLIM2NUM(v) ULONG2NUM(v)
  9728. | #define NUM2RLIM(v) NUM2ULONG(v)
  9729. | #define PRI_RLIM_PREFIX PRI_LONG_PREFIX
  9730. | #define rb_off_t off_t
  9731. | #define SIGNEDNESS_OF_OFF_T -1
  9732. | #define OFFT2NUM(v) LONG2NUM(v)
  9733. | #define NUM2OFFT(v) NUM2LONG(v)
  9734. | #define PRI_OFFT_PREFIX PRI_LONG_PREFIX
  9735. | #define rb_clockid_t clockid_t
  9736. | #define SIGNEDNESS_OF_CLOCKID_T -1
  9737. | #define CLOCKID2NUM(v) INT2NUM(v)
  9738. | #define NUM2CLOCKID(v) NUM2INT(v)
  9739. | #define PRI_CLOCKID_PREFIX PRI_INT_PREFIX
  9740. | #define HAVE_PROTOTYPES 1
  9741. | #define TOKEN_PASTE(x,y) x##y
  9742. | #define STRINGIZE(expr) STRINGIZE0(expr)
  9743. | #define HAVE_STDARG_PROTOTYPES 1
  9744. | #define HAVE_VA_ARGS_MACRO 1
  9745. | #define NORETURN(x) __attribute__ ((noreturn)) x
  9746. | #define DEPRECATED(x) __attribute__ ((deprecated)) x
  9747. | #define DEPRECATED_BY(n,x) __attribute__ ((deprecated("by "#n))) x
  9748. | #define DEPRECATED_TYPE(mesg,x) __attribute__ ((deprecated mesg)) x
  9749. | #define NOINLINE(x) __attribute__ ((noinline)) x
  9750. | #define WEAK(x) __attribute__ ((weak)) x
  9751. | #define HAVE_FUNC_WEAK 1
  9752. | #define FUNC_UNOPTIMIZED(x) __attribute__ ((optimize("O0"))) x
  9753. | #define FUNC_MINIMIZED(x) __attribute__ ((optimize("-Os","-fomit-frame-pointer"))) x
  9754. | #define HAVE_ATTRIBUTE_FUNCTION_ALIAS 1
  9755. | #define RUBY_ALIAS_FUNCTION_TYPE(type, prot, name, args) type prot __attribute__((alias(#name)));
  9756. | #define RUBY_ALIAS_FUNCTION_VOID(prot, name, args) RUBY_ALIAS_FUNCTION_TYPE(void, prot, name, args)
  9757. | #define HAVE_GCC_ATOMIC_BUILTINS 1
  9758. | #define HAVE_GCC_SYNC_BUILTINS 1
  9759. | #define UNREACHABLE __builtin_unreachable()
  9760. | #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
  9761. | #define RUBY_FUNCTION_NAME_STRING __func__
  9762. | #define ENUM_OVER_INT 1
  9763. | #define HAVE_DECL_SYS_NERR 1
  9764. | #define HAVE_DECL_GETENV 1
  9765. | #define SIZEOF_SIZE_T 8
  9766. | #define SIZEOF_PTRDIFF_T 8
  9767. | #define PRI_SIZE_PREFIX "z"
  9768. | #define PRI_PTRDIFF_PREFIX "t"
  9769. | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
  9770. | #define HAVE_ST_BLKSIZE 1
  9771. | #define HAVE_STRUCT_STAT_ST_BLOCKS 1
  9772. | #define HAVE_ST_BLOCKS 1
  9773. | #define HAVE_STRUCT_STAT_ST_RDEV 1
  9774. | #define HAVE_ST_RDEV 1
  9775. | #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_OFF_T
  9776. | #define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_OFF_T
  9777. | #define SIZEOF_STRUCT_STAT_ST_INO SIZEOF_LONG
  9778. | /* end confdefs.h. */
  9779. | #include <stdio.h>
  9780. | #ifdef HAVE_SYS_TYPES_H
  9781. | # include <sys/types.h>
  9782. | #endif
  9783. | #ifdef HAVE_SYS_STAT_H
  9784. | # include <sys/stat.h>
  9785. | #endif
  9786. | #ifdef STDC_HEADERS
  9787. | # include <stdlib.h>
  9788. | # include <stddef.h>
  9789. | #else
  9790. | # ifdef HAVE_STDLIB_H
  9791. | # include <stdlib.h>
  9792. | # endif
  9793. | #endif
  9794. | #ifdef HAVE_STRING_H
  9795. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  9796. | # include <memory.h>
  9797. | # endif
  9798. | # include <string.h>
  9799. | #endif
  9800. | #ifdef HAVE_STRINGS_H
  9801. | # include <strings.h>
  9802. | #endif
  9803. | #ifdef HAVE_INTTYPES_H
  9804. | # include <inttypes.h>
  9805. | #endif
  9806. | #ifdef HAVE_STDINT_H
  9807. | # include <stdint.h>
  9808. | #endif
  9809. | #ifdef HAVE_UNISTD_H
  9810. | # include <unistd.h>
  9811. | #endif
  9812. | int
  9813. | main ()
  9814. | {
  9815. | static struct stat ac_aggr;
  9816. | if (ac_aggr.st_atim)
  9817. | return 0;
  9818. | ;
  9819. | return 0;
  9820. | }
  9821. configure:15924: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  9822. configure:15924: $? = 0
  9823. configure:15924: result: yes
  9824. configure:15934: checking for struct stat.st_atimespec
  9825. configure:15934: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  9826. conftest.c: In function 'main':
  9827. conftest.c:202:13: error: 'struct stat' has no member named 'st_atimespec'; did you mean 'st_atim'?
  9828. if (ac_aggr.st_atimespec)
  9829. ^~~~~~~~~~~~
  9830. st_atim
  9831. configure:15934: $? = 1
  9832. configure: failed program was:
  9833. | /* confdefs.h */
  9834. | #define PACKAGE_NAME ""
  9835. | #define PACKAGE_TARNAME ""
  9836. | #define PACKAGE_VERSION ""
  9837. | #define PACKAGE_STRING ""
  9838. | #define PACKAGE_BUGREPORT ""
  9839. | #define PACKAGE_URL ""
  9840. | #define CANONICALIZATION_FOR_MATHN 1
  9841. | #define STDC_HEADERS 1
  9842. | #define HAVE_SYS_TYPES_H 1
  9843. | #define HAVE_SYS_STAT_H 1
  9844. | #define HAVE_STDLIB_H 1
  9845. | #define HAVE_STRING_H 1
  9846. | #define HAVE_MEMORY_H 1
  9847. | #define HAVE_STRINGS_H 1
  9848. | #define HAVE_INTTYPES_H 1
  9849. | #define HAVE_STDINT_H 1
  9850. | #define HAVE_UNISTD_H 1
  9851. | #define __EXTENSIONS__ 1
  9852. | #define _ALL_SOURCE 1
  9853. | #define _GNU_SOURCE 1
  9854. | #define _POSIX_PTHREAD_SEMANTICS 1
  9855. | #define _TANDEM_SOURCE 1
  9856. | #define HAVE_INFINITY 1
  9857. | #define HAVE_NAN 1
  9858. | #define RUBY_SYMBOL_EXPORT_BEGIN _Pragma("GCC visibility push(default)")
  9859. | #define RUBY_SYMBOL_EXPORT_END _Pragma("GCC visibility pop")
  9860. | #define HAVE_LIBCRYPT 1
  9861. | #define HAVE_LIBDL 1
  9862. | #define HAVE_DIRENT_H 1
  9863. | #define HAVE__BOOL 1
  9864. | #define HAVE_STDBOOL_H 1
  9865. | #define HAVE_SYS_WAIT_H 1
  9866. | #define HAVE_A_OUT_H 1
  9867. | #define HAVE_GRP_H 1
  9868. | #define HAVE_FCNTL_H 1
  9869. | #define HAVE_FLOAT_H 1
  9870. | #define HAVE_LANGINFO_H 1
  9871. | #define HAVE_LIMITS_H 1
  9872. | #define HAVE_LOCALE_H 1
  9873. | #define HAVE_MALLOC_H 1
  9874. | #define HAVE_PWD_H 1
  9875. | #define HAVE_SYS_FCNTL_H 1
  9876. | #define HAVE_SYS_FILE_H 1
  9877. | #define HAVE_SYS_IOCTL_H 1
  9878. | #define HAVE_SYS_PARAM_H 1
  9879. | #define HAVE_SYS_PRCTL_H 1
  9880. | #define HAVE_SYS_RESOURCE_H 1
  9881. | #define HAVE_SYS_SELECT_H 1
  9882. | #define HAVE_SYS_SENDFILE_H 1
  9883. | #define HAVE_SYS_SOCKET_H 1
  9884. | #define HAVE_SYS_SYSCALL_H 1
  9885. | #define HAVE_SYS_TIME_H 1
  9886. | #define HAVE_SYS_TIMES_H 1
  9887. | #define HAVE_SYS_UIO_H 1
  9888. | #define HAVE_SYSCALL_H 1
  9889. | #define HAVE_TIME_H 1
  9890. | #define HAVE_UCONTEXT_H 1
  9891. | #define HAVE_UTIME_H 1
  9892. | #define HAVE_GMP_H 1
  9893. | #define HAVE_LIBGMP 1
  9894. | #define HAVE_TYPEOF 1
  9895. | #define typeof __typeof__
  9896. | #define HAVE_LONG_LONG 1
  9897. | #define HAVE_OFF_T 1
  9898. | #define SIZEOF_INT 4
  9899. | #define SIZEOF_SHORT 2
  9900. | #define SIZEOF_LONG 8
  9901. | #define SIZEOF_LONG_LONG 8
  9902. | #define SIZEOF___INT64 0
  9903. | #define SIZEOF_OFF_T 8
  9904. | #define SIZEOF_VOIDP 8
  9905. | #define SIZEOF_FLOAT 4
  9906. | #define SIZEOF_DOUBLE 8
  9907. | #define SIZEOF_TIME_T 8
  9908. | #define SIZEOF_CLOCK_T 8
  9909. | #define PACKED_STRUCT(x) x __attribute__((packed))
  9910. | #define PACKED_STRUCT_UNALIGNED(x) x
  9911. | #define PRI_LL_PREFIX "ll"
  9912. | #define rb_pid_t pid_t
  9913. | #define SIGNEDNESS_OF_PID_T -1
  9914. | #define PIDT2NUM(v) INT2NUM(v)
  9915. | #define NUM2PIDT(v) NUM2INT(v)
  9916. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  9917. | #define rb_uid_t uid_t
  9918. | #define SIGNEDNESS_OF_UID_T +1
  9919. | #define UIDT2NUM(v) UINT2NUM(v)
  9920. | #define NUM2UIDT(v) NUM2UINT(v)
  9921. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  9922. | #define rb_gid_t gid_t
  9923. | #define SIGNEDNESS_OF_GID_T +1
  9924. | #define GIDT2NUM(v) UINT2NUM(v)
  9925. | #define NUM2GIDT(v) NUM2UINT(v)
  9926. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  9927. | #define rb_time_t time_t
  9928. | #define SIGNEDNESS_OF_TIME_T -1
  9929. | #define TIMET2NUM(v) LONG2NUM(v)
  9930. | #define NUM2TIMET(v) NUM2LONG(v)
  9931. | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
  9932. | #define rb_dev_t dev_t
  9933. | #define SIGNEDNESS_OF_DEV_T +1
  9934. | #define DEVT2NUM(v) ULONG2NUM(v)
  9935. | #define NUM2DEVT(v) NUM2ULONG(v)
  9936. | #define PRI_DEVT_PREFIX PRI_LONG_PREFIX
  9937. | #define rb_mode_t mode_t
  9938. | #define SIGNEDNESS_OF_MODE_T +1
  9939. | #define MODET2NUM(v) UINT2NUM(v)
  9940. | #define NUM2MODET(v) NUM2UINT(v)
  9941. | #define PRI_MODET_PREFIX PRI_INT_PREFIX
  9942. | #define rb_rlim_t rlim_t
  9943. | #define SIGNEDNESS_OF_RLIM_T +1
  9944. | #define RLIM2NUM(v) ULONG2NUM(v)
  9945. | #define NUM2RLIM(v) NUM2ULONG(v)
  9946. | #define PRI_RLIM_PREFIX PRI_LONG_PREFIX
  9947. | #define rb_off_t off_t
  9948. | #define SIGNEDNESS_OF_OFF_T -1
  9949. | #define OFFT2NUM(v) LONG2NUM(v)
  9950. | #define NUM2OFFT(v) NUM2LONG(v)
  9951. | #define PRI_OFFT_PREFIX PRI_LONG_PREFIX
  9952. | #define rb_clockid_t clockid_t
  9953. | #define SIGNEDNESS_OF_CLOCKID_T -1
  9954. | #define CLOCKID2NUM(v) INT2NUM(v)
  9955. | #define NUM2CLOCKID(v) NUM2INT(v)
  9956. | #define PRI_CLOCKID_PREFIX PRI_INT_PREFIX
  9957. | #define HAVE_PROTOTYPES 1
  9958. | #define TOKEN_PASTE(x,y) x##y
  9959. | #define STRINGIZE(expr) STRINGIZE0(expr)
  9960. | #define HAVE_STDARG_PROTOTYPES 1
  9961. | #define HAVE_VA_ARGS_MACRO 1
  9962. | #define NORETURN(x) __attribute__ ((noreturn)) x
  9963. | #define DEPRECATED(x) __attribute__ ((deprecated)) x
  9964. | #define DEPRECATED_BY(n,x) __attribute__ ((deprecated("by "#n))) x
  9965. | #define DEPRECATED_TYPE(mesg,x) __attribute__ ((deprecated mesg)) x
  9966. | #define NOINLINE(x) __attribute__ ((noinline)) x
  9967. | #define WEAK(x) __attribute__ ((weak)) x
  9968. | #define HAVE_FUNC_WEAK 1
  9969. | #define FUNC_UNOPTIMIZED(x) __attribute__ ((optimize("O0"))) x
  9970. | #define FUNC_MINIMIZED(x) __attribute__ ((optimize("-Os","-fomit-frame-pointer"))) x
  9971. | #define HAVE_ATTRIBUTE_FUNCTION_ALIAS 1
  9972. | #define RUBY_ALIAS_FUNCTION_TYPE(type, prot, name, args) type prot __attribute__((alias(#name)));
  9973. | #define RUBY_ALIAS_FUNCTION_VOID(prot, name, args) RUBY_ALIAS_FUNCTION_TYPE(void, prot, name, args)
  9974. | #define HAVE_GCC_ATOMIC_BUILTINS 1
  9975. | #define HAVE_GCC_SYNC_BUILTINS 1
  9976. | #define UNREACHABLE __builtin_unreachable()
  9977. | #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
  9978. | #define RUBY_FUNCTION_NAME_STRING __func__
  9979. | #define ENUM_OVER_INT 1
  9980. | #define HAVE_DECL_SYS_NERR 1
  9981. | #define HAVE_DECL_GETENV 1
  9982. | #define SIZEOF_SIZE_T 8
  9983. | #define SIZEOF_PTRDIFF_T 8
  9984. | #define PRI_SIZE_PREFIX "z"
  9985. | #define PRI_PTRDIFF_PREFIX "t"
  9986. | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
  9987. | #define HAVE_ST_BLKSIZE 1
  9988. | #define HAVE_STRUCT_STAT_ST_BLOCKS 1
  9989. | #define HAVE_ST_BLOCKS 1
  9990. | #define HAVE_STRUCT_STAT_ST_RDEV 1
  9991. | #define HAVE_ST_RDEV 1
  9992. | #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_OFF_T
  9993. | #define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_OFF_T
  9994. | #define SIZEOF_STRUCT_STAT_ST_INO SIZEOF_LONG
  9995. | #define HAVE_STRUCT_STAT_ST_ATIM 1
  9996. | /* end confdefs.h. */
  9997. | #include <stdio.h>
  9998. | #ifdef HAVE_SYS_TYPES_H
  9999. | # include <sys/types.h>
  10000. | #endif
  10001. | #ifdef HAVE_SYS_STAT_H
  10002. | # include <sys/stat.h>
  10003. | #endif
  10004. | #ifdef STDC_HEADERS
  10005. | # include <stdlib.h>
  10006. | # include <stddef.h>
  10007. | #else
  10008. | # ifdef HAVE_STDLIB_H
  10009. | # include <stdlib.h>
  10010. | # endif
  10011. | #endif
  10012. | #ifdef HAVE_STRING_H
  10013. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  10014. | # include <memory.h>
  10015. | # endif
  10016. | # include <string.h>
  10017. | #endif
  10018. | #ifdef HAVE_STRINGS_H
  10019. | # include <strings.h>
  10020. | #endif
  10021. | #ifdef HAVE_INTTYPES_H
  10022. | # include <inttypes.h>
  10023. | #endif
  10024. | #ifdef HAVE_STDINT_H
  10025. | # include <stdint.h>
  10026. | #endif
  10027. | #ifdef HAVE_UNISTD_H
  10028. | # include <unistd.h>
  10029. | #endif
  10030. | int
  10031. | main ()
  10032. | {
  10033. | static struct stat ac_aggr;
  10034. | if (ac_aggr.st_atimespec)
  10035. | return 0;
  10036. | ;
  10037. | return 0;
  10038. | }
  10039. configure:15934: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  10040. conftest.c: In function 'main':
  10041. conftest.c:202:20: error: 'struct stat' has no member named 'st_atimespec'; did you mean 'st_atim'?
  10042. if (sizeof ac_aggr.st_atimespec)
  10043. ^~~~~~~~~~~~
  10044. st_atim
  10045. configure:15934: $? = 1
  10046. configure: failed program was:
  10047. | /* confdefs.h */
  10048. | #define PACKAGE_NAME ""
  10049. | #define PACKAGE_TARNAME ""
  10050. | #define PACKAGE_VERSION ""
  10051. | #define PACKAGE_STRING ""
  10052. | #define PACKAGE_BUGREPORT ""
  10053. | #define PACKAGE_URL ""
  10054. | #define CANONICALIZATION_FOR_MATHN 1
  10055. | #define STDC_HEADERS 1
  10056. | #define HAVE_SYS_TYPES_H 1
  10057. | #define HAVE_SYS_STAT_H 1
  10058. | #define HAVE_STDLIB_H 1
  10059. | #define HAVE_STRING_H 1
  10060. | #define HAVE_MEMORY_H 1
  10061. | #define HAVE_STRINGS_H 1
  10062. | #define HAVE_INTTYPES_H 1
  10063. | #define HAVE_STDINT_H 1
  10064. | #define HAVE_UNISTD_H 1
  10065. | #define __EXTENSIONS__ 1
  10066. | #define _ALL_SOURCE 1
  10067. | #define _GNU_SOURCE 1
  10068. | #define _POSIX_PTHREAD_SEMANTICS 1
  10069. | #define _TANDEM_SOURCE 1
  10070. | #define HAVE_INFINITY 1
  10071. | #define HAVE_NAN 1
  10072. | #define RUBY_SYMBOL_EXPORT_BEGIN _Pragma("GCC visibility push(default)")
  10073. | #define RUBY_SYMBOL_EXPORT_END _Pragma("GCC visibility pop")
  10074. | #define HAVE_LIBCRYPT 1
  10075. | #define HAVE_LIBDL 1
  10076. | #define HAVE_DIRENT_H 1
  10077. | #define HAVE__BOOL 1
  10078. | #define HAVE_STDBOOL_H 1
  10079. | #define HAVE_SYS_WAIT_H 1
  10080. | #define HAVE_A_OUT_H 1
  10081. | #define HAVE_GRP_H 1
  10082. | #define HAVE_FCNTL_H 1
  10083. | #define HAVE_FLOAT_H 1
  10084. | #define HAVE_LANGINFO_H 1
  10085. | #define HAVE_LIMITS_H 1
  10086. | #define HAVE_LOCALE_H 1
  10087. | #define HAVE_MALLOC_H 1
  10088. | #define HAVE_PWD_H 1
  10089. | #define HAVE_SYS_FCNTL_H 1
  10090. | #define HAVE_SYS_FILE_H 1
  10091. | #define HAVE_SYS_IOCTL_H 1
  10092. | #define HAVE_SYS_PARAM_H 1
  10093. | #define HAVE_SYS_PRCTL_H 1
  10094. | #define HAVE_SYS_RESOURCE_H 1
  10095. | #define HAVE_SYS_SELECT_H 1
  10096. | #define HAVE_SYS_SENDFILE_H 1
  10097. | #define HAVE_SYS_SOCKET_H 1
  10098. | #define HAVE_SYS_SYSCALL_H 1
  10099. | #define HAVE_SYS_TIME_H 1
  10100. | #define HAVE_SYS_TIMES_H 1
  10101. | #define HAVE_SYS_UIO_H 1
  10102. | #define HAVE_SYSCALL_H 1
  10103. | #define HAVE_TIME_H 1
  10104. | #define HAVE_UCONTEXT_H 1
  10105. | #define HAVE_UTIME_H 1
  10106. | #define HAVE_GMP_H 1
  10107. | #define HAVE_LIBGMP 1
  10108. | #define HAVE_TYPEOF 1
  10109. | #define typeof __typeof__
  10110. | #define HAVE_LONG_LONG 1
  10111. | #define HAVE_OFF_T 1
  10112. | #define SIZEOF_INT 4
  10113. | #define SIZEOF_SHORT 2
  10114. | #define SIZEOF_LONG 8
  10115. | #define SIZEOF_LONG_LONG 8
  10116. | #define SIZEOF___INT64 0
  10117. | #define SIZEOF_OFF_T 8
  10118. | #define SIZEOF_VOIDP 8
  10119. | #define SIZEOF_FLOAT 4
  10120. | #define SIZEOF_DOUBLE 8
  10121. | #define SIZEOF_TIME_T 8
  10122. | #define SIZEOF_CLOCK_T 8
  10123. | #define PACKED_STRUCT(x) x __attribute__((packed))
  10124. | #define PACKED_STRUCT_UNALIGNED(x) x
  10125. | #define PRI_LL_PREFIX "ll"
  10126. | #define rb_pid_t pid_t
  10127. | #define SIGNEDNESS_OF_PID_T -1
  10128. | #define PIDT2NUM(v) INT2NUM(v)
  10129. | #define NUM2PIDT(v) NUM2INT(v)
  10130. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  10131. | #define rb_uid_t uid_t
  10132. | #define SIGNEDNESS_OF_UID_T +1
  10133. | #define UIDT2NUM(v) UINT2NUM(v)
  10134. | #define NUM2UIDT(v) NUM2UINT(v)
  10135. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  10136. | #define rb_gid_t gid_t
  10137. | #define SIGNEDNESS_OF_GID_T +1
  10138. | #define GIDT2NUM(v) UINT2NUM(v)
  10139. | #define NUM2GIDT(v) NUM2UINT(v)
  10140. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  10141. | #define rb_time_t time_t
  10142. | #define SIGNEDNESS_OF_TIME_T -1
  10143. | #define TIMET2NUM(v) LONG2NUM(v)
  10144. | #define NUM2TIMET(v) NUM2LONG(v)
  10145. | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
  10146. | #define rb_dev_t dev_t
  10147. | #define SIGNEDNESS_OF_DEV_T +1
  10148. | #define DEVT2NUM(v) ULONG2NUM(v)
  10149. | #define NUM2DEVT(v) NUM2ULONG(v)
  10150. | #define PRI_DEVT_PREFIX PRI_LONG_PREFIX
  10151. | #define rb_mode_t mode_t
  10152. | #define SIGNEDNESS_OF_MODE_T +1
  10153. | #define MODET2NUM(v) UINT2NUM(v)
  10154. | #define NUM2MODET(v) NUM2UINT(v)
  10155. | #define PRI_MODET_PREFIX PRI_INT_PREFIX
  10156. | #define rb_rlim_t rlim_t
  10157. | #define SIGNEDNESS_OF_RLIM_T +1
  10158. | #define RLIM2NUM(v) ULONG2NUM(v)
  10159. | #define NUM2RLIM(v) NUM2ULONG(v)
  10160. | #define PRI_RLIM_PREFIX PRI_LONG_PREFIX
  10161. | #define rb_off_t off_t
  10162. | #define SIGNEDNESS_OF_OFF_T -1
  10163. | #define OFFT2NUM(v) LONG2NUM(v)
  10164. | #define NUM2OFFT(v) NUM2LONG(v)
  10165. | #define PRI_OFFT_PREFIX PRI_LONG_PREFIX
  10166. | #define rb_clockid_t clockid_t
  10167. | #define SIGNEDNESS_OF_CLOCKID_T -1
  10168. | #define CLOCKID2NUM(v) INT2NUM(v)
  10169. | #define NUM2CLOCKID(v) NUM2INT(v)
  10170. | #define PRI_CLOCKID_PREFIX PRI_INT_PREFIX
  10171. | #define HAVE_PROTOTYPES 1
  10172. | #define TOKEN_PASTE(x,y) x##y
  10173. | #define STRINGIZE(expr) STRINGIZE0(expr)
  10174. | #define HAVE_STDARG_PROTOTYPES 1
  10175. | #define HAVE_VA_ARGS_MACRO 1
  10176. | #define NORETURN(x) __attribute__ ((noreturn)) x
  10177. | #define DEPRECATED(x) __attribute__ ((deprecated)) x
  10178. | #define DEPRECATED_BY(n,x) __attribute__ ((deprecated("by "#n))) x
  10179. | #define DEPRECATED_TYPE(mesg,x) __attribute__ ((deprecated mesg)) x
  10180. | #define NOINLINE(x) __attribute__ ((noinline)) x
  10181. | #define WEAK(x) __attribute__ ((weak)) x
  10182. | #define HAVE_FUNC_WEAK 1
  10183. | #define FUNC_UNOPTIMIZED(x) __attribute__ ((optimize("O0"))) x
  10184. | #define FUNC_MINIMIZED(x) __attribute__ ((optimize("-Os","-fomit-frame-pointer"))) x
  10185. | #define HAVE_ATTRIBUTE_FUNCTION_ALIAS 1
  10186. | #define RUBY_ALIAS_FUNCTION_TYPE(type, prot, name, args) type prot __attribute__((alias(#name)));
  10187. | #define RUBY_ALIAS_FUNCTION_VOID(prot, name, args) RUBY_ALIAS_FUNCTION_TYPE(void, prot, name, args)
  10188. | #define HAVE_GCC_ATOMIC_BUILTINS 1
  10189. | #define HAVE_GCC_SYNC_BUILTINS 1
  10190. | #define UNREACHABLE __builtin_unreachable()
  10191. | #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
  10192. | #define RUBY_FUNCTION_NAME_STRING __func__
  10193. | #define ENUM_OVER_INT 1
  10194. | #define HAVE_DECL_SYS_NERR 1
  10195. | #define HAVE_DECL_GETENV 1
  10196. | #define SIZEOF_SIZE_T 8
  10197. | #define SIZEOF_PTRDIFF_T 8
  10198. | #define PRI_SIZE_PREFIX "z"
  10199. | #define PRI_PTRDIFF_PREFIX "t"
  10200. | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
  10201. | #define HAVE_ST_BLKSIZE 1
  10202. | #define HAVE_STRUCT_STAT_ST_BLOCKS 1
  10203. | #define HAVE_ST_BLOCKS 1
  10204. | #define HAVE_STRUCT_STAT_ST_RDEV 1
  10205. | #define HAVE_ST_RDEV 1
  10206. | #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_OFF_T
  10207. | #define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_OFF_T
  10208. | #define SIZEOF_STRUCT_STAT_ST_INO SIZEOF_LONG
  10209. | #define HAVE_STRUCT_STAT_ST_ATIM 1
  10210. | /* end confdefs.h. */
  10211. | #include <stdio.h>
  10212. | #ifdef HAVE_SYS_TYPES_H
  10213. | # include <sys/types.h>
  10214. | #endif
  10215. | #ifdef HAVE_SYS_STAT_H
  10216. | # include <sys/stat.h>
  10217. | #endif
  10218. | #ifdef STDC_HEADERS
  10219. | # include <stdlib.h>
  10220. | # include <stddef.h>
  10221. | #else
  10222. | # ifdef HAVE_STDLIB_H
  10223. | # include <stdlib.h>
  10224. | # endif
  10225. | #endif
  10226. | #ifdef HAVE_STRING_H
  10227. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  10228. | # include <memory.h>
  10229. | # endif
  10230. | # include <string.h>
  10231. | #endif
  10232. | #ifdef HAVE_STRINGS_H
  10233. | # include <strings.h>
  10234. | #endif
  10235. | #ifdef HAVE_INTTYPES_H
  10236. | # include <inttypes.h>
  10237. | #endif
  10238. | #ifdef HAVE_STDINT_H
  10239. | # include <stdint.h>
  10240. | #endif
  10241. | #ifdef HAVE_UNISTD_H
  10242. | # include <unistd.h>
  10243. | #endif
  10244. | int
  10245. | main ()
  10246. | {
  10247. | static struct stat ac_aggr;
  10248. | if (sizeof ac_aggr.st_atimespec)
  10249. | return 0;
  10250. | ;
  10251. | return 0;
  10252. | }
  10253. configure:15934: result: no
  10254. configure:15944: checking for struct stat.st_atimensec
  10255. configure:15944: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  10256. conftest.c: In function 'main':
  10257. conftest.c:202:13: error: 'struct stat' has no member named 'st_atimensec'; did you mean 'st_atim'?
  10258. if (ac_aggr.st_atimensec)
  10259. ^~~~~~~~~~~~
  10260. st_atim
  10261. configure:15944: $? = 1
  10262. configure: failed program was:
  10263. | /* confdefs.h */
  10264. | #define PACKAGE_NAME ""
  10265. | #define PACKAGE_TARNAME ""
  10266. | #define PACKAGE_VERSION ""
  10267. | #define PACKAGE_STRING ""
  10268. | #define PACKAGE_BUGREPORT ""
  10269. | #define PACKAGE_URL ""
  10270. | #define CANONICALIZATION_FOR_MATHN 1
  10271. | #define STDC_HEADERS 1
  10272. | #define HAVE_SYS_TYPES_H 1
  10273. | #define HAVE_SYS_STAT_H 1
  10274. | #define HAVE_STDLIB_H 1
  10275. | #define HAVE_STRING_H 1
  10276. | #define HAVE_MEMORY_H 1
  10277. | #define HAVE_STRINGS_H 1
  10278. | #define HAVE_INTTYPES_H 1
  10279. | #define HAVE_STDINT_H 1
  10280. | #define HAVE_UNISTD_H 1
  10281. | #define __EXTENSIONS__ 1
  10282. | #define _ALL_SOURCE 1
  10283. | #define _GNU_SOURCE 1
  10284. | #define _POSIX_PTHREAD_SEMANTICS 1
  10285. | #define _TANDEM_SOURCE 1
  10286. | #define HAVE_INFINITY 1
  10287. | #define HAVE_NAN 1
  10288. | #define RUBY_SYMBOL_EXPORT_BEGIN _Pragma("GCC visibility push(default)")
  10289. | #define RUBY_SYMBOL_EXPORT_END _Pragma("GCC visibility pop")
  10290. | #define HAVE_LIBCRYPT 1
  10291. | #define HAVE_LIBDL 1
  10292. | #define HAVE_DIRENT_H 1
  10293. | #define HAVE__BOOL 1
  10294. | #define HAVE_STDBOOL_H 1
  10295. | #define HAVE_SYS_WAIT_H 1
  10296. | #define HAVE_A_OUT_H 1
  10297. | #define HAVE_GRP_H 1
  10298. | #define HAVE_FCNTL_H 1
  10299. | #define HAVE_FLOAT_H 1
  10300. | #define HAVE_LANGINFO_H 1
  10301. | #define HAVE_LIMITS_H 1
  10302. | #define HAVE_LOCALE_H 1
  10303. | #define HAVE_MALLOC_H 1
  10304. | #define HAVE_PWD_H 1
  10305. | #define HAVE_SYS_FCNTL_H 1
  10306. | #define HAVE_SYS_FILE_H 1
  10307. | #define HAVE_SYS_IOCTL_H 1
  10308. | #define HAVE_SYS_PARAM_H 1
  10309. | #define HAVE_SYS_PRCTL_H 1
  10310. | #define HAVE_SYS_RESOURCE_H 1
  10311. | #define HAVE_SYS_SELECT_H 1
  10312. | #define HAVE_SYS_SENDFILE_H 1
  10313. | #define HAVE_SYS_SOCKET_H 1
  10314. | #define HAVE_SYS_SYSCALL_H 1
  10315. | #define HAVE_SYS_TIME_H 1
  10316. | #define HAVE_SYS_TIMES_H 1
  10317. | #define HAVE_SYS_UIO_H 1
  10318. | #define HAVE_SYSCALL_H 1
  10319. | #define HAVE_TIME_H 1
  10320. | #define HAVE_UCONTEXT_H 1
  10321. | #define HAVE_UTIME_H 1
  10322. | #define HAVE_GMP_H 1
  10323. | #define HAVE_LIBGMP 1
  10324. | #define HAVE_TYPEOF 1
  10325. | #define typeof __typeof__
  10326. | #define HAVE_LONG_LONG 1
  10327. | #define HAVE_OFF_T 1
  10328. | #define SIZEOF_INT 4
  10329. | #define SIZEOF_SHORT 2
  10330. | #define SIZEOF_LONG 8
  10331. | #define SIZEOF_LONG_LONG 8
  10332. | #define SIZEOF___INT64 0
  10333. | #define SIZEOF_OFF_T 8
  10334. | #define SIZEOF_VOIDP 8
  10335. | #define SIZEOF_FLOAT 4
  10336. | #define SIZEOF_DOUBLE 8
  10337. | #define SIZEOF_TIME_T 8
  10338. | #define SIZEOF_CLOCK_T 8
  10339. | #define PACKED_STRUCT(x) x __attribute__((packed))
  10340. | #define PACKED_STRUCT_UNALIGNED(x) x
  10341. | #define PRI_LL_PREFIX "ll"
  10342. | #define rb_pid_t pid_t
  10343. | #define SIGNEDNESS_OF_PID_T -1
  10344. | #define PIDT2NUM(v) INT2NUM(v)
  10345. | #define NUM2PIDT(v) NUM2INT(v)
  10346. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  10347. | #define rb_uid_t uid_t
  10348. | #define SIGNEDNESS_OF_UID_T +1
  10349. | #define UIDT2NUM(v) UINT2NUM(v)
  10350. | #define NUM2UIDT(v) NUM2UINT(v)
  10351. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  10352. | #define rb_gid_t gid_t
  10353. | #define SIGNEDNESS_OF_GID_T +1
  10354. | #define GIDT2NUM(v) UINT2NUM(v)
  10355. | #define NUM2GIDT(v) NUM2UINT(v)
  10356. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  10357. | #define rb_time_t time_t
  10358. | #define SIGNEDNESS_OF_TIME_T -1
  10359. | #define TIMET2NUM(v) LONG2NUM(v)
  10360. | #define NUM2TIMET(v) NUM2LONG(v)
  10361. | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
  10362. | #define rb_dev_t dev_t
  10363. | #define SIGNEDNESS_OF_DEV_T +1
  10364. | #define DEVT2NUM(v) ULONG2NUM(v)
  10365. | #define NUM2DEVT(v) NUM2ULONG(v)
  10366. | #define PRI_DEVT_PREFIX PRI_LONG_PREFIX
  10367. | #define rb_mode_t mode_t
  10368. | #define SIGNEDNESS_OF_MODE_T +1
  10369. | #define MODET2NUM(v) UINT2NUM(v)
  10370. | #define NUM2MODET(v) NUM2UINT(v)
  10371. | #define PRI_MODET_PREFIX PRI_INT_PREFIX
  10372. | #define rb_rlim_t rlim_t
  10373. | #define SIGNEDNESS_OF_RLIM_T +1
  10374. | #define RLIM2NUM(v) ULONG2NUM(v)
  10375. | #define NUM2RLIM(v) NUM2ULONG(v)
  10376. | #define PRI_RLIM_PREFIX PRI_LONG_PREFIX
  10377. | #define rb_off_t off_t
  10378. | #define SIGNEDNESS_OF_OFF_T -1
  10379. | #define OFFT2NUM(v) LONG2NUM(v)
  10380. | #define NUM2OFFT(v) NUM2LONG(v)
  10381. | #define PRI_OFFT_PREFIX PRI_LONG_PREFIX
  10382. | #define rb_clockid_t clockid_t
  10383. | #define SIGNEDNESS_OF_CLOCKID_T -1
  10384. | #define CLOCKID2NUM(v) INT2NUM(v)
  10385. | #define NUM2CLOCKID(v) NUM2INT(v)
  10386. | #define PRI_CLOCKID_PREFIX PRI_INT_PREFIX
  10387. | #define HAVE_PROTOTYPES 1
  10388. | #define TOKEN_PASTE(x,y) x##y
  10389. | #define STRINGIZE(expr) STRINGIZE0(expr)
  10390. | #define HAVE_STDARG_PROTOTYPES 1
  10391. | #define HAVE_VA_ARGS_MACRO 1
  10392. | #define NORETURN(x) __attribute__ ((noreturn)) x
  10393. | #define DEPRECATED(x) __attribute__ ((deprecated)) x
  10394. | #define DEPRECATED_BY(n,x) __attribute__ ((deprecated("by "#n))) x
  10395. | #define DEPRECATED_TYPE(mesg,x) __attribute__ ((deprecated mesg)) x
  10396. | #define NOINLINE(x) __attribute__ ((noinline)) x
  10397. | #define WEAK(x) __attribute__ ((weak)) x
  10398. | #define HAVE_FUNC_WEAK 1
  10399. | #define FUNC_UNOPTIMIZED(x) __attribute__ ((optimize("O0"))) x
  10400. | #define FUNC_MINIMIZED(x) __attribute__ ((optimize("-Os","-fomit-frame-pointer"))) x
  10401. | #define HAVE_ATTRIBUTE_FUNCTION_ALIAS 1
  10402. | #define RUBY_ALIAS_FUNCTION_TYPE(type, prot, name, args) type prot __attribute__((alias(#name)));
  10403. | #define RUBY_ALIAS_FUNCTION_VOID(prot, name, args) RUBY_ALIAS_FUNCTION_TYPE(void, prot, name, args)
  10404. | #define HAVE_GCC_ATOMIC_BUILTINS 1
  10405. | #define HAVE_GCC_SYNC_BUILTINS 1
  10406. | #define UNREACHABLE __builtin_unreachable()
  10407. | #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
  10408. | #define RUBY_FUNCTION_NAME_STRING __func__
  10409. | #define ENUM_OVER_INT 1
  10410. | #define HAVE_DECL_SYS_NERR 1
  10411. | #define HAVE_DECL_GETENV 1
  10412. | #define SIZEOF_SIZE_T 8
  10413. | #define SIZEOF_PTRDIFF_T 8
  10414. | #define PRI_SIZE_PREFIX "z"
  10415. | #define PRI_PTRDIFF_PREFIX "t"
  10416. | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
  10417. | #define HAVE_ST_BLKSIZE 1
  10418. | #define HAVE_STRUCT_STAT_ST_BLOCKS 1
  10419. | #define HAVE_ST_BLOCKS 1
  10420. | #define HAVE_STRUCT_STAT_ST_RDEV 1
  10421. | #define HAVE_ST_RDEV 1
  10422. | #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_OFF_T
  10423. | #define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_OFF_T
  10424. | #define SIZEOF_STRUCT_STAT_ST_INO SIZEOF_LONG
  10425. | #define HAVE_STRUCT_STAT_ST_ATIM 1
  10426. | /* end confdefs.h. */
  10427. | #include <stdio.h>
  10428. | #ifdef HAVE_SYS_TYPES_H
  10429. | # include <sys/types.h>
  10430. | #endif
  10431. | #ifdef HAVE_SYS_STAT_H
  10432. | # include <sys/stat.h>
  10433. | #endif
  10434. | #ifdef STDC_HEADERS
  10435. | # include <stdlib.h>
  10436. | # include <stddef.h>
  10437. | #else
  10438. | # ifdef HAVE_STDLIB_H
  10439. | # include <stdlib.h>
  10440. | # endif
  10441. | #endif
  10442. | #ifdef HAVE_STRING_H
  10443. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  10444. | # include <memory.h>
  10445. | # endif
  10446. | # include <string.h>
  10447. | #endif
  10448. | #ifdef HAVE_STRINGS_H
  10449. | # include <strings.h>
  10450. | #endif
  10451. | #ifdef HAVE_INTTYPES_H
  10452. | # include <inttypes.h>
  10453. | #endif
  10454. | #ifdef HAVE_STDINT_H
  10455. | # include <stdint.h>
  10456. | #endif
  10457. | #ifdef HAVE_UNISTD_H
  10458. | # include <unistd.h>
  10459. | #endif
  10460. | int
  10461. | main ()
  10462. | {
  10463. | static struct stat ac_aggr;
  10464. | if (ac_aggr.st_atimensec)
  10465. | return 0;
  10466. | ;
  10467. | return 0;
  10468. | }
  10469. configure:15944: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  10470. conftest.c: In function 'main':
  10471. conftest.c:202:20: error: 'struct stat' has no member named 'st_atimensec'; did you mean 'st_atim'?
  10472. if (sizeof ac_aggr.st_atimensec)
  10473. ^~~~~~~~~~~~
  10474. st_atim
  10475. configure:15944: $? = 1
  10476. configure: failed program was:
  10477. | /* confdefs.h */
  10478. | #define PACKAGE_NAME ""
  10479. | #define PACKAGE_TARNAME ""
  10480. | #define PACKAGE_VERSION ""
  10481. | #define PACKAGE_STRING ""
  10482. | #define PACKAGE_BUGREPORT ""
  10483. | #define PACKAGE_URL ""
  10484. | #define CANONICALIZATION_FOR_MATHN 1
  10485. | #define STDC_HEADERS 1
  10486. | #define HAVE_SYS_TYPES_H 1
  10487. | #define HAVE_SYS_STAT_H 1
  10488. | #define HAVE_STDLIB_H 1
  10489. | #define HAVE_STRING_H 1
  10490. | #define HAVE_MEMORY_H 1
  10491. | #define HAVE_STRINGS_H 1
  10492. | #define HAVE_INTTYPES_H 1
  10493. | #define HAVE_STDINT_H 1
  10494. | #define HAVE_UNISTD_H 1
  10495. | #define __EXTENSIONS__ 1
  10496. | #define _ALL_SOURCE 1
  10497. | #define _GNU_SOURCE 1
  10498. | #define _POSIX_PTHREAD_SEMANTICS 1
  10499. | #define _TANDEM_SOURCE 1
  10500. | #define HAVE_INFINITY 1
  10501. | #define HAVE_NAN 1
  10502. | #define RUBY_SYMBOL_EXPORT_BEGIN _Pragma("GCC visibility push(default)")
  10503. | #define RUBY_SYMBOL_EXPORT_END _Pragma("GCC visibility pop")
  10504. | #define HAVE_LIBCRYPT 1
  10505. | #define HAVE_LIBDL 1
  10506. | #define HAVE_DIRENT_H 1
  10507. | #define HAVE__BOOL 1
  10508. | #define HAVE_STDBOOL_H 1
  10509. | #define HAVE_SYS_WAIT_H 1
  10510. | #define HAVE_A_OUT_H 1
  10511. | #define HAVE_GRP_H 1
  10512. | #define HAVE_FCNTL_H 1
  10513. | #define HAVE_FLOAT_H 1
  10514. | #define HAVE_LANGINFO_H 1
  10515. | #define HAVE_LIMITS_H 1
  10516. | #define HAVE_LOCALE_H 1
  10517. | #define HAVE_MALLOC_H 1
  10518. | #define HAVE_PWD_H 1
  10519. | #define HAVE_SYS_FCNTL_H 1
  10520. | #define HAVE_SYS_FILE_H 1
  10521. | #define HAVE_SYS_IOCTL_H 1
  10522. | #define HAVE_SYS_PARAM_H 1
  10523. | #define HAVE_SYS_PRCTL_H 1
  10524. | #define HAVE_SYS_RESOURCE_H 1
  10525. | #define HAVE_SYS_SELECT_H 1
  10526. | #define HAVE_SYS_SENDFILE_H 1
  10527. | #define HAVE_SYS_SOCKET_H 1
  10528. | #define HAVE_SYS_SYSCALL_H 1
  10529. | #define HAVE_SYS_TIME_H 1
  10530. | #define HAVE_SYS_TIMES_H 1
  10531. | #define HAVE_SYS_UIO_H 1
  10532. | #define HAVE_SYSCALL_H 1
  10533. | #define HAVE_TIME_H 1
  10534. | #define HAVE_UCONTEXT_H 1
  10535. | #define HAVE_UTIME_H 1
  10536. | #define HAVE_GMP_H 1
  10537. | #define HAVE_LIBGMP 1
  10538. | #define HAVE_TYPEOF 1
  10539. | #define typeof __typeof__
  10540. | #define HAVE_LONG_LONG 1
  10541. | #define HAVE_OFF_T 1
  10542. | #define SIZEOF_INT 4
  10543. | #define SIZEOF_SHORT 2
  10544. | #define SIZEOF_LONG 8
  10545. | #define SIZEOF_LONG_LONG 8
  10546. | #define SIZEOF___INT64 0
  10547. | #define SIZEOF_OFF_T 8
  10548. | #define SIZEOF_VOIDP 8
  10549. | #define SIZEOF_FLOAT 4
  10550. | #define SIZEOF_DOUBLE 8
  10551. | #define SIZEOF_TIME_T 8
  10552. | #define SIZEOF_CLOCK_T 8
  10553. | #define PACKED_STRUCT(x) x __attribute__((packed))
  10554. | #define PACKED_STRUCT_UNALIGNED(x) x
  10555. | #define PRI_LL_PREFIX "ll"
  10556. | #define rb_pid_t pid_t
  10557. | #define SIGNEDNESS_OF_PID_T -1
  10558. | #define PIDT2NUM(v) INT2NUM(v)
  10559. | #define NUM2PIDT(v) NUM2INT(v)
  10560. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  10561. | #define rb_uid_t uid_t
  10562. | #define SIGNEDNESS_OF_UID_T +1
  10563. | #define UIDT2NUM(v) UINT2NUM(v)
  10564. | #define NUM2UIDT(v) NUM2UINT(v)
  10565. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  10566. | #define rb_gid_t gid_t
  10567. | #define SIGNEDNESS_OF_GID_T +1
  10568. | #define GIDT2NUM(v) UINT2NUM(v)
  10569. | #define NUM2GIDT(v) NUM2UINT(v)
  10570. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  10571. | #define rb_time_t time_t
  10572. | #define SIGNEDNESS_OF_TIME_T -1
  10573. | #define TIMET2NUM(v) LONG2NUM(v)
  10574. | #define NUM2TIMET(v) NUM2LONG(v)
  10575. | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
  10576. | #define rb_dev_t dev_t
  10577. | #define SIGNEDNESS_OF_DEV_T +1
  10578. | #define DEVT2NUM(v) ULONG2NUM(v)
  10579. | #define NUM2DEVT(v) NUM2ULONG(v)
  10580. | #define PRI_DEVT_PREFIX PRI_LONG_PREFIX
  10581. | #define rb_mode_t mode_t
  10582. | #define SIGNEDNESS_OF_MODE_T +1
  10583. | #define MODET2NUM(v) UINT2NUM(v)
  10584. | #define NUM2MODET(v) NUM2UINT(v)
  10585. | #define PRI_MODET_PREFIX PRI_INT_PREFIX
  10586. | #define rb_rlim_t rlim_t
  10587. | #define SIGNEDNESS_OF_RLIM_T +1
  10588. | #define RLIM2NUM(v) ULONG2NUM(v)
  10589. | #define NUM2RLIM(v) NUM2ULONG(v)
  10590. | #define PRI_RLIM_PREFIX PRI_LONG_PREFIX
  10591. | #define rb_off_t off_t
  10592. | #define SIGNEDNESS_OF_OFF_T -1
  10593. | #define OFFT2NUM(v) LONG2NUM(v)
  10594. | #define NUM2OFFT(v) NUM2LONG(v)
  10595. | #define PRI_OFFT_PREFIX PRI_LONG_PREFIX
  10596. | #define rb_clockid_t clockid_t
  10597. | #define SIGNEDNESS_OF_CLOCKID_T -1
  10598. | #define CLOCKID2NUM(v) INT2NUM(v)
  10599. | #define NUM2CLOCKID(v) NUM2INT(v)
  10600. | #define PRI_CLOCKID_PREFIX PRI_INT_PREFIX
  10601. | #define HAVE_PROTOTYPES 1
  10602. | #define TOKEN_PASTE(x,y) x##y
  10603. | #define STRINGIZE(expr) STRINGIZE0(expr)
  10604. | #define HAVE_STDARG_PROTOTYPES 1
  10605. | #define HAVE_VA_ARGS_MACRO 1
  10606. | #define NORETURN(x) __attribute__ ((noreturn)) x
  10607. | #define DEPRECATED(x) __attribute__ ((deprecated)) x
  10608. | #define DEPRECATED_BY(n,x) __attribute__ ((deprecated("by "#n))) x
  10609. | #define DEPRECATED_TYPE(mesg,x) __attribute__ ((deprecated mesg)) x
  10610. | #define NOINLINE(x) __attribute__ ((noinline)) x
  10611. | #define WEAK(x) __attribute__ ((weak)) x
  10612. | #define HAVE_FUNC_WEAK 1
  10613. | #define FUNC_UNOPTIMIZED(x) __attribute__ ((optimize("O0"))) x
  10614. | #define FUNC_MINIMIZED(x) __attribute__ ((optimize("-Os","-fomit-frame-pointer"))) x
  10615. | #define HAVE_ATTRIBUTE_FUNCTION_ALIAS 1
  10616. | #define RUBY_ALIAS_FUNCTION_TYPE(type, prot, name, args) type prot __attribute__((alias(#name)));
  10617. | #define RUBY_ALIAS_FUNCTION_VOID(prot, name, args) RUBY_ALIAS_FUNCTION_TYPE(void, prot, name, args)
  10618. | #define HAVE_GCC_ATOMIC_BUILTINS 1
  10619. | #define HAVE_GCC_SYNC_BUILTINS 1
  10620. | #define UNREACHABLE __builtin_unreachable()
  10621. | #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
  10622. | #define RUBY_FUNCTION_NAME_STRING __func__
  10623. | #define ENUM_OVER_INT 1
  10624. | #define HAVE_DECL_SYS_NERR 1
  10625. | #define HAVE_DECL_GETENV 1
  10626. | #define SIZEOF_SIZE_T 8
  10627. | #define SIZEOF_PTRDIFF_T 8
  10628. | #define PRI_SIZE_PREFIX "z"
  10629. | #define PRI_PTRDIFF_PREFIX "t"
  10630. | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
  10631. | #define HAVE_ST_BLKSIZE 1
  10632. | #define HAVE_STRUCT_STAT_ST_BLOCKS 1
  10633. | #define HAVE_ST_BLOCKS 1
  10634. | #define HAVE_STRUCT_STAT_ST_RDEV 1
  10635. | #define HAVE_ST_RDEV 1
  10636. | #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_OFF_T
  10637. | #define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_OFF_T
  10638. | #define SIZEOF_STRUCT_STAT_ST_INO SIZEOF_LONG
  10639. | #define HAVE_STRUCT_STAT_ST_ATIM 1
  10640. | /* end confdefs.h. */
  10641. | #include <stdio.h>
  10642. | #ifdef HAVE_SYS_TYPES_H
  10643. | # include <sys/types.h>
  10644. | #endif
  10645. | #ifdef HAVE_SYS_STAT_H
  10646. | # include <sys/stat.h>
  10647. | #endif
  10648. | #ifdef STDC_HEADERS
  10649. | # include <stdlib.h>
  10650. | # include <stddef.h>
  10651. | #else
  10652. | # ifdef HAVE_STDLIB_H
  10653. | # include <stdlib.h>
  10654. | # endif
  10655. | #endif
  10656. | #ifdef HAVE_STRING_H
  10657. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  10658. | # include <memory.h>
  10659. | # endif
  10660. | # include <string.h>
  10661. | #endif
  10662. | #ifdef HAVE_STRINGS_H
  10663. | # include <strings.h>
  10664. | #endif
  10665. | #ifdef HAVE_INTTYPES_H
  10666. | # include <inttypes.h>
  10667. | #endif
  10668. | #ifdef HAVE_STDINT_H
  10669. | # include <stdint.h>
  10670. | #endif
  10671. | #ifdef HAVE_UNISTD_H
  10672. | # include <unistd.h>
  10673. | #endif
  10674. | int
  10675. | main ()
  10676. | {
  10677. | static struct stat ac_aggr;
  10678. | if (sizeof ac_aggr.st_atimensec)
  10679. | return 0;
  10680. | ;
  10681. | return 0;
  10682. | }
  10683. configure:15944: result: no
  10684. configure:15954: checking for struct stat.st_mtim
  10685. configure:15954: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  10686. conftest.c: In function 'main':
  10687. conftest.c:202:5: error: used struct type value where scalar is required
  10688. if (ac_aggr.st_mtim)
  10689. ^~~~~~~
  10690. configure:15954: $? = 1
  10691. configure: failed program was:
  10692. | /* confdefs.h */
  10693. | #define PACKAGE_NAME ""
  10694. | #define PACKAGE_TARNAME ""
  10695. | #define PACKAGE_VERSION ""
  10696. | #define PACKAGE_STRING ""
  10697. | #define PACKAGE_BUGREPORT ""
  10698. | #define PACKAGE_URL ""
  10699. | #define CANONICALIZATION_FOR_MATHN 1
  10700. | #define STDC_HEADERS 1
  10701. | #define HAVE_SYS_TYPES_H 1
  10702. | #define HAVE_SYS_STAT_H 1
  10703. | #define HAVE_STDLIB_H 1
  10704. | #define HAVE_STRING_H 1
  10705. | #define HAVE_MEMORY_H 1
  10706. | #define HAVE_STRINGS_H 1
  10707. | #define HAVE_INTTYPES_H 1
  10708. | #define HAVE_STDINT_H 1
  10709. | #define HAVE_UNISTD_H 1
  10710. | #define __EXTENSIONS__ 1
  10711. | #define _ALL_SOURCE 1
  10712. | #define _GNU_SOURCE 1
  10713. | #define _POSIX_PTHREAD_SEMANTICS 1
  10714. | #define _TANDEM_SOURCE 1
  10715. | #define HAVE_INFINITY 1
  10716. | #define HAVE_NAN 1
  10717. | #define RUBY_SYMBOL_EXPORT_BEGIN _Pragma("GCC visibility push(default)")
  10718. | #define RUBY_SYMBOL_EXPORT_END _Pragma("GCC visibility pop")
  10719. | #define HAVE_LIBCRYPT 1
  10720. | #define HAVE_LIBDL 1
  10721. | #define HAVE_DIRENT_H 1
  10722. | #define HAVE__BOOL 1
  10723. | #define HAVE_STDBOOL_H 1
  10724. | #define HAVE_SYS_WAIT_H 1
  10725. | #define HAVE_A_OUT_H 1
  10726. | #define HAVE_GRP_H 1
  10727. | #define HAVE_FCNTL_H 1
  10728. | #define HAVE_FLOAT_H 1
  10729. | #define HAVE_LANGINFO_H 1
  10730. | #define HAVE_LIMITS_H 1
  10731. | #define HAVE_LOCALE_H 1
  10732. | #define HAVE_MALLOC_H 1
  10733. | #define HAVE_PWD_H 1
  10734. | #define HAVE_SYS_FCNTL_H 1
  10735. | #define HAVE_SYS_FILE_H 1
  10736. | #define HAVE_SYS_IOCTL_H 1
  10737. | #define HAVE_SYS_PARAM_H 1
  10738. | #define HAVE_SYS_PRCTL_H 1
  10739. | #define HAVE_SYS_RESOURCE_H 1
  10740. | #define HAVE_SYS_SELECT_H 1
  10741. | #define HAVE_SYS_SENDFILE_H 1
  10742. | #define HAVE_SYS_SOCKET_H 1
  10743. | #define HAVE_SYS_SYSCALL_H 1
  10744. | #define HAVE_SYS_TIME_H 1
  10745. | #define HAVE_SYS_TIMES_H 1
  10746. | #define HAVE_SYS_UIO_H 1
  10747. | #define HAVE_SYSCALL_H 1
  10748. | #define HAVE_TIME_H 1
  10749. | #define HAVE_UCONTEXT_H 1
  10750. | #define HAVE_UTIME_H 1
  10751. | #define HAVE_GMP_H 1
  10752. | #define HAVE_LIBGMP 1
  10753. | #define HAVE_TYPEOF 1
  10754. | #define typeof __typeof__
  10755. | #define HAVE_LONG_LONG 1
  10756. | #define HAVE_OFF_T 1
  10757. | #define SIZEOF_INT 4
  10758. | #define SIZEOF_SHORT 2
  10759. | #define SIZEOF_LONG 8
  10760. | #define SIZEOF_LONG_LONG 8
  10761. | #define SIZEOF___INT64 0
  10762. | #define SIZEOF_OFF_T 8
  10763. | #define SIZEOF_VOIDP 8
  10764. | #define SIZEOF_FLOAT 4
  10765. | #define SIZEOF_DOUBLE 8
  10766. | #define SIZEOF_TIME_T 8
  10767. | #define SIZEOF_CLOCK_T 8
  10768. | #define PACKED_STRUCT(x) x __attribute__((packed))
  10769. | #define PACKED_STRUCT_UNALIGNED(x) x
  10770. | #define PRI_LL_PREFIX "ll"
  10771. | #define rb_pid_t pid_t
  10772. | #define SIGNEDNESS_OF_PID_T -1
  10773. | #define PIDT2NUM(v) INT2NUM(v)
  10774. | #define NUM2PIDT(v) NUM2INT(v)
  10775. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  10776. | #define rb_uid_t uid_t
  10777. | #define SIGNEDNESS_OF_UID_T +1
  10778. | #define UIDT2NUM(v) UINT2NUM(v)
  10779. | #define NUM2UIDT(v) NUM2UINT(v)
  10780. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  10781. | #define rb_gid_t gid_t
  10782. | #define SIGNEDNESS_OF_GID_T +1
  10783. | #define GIDT2NUM(v) UINT2NUM(v)
  10784. | #define NUM2GIDT(v) NUM2UINT(v)
  10785. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  10786. | #define rb_time_t time_t
  10787. | #define SIGNEDNESS_OF_TIME_T -1
  10788. | #define TIMET2NUM(v) LONG2NUM(v)
  10789. | #define NUM2TIMET(v) NUM2LONG(v)
  10790. | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
  10791. | #define rb_dev_t dev_t
  10792. | #define SIGNEDNESS_OF_DEV_T +1
  10793. | #define DEVT2NUM(v) ULONG2NUM(v)
  10794. | #define NUM2DEVT(v) NUM2ULONG(v)
  10795. | #define PRI_DEVT_PREFIX PRI_LONG_PREFIX
  10796. | #define rb_mode_t mode_t
  10797. | #define SIGNEDNESS_OF_MODE_T +1
  10798. | #define MODET2NUM(v) UINT2NUM(v)
  10799. | #define NUM2MODET(v) NUM2UINT(v)
  10800. | #define PRI_MODET_PREFIX PRI_INT_PREFIX
  10801. | #define rb_rlim_t rlim_t
  10802. | #define SIGNEDNESS_OF_RLIM_T +1
  10803. | #define RLIM2NUM(v) ULONG2NUM(v)
  10804. | #define NUM2RLIM(v) NUM2ULONG(v)
  10805. | #define PRI_RLIM_PREFIX PRI_LONG_PREFIX
  10806. | #define rb_off_t off_t
  10807. | #define SIGNEDNESS_OF_OFF_T -1
  10808. | #define OFFT2NUM(v) LONG2NUM(v)
  10809. | #define NUM2OFFT(v) NUM2LONG(v)
  10810. | #define PRI_OFFT_PREFIX PRI_LONG_PREFIX
  10811. | #define rb_clockid_t clockid_t
  10812. | #define SIGNEDNESS_OF_CLOCKID_T -1
  10813. | #define CLOCKID2NUM(v) INT2NUM(v)
  10814. | #define NUM2CLOCKID(v) NUM2INT(v)
  10815. | #define PRI_CLOCKID_PREFIX PRI_INT_PREFIX
  10816. | #define HAVE_PROTOTYPES 1
  10817. | #define TOKEN_PASTE(x,y) x##y
  10818. | #define STRINGIZE(expr) STRINGIZE0(expr)
  10819. | #define HAVE_STDARG_PROTOTYPES 1
  10820. | #define HAVE_VA_ARGS_MACRO 1
  10821. | #define NORETURN(x) __attribute__ ((noreturn)) x
  10822. | #define DEPRECATED(x) __attribute__ ((deprecated)) x
  10823. | #define DEPRECATED_BY(n,x) __attribute__ ((deprecated("by "#n))) x
  10824. | #define DEPRECATED_TYPE(mesg,x) __attribute__ ((deprecated mesg)) x
  10825. | #define NOINLINE(x) __attribute__ ((noinline)) x
  10826. | #define WEAK(x) __attribute__ ((weak)) x
  10827. | #define HAVE_FUNC_WEAK 1
  10828. | #define FUNC_UNOPTIMIZED(x) __attribute__ ((optimize("O0"))) x
  10829. | #define FUNC_MINIMIZED(x) __attribute__ ((optimize("-Os","-fomit-frame-pointer"))) x
  10830. | #define HAVE_ATTRIBUTE_FUNCTION_ALIAS 1
  10831. | #define RUBY_ALIAS_FUNCTION_TYPE(type, prot, name, args) type prot __attribute__((alias(#name)));
  10832. | #define RUBY_ALIAS_FUNCTION_VOID(prot, name, args) RUBY_ALIAS_FUNCTION_TYPE(void, prot, name, args)
  10833. | #define HAVE_GCC_ATOMIC_BUILTINS 1
  10834. | #define HAVE_GCC_SYNC_BUILTINS 1
  10835. | #define UNREACHABLE __builtin_unreachable()
  10836. | #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
  10837. | #define RUBY_FUNCTION_NAME_STRING __func__
  10838. | #define ENUM_OVER_INT 1
  10839. | #define HAVE_DECL_SYS_NERR 1
  10840. | #define HAVE_DECL_GETENV 1
  10841. | #define SIZEOF_SIZE_T 8
  10842. | #define SIZEOF_PTRDIFF_T 8
  10843. | #define PRI_SIZE_PREFIX "z"
  10844. | #define PRI_PTRDIFF_PREFIX "t"
  10845. | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
  10846. | #define HAVE_ST_BLKSIZE 1
  10847. | #define HAVE_STRUCT_STAT_ST_BLOCKS 1
  10848. | #define HAVE_ST_BLOCKS 1
  10849. | #define HAVE_STRUCT_STAT_ST_RDEV 1
  10850. | #define HAVE_ST_RDEV 1
  10851. | #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_OFF_T
  10852. | #define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_OFF_T
  10853. | #define SIZEOF_STRUCT_STAT_ST_INO SIZEOF_LONG
  10854. | #define HAVE_STRUCT_STAT_ST_ATIM 1
  10855. | /* end confdefs.h. */
  10856. | #include <stdio.h>
  10857. | #ifdef HAVE_SYS_TYPES_H
  10858. | # include <sys/types.h>
  10859. | #endif
  10860. | #ifdef HAVE_SYS_STAT_H
  10861. | # include <sys/stat.h>
  10862. | #endif
  10863. | #ifdef STDC_HEADERS
  10864. | # include <stdlib.h>
  10865. | # include <stddef.h>
  10866. | #else
  10867. | # ifdef HAVE_STDLIB_H
  10868. | # include <stdlib.h>
  10869. | # endif
  10870. | #endif
  10871. | #ifdef HAVE_STRING_H
  10872. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  10873. | # include <memory.h>
  10874. | # endif
  10875. | # include <string.h>
  10876. | #endif
  10877. | #ifdef HAVE_STRINGS_H
  10878. | # include <strings.h>
  10879. | #endif
  10880. | #ifdef HAVE_INTTYPES_H
  10881. | # include <inttypes.h>
  10882. | #endif
  10883. | #ifdef HAVE_STDINT_H
  10884. | # include <stdint.h>
  10885. | #endif
  10886. | #ifdef HAVE_UNISTD_H
  10887. | # include <unistd.h>
  10888. | #endif
  10889. | int
  10890. | main ()
  10891. | {
  10892. | static struct stat ac_aggr;
  10893. | if (ac_aggr.st_mtim)
  10894. | return 0;
  10895. | ;
  10896. | return 0;
  10897. | }
  10898. configure:15954: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  10899. configure:15954: $? = 0
  10900. configure:15954: result: yes
  10901. configure:15964: checking for struct stat.st_mtimespec
  10902. configure:15964: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  10903. conftest.c: In function 'main':
  10904. conftest.c:203:13: error: 'struct stat' has no member named 'st_mtimespec'; did you mean 'st_mtim'?
  10905. if (ac_aggr.st_mtimespec)
  10906. ^~~~~~~~~~~~
  10907. st_mtim
  10908. configure:15964: $? = 1
  10909. configure: failed program was:
  10910. | /* confdefs.h */
  10911. | #define PACKAGE_NAME ""
  10912. | #define PACKAGE_TARNAME ""
  10913. | #define PACKAGE_VERSION ""
  10914. | #define PACKAGE_STRING ""
  10915. | #define PACKAGE_BUGREPORT ""
  10916. | #define PACKAGE_URL ""
  10917. | #define CANONICALIZATION_FOR_MATHN 1
  10918. | #define STDC_HEADERS 1
  10919. | #define HAVE_SYS_TYPES_H 1
  10920. | #define HAVE_SYS_STAT_H 1
  10921. | #define HAVE_STDLIB_H 1
  10922. | #define HAVE_STRING_H 1
  10923. | #define HAVE_MEMORY_H 1
  10924. | #define HAVE_STRINGS_H 1
  10925. | #define HAVE_INTTYPES_H 1
  10926. | #define HAVE_STDINT_H 1
  10927. | #define HAVE_UNISTD_H 1
  10928. | #define __EXTENSIONS__ 1
  10929. | #define _ALL_SOURCE 1
  10930. | #define _GNU_SOURCE 1
  10931. | #define _POSIX_PTHREAD_SEMANTICS 1
  10932. | #define _TANDEM_SOURCE 1
  10933. | #define HAVE_INFINITY 1
  10934. | #define HAVE_NAN 1
  10935. | #define RUBY_SYMBOL_EXPORT_BEGIN _Pragma("GCC visibility push(default)")
  10936. | #define RUBY_SYMBOL_EXPORT_END _Pragma("GCC visibility pop")
  10937. | #define HAVE_LIBCRYPT 1
  10938. | #define HAVE_LIBDL 1
  10939. | #define HAVE_DIRENT_H 1
  10940. | #define HAVE__BOOL 1
  10941. | #define HAVE_STDBOOL_H 1
  10942. | #define HAVE_SYS_WAIT_H 1
  10943. | #define HAVE_A_OUT_H 1
  10944. | #define HAVE_GRP_H 1
  10945. | #define HAVE_FCNTL_H 1
  10946. | #define HAVE_FLOAT_H 1
  10947. | #define HAVE_LANGINFO_H 1
  10948. | #define HAVE_LIMITS_H 1
  10949. | #define HAVE_LOCALE_H 1
  10950. | #define HAVE_MALLOC_H 1
  10951. | #define HAVE_PWD_H 1
  10952. | #define HAVE_SYS_FCNTL_H 1
  10953. | #define HAVE_SYS_FILE_H 1
  10954. | #define HAVE_SYS_IOCTL_H 1
  10955. | #define HAVE_SYS_PARAM_H 1
  10956. | #define HAVE_SYS_PRCTL_H 1
  10957. | #define HAVE_SYS_RESOURCE_H 1
  10958. | #define HAVE_SYS_SELECT_H 1
  10959. | #define HAVE_SYS_SENDFILE_H 1
  10960. | #define HAVE_SYS_SOCKET_H 1
  10961. | #define HAVE_SYS_SYSCALL_H 1
  10962. | #define HAVE_SYS_TIME_H 1
  10963. | #define HAVE_SYS_TIMES_H 1
  10964. | #define HAVE_SYS_UIO_H 1
  10965. | #define HAVE_SYSCALL_H 1
  10966. | #define HAVE_TIME_H 1
  10967. | #define HAVE_UCONTEXT_H 1
  10968. | #define HAVE_UTIME_H 1
  10969. | #define HAVE_GMP_H 1
  10970. | #define HAVE_LIBGMP 1
  10971. | #define HAVE_TYPEOF 1
  10972. | #define typeof __typeof__
  10973. | #define HAVE_LONG_LONG 1
  10974. | #define HAVE_OFF_T 1
  10975. | #define SIZEOF_INT 4
  10976. | #define SIZEOF_SHORT 2
  10977. | #define SIZEOF_LONG 8
  10978. | #define SIZEOF_LONG_LONG 8
  10979. | #define SIZEOF___INT64 0
  10980. | #define SIZEOF_OFF_T 8
  10981. | #define SIZEOF_VOIDP 8
  10982. | #define SIZEOF_FLOAT 4
  10983. | #define SIZEOF_DOUBLE 8
  10984. | #define SIZEOF_TIME_T 8
  10985. | #define SIZEOF_CLOCK_T 8
  10986. | #define PACKED_STRUCT(x) x __attribute__((packed))
  10987. | #define PACKED_STRUCT_UNALIGNED(x) x
  10988. | #define PRI_LL_PREFIX "ll"
  10989. | #define rb_pid_t pid_t
  10990. | #define SIGNEDNESS_OF_PID_T -1
  10991. | #define PIDT2NUM(v) INT2NUM(v)
  10992. | #define NUM2PIDT(v) NUM2INT(v)
  10993. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  10994. | #define rb_uid_t uid_t
  10995. | #define SIGNEDNESS_OF_UID_T +1
  10996. | #define UIDT2NUM(v) UINT2NUM(v)
  10997. | #define NUM2UIDT(v) NUM2UINT(v)
  10998. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  10999. | #define rb_gid_t gid_t
  11000. | #define SIGNEDNESS_OF_GID_T +1
  11001. | #define GIDT2NUM(v) UINT2NUM(v)
  11002. | #define NUM2GIDT(v) NUM2UINT(v)
  11003. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  11004. | #define rb_time_t time_t
  11005. | #define SIGNEDNESS_OF_TIME_T -1
  11006. | #define TIMET2NUM(v) LONG2NUM(v)
  11007. | #define NUM2TIMET(v) NUM2LONG(v)
  11008. | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
  11009. | #define rb_dev_t dev_t
  11010. | #define SIGNEDNESS_OF_DEV_T +1
  11011. | #define DEVT2NUM(v) ULONG2NUM(v)
  11012. | #define NUM2DEVT(v) NUM2ULONG(v)
  11013. | #define PRI_DEVT_PREFIX PRI_LONG_PREFIX
  11014. | #define rb_mode_t mode_t
  11015. | #define SIGNEDNESS_OF_MODE_T +1
  11016. | #define MODET2NUM(v) UINT2NUM(v)
  11017. | #define NUM2MODET(v) NUM2UINT(v)
  11018. | #define PRI_MODET_PREFIX PRI_INT_PREFIX
  11019. | #define rb_rlim_t rlim_t
  11020. | #define SIGNEDNESS_OF_RLIM_T +1
  11021. | #define RLIM2NUM(v) ULONG2NUM(v)
  11022. | #define NUM2RLIM(v) NUM2ULONG(v)
  11023. | #define PRI_RLIM_PREFIX PRI_LONG_PREFIX
  11024. | #define rb_off_t off_t
  11025. | #define SIGNEDNESS_OF_OFF_T -1
  11026. | #define OFFT2NUM(v) LONG2NUM(v)
  11027. | #define NUM2OFFT(v) NUM2LONG(v)
  11028. | #define PRI_OFFT_PREFIX PRI_LONG_PREFIX
  11029. | #define rb_clockid_t clockid_t
  11030. | #define SIGNEDNESS_OF_CLOCKID_T -1
  11031. | #define CLOCKID2NUM(v) INT2NUM(v)
  11032. | #define NUM2CLOCKID(v) NUM2INT(v)
  11033. | #define PRI_CLOCKID_PREFIX PRI_INT_PREFIX
  11034. | #define HAVE_PROTOTYPES 1
  11035. | #define TOKEN_PASTE(x,y) x##y
  11036. | #define STRINGIZE(expr) STRINGIZE0(expr)
  11037. | #define HAVE_STDARG_PROTOTYPES 1
  11038. | #define HAVE_VA_ARGS_MACRO 1
  11039. | #define NORETURN(x) __attribute__ ((noreturn)) x
  11040. | #define DEPRECATED(x) __attribute__ ((deprecated)) x
  11041. | #define DEPRECATED_BY(n,x) __attribute__ ((deprecated("by "#n))) x
  11042. | #define DEPRECATED_TYPE(mesg,x) __attribute__ ((deprecated mesg)) x
  11043. | #define NOINLINE(x) __attribute__ ((noinline)) x
  11044. | #define WEAK(x) __attribute__ ((weak)) x
  11045. | #define HAVE_FUNC_WEAK 1
  11046. | #define FUNC_UNOPTIMIZED(x) __attribute__ ((optimize("O0"))) x
  11047. | #define FUNC_MINIMIZED(x) __attribute__ ((optimize("-Os","-fomit-frame-pointer"))) x
  11048. | #define HAVE_ATTRIBUTE_FUNCTION_ALIAS 1
  11049. | #define RUBY_ALIAS_FUNCTION_TYPE(type, prot, name, args) type prot __attribute__((alias(#name)));
  11050. | #define RUBY_ALIAS_FUNCTION_VOID(prot, name, args) RUBY_ALIAS_FUNCTION_TYPE(void, prot, name, args)
  11051. | #define HAVE_GCC_ATOMIC_BUILTINS 1
  11052. | #define HAVE_GCC_SYNC_BUILTINS 1
  11053. | #define UNREACHABLE __builtin_unreachable()
  11054. | #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
  11055. | #define RUBY_FUNCTION_NAME_STRING __func__
  11056. | #define ENUM_OVER_INT 1
  11057. | #define HAVE_DECL_SYS_NERR 1
  11058. | #define HAVE_DECL_GETENV 1
  11059. | #define SIZEOF_SIZE_T 8
  11060. | #define SIZEOF_PTRDIFF_T 8
  11061. | #define PRI_SIZE_PREFIX "z"
  11062. | #define PRI_PTRDIFF_PREFIX "t"
  11063. | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
  11064. | #define HAVE_ST_BLKSIZE 1
  11065. | #define HAVE_STRUCT_STAT_ST_BLOCKS 1
  11066. | #define HAVE_ST_BLOCKS 1
  11067. | #define HAVE_STRUCT_STAT_ST_RDEV 1
  11068. | #define HAVE_ST_RDEV 1
  11069. | #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_OFF_T
  11070. | #define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_OFF_T
  11071. | #define SIZEOF_STRUCT_STAT_ST_INO SIZEOF_LONG
  11072. | #define HAVE_STRUCT_STAT_ST_ATIM 1
  11073. | #define HAVE_STRUCT_STAT_ST_MTIM 1
  11074. | /* end confdefs.h. */
  11075. | #include <stdio.h>
  11076. | #ifdef HAVE_SYS_TYPES_H
  11077. | # include <sys/types.h>
  11078. | #endif
  11079. | #ifdef HAVE_SYS_STAT_H
  11080. | # include <sys/stat.h>
  11081. | #endif
  11082. | #ifdef STDC_HEADERS
  11083. | # include <stdlib.h>
  11084. | # include <stddef.h>
  11085. | #else
  11086. | # ifdef HAVE_STDLIB_H
  11087. | # include <stdlib.h>
  11088. | # endif
  11089. | #endif
  11090. | #ifdef HAVE_STRING_H
  11091. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  11092. | # include <memory.h>
  11093. | # endif
  11094. | # include <string.h>
  11095. | #endif
  11096. | #ifdef HAVE_STRINGS_H
  11097. | # include <strings.h>
  11098. | #endif
  11099. | #ifdef HAVE_INTTYPES_H
  11100. | # include <inttypes.h>
  11101. | #endif
  11102. | #ifdef HAVE_STDINT_H
  11103. | # include <stdint.h>
  11104. | #endif
  11105. | #ifdef HAVE_UNISTD_H
  11106. | # include <unistd.h>
  11107. | #endif
  11108. | int
  11109. | main ()
  11110. | {
  11111. | static struct stat ac_aggr;
  11112. | if (ac_aggr.st_mtimespec)
  11113. | return 0;
  11114. | ;
  11115. | return 0;
  11116. | }
  11117. configure:15964: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  11118. conftest.c: In function 'main':
  11119. conftest.c:203:20: error: 'struct stat' has no member named 'st_mtimespec'; did you mean 'st_mtim'?
  11120. if (sizeof ac_aggr.st_mtimespec)
  11121. ^~~~~~~~~~~~
  11122. st_mtim
  11123. configure:15964: $? = 1
  11124. configure: failed program was:
  11125. | /* confdefs.h */
  11126. | #define PACKAGE_NAME ""
  11127. | #define PACKAGE_TARNAME ""
  11128. | #define PACKAGE_VERSION ""
  11129. | #define PACKAGE_STRING ""
  11130. | #define PACKAGE_BUGREPORT ""
  11131. | #define PACKAGE_URL ""
  11132. | #define CANONICALIZATION_FOR_MATHN 1
  11133. | #define STDC_HEADERS 1
  11134. | #define HAVE_SYS_TYPES_H 1
  11135. | #define HAVE_SYS_STAT_H 1
  11136. | #define HAVE_STDLIB_H 1
  11137. | #define HAVE_STRING_H 1
  11138. | #define HAVE_MEMORY_H 1
  11139. | #define HAVE_STRINGS_H 1
  11140. | #define HAVE_INTTYPES_H 1
  11141. | #define HAVE_STDINT_H 1
  11142. | #define HAVE_UNISTD_H 1
  11143. | #define __EXTENSIONS__ 1
  11144. | #define _ALL_SOURCE 1
  11145. | #define _GNU_SOURCE 1
  11146. | #define _POSIX_PTHREAD_SEMANTICS 1
  11147. | #define _TANDEM_SOURCE 1
  11148. | #define HAVE_INFINITY 1
  11149. | #define HAVE_NAN 1
  11150. | #define RUBY_SYMBOL_EXPORT_BEGIN _Pragma("GCC visibility push(default)")
  11151. | #define RUBY_SYMBOL_EXPORT_END _Pragma("GCC visibility pop")
  11152. | #define HAVE_LIBCRYPT 1
  11153. | #define HAVE_LIBDL 1
  11154. | #define HAVE_DIRENT_H 1
  11155. | #define HAVE__BOOL 1
  11156. | #define HAVE_STDBOOL_H 1
  11157. | #define HAVE_SYS_WAIT_H 1
  11158. | #define HAVE_A_OUT_H 1
  11159. | #define HAVE_GRP_H 1
  11160. | #define HAVE_FCNTL_H 1
  11161. | #define HAVE_FLOAT_H 1
  11162. | #define HAVE_LANGINFO_H 1
  11163. | #define HAVE_LIMITS_H 1
  11164. | #define HAVE_LOCALE_H 1
  11165. | #define HAVE_MALLOC_H 1
  11166. | #define HAVE_PWD_H 1
  11167. | #define HAVE_SYS_FCNTL_H 1
  11168. | #define HAVE_SYS_FILE_H 1
  11169. | #define HAVE_SYS_IOCTL_H 1
  11170. | #define HAVE_SYS_PARAM_H 1
  11171. | #define HAVE_SYS_PRCTL_H 1
  11172. | #define HAVE_SYS_RESOURCE_H 1
  11173. | #define HAVE_SYS_SELECT_H 1
  11174. | #define HAVE_SYS_SENDFILE_H 1
  11175. | #define HAVE_SYS_SOCKET_H 1
  11176. | #define HAVE_SYS_SYSCALL_H 1
  11177. | #define HAVE_SYS_TIME_H 1
  11178. | #define HAVE_SYS_TIMES_H 1
  11179. | #define HAVE_SYS_UIO_H 1
  11180. | #define HAVE_SYSCALL_H 1
  11181. | #define HAVE_TIME_H 1
  11182. | #define HAVE_UCONTEXT_H 1
  11183. | #define HAVE_UTIME_H 1
  11184. | #define HAVE_GMP_H 1
  11185. | #define HAVE_LIBGMP 1
  11186. | #define HAVE_TYPEOF 1
  11187. | #define typeof __typeof__
  11188. | #define HAVE_LONG_LONG 1
  11189. | #define HAVE_OFF_T 1
  11190. | #define SIZEOF_INT 4
  11191. | #define SIZEOF_SHORT 2
  11192. | #define SIZEOF_LONG 8
  11193. | #define SIZEOF_LONG_LONG 8
  11194. | #define SIZEOF___INT64 0
  11195. | #define SIZEOF_OFF_T 8
  11196. | #define SIZEOF_VOIDP 8
  11197. | #define SIZEOF_FLOAT 4
  11198. | #define SIZEOF_DOUBLE 8
  11199. | #define SIZEOF_TIME_T 8
  11200. | #define SIZEOF_CLOCK_T 8
  11201. | #define PACKED_STRUCT(x) x __attribute__((packed))
  11202. | #define PACKED_STRUCT_UNALIGNED(x) x
  11203. | #define PRI_LL_PREFIX "ll"
  11204. | #define rb_pid_t pid_t
  11205. | #define SIGNEDNESS_OF_PID_T -1
  11206. | #define PIDT2NUM(v) INT2NUM(v)
  11207. | #define NUM2PIDT(v) NUM2INT(v)
  11208. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  11209. | #define rb_uid_t uid_t
  11210. | #define SIGNEDNESS_OF_UID_T +1
  11211. | #define UIDT2NUM(v) UINT2NUM(v)
  11212. | #define NUM2UIDT(v) NUM2UINT(v)
  11213. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  11214. | #define rb_gid_t gid_t
  11215. | #define SIGNEDNESS_OF_GID_T +1
  11216. | #define GIDT2NUM(v) UINT2NUM(v)
  11217. | #define NUM2GIDT(v) NUM2UINT(v)
  11218. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  11219. | #define rb_time_t time_t
  11220. | #define SIGNEDNESS_OF_TIME_T -1
  11221. | #define TIMET2NUM(v) LONG2NUM(v)
  11222. | #define NUM2TIMET(v) NUM2LONG(v)
  11223. | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
  11224. | #define rb_dev_t dev_t
  11225. | #define SIGNEDNESS_OF_DEV_T +1
  11226. | #define DEVT2NUM(v) ULONG2NUM(v)
  11227. | #define NUM2DEVT(v) NUM2ULONG(v)
  11228. | #define PRI_DEVT_PREFIX PRI_LONG_PREFIX
  11229. | #define rb_mode_t mode_t
  11230. | #define SIGNEDNESS_OF_MODE_T +1
  11231. | #define MODET2NUM(v) UINT2NUM(v)
  11232. | #define NUM2MODET(v) NUM2UINT(v)
  11233. | #define PRI_MODET_PREFIX PRI_INT_PREFIX
  11234. | #define rb_rlim_t rlim_t
  11235. | #define SIGNEDNESS_OF_RLIM_T +1
  11236. | #define RLIM2NUM(v) ULONG2NUM(v)
  11237. | #define NUM2RLIM(v) NUM2ULONG(v)
  11238. | #define PRI_RLIM_PREFIX PRI_LONG_PREFIX
  11239. | #define rb_off_t off_t
  11240. | #define SIGNEDNESS_OF_OFF_T -1
  11241. | #define OFFT2NUM(v) LONG2NUM(v)
  11242. | #define NUM2OFFT(v) NUM2LONG(v)
  11243. | #define PRI_OFFT_PREFIX PRI_LONG_PREFIX
  11244. | #define rb_clockid_t clockid_t
  11245. | #define SIGNEDNESS_OF_CLOCKID_T -1
  11246. | #define CLOCKID2NUM(v) INT2NUM(v)
  11247. | #define NUM2CLOCKID(v) NUM2INT(v)
  11248. | #define PRI_CLOCKID_PREFIX PRI_INT_PREFIX
  11249. | #define HAVE_PROTOTYPES 1
  11250. | #define TOKEN_PASTE(x,y) x##y
  11251. | #define STRINGIZE(expr) STRINGIZE0(expr)
  11252. | #define HAVE_STDARG_PROTOTYPES 1
  11253. | #define HAVE_VA_ARGS_MACRO 1
  11254. | #define NORETURN(x) __attribute__ ((noreturn)) x
  11255. | #define DEPRECATED(x) __attribute__ ((deprecated)) x
  11256. | #define DEPRECATED_BY(n,x) __attribute__ ((deprecated("by "#n))) x
  11257. | #define DEPRECATED_TYPE(mesg,x) __attribute__ ((deprecated mesg)) x
  11258. | #define NOINLINE(x) __attribute__ ((noinline)) x
  11259. | #define WEAK(x) __attribute__ ((weak)) x
  11260. | #define HAVE_FUNC_WEAK 1
  11261. | #define FUNC_UNOPTIMIZED(x) __attribute__ ((optimize("O0"))) x
  11262. | #define FUNC_MINIMIZED(x) __attribute__ ((optimize("-Os","-fomit-frame-pointer"))) x
  11263. | #define HAVE_ATTRIBUTE_FUNCTION_ALIAS 1
  11264. | #define RUBY_ALIAS_FUNCTION_TYPE(type, prot, name, args) type prot __attribute__((alias(#name)));
  11265. | #define RUBY_ALIAS_FUNCTION_VOID(prot, name, args) RUBY_ALIAS_FUNCTION_TYPE(void, prot, name, args)
  11266. | #define HAVE_GCC_ATOMIC_BUILTINS 1
  11267. | #define HAVE_GCC_SYNC_BUILTINS 1
  11268. | #define UNREACHABLE __builtin_unreachable()
  11269. | #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
  11270. | #define RUBY_FUNCTION_NAME_STRING __func__
  11271. | #define ENUM_OVER_INT 1
  11272. | #define HAVE_DECL_SYS_NERR 1
  11273. | #define HAVE_DECL_GETENV 1
  11274. | #define SIZEOF_SIZE_T 8
  11275. | #define SIZEOF_PTRDIFF_T 8
  11276. | #define PRI_SIZE_PREFIX "z"
  11277. | #define PRI_PTRDIFF_PREFIX "t"
  11278. | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
  11279. | #define HAVE_ST_BLKSIZE 1
  11280. | #define HAVE_STRUCT_STAT_ST_BLOCKS 1
  11281. | #define HAVE_ST_BLOCKS 1
  11282. | #define HAVE_STRUCT_STAT_ST_RDEV 1
  11283. | #define HAVE_ST_RDEV 1
  11284. | #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_OFF_T
  11285. | #define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_OFF_T
  11286. | #define SIZEOF_STRUCT_STAT_ST_INO SIZEOF_LONG
  11287. | #define HAVE_STRUCT_STAT_ST_ATIM 1
  11288. | #define HAVE_STRUCT_STAT_ST_MTIM 1
  11289. | /* end confdefs.h. */
  11290. | #include <stdio.h>
  11291. | #ifdef HAVE_SYS_TYPES_H
  11292. | # include <sys/types.h>
  11293. | #endif
  11294. | #ifdef HAVE_SYS_STAT_H
  11295. | # include <sys/stat.h>
  11296. | #endif
  11297. | #ifdef STDC_HEADERS
  11298. | # include <stdlib.h>
  11299. | # include <stddef.h>
  11300. | #else
  11301. | # ifdef HAVE_STDLIB_H
  11302. | # include <stdlib.h>
  11303. | # endif
  11304. | #endif
  11305. | #ifdef HAVE_STRING_H
  11306. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  11307. | # include <memory.h>
  11308. | # endif
  11309. | # include <string.h>
  11310. | #endif
  11311. | #ifdef HAVE_STRINGS_H
  11312. | # include <strings.h>
  11313. | #endif
  11314. | #ifdef HAVE_INTTYPES_H
  11315. | # include <inttypes.h>
  11316. | #endif
  11317. | #ifdef HAVE_STDINT_H
  11318. | # include <stdint.h>
  11319. | #endif
  11320. | #ifdef HAVE_UNISTD_H
  11321. | # include <unistd.h>
  11322. | #endif
  11323. | int
  11324. | main ()
  11325. | {
  11326. | static struct stat ac_aggr;
  11327. | if (sizeof ac_aggr.st_mtimespec)
  11328. | return 0;
  11329. | ;
  11330. | return 0;
  11331. | }
  11332. configure:15964: result: no
  11333. configure:15974: checking for struct stat.st_mtimensec
  11334. configure:15974: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  11335. conftest.c: In function 'main':
  11336. conftest.c:203:13: error: 'struct stat' has no member named 'st_mtimensec'; did you mean 'st_mtim'?
  11337. if (ac_aggr.st_mtimensec)
  11338. ^~~~~~~~~~~~
  11339. st_mtim
  11340. configure:15974: $? = 1
  11341. configure: failed program was:
  11342. | /* confdefs.h */
  11343. | #define PACKAGE_NAME ""
  11344. | #define PACKAGE_TARNAME ""
  11345. | #define PACKAGE_VERSION ""
  11346. | #define PACKAGE_STRING ""
  11347. | #define PACKAGE_BUGREPORT ""
  11348. | #define PACKAGE_URL ""
  11349. | #define CANONICALIZATION_FOR_MATHN 1
  11350. | #define STDC_HEADERS 1
  11351. | #define HAVE_SYS_TYPES_H 1
  11352. | #define HAVE_SYS_STAT_H 1
  11353. | #define HAVE_STDLIB_H 1
  11354. | #define HAVE_STRING_H 1
  11355. | #define HAVE_MEMORY_H 1
  11356. | #define HAVE_STRINGS_H 1
  11357. | #define HAVE_INTTYPES_H 1
  11358. | #define HAVE_STDINT_H 1
  11359. | #define HAVE_UNISTD_H 1
  11360. | #define __EXTENSIONS__ 1
  11361. | #define _ALL_SOURCE 1
  11362. | #define _GNU_SOURCE 1
  11363. | #define _POSIX_PTHREAD_SEMANTICS 1
  11364. | #define _TANDEM_SOURCE 1
  11365. | #define HAVE_INFINITY 1
  11366. | #define HAVE_NAN 1
  11367. | #define RUBY_SYMBOL_EXPORT_BEGIN _Pragma("GCC visibility push(default)")
  11368. | #define RUBY_SYMBOL_EXPORT_END _Pragma("GCC visibility pop")
  11369. | #define HAVE_LIBCRYPT 1
  11370. | #define HAVE_LIBDL 1
  11371. | #define HAVE_DIRENT_H 1
  11372. | #define HAVE__BOOL 1
  11373. | #define HAVE_STDBOOL_H 1
  11374. | #define HAVE_SYS_WAIT_H 1
  11375. | #define HAVE_A_OUT_H 1
  11376. | #define HAVE_GRP_H 1
  11377. | #define HAVE_FCNTL_H 1
  11378. | #define HAVE_FLOAT_H 1
  11379. | #define HAVE_LANGINFO_H 1
  11380. | #define HAVE_LIMITS_H 1
  11381. | #define HAVE_LOCALE_H 1
  11382. | #define HAVE_MALLOC_H 1
  11383. | #define HAVE_PWD_H 1
  11384. | #define HAVE_SYS_FCNTL_H 1
  11385. | #define HAVE_SYS_FILE_H 1
  11386. | #define HAVE_SYS_IOCTL_H 1
  11387. | #define HAVE_SYS_PARAM_H 1
  11388. | #define HAVE_SYS_PRCTL_H 1
  11389. | #define HAVE_SYS_RESOURCE_H 1
  11390. | #define HAVE_SYS_SELECT_H 1
  11391. | #define HAVE_SYS_SENDFILE_H 1
  11392. | #define HAVE_SYS_SOCKET_H 1
  11393. | #define HAVE_SYS_SYSCALL_H 1
  11394. | #define HAVE_SYS_TIME_H 1
  11395. | #define HAVE_SYS_TIMES_H 1
  11396. | #define HAVE_SYS_UIO_H 1
  11397. | #define HAVE_SYSCALL_H 1
  11398. | #define HAVE_TIME_H 1
  11399. | #define HAVE_UCONTEXT_H 1
  11400. | #define HAVE_UTIME_H 1
  11401. | #define HAVE_GMP_H 1
  11402. | #define HAVE_LIBGMP 1
  11403. | #define HAVE_TYPEOF 1
  11404. | #define typeof __typeof__
  11405. | #define HAVE_LONG_LONG 1
  11406. | #define HAVE_OFF_T 1
  11407. | #define SIZEOF_INT 4
  11408. | #define SIZEOF_SHORT 2
  11409. | #define SIZEOF_LONG 8
  11410. | #define SIZEOF_LONG_LONG 8
  11411. | #define SIZEOF___INT64 0
  11412. | #define SIZEOF_OFF_T 8
  11413. | #define SIZEOF_VOIDP 8
  11414. | #define SIZEOF_FLOAT 4
  11415. | #define SIZEOF_DOUBLE 8
  11416. | #define SIZEOF_TIME_T 8
  11417. | #define SIZEOF_CLOCK_T 8
  11418. | #define PACKED_STRUCT(x) x __attribute__((packed))
  11419. | #define PACKED_STRUCT_UNALIGNED(x) x
  11420. | #define PRI_LL_PREFIX "ll"
  11421. | #define rb_pid_t pid_t
  11422. | #define SIGNEDNESS_OF_PID_T -1
  11423. | #define PIDT2NUM(v) INT2NUM(v)
  11424. | #define NUM2PIDT(v) NUM2INT(v)
  11425. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  11426. | #define rb_uid_t uid_t
  11427. | #define SIGNEDNESS_OF_UID_T +1
  11428. | #define UIDT2NUM(v) UINT2NUM(v)
  11429. | #define NUM2UIDT(v) NUM2UINT(v)
  11430. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  11431. | #define rb_gid_t gid_t
  11432. | #define SIGNEDNESS_OF_GID_T +1
  11433. | #define GIDT2NUM(v) UINT2NUM(v)
  11434. | #define NUM2GIDT(v) NUM2UINT(v)
  11435. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  11436. | #define rb_time_t time_t
  11437. | #define SIGNEDNESS_OF_TIME_T -1
  11438. | #define TIMET2NUM(v) LONG2NUM(v)
  11439. | #define NUM2TIMET(v) NUM2LONG(v)
  11440. | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
  11441. | #define rb_dev_t dev_t
  11442. | #define SIGNEDNESS_OF_DEV_T +1
  11443. | #define DEVT2NUM(v) ULONG2NUM(v)
  11444. | #define NUM2DEVT(v) NUM2ULONG(v)
  11445. | #define PRI_DEVT_PREFIX PRI_LONG_PREFIX
  11446. | #define rb_mode_t mode_t
  11447. | #define SIGNEDNESS_OF_MODE_T +1
  11448. | #define MODET2NUM(v) UINT2NUM(v)
  11449. | #define NUM2MODET(v) NUM2UINT(v)
  11450. | #define PRI_MODET_PREFIX PRI_INT_PREFIX
  11451. | #define rb_rlim_t rlim_t
  11452. | #define SIGNEDNESS_OF_RLIM_T +1
  11453. | #define RLIM2NUM(v) ULONG2NUM(v)
  11454. | #define NUM2RLIM(v) NUM2ULONG(v)
  11455. | #define PRI_RLIM_PREFIX PRI_LONG_PREFIX
  11456. | #define rb_off_t off_t
  11457. | #define SIGNEDNESS_OF_OFF_T -1
  11458. | #define OFFT2NUM(v) LONG2NUM(v)
  11459. | #define NUM2OFFT(v) NUM2LONG(v)
  11460. | #define PRI_OFFT_PREFIX PRI_LONG_PREFIX
  11461. | #define rb_clockid_t clockid_t
  11462. | #define SIGNEDNESS_OF_CLOCKID_T -1
  11463. | #define CLOCKID2NUM(v) INT2NUM(v)
  11464. | #define NUM2CLOCKID(v) NUM2INT(v)
  11465. | #define PRI_CLOCKID_PREFIX PRI_INT_PREFIX
  11466. | #define HAVE_PROTOTYPES 1
  11467. | #define TOKEN_PASTE(x,y) x##y
  11468. | #define STRINGIZE(expr) STRINGIZE0(expr)
  11469. | #define HAVE_STDARG_PROTOTYPES 1
  11470. | #define HAVE_VA_ARGS_MACRO 1
  11471. | #define NORETURN(x) __attribute__ ((noreturn)) x
  11472. | #define DEPRECATED(x) __attribute__ ((deprecated)) x
  11473. | #define DEPRECATED_BY(n,x) __attribute__ ((deprecated("by "#n))) x
  11474. | #define DEPRECATED_TYPE(mesg,x) __attribute__ ((deprecated mesg)) x
  11475. | #define NOINLINE(x) __attribute__ ((noinline)) x
  11476. | #define WEAK(x) __attribute__ ((weak)) x
  11477. | #define HAVE_FUNC_WEAK 1
  11478. | #define FUNC_UNOPTIMIZED(x) __attribute__ ((optimize("O0"))) x
  11479. | #define FUNC_MINIMIZED(x) __attribute__ ((optimize("-Os","-fomit-frame-pointer"))) x
  11480. | #define HAVE_ATTRIBUTE_FUNCTION_ALIAS 1
  11481. | #define RUBY_ALIAS_FUNCTION_TYPE(type, prot, name, args) type prot __attribute__((alias(#name)));
  11482. | #define RUBY_ALIAS_FUNCTION_VOID(prot, name, args) RUBY_ALIAS_FUNCTION_TYPE(void, prot, name, args)
  11483. | #define HAVE_GCC_ATOMIC_BUILTINS 1
  11484. | #define HAVE_GCC_SYNC_BUILTINS 1
  11485. | #define UNREACHABLE __builtin_unreachable()
  11486. | #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
  11487. | #define RUBY_FUNCTION_NAME_STRING __func__
  11488. | #define ENUM_OVER_INT 1
  11489. | #define HAVE_DECL_SYS_NERR 1
  11490. | #define HAVE_DECL_GETENV 1
  11491. | #define SIZEOF_SIZE_T 8
  11492. | #define SIZEOF_PTRDIFF_T 8
  11493. | #define PRI_SIZE_PREFIX "z"
  11494. | #define PRI_PTRDIFF_PREFIX "t"
  11495. | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
  11496. | #define HAVE_ST_BLKSIZE 1
  11497. | #define HAVE_STRUCT_STAT_ST_BLOCKS 1
  11498. | #define HAVE_ST_BLOCKS 1
  11499. | #define HAVE_STRUCT_STAT_ST_RDEV 1
  11500. | #define HAVE_ST_RDEV 1
  11501. | #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_OFF_T
  11502. | #define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_OFF_T
  11503. | #define SIZEOF_STRUCT_STAT_ST_INO SIZEOF_LONG
  11504. | #define HAVE_STRUCT_STAT_ST_ATIM 1
  11505. | #define HAVE_STRUCT_STAT_ST_MTIM 1
  11506. | /* end confdefs.h. */
  11507. | #include <stdio.h>
  11508. | #ifdef HAVE_SYS_TYPES_H
  11509. | # include <sys/types.h>
  11510. | #endif
  11511. | #ifdef HAVE_SYS_STAT_H
  11512. | # include <sys/stat.h>
  11513. | #endif
  11514. | #ifdef STDC_HEADERS
  11515. | # include <stdlib.h>
  11516. | # include <stddef.h>
  11517. | #else
  11518. | # ifdef HAVE_STDLIB_H
  11519. | # include <stdlib.h>
  11520. | # endif
  11521. | #endif
  11522. | #ifdef HAVE_STRING_H
  11523. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  11524. | # include <memory.h>
  11525. | # endif
  11526. | # include <string.h>
  11527. | #endif
  11528. | #ifdef HAVE_STRINGS_H
  11529. | # include <strings.h>
  11530. | #endif
  11531. | #ifdef HAVE_INTTYPES_H
  11532. | # include <inttypes.h>
  11533. | #endif
  11534. | #ifdef HAVE_STDINT_H
  11535. | # include <stdint.h>
  11536. | #endif
  11537. | #ifdef HAVE_UNISTD_H
  11538. | # include <unistd.h>
  11539. | #endif
  11540. | int
  11541. | main ()
  11542. | {
  11543. | static struct stat ac_aggr;
  11544. | if (ac_aggr.st_mtimensec)
  11545. | return 0;
  11546. | ;
  11547. | return 0;
  11548. | }
  11549. configure:15974: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  11550. conftest.c: In function 'main':
  11551. conftest.c:203:20: error: 'struct stat' has no member named 'st_mtimensec'; did you mean 'st_mtim'?
  11552. if (sizeof ac_aggr.st_mtimensec)
  11553. ^~~~~~~~~~~~
  11554. st_mtim
  11555. configure:15974: $? = 1
  11556. configure: failed program was:
  11557. | /* confdefs.h */
  11558. | #define PACKAGE_NAME ""
  11559. | #define PACKAGE_TARNAME ""
  11560. | #define PACKAGE_VERSION ""
  11561. | #define PACKAGE_STRING ""
  11562. | #define PACKAGE_BUGREPORT ""
  11563. | #define PACKAGE_URL ""
  11564. | #define CANONICALIZATION_FOR_MATHN 1
  11565. | #define STDC_HEADERS 1
  11566. | #define HAVE_SYS_TYPES_H 1
  11567. | #define HAVE_SYS_STAT_H 1
  11568. | #define HAVE_STDLIB_H 1
  11569. | #define HAVE_STRING_H 1
  11570. | #define HAVE_MEMORY_H 1
  11571. | #define HAVE_STRINGS_H 1
  11572. | #define HAVE_INTTYPES_H 1
  11573. | #define HAVE_STDINT_H 1
  11574. | #define HAVE_UNISTD_H 1
  11575. | #define __EXTENSIONS__ 1
  11576. | #define _ALL_SOURCE 1
  11577. | #define _GNU_SOURCE 1
  11578. | #define _POSIX_PTHREAD_SEMANTICS 1
  11579. | #define _TANDEM_SOURCE 1
  11580. | #define HAVE_INFINITY 1
  11581. | #define HAVE_NAN 1
  11582. | #define RUBY_SYMBOL_EXPORT_BEGIN _Pragma("GCC visibility push(default)")
  11583. | #define RUBY_SYMBOL_EXPORT_END _Pragma("GCC visibility pop")
  11584. | #define HAVE_LIBCRYPT 1
  11585. | #define HAVE_LIBDL 1
  11586. | #define HAVE_DIRENT_H 1
  11587. | #define HAVE__BOOL 1
  11588. | #define HAVE_STDBOOL_H 1
  11589. | #define HAVE_SYS_WAIT_H 1
  11590. | #define HAVE_A_OUT_H 1
  11591. | #define HAVE_GRP_H 1
  11592. | #define HAVE_FCNTL_H 1
  11593. | #define HAVE_FLOAT_H 1
  11594. | #define HAVE_LANGINFO_H 1
  11595. | #define HAVE_LIMITS_H 1
  11596. | #define HAVE_LOCALE_H 1
  11597. | #define HAVE_MALLOC_H 1
  11598. | #define HAVE_PWD_H 1
  11599. | #define HAVE_SYS_FCNTL_H 1
  11600. | #define HAVE_SYS_FILE_H 1
  11601. | #define HAVE_SYS_IOCTL_H 1
  11602. | #define HAVE_SYS_PARAM_H 1
  11603. | #define HAVE_SYS_PRCTL_H 1
  11604. | #define HAVE_SYS_RESOURCE_H 1
  11605. | #define HAVE_SYS_SELECT_H 1
  11606. | #define HAVE_SYS_SENDFILE_H 1
  11607. | #define HAVE_SYS_SOCKET_H 1
  11608. | #define HAVE_SYS_SYSCALL_H 1
  11609. | #define HAVE_SYS_TIME_H 1
  11610. | #define HAVE_SYS_TIMES_H 1
  11611. | #define HAVE_SYS_UIO_H 1
  11612. | #define HAVE_SYSCALL_H 1
  11613. | #define HAVE_TIME_H 1
  11614. | #define HAVE_UCONTEXT_H 1
  11615. | #define HAVE_UTIME_H 1
  11616. | #define HAVE_GMP_H 1
  11617. | #define HAVE_LIBGMP 1
  11618. | #define HAVE_TYPEOF 1
  11619. | #define typeof __typeof__
  11620. | #define HAVE_LONG_LONG 1
  11621. | #define HAVE_OFF_T 1
  11622. | #define SIZEOF_INT 4
  11623. | #define SIZEOF_SHORT 2
  11624. | #define SIZEOF_LONG 8
  11625. | #define SIZEOF_LONG_LONG 8
  11626. | #define SIZEOF___INT64 0
  11627. | #define SIZEOF_OFF_T 8
  11628. | #define SIZEOF_VOIDP 8
  11629. | #define SIZEOF_FLOAT 4
  11630. | #define SIZEOF_DOUBLE 8
  11631. | #define SIZEOF_TIME_T 8
  11632. | #define SIZEOF_CLOCK_T 8
  11633. | #define PACKED_STRUCT(x) x __attribute__((packed))
  11634. | #define PACKED_STRUCT_UNALIGNED(x) x
  11635. | #define PRI_LL_PREFIX "ll"
  11636. | #define rb_pid_t pid_t
  11637. | #define SIGNEDNESS_OF_PID_T -1
  11638. | #define PIDT2NUM(v) INT2NUM(v)
  11639. | #define NUM2PIDT(v) NUM2INT(v)
  11640. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  11641. | #define rb_uid_t uid_t
  11642. | #define SIGNEDNESS_OF_UID_T +1
  11643. | #define UIDT2NUM(v) UINT2NUM(v)
  11644. | #define NUM2UIDT(v) NUM2UINT(v)
  11645. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  11646. | #define rb_gid_t gid_t
  11647. | #define SIGNEDNESS_OF_GID_T +1
  11648. | #define GIDT2NUM(v) UINT2NUM(v)
  11649. | #define NUM2GIDT(v) NUM2UINT(v)
  11650. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  11651. | #define rb_time_t time_t
  11652. | #define SIGNEDNESS_OF_TIME_T -1
  11653. | #define TIMET2NUM(v) LONG2NUM(v)
  11654. | #define NUM2TIMET(v) NUM2LONG(v)
  11655. | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
  11656. | #define rb_dev_t dev_t
  11657. | #define SIGNEDNESS_OF_DEV_T +1
  11658. | #define DEVT2NUM(v) ULONG2NUM(v)
  11659. | #define NUM2DEVT(v) NUM2ULONG(v)
  11660. | #define PRI_DEVT_PREFIX PRI_LONG_PREFIX
  11661. | #define rb_mode_t mode_t
  11662. | #define SIGNEDNESS_OF_MODE_T +1
  11663. | #define MODET2NUM(v) UINT2NUM(v)
  11664. | #define NUM2MODET(v) NUM2UINT(v)
  11665. | #define PRI_MODET_PREFIX PRI_INT_PREFIX
  11666. | #define rb_rlim_t rlim_t
  11667. | #define SIGNEDNESS_OF_RLIM_T +1
  11668. | #define RLIM2NUM(v) ULONG2NUM(v)
  11669. | #define NUM2RLIM(v) NUM2ULONG(v)
  11670. | #define PRI_RLIM_PREFIX PRI_LONG_PREFIX
  11671. | #define rb_off_t off_t
  11672. | #define SIGNEDNESS_OF_OFF_T -1
  11673. | #define OFFT2NUM(v) LONG2NUM(v)
  11674. | #define NUM2OFFT(v) NUM2LONG(v)
  11675. | #define PRI_OFFT_PREFIX PRI_LONG_PREFIX
  11676. | #define rb_clockid_t clockid_t
  11677. | #define SIGNEDNESS_OF_CLOCKID_T -1
  11678. | #define CLOCKID2NUM(v) INT2NUM(v)
  11679. | #define NUM2CLOCKID(v) NUM2INT(v)
  11680. | #define PRI_CLOCKID_PREFIX PRI_INT_PREFIX
  11681. | #define HAVE_PROTOTYPES 1
  11682. | #define TOKEN_PASTE(x,y) x##y
  11683. | #define STRINGIZE(expr) STRINGIZE0(expr)
  11684. | #define HAVE_STDARG_PROTOTYPES 1
  11685. | #define HAVE_VA_ARGS_MACRO 1
  11686. | #define NORETURN(x) __attribute__ ((noreturn)) x
  11687. | #define DEPRECATED(x) __attribute__ ((deprecated)) x
  11688. | #define DEPRECATED_BY(n,x) __attribute__ ((deprecated("by "#n))) x
  11689. | #define DEPRECATED_TYPE(mesg,x) __attribute__ ((deprecated mesg)) x
  11690. | #define NOINLINE(x) __attribute__ ((noinline)) x
  11691. | #define WEAK(x) __attribute__ ((weak)) x
  11692. | #define HAVE_FUNC_WEAK 1
  11693. | #define FUNC_UNOPTIMIZED(x) __attribute__ ((optimize("O0"))) x
  11694. | #define FUNC_MINIMIZED(x) __attribute__ ((optimize("-Os","-fomit-frame-pointer"))) x
  11695. | #define HAVE_ATTRIBUTE_FUNCTION_ALIAS 1
  11696. | #define RUBY_ALIAS_FUNCTION_TYPE(type, prot, name, args) type prot __attribute__((alias(#name)));
  11697. | #define RUBY_ALIAS_FUNCTION_VOID(prot, name, args) RUBY_ALIAS_FUNCTION_TYPE(void, prot, name, args)
  11698. | #define HAVE_GCC_ATOMIC_BUILTINS 1
  11699. | #define HAVE_GCC_SYNC_BUILTINS 1
  11700. | #define UNREACHABLE __builtin_unreachable()
  11701. | #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
  11702. | #define RUBY_FUNCTION_NAME_STRING __func__
  11703. | #define ENUM_OVER_INT 1
  11704. | #define HAVE_DECL_SYS_NERR 1
  11705. | #define HAVE_DECL_GETENV 1
  11706. | #define SIZEOF_SIZE_T 8
  11707. | #define SIZEOF_PTRDIFF_T 8
  11708. | #define PRI_SIZE_PREFIX "z"
  11709. | #define PRI_PTRDIFF_PREFIX "t"
  11710. | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
  11711. | #define HAVE_ST_BLKSIZE 1
  11712. | #define HAVE_STRUCT_STAT_ST_BLOCKS 1
  11713. | #define HAVE_ST_BLOCKS 1
  11714. | #define HAVE_STRUCT_STAT_ST_RDEV 1
  11715. | #define HAVE_ST_RDEV 1
  11716. | #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_OFF_T
  11717. | #define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_OFF_T
  11718. | #define SIZEOF_STRUCT_STAT_ST_INO SIZEOF_LONG
  11719. | #define HAVE_STRUCT_STAT_ST_ATIM 1
  11720. | #define HAVE_STRUCT_STAT_ST_MTIM 1
  11721. | /* end confdefs.h. */
  11722. | #include <stdio.h>
  11723. | #ifdef HAVE_SYS_TYPES_H
  11724. | # include <sys/types.h>
  11725. | #endif
  11726. | #ifdef HAVE_SYS_STAT_H
  11727. | # include <sys/stat.h>
  11728. | #endif
  11729. | #ifdef STDC_HEADERS
  11730. | # include <stdlib.h>
  11731. | # include <stddef.h>
  11732. | #else
  11733. | # ifdef HAVE_STDLIB_H
  11734. | # include <stdlib.h>
  11735. | # endif
  11736. | #endif
  11737. | #ifdef HAVE_STRING_H
  11738. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  11739. | # include <memory.h>
  11740. | # endif
  11741. | # include <string.h>
  11742. | #endif
  11743. | #ifdef HAVE_STRINGS_H
  11744. | # include <strings.h>
  11745. | #endif
  11746. | #ifdef HAVE_INTTYPES_H
  11747. | # include <inttypes.h>
  11748. | #endif
  11749. | #ifdef HAVE_STDINT_H
  11750. | # include <stdint.h>
  11751. | #endif
  11752. | #ifdef HAVE_UNISTD_H
  11753. | # include <unistd.h>
  11754. | #endif
  11755. | int
  11756. | main ()
  11757. | {
  11758. | static struct stat ac_aggr;
  11759. | if (sizeof ac_aggr.st_mtimensec)
  11760. | return 0;
  11761. | ;
  11762. | return 0;
  11763. | }
  11764. configure:15974: result: no
  11765. configure:15984: checking for struct stat.st_ctim
  11766. configure:15984: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  11767. conftest.c: In function 'main':
  11768. conftest.c:203:5: error: used struct type value where scalar is required
  11769. if (ac_aggr.st_ctim)
  11770. ^~~~~~~
  11771. configure:15984: $? = 1
  11772. configure: failed program was:
  11773. | /* confdefs.h */
  11774. | #define PACKAGE_NAME ""
  11775. | #define PACKAGE_TARNAME ""
  11776. | #define PACKAGE_VERSION ""
  11777. | #define PACKAGE_STRING ""
  11778. | #define PACKAGE_BUGREPORT ""
  11779. | #define PACKAGE_URL ""
  11780. | #define CANONICALIZATION_FOR_MATHN 1
  11781. | #define STDC_HEADERS 1
  11782. | #define HAVE_SYS_TYPES_H 1
  11783. | #define HAVE_SYS_STAT_H 1
  11784. | #define HAVE_STDLIB_H 1
  11785. | #define HAVE_STRING_H 1
  11786. | #define HAVE_MEMORY_H 1
  11787. | #define HAVE_STRINGS_H 1
  11788. | #define HAVE_INTTYPES_H 1
  11789. | #define HAVE_STDINT_H 1
  11790. | #define HAVE_UNISTD_H 1
  11791. | #define __EXTENSIONS__ 1
  11792. | #define _ALL_SOURCE 1
  11793. | #define _GNU_SOURCE 1
  11794. | #define _POSIX_PTHREAD_SEMANTICS 1
  11795. | #define _TANDEM_SOURCE 1
  11796. | #define HAVE_INFINITY 1
  11797. | #define HAVE_NAN 1
  11798. | #define RUBY_SYMBOL_EXPORT_BEGIN _Pragma("GCC visibility push(default)")
  11799. | #define RUBY_SYMBOL_EXPORT_END _Pragma("GCC visibility pop")
  11800. | #define HAVE_LIBCRYPT 1
  11801. | #define HAVE_LIBDL 1
  11802. | #define HAVE_DIRENT_H 1
  11803. | #define HAVE__BOOL 1
  11804. | #define HAVE_STDBOOL_H 1
  11805. | #define HAVE_SYS_WAIT_H 1
  11806. | #define HAVE_A_OUT_H 1
  11807. | #define HAVE_GRP_H 1
  11808. | #define HAVE_FCNTL_H 1
  11809. | #define HAVE_FLOAT_H 1
  11810. | #define HAVE_LANGINFO_H 1
  11811. | #define HAVE_LIMITS_H 1
  11812. | #define HAVE_LOCALE_H 1
  11813. | #define HAVE_MALLOC_H 1
  11814. | #define HAVE_PWD_H 1
  11815. | #define HAVE_SYS_FCNTL_H 1
  11816. | #define HAVE_SYS_FILE_H 1
  11817. | #define HAVE_SYS_IOCTL_H 1
  11818. | #define HAVE_SYS_PARAM_H 1
  11819. | #define HAVE_SYS_PRCTL_H 1
  11820. | #define HAVE_SYS_RESOURCE_H 1
  11821. | #define HAVE_SYS_SELECT_H 1
  11822. | #define HAVE_SYS_SENDFILE_H 1
  11823. | #define HAVE_SYS_SOCKET_H 1
  11824. | #define HAVE_SYS_SYSCALL_H 1
  11825. | #define HAVE_SYS_TIME_H 1
  11826. | #define HAVE_SYS_TIMES_H 1
  11827. | #define HAVE_SYS_UIO_H 1
  11828. | #define HAVE_SYSCALL_H 1
  11829. | #define HAVE_TIME_H 1
  11830. | #define HAVE_UCONTEXT_H 1
  11831. | #define HAVE_UTIME_H 1
  11832. | #define HAVE_GMP_H 1
  11833. | #define HAVE_LIBGMP 1
  11834. | #define HAVE_TYPEOF 1
  11835. | #define typeof __typeof__
  11836. | #define HAVE_LONG_LONG 1
  11837. | #define HAVE_OFF_T 1
  11838. | #define SIZEOF_INT 4
  11839. | #define SIZEOF_SHORT 2
  11840. | #define SIZEOF_LONG 8
  11841. | #define SIZEOF_LONG_LONG 8
  11842. | #define SIZEOF___INT64 0
  11843. | #define SIZEOF_OFF_T 8
  11844. | #define SIZEOF_VOIDP 8
  11845. | #define SIZEOF_FLOAT 4
  11846. | #define SIZEOF_DOUBLE 8
  11847. | #define SIZEOF_TIME_T 8
  11848. | #define SIZEOF_CLOCK_T 8
  11849. | #define PACKED_STRUCT(x) x __attribute__((packed))
  11850. | #define PACKED_STRUCT_UNALIGNED(x) x
  11851. | #define PRI_LL_PREFIX "ll"
  11852. | #define rb_pid_t pid_t
  11853. | #define SIGNEDNESS_OF_PID_T -1
  11854. | #define PIDT2NUM(v) INT2NUM(v)
  11855. | #define NUM2PIDT(v) NUM2INT(v)
  11856. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  11857. | #define rb_uid_t uid_t
  11858. | #define SIGNEDNESS_OF_UID_T +1
  11859. | #define UIDT2NUM(v) UINT2NUM(v)
  11860. | #define NUM2UIDT(v) NUM2UINT(v)
  11861. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  11862. | #define rb_gid_t gid_t
  11863. | #define SIGNEDNESS_OF_GID_T +1
  11864. | #define GIDT2NUM(v) UINT2NUM(v)
  11865. | #define NUM2GIDT(v) NUM2UINT(v)
  11866. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  11867. | #define rb_time_t time_t
  11868. | #define SIGNEDNESS_OF_TIME_T -1
  11869. | #define TIMET2NUM(v) LONG2NUM(v)
  11870. | #define NUM2TIMET(v) NUM2LONG(v)
  11871. | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
  11872. | #define rb_dev_t dev_t
  11873. | #define SIGNEDNESS_OF_DEV_T +1
  11874. | #define DEVT2NUM(v) ULONG2NUM(v)
  11875. | #define NUM2DEVT(v) NUM2ULONG(v)
  11876. | #define PRI_DEVT_PREFIX PRI_LONG_PREFIX
  11877. | #define rb_mode_t mode_t
  11878. | #define SIGNEDNESS_OF_MODE_T +1
  11879. | #define MODET2NUM(v) UINT2NUM(v)
  11880. | #define NUM2MODET(v) NUM2UINT(v)
  11881. | #define PRI_MODET_PREFIX PRI_INT_PREFIX
  11882. | #define rb_rlim_t rlim_t
  11883. | #define SIGNEDNESS_OF_RLIM_T +1
  11884. | #define RLIM2NUM(v) ULONG2NUM(v)
  11885. | #define NUM2RLIM(v) NUM2ULONG(v)
  11886. | #define PRI_RLIM_PREFIX PRI_LONG_PREFIX
  11887. | #define rb_off_t off_t
  11888. | #define SIGNEDNESS_OF_OFF_T -1
  11889. | #define OFFT2NUM(v) LONG2NUM(v)
  11890. | #define NUM2OFFT(v) NUM2LONG(v)
  11891. | #define PRI_OFFT_PREFIX PRI_LONG_PREFIX
  11892. | #define rb_clockid_t clockid_t
  11893. | #define SIGNEDNESS_OF_CLOCKID_T -1
  11894. | #define CLOCKID2NUM(v) INT2NUM(v)
  11895. | #define NUM2CLOCKID(v) NUM2INT(v)
  11896. | #define PRI_CLOCKID_PREFIX PRI_INT_PREFIX
  11897. | #define HAVE_PROTOTYPES 1
  11898. | #define TOKEN_PASTE(x,y) x##y
  11899. | #define STRINGIZE(expr) STRINGIZE0(expr)
  11900. | #define HAVE_STDARG_PROTOTYPES 1
  11901. | #define HAVE_VA_ARGS_MACRO 1
  11902. | #define NORETURN(x) __attribute__ ((noreturn)) x
  11903. | #define DEPRECATED(x) __attribute__ ((deprecated)) x
  11904. | #define DEPRECATED_BY(n,x) __attribute__ ((deprecated("by "#n))) x
  11905. | #define DEPRECATED_TYPE(mesg,x) __attribute__ ((deprecated mesg)) x
  11906. | #define NOINLINE(x) __attribute__ ((noinline)) x
  11907. | #define WEAK(x) __attribute__ ((weak)) x
  11908. | #define HAVE_FUNC_WEAK 1
  11909. | #define FUNC_UNOPTIMIZED(x) __attribute__ ((optimize("O0"))) x
  11910. | #define FUNC_MINIMIZED(x) __attribute__ ((optimize("-Os","-fomit-frame-pointer"))) x
  11911. | #define HAVE_ATTRIBUTE_FUNCTION_ALIAS 1
  11912. | #define RUBY_ALIAS_FUNCTION_TYPE(type, prot, name, args) type prot __attribute__((alias(#name)));
  11913. | #define RUBY_ALIAS_FUNCTION_VOID(prot, name, args) RUBY_ALIAS_FUNCTION_TYPE(void, prot, name, args)
  11914. | #define HAVE_GCC_ATOMIC_BUILTINS 1
  11915. | #define HAVE_GCC_SYNC_BUILTINS 1
  11916. | #define UNREACHABLE __builtin_unreachable()
  11917. | #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
  11918. | #define RUBY_FUNCTION_NAME_STRING __func__
  11919. | #define ENUM_OVER_INT 1
  11920. | #define HAVE_DECL_SYS_NERR 1
  11921. | #define HAVE_DECL_GETENV 1
  11922. | #define SIZEOF_SIZE_T 8
  11923. | #define SIZEOF_PTRDIFF_T 8
  11924. | #define PRI_SIZE_PREFIX "z"
  11925. | #define PRI_PTRDIFF_PREFIX "t"
  11926. | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
  11927. | #define HAVE_ST_BLKSIZE 1
  11928. | #define HAVE_STRUCT_STAT_ST_BLOCKS 1
  11929. | #define HAVE_ST_BLOCKS 1
  11930. | #define HAVE_STRUCT_STAT_ST_RDEV 1
  11931. | #define HAVE_ST_RDEV 1
  11932. | #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_OFF_T
  11933. | #define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_OFF_T
  11934. | #define SIZEOF_STRUCT_STAT_ST_INO SIZEOF_LONG
  11935. | #define HAVE_STRUCT_STAT_ST_ATIM 1
  11936. | #define HAVE_STRUCT_STAT_ST_MTIM 1
  11937. | /* end confdefs.h. */
  11938. | #include <stdio.h>
  11939. | #ifdef HAVE_SYS_TYPES_H
  11940. | # include <sys/types.h>
  11941. | #endif
  11942. | #ifdef HAVE_SYS_STAT_H
  11943. | # include <sys/stat.h>
  11944. | #endif
  11945. | #ifdef STDC_HEADERS
  11946. | # include <stdlib.h>
  11947. | # include <stddef.h>
  11948. | #else
  11949. | # ifdef HAVE_STDLIB_H
  11950. | # include <stdlib.h>
  11951. | # endif
  11952. | #endif
  11953. | #ifdef HAVE_STRING_H
  11954. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  11955. | # include <memory.h>
  11956. | # endif
  11957. | # include <string.h>
  11958. | #endif
  11959. | #ifdef HAVE_STRINGS_H
  11960. | # include <strings.h>
  11961. | #endif
  11962. | #ifdef HAVE_INTTYPES_H
  11963. | # include <inttypes.h>
  11964. | #endif
  11965. | #ifdef HAVE_STDINT_H
  11966. | # include <stdint.h>
  11967. | #endif
  11968. | #ifdef HAVE_UNISTD_H
  11969. | # include <unistd.h>
  11970. | #endif
  11971. | int
  11972. | main ()
  11973. | {
  11974. | static struct stat ac_aggr;
  11975. | if (ac_aggr.st_ctim)
  11976. | return 0;
  11977. | ;
  11978. | return 0;
  11979. | }
  11980. configure:15984: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  11981. configure:15984: $? = 0
  11982. configure:15984: result: yes
  11983. configure:15994: checking for struct stat.st_ctimespec
  11984. configure:15994: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  11985. conftest.c: In function 'main':
  11986. conftest.c:204:13: error: 'struct stat' has no member named 'st_ctimespec'; did you mean 'st_ctim'?
  11987. if (ac_aggr.st_ctimespec)
  11988. ^~~~~~~~~~~~
  11989. st_ctim
  11990. configure:15994: $? = 1
  11991. configure: failed program was:
  11992. | /* confdefs.h */
  11993. | #define PACKAGE_NAME ""
  11994. | #define PACKAGE_TARNAME ""
  11995. | #define PACKAGE_VERSION ""
  11996. | #define PACKAGE_STRING ""
  11997. | #define PACKAGE_BUGREPORT ""
  11998. | #define PACKAGE_URL ""
  11999. | #define CANONICALIZATION_FOR_MATHN 1
  12000. | #define STDC_HEADERS 1
  12001. | #define HAVE_SYS_TYPES_H 1
  12002. | #define HAVE_SYS_STAT_H 1
  12003. | #define HAVE_STDLIB_H 1
  12004. | #define HAVE_STRING_H 1
  12005. | #define HAVE_MEMORY_H 1
  12006. | #define HAVE_STRINGS_H 1
  12007. | #define HAVE_INTTYPES_H 1
  12008. | #define HAVE_STDINT_H 1
  12009. | #define HAVE_UNISTD_H 1
  12010. | #define __EXTENSIONS__ 1
  12011. | #define _ALL_SOURCE 1
  12012. | #define _GNU_SOURCE 1
  12013. | #define _POSIX_PTHREAD_SEMANTICS 1
  12014. | #define _TANDEM_SOURCE 1
  12015. | #define HAVE_INFINITY 1
  12016. | #define HAVE_NAN 1
  12017. | #define RUBY_SYMBOL_EXPORT_BEGIN _Pragma("GCC visibility push(default)")
  12018. | #define RUBY_SYMBOL_EXPORT_END _Pragma("GCC visibility pop")
  12019. | #define HAVE_LIBCRYPT 1
  12020. | #define HAVE_LIBDL 1
  12021. | #define HAVE_DIRENT_H 1
  12022. | #define HAVE__BOOL 1
  12023. | #define HAVE_STDBOOL_H 1
  12024. | #define HAVE_SYS_WAIT_H 1
  12025. | #define HAVE_A_OUT_H 1
  12026. | #define HAVE_GRP_H 1
  12027. | #define HAVE_FCNTL_H 1
  12028. | #define HAVE_FLOAT_H 1
  12029. | #define HAVE_LANGINFO_H 1
  12030. | #define HAVE_LIMITS_H 1
  12031. | #define HAVE_LOCALE_H 1
  12032. | #define HAVE_MALLOC_H 1
  12033. | #define HAVE_PWD_H 1
  12034. | #define HAVE_SYS_FCNTL_H 1
  12035. | #define HAVE_SYS_FILE_H 1
  12036. | #define HAVE_SYS_IOCTL_H 1
  12037. | #define HAVE_SYS_PARAM_H 1
  12038. | #define HAVE_SYS_PRCTL_H 1
  12039. | #define HAVE_SYS_RESOURCE_H 1
  12040. | #define HAVE_SYS_SELECT_H 1
  12041. | #define HAVE_SYS_SENDFILE_H 1
  12042. | #define HAVE_SYS_SOCKET_H 1
  12043. | #define HAVE_SYS_SYSCALL_H 1
  12044. | #define HAVE_SYS_TIME_H 1
  12045. | #define HAVE_SYS_TIMES_H 1
  12046. | #define HAVE_SYS_UIO_H 1
  12047. | #define HAVE_SYSCALL_H 1
  12048. | #define HAVE_TIME_H 1
  12049. | #define HAVE_UCONTEXT_H 1
  12050. | #define HAVE_UTIME_H 1
  12051. | #define HAVE_GMP_H 1
  12052. | #define HAVE_LIBGMP 1
  12053. | #define HAVE_TYPEOF 1
  12054. | #define typeof __typeof__
  12055. | #define HAVE_LONG_LONG 1
  12056. | #define HAVE_OFF_T 1
  12057. | #define SIZEOF_INT 4
  12058. | #define SIZEOF_SHORT 2
  12059. | #define SIZEOF_LONG 8
  12060. | #define SIZEOF_LONG_LONG 8
  12061. | #define SIZEOF___INT64 0
  12062. | #define SIZEOF_OFF_T 8
  12063. | #define SIZEOF_VOIDP 8
  12064. | #define SIZEOF_FLOAT 4
  12065. | #define SIZEOF_DOUBLE 8
  12066. | #define SIZEOF_TIME_T 8
  12067. | #define SIZEOF_CLOCK_T 8
  12068. | #define PACKED_STRUCT(x) x __attribute__((packed))
  12069. | #define PACKED_STRUCT_UNALIGNED(x) x
  12070. | #define PRI_LL_PREFIX "ll"
  12071. | #define rb_pid_t pid_t
  12072. | #define SIGNEDNESS_OF_PID_T -1
  12073. | #define PIDT2NUM(v) INT2NUM(v)
  12074. | #define NUM2PIDT(v) NUM2INT(v)
  12075. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  12076. | #define rb_uid_t uid_t
  12077. | #define SIGNEDNESS_OF_UID_T +1
  12078. | #define UIDT2NUM(v) UINT2NUM(v)
  12079. | #define NUM2UIDT(v) NUM2UINT(v)
  12080. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  12081. | #define rb_gid_t gid_t
  12082. | #define SIGNEDNESS_OF_GID_T +1
  12083. | #define GIDT2NUM(v) UINT2NUM(v)
  12084. | #define NUM2GIDT(v) NUM2UINT(v)
  12085. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  12086. | #define rb_time_t time_t
  12087. | #define SIGNEDNESS_OF_TIME_T -1
  12088. | #define TIMET2NUM(v) LONG2NUM(v)
  12089. | #define NUM2TIMET(v) NUM2LONG(v)
  12090. | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
  12091. | #define rb_dev_t dev_t
  12092. | #define SIGNEDNESS_OF_DEV_T +1
  12093. | #define DEVT2NUM(v) ULONG2NUM(v)
  12094. | #define NUM2DEVT(v) NUM2ULONG(v)
  12095. | #define PRI_DEVT_PREFIX PRI_LONG_PREFIX
  12096. | #define rb_mode_t mode_t
  12097. | #define SIGNEDNESS_OF_MODE_T +1
  12098. | #define MODET2NUM(v) UINT2NUM(v)
  12099. | #define NUM2MODET(v) NUM2UINT(v)
  12100. | #define PRI_MODET_PREFIX PRI_INT_PREFIX
  12101. | #define rb_rlim_t rlim_t
  12102. | #define SIGNEDNESS_OF_RLIM_T +1
  12103. | #define RLIM2NUM(v) ULONG2NUM(v)
  12104. | #define NUM2RLIM(v) NUM2ULONG(v)
  12105. | #define PRI_RLIM_PREFIX PRI_LONG_PREFIX
  12106. | #define rb_off_t off_t
  12107. | #define SIGNEDNESS_OF_OFF_T -1
  12108. | #define OFFT2NUM(v) LONG2NUM(v)
  12109. | #define NUM2OFFT(v) NUM2LONG(v)
  12110. | #define PRI_OFFT_PREFIX PRI_LONG_PREFIX
  12111. | #define rb_clockid_t clockid_t
  12112. | #define SIGNEDNESS_OF_CLOCKID_T -1
  12113. | #define CLOCKID2NUM(v) INT2NUM(v)
  12114. | #define NUM2CLOCKID(v) NUM2INT(v)
  12115. | #define PRI_CLOCKID_PREFIX PRI_INT_PREFIX
  12116. | #define HAVE_PROTOTYPES 1
  12117. | #define TOKEN_PASTE(x,y) x##y
  12118. | #define STRINGIZE(expr) STRINGIZE0(expr)
  12119. | #define HAVE_STDARG_PROTOTYPES 1
  12120. | #define HAVE_VA_ARGS_MACRO 1
  12121. | #define NORETURN(x) __attribute__ ((noreturn)) x
  12122. | #define DEPRECATED(x) __attribute__ ((deprecated)) x
  12123. | #define DEPRECATED_BY(n,x) __attribute__ ((deprecated("by "#n))) x
  12124. | #define DEPRECATED_TYPE(mesg,x) __attribute__ ((deprecated mesg)) x
  12125. | #define NOINLINE(x) __attribute__ ((noinline)) x
  12126. | #define WEAK(x) __attribute__ ((weak)) x
  12127. | #define HAVE_FUNC_WEAK 1
  12128. | #define FUNC_UNOPTIMIZED(x) __attribute__ ((optimize("O0"))) x
  12129. | #define FUNC_MINIMIZED(x) __attribute__ ((optimize("-Os","-fomit-frame-pointer"))) x
  12130. | #define HAVE_ATTRIBUTE_FUNCTION_ALIAS 1
  12131. | #define RUBY_ALIAS_FUNCTION_TYPE(type, prot, name, args) type prot __attribute__((alias(#name)));
  12132. | #define RUBY_ALIAS_FUNCTION_VOID(prot, name, args) RUBY_ALIAS_FUNCTION_TYPE(void, prot, name, args)
  12133. | #define HAVE_GCC_ATOMIC_BUILTINS 1
  12134. | #define HAVE_GCC_SYNC_BUILTINS 1
  12135. | #define UNREACHABLE __builtin_unreachable()
  12136. | #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
  12137. | #define RUBY_FUNCTION_NAME_STRING __func__
  12138. | #define ENUM_OVER_INT 1
  12139. | #define HAVE_DECL_SYS_NERR 1
  12140. | #define HAVE_DECL_GETENV 1
  12141. | #define SIZEOF_SIZE_T 8
  12142. | #define SIZEOF_PTRDIFF_T 8
  12143. | #define PRI_SIZE_PREFIX "z"
  12144. | #define PRI_PTRDIFF_PREFIX "t"
  12145. | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
  12146. | #define HAVE_ST_BLKSIZE 1
  12147. | #define HAVE_STRUCT_STAT_ST_BLOCKS 1
  12148. | #define HAVE_ST_BLOCKS 1
  12149. | #define HAVE_STRUCT_STAT_ST_RDEV 1
  12150. | #define HAVE_ST_RDEV 1
  12151. | #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_OFF_T
  12152. | #define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_OFF_T
  12153. | #define SIZEOF_STRUCT_STAT_ST_INO SIZEOF_LONG
  12154. | #define HAVE_STRUCT_STAT_ST_ATIM 1
  12155. | #define HAVE_STRUCT_STAT_ST_MTIM 1
  12156. | #define HAVE_STRUCT_STAT_ST_CTIM 1
  12157. | /* end confdefs.h. */
  12158. | #include <stdio.h>
  12159. | #ifdef HAVE_SYS_TYPES_H
  12160. | # include <sys/types.h>
  12161. | #endif
  12162. | #ifdef HAVE_SYS_STAT_H
  12163. | # include <sys/stat.h>
  12164. | #endif
  12165. | #ifdef STDC_HEADERS
  12166. | # include <stdlib.h>
  12167. | # include <stddef.h>
  12168. | #else
  12169. | # ifdef HAVE_STDLIB_H
  12170. | # include <stdlib.h>
  12171. | # endif
  12172. | #endif
  12173. | #ifdef HAVE_STRING_H
  12174. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  12175. | # include <memory.h>
  12176. | # endif
  12177. | # include <string.h>
  12178. | #endif
  12179. | #ifdef HAVE_STRINGS_H
  12180. | # include <strings.h>
  12181. | #endif
  12182. | #ifdef HAVE_INTTYPES_H
  12183. | # include <inttypes.h>
  12184. | #endif
  12185. | #ifdef HAVE_STDINT_H
  12186. | # include <stdint.h>
  12187. | #endif
  12188. | #ifdef HAVE_UNISTD_H
  12189. | # include <unistd.h>
  12190. | #endif
  12191. | int
  12192. | main ()
  12193. | {
  12194. | static struct stat ac_aggr;
  12195. | if (ac_aggr.st_ctimespec)
  12196. | return 0;
  12197. | ;
  12198. | return 0;
  12199. | }
  12200. configure:15994: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  12201. conftest.c: In function 'main':
  12202. conftest.c:204:20: error: 'struct stat' has no member named 'st_ctimespec'; did you mean 'st_ctim'?
  12203. if (sizeof ac_aggr.st_ctimespec)
  12204. ^~~~~~~~~~~~
  12205. st_ctim
  12206. configure:15994: $? = 1
  12207. configure: failed program was:
  12208. | /* confdefs.h */
  12209. | #define PACKAGE_NAME ""
  12210. | #define PACKAGE_TARNAME ""
  12211. | #define PACKAGE_VERSION ""
  12212. | #define PACKAGE_STRING ""
  12213. | #define PACKAGE_BUGREPORT ""
  12214. | #define PACKAGE_URL ""
  12215. | #define CANONICALIZATION_FOR_MATHN 1
  12216. | #define STDC_HEADERS 1
  12217. | #define HAVE_SYS_TYPES_H 1
  12218. | #define HAVE_SYS_STAT_H 1
  12219. | #define HAVE_STDLIB_H 1
  12220. | #define HAVE_STRING_H 1
  12221. | #define HAVE_MEMORY_H 1
  12222. | #define HAVE_STRINGS_H 1
  12223. | #define HAVE_INTTYPES_H 1
  12224. | #define HAVE_STDINT_H 1
  12225. | #define HAVE_UNISTD_H 1
  12226. | #define __EXTENSIONS__ 1
  12227. | #define _ALL_SOURCE 1
  12228. | #define _GNU_SOURCE 1
  12229. | #define _POSIX_PTHREAD_SEMANTICS 1
  12230. | #define _TANDEM_SOURCE 1
  12231. | #define HAVE_INFINITY 1
  12232. | #define HAVE_NAN 1
  12233. | #define RUBY_SYMBOL_EXPORT_BEGIN _Pragma("GCC visibility push(default)")
  12234. | #define RUBY_SYMBOL_EXPORT_END _Pragma("GCC visibility pop")
  12235. | #define HAVE_LIBCRYPT 1
  12236. | #define HAVE_LIBDL 1
  12237. | #define HAVE_DIRENT_H 1
  12238. | #define HAVE__BOOL 1
  12239. | #define HAVE_STDBOOL_H 1
  12240. | #define HAVE_SYS_WAIT_H 1
  12241. | #define HAVE_A_OUT_H 1
  12242. | #define HAVE_GRP_H 1
  12243. | #define HAVE_FCNTL_H 1
  12244. | #define HAVE_FLOAT_H 1
  12245. | #define HAVE_LANGINFO_H 1
  12246. | #define HAVE_LIMITS_H 1
  12247. | #define HAVE_LOCALE_H 1
  12248. | #define HAVE_MALLOC_H 1
  12249. | #define HAVE_PWD_H 1
  12250. | #define HAVE_SYS_FCNTL_H 1
  12251. | #define HAVE_SYS_FILE_H 1
  12252. | #define HAVE_SYS_IOCTL_H 1
  12253. | #define HAVE_SYS_PARAM_H 1
  12254. | #define HAVE_SYS_PRCTL_H 1
  12255. | #define HAVE_SYS_RESOURCE_H 1
  12256. | #define HAVE_SYS_SELECT_H 1
  12257. | #define HAVE_SYS_SENDFILE_H 1
  12258. | #define HAVE_SYS_SOCKET_H 1
  12259. | #define HAVE_SYS_SYSCALL_H 1
  12260. | #define HAVE_SYS_TIME_H 1
  12261. | #define HAVE_SYS_TIMES_H 1
  12262. | #define HAVE_SYS_UIO_H 1
  12263. | #define HAVE_SYSCALL_H 1
  12264. | #define HAVE_TIME_H 1
  12265. | #define HAVE_UCONTEXT_H 1
  12266. | #define HAVE_UTIME_H 1
  12267. | #define HAVE_GMP_H 1
  12268. | #define HAVE_LIBGMP 1
  12269. | #define HAVE_TYPEOF 1
  12270. | #define typeof __typeof__
  12271. | #define HAVE_LONG_LONG 1
  12272. | #define HAVE_OFF_T 1
  12273. | #define SIZEOF_INT 4
  12274. | #define SIZEOF_SHORT 2
  12275. | #define SIZEOF_LONG 8
  12276. | #define SIZEOF_LONG_LONG 8
  12277. | #define SIZEOF___INT64 0
  12278. | #define SIZEOF_OFF_T 8
  12279. | #define SIZEOF_VOIDP 8
  12280. | #define SIZEOF_FLOAT 4
  12281. | #define SIZEOF_DOUBLE 8
  12282. | #define SIZEOF_TIME_T 8
  12283. | #define SIZEOF_CLOCK_T 8
  12284. | #define PACKED_STRUCT(x) x __attribute__((packed))
  12285. | #define PACKED_STRUCT_UNALIGNED(x) x
  12286. | #define PRI_LL_PREFIX "ll"
  12287. | #define rb_pid_t pid_t
  12288. | #define SIGNEDNESS_OF_PID_T -1
  12289. | #define PIDT2NUM(v) INT2NUM(v)
  12290. | #define NUM2PIDT(v) NUM2INT(v)
  12291. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  12292. | #define rb_uid_t uid_t
  12293. | #define SIGNEDNESS_OF_UID_T +1
  12294. | #define UIDT2NUM(v) UINT2NUM(v)
  12295. | #define NUM2UIDT(v) NUM2UINT(v)
  12296. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  12297. | #define rb_gid_t gid_t
  12298. | #define SIGNEDNESS_OF_GID_T +1
  12299. | #define GIDT2NUM(v) UINT2NUM(v)
  12300. | #define NUM2GIDT(v) NUM2UINT(v)
  12301. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  12302. | #define rb_time_t time_t
  12303. | #define SIGNEDNESS_OF_TIME_T -1
  12304. | #define TIMET2NUM(v) LONG2NUM(v)
  12305. | #define NUM2TIMET(v) NUM2LONG(v)
  12306. | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
  12307. | #define rb_dev_t dev_t
  12308. | #define SIGNEDNESS_OF_DEV_T +1
  12309. | #define DEVT2NUM(v) ULONG2NUM(v)
  12310. | #define NUM2DEVT(v) NUM2ULONG(v)
  12311. | #define PRI_DEVT_PREFIX PRI_LONG_PREFIX
  12312. | #define rb_mode_t mode_t
  12313. | #define SIGNEDNESS_OF_MODE_T +1
  12314. | #define MODET2NUM(v) UINT2NUM(v)
  12315. | #define NUM2MODET(v) NUM2UINT(v)
  12316. | #define PRI_MODET_PREFIX PRI_INT_PREFIX
  12317. | #define rb_rlim_t rlim_t
  12318. | #define SIGNEDNESS_OF_RLIM_T +1
  12319. | #define RLIM2NUM(v) ULONG2NUM(v)
  12320. | #define NUM2RLIM(v) NUM2ULONG(v)
  12321. | #define PRI_RLIM_PREFIX PRI_LONG_PREFIX
  12322. | #define rb_off_t off_t
  12323. | #define SIGNEDNESS_OF_OFF_T -1
  12324. | #define OFFT2NUM(v) LONG2NUM(v)
  12325. | #define NUM2OFFT(v) NUM2LONG(v)
  12326. | #define PRI_OFFT_PREFIX PRI_LONG_PREFIX
  12327. | #define rb_clockid_t clockid_t
  12328. | #define SIGNEDNESS_OF_CLOCKID_T -1
  12329. | #define CLOCKID2NUM(v) INT2NUM(v)
  12330. | #define NUM2CLOCKID(v) NUM2INT(v)
  12331. | #define PRI_CLOCKID_PREFIX PRI_INT_PREFIX
  12332. | #define HAVE_PROTOTYPES 1
  12333. | #define TOKEN_PASTE(x,y) x##y
  12334. | #define STRINGIZE(expr) STRINGIZE0(expr)
  12335. | #define HAVE_STDARG_PROTOTYPES 1
  12336. | #define HAVE_VA_ARGS_MACRO 1
  12337. | #define NORETURN(x) __attribute__ ((noreturn)) x
  12338. | #define DEPRECATED(x) __attribute__ ((deprecated)) x
  12339. | #define DEPRECATED_BY(n,x) __attribute__ ((deprecated("by "#n))) x
  12340. | #define DEPRECATED_TYPE(mesg,x) __attribute__ ((deprecated mesg)) x
  12341. | #define NOINLINE(x) __attribute__ ((noinline)) x
  12342. | #define WEAK(x) __attribute__ ((weak)) x
  12343. | #define HAVE_FUNC_WEAK 1
  12344. | #define FUNC_UNOPTIMIZED(x) __attribute__ ((optimize("O0"))) x
  12345. | #define FUNC_MINIMIZED(x) __attribute__ ((optimize("-Os","-fomit-frame-pointer"))) x
  12346. | #define HAVE_ATTRIBUTE_FUNCTION_ALIAS 1
  12347. | #define RUBY_ALIAS_FUNCTION_TYPE(type, prot, name, args) type prot __attribute__((alias(#name)));
  12348. | #define RUBY_ALIAS_FUNCTION_VOID(prot, name, args) RUBY_ALIAS_FUNCTION_TYPE(void, prot, name, args)
  12349. | #define HAVE_GCC_ATOMIC_BUILTINS 1
  12350. | #define HAVE_GCC_SYNC_BUILTINS 1
  12351. | #define UNREACHABLE __builtin_unreachable()
  12352. | #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
  12353. | #define RUBY_FUNCTION_NAME_STRING __func__
  12354. | #define ENUM_OVER_INT 1
  12355. | #define HAVE_DECL_SYS_NERR 1
  12356. | #define HAVE_DECL_GETENV 1
  12357. | #define SIZEOF_SIZE_T 8
  12358. | #define SIZEOF_PTRDIFF_T 8
  12359. | #define PRI_SIZE_PREFIX "z"
  12360. | #define PRI_PTRDIFF_PREFIX "t"
  12361. | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
  12362. | #define HAVE_ST_BLKSIZE 1
  12363. | #define HAVE_STRUCT_STAT_ST_BLOCKS 1
  12364. | #define HAVE_ST_BLOCKS 1
  12365. | #define HAVE_STRUCT_STAT_ST_RDEV 1
  12366. | #define HAVE_ST_RDEV 1
  12367. | #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_OFF_T
  12368. | #define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_OFF_T
  12369. | #define SIZEOF_STRUCT_STAT_ST_INO SIZEOF_LONG
  12370. | #define HAVE_STRUCT_STAT_ST_ATIM 1
  12371. | #define HAVE_STRUCT_STAT_ST_MTIM 1
  12372. | #define HAVE_STRUCT_STAT_ST_CTIM 1
  12373. | /* end confdefs.h. */
  12374. | #include <stdio.h>
  12375. | #ifdef HAVE_SYS_TYPES_H
  12376. | # include <sys/types.h>
  12377. | #endif
  12378. | #ifdef HAVE_SYS_STAT_H
  12379. | # include <sys/stat.h>
  12380. | #endif
  12381. | #ifdef STDC_HEADERS
  12382. | # include <stdlib.h>
  12383. | # include <stddef.h>
  12384. | #else
  12385. | # ifdef HAVE_STDLIB_H
  12386. | # include <stdlib.h>
  12387. | # endif
  12388. | #endif
  12389. | #ifdef HAVE_STRING_H
  12390. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  12391. | # include <memory.h>
  12392. | # endif
  12393. | # include <string.h>
  12394. | #endif
  12395. | #ifdef HAVE_STRINGS_H
  12396. | # include <strings.h>
  12397. | #endif
  12398. | #ifdef HAVE_INTTYPES_H
  12399. | # include <inttypes.h>
  12400. | #endif
  12401. | #ifdef HAVE_STDINT_H
  12402. | # include <stdint.h>
  12403. | #endif
  12404. | #ifdef HAVE_UNISTD_H
  12405. | # include <unistd.h>
  12406. | #endif
  12407. | int
  12408. | main ()
  12409. | {
  12410. | static struct stat ac_aggr;
  12411. | if (sizeof ac_aggr.st_ctimespec)
  12412. | return 0;
  12413. | ;
  12414. | return 0;
  12415. | }
  12416. configure:15994: result: no
  12417. configure:16004: checking for struct stat.st_ctimensec
  12418. configure:16004: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  12419. conftest.c: In function 'main':
  12420. conftest.c:204:13: error: 'struct stat' has no member named 'st_ctimensec'; did you mean 'st_ctim'?
  12421. if (ac_aggr.st_ctimensec)
  12422. ^~~~~~~~~~~~
  12423. st_ctim
  12424. configure:16004: $? = 1
  12425. configure: failed program was:
  12426. | /* confdefs.h */
  12427. | #define PACKAGE_NAME ""
  12428. | #define PACKAGE_TARNAME ""
  12429. | #define PACKAGE_VERSION ""
  12430. | #define PACKAGE_STRING ""
  12431. | #define PACKAGE_BUGREPORT ""
  12432. | #define PACKAGE_URL ""
  12433. | #define CANONICALIZATION_FOR_MATHN 1
  12434. | #define STDC_HEADERS 1
  12435. | #define HAVE_SYS_TYPES_H 1
  12436. | #define HAVE_SYS_STAT_H 1
  12437. | #define HAVE_STDLIB_H 1
  12438. | #define HAVE_STRING_H 1
  12439. | #define HAVE_MEMORY_H 1
  12440. | #define HAVE_STRINGS_H 1
  12441. | #define HAVE_INTTYPES_H 1
  12442. | #define HAVE_STDINT_H 1
  12443. | #define HAVE_UNISTD_H 1
  12444. | #define __EXTENSIONS__ 1
  12445. | #define _ALL_SOURCE 1
  12446. | #define _GNU_SOURCE 1
  12447. | #define _POSIX_PTHREAD_SEMANTICS 1
  12448. | #define _TANDEM_SOURCE 1
  12449. | #define HAVE_INFINITY 1
  12450. | #define HAVE_NAN 1
  12451. | #define RUBY_SYMBOL_EXPORT_BEGIN _Pragma("GCC visibility push(default)")
  12452. | #define RUBY_SYMBOL_EXPORT_END _Pragma("GCC visibility pop")
  12453. | #define HAVE_LIBCRYPT 1
  12454. | #define HAVE_LIBDL 1
  12455. | #define HAVE_DIRENT_H 1
  12456. | #define HAVE__BOOL 1
  12457. | #define HAVE_STDBOOL_H 1
  12458. | #define HAVE_SYS_WAIT_H 1
  12459. | #define HAVE_A_OUT_H 1
  12460. | #define HAVE_GRP_H 1
  12461. | #define HAVE_FCNTL_H 1
  12462. | #define HAVE_FLOAT_H 1
  12463. | #define HAVE_LANGINFO_H 1
  12464. | #define HAVE_LIMITS_H 1
  12465. | #define HAVE_LOCALE_H 1
  12466. | #define HAVE_MALLOC_H 1
  12467. | #define HAVE_PWD_H 1
  12468. | #define HAVE_SYS_FCNTL_H 1
  12469. | #define HAVE_SYS_FILE_H 1
  12470. | #define HAVE_SYS_IOCTL_H 1
  12471. | #define HAVE_SYS_PARAM_H 1
  12472. | #define HAVE_SYS_PRCTL_H 1
  12473. | #define HAVE_SYS_RESOURCE_H 1
  12474. | #define HAVE_SYS_SELECT_H 1
  12475. | #define HAVE_SYS_SENDFILE_H 1
  12476. | #define HAVE_SYS_SOCKET_H 1
  12477. | #define HAVE_SYS_SYSCALL_H 1
  12478. | #define HAVE_SYS_TIME_H 1
  12479. | #define HAVE_SYS_TIMES_H 1
  12480. | #define HAVE_SYS_UIO_H 1
  12481. | #define HAVE_SYSCALL_H 1
  12482. | #define HAVE_TIME_H 1
  12483. | #define HAVE_UCONTEXT_H 1
  12484. | #define HAVE_UTIME_H 1
  12485. | #define HAVE_GMP_H 1
  12486. | #define HAVE_LIBGMP 1
  12487. | #define HAVE_TYPEOF 1
  12488. | #define typeof __typeof__
  12489. | #define HAVE_LONG_LONG 1
  12490. | #define HAVE_OFF_T 1
  12491. | #define SIZEOF_INT 4
  12492. | #define SIZEOF_SHORT 2
  12493. | #define SIZEOF_LONG 8
  12494. | #define SIZEOF_LONG_LONG 8
  12495. | #define SIZEOF___INT64 0
  12496. | #define SIZEOF_OFF_T 8
  12497. | #define SIZEOF_VOIDP 8
  12498. | #define SIZEOF_FLOAT 4
  12499. | #define SIZEOF_DOUBLE 8
  12500. | #define SIZEOF_TIME_T 8
  12501. | #define SIZEOF_CLOCK_T 8
  12502. | #define PACKED_STRUCT(x) x __attribute__((packed))
  12503. | #define PACKED_STRUCT_UNALIGNED(x) x
  12504. | #define PRI_LL_PREFIX "ll"
  12505. | #define rb_pid_t pid_t
  12506. | #define SIGNEDNESS_OF_PID_T -1
  12507. | #define PIDT2NUM(v) INT2NUM(v)
  12508. | #define NUM2PIDT(v) NUM2INT(v)
  12509. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  12510. | #define rb_uid_t uid_t
  12511. | #define SIGNEDNESS_OF_UID_T +1
  12512. | #define UIDT2NUM(v) UINT2NUM(v)
  12513. | #define NUM2UIDT(v) NUM2UINT(v)
  12514. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  12515. | #define rb_gid_t gid_t
  12516. | #define SIGNEDNESS_OF_GID_T +1
  12517. | #define GIDT2NUM(v) UINT2NUM(v)
  12518. | #define NUM2GIDT(v) NUM2UINT(v)
  12519. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  12520. | #define rb_time_t time_t
  12521. | #define SIGNEDNESS_OF_TIME_T -1
  12522. | #define TIMET2NUM(v) LONG2NUM(v)
  12523. | #define NUM2TIMET(v) NUM2LONG(v)
  12524. | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
  12525. | #define rb_dev_t dev_t
  12526. | #define SIGNEDNESS_OF_DEV_T +1
  12527. | #define DEVT2NUM(v) ULONG2NUM(v)
  12528. | #define NUM2DEVT(v) NUM2ULONG(v)
  12529. | #define PRI_DEVT_PREFIX PRI_LONG_PREFIX
  12530. | #define rb_mode_t mode_t
  12531. | #define SIGNEDNESS_OF_MODE_T +1
  12532. | #define MODET2NUM(v) UINT2NUM(v)
  12533. | #define NUM2MODET(v) NUM2UINT(v)
  12534. | #define PRI_MODET_PREFIX PRI_INT_PREFIX
  12535. | #define rb_rlim_t rlim_t
  12536. | #define SIGNEDNESS_OF_RLIM_T +1
  12537. | #define RLIM2NUM(v) ULONG2NUM(v)
  12538. | #define NUM2RLIM(v) NUM2ULONG(v)
  12539. | #define PRI_RLIM_PREFIX PRI_LONG_PREFIX
  12540. | #define rb_off_t off_t
  12541. | #define SIGNEDNESS_OF_OFF_T -1
  12542. | #define OFFT2NUM(v) LONG2NUM(v)
  12543. | #define NUM2OFFT(v) NUM2LONG(v)
  12544. | #define PRI_OFFT_PREFIX PRI_LONG_PREFIX
  12545. | #define rb_clockid_t clockid_t
  12546. | #define SIGNEDNESS_OF_CLOCKID_T -1
  12547. | #define CLOCKID2NUM(v) INT2NUM(v)
  12548. | #define NUM2CLOCKID(v) NUM2INT(v)
  12549. | #define PRI_CLOCKID_PREFIX PRI_INT_PREFIX
  12550. | #define HAVE_PROTOTYPES 1
  12551. | #define TOKEN_PASTE(x,y) x##y
  12552. | #define STRINGIZE(expr) STRINGIZE0(expr)
  12553. | #define HAVE_STDARG_PROTOTYPES 1
  12554. | #define HAVE_VA_ARGS_MACRO 1
  12555. | #define NORETURN(x) __attribute__ ((noreturn)) x
  12556. | #define DEPRECATED(x) __attribute__ ((deprecated)) x
  12557. | #define DEPRECATED_BY(n,x) __attribute__ ((deprecated("by "#n))) x
  12558. | #define DEPRECATED_TYPE(mesg,x) __attribute__ ((deprecated mesg)) x
  12559. | #define NOINLINE(x) __attribute__ ((noinline)) x
  12560. | #define WEAK(x) __attribute__ ((weak)) x
  12561. | #define HAVE_FUNC_WEAK 1
  12562. | #define FUNC_UNOPTIMIZED(x) __attribute__ ((optimize("O0"))) x
  12563. | #define FUNC_MINIMIZED(x) __attribute__ ((optimize("-Os","-fomit-frame-pointer"))) x
  12564. | #define HAVE_ATTRIBUTE_FUNCTION_ALIAS 1
  12565. | #define RUBY_ALIAS_FUNCTION_TYPE(type, prot, name, args) type prot __attribute__((alias(#name)));
  12566. | #define RUBY_ALIAS_FUNCTION_VOID(prot, name, args) RUBY_ALIAS_FUNCTION_TYPE(void, prot, name, args)
  12567. | #define HAVE_GCC_ATOMIC_BUILTINS 1
  12568. | #define HAVE_GCC_SYNC_BUILTINS 1
  12569. | #define UNREACHABLE __builtin_unreachable()
  12570. | #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
  12571. | #define RUBY_FUNCTION_NAME_STRING __func__
  12572. | #define ENUM_OVER_INT 1
  12573. | #define HAVE_DECL_SYS_NERR 1
  12574. | #define HAVE_DECL_GETENV 1
  12575. | #define SIZEOF_SIZE_T 8
  12576. | #define SIZEOF_PTRDIFF_T 8
  12577. | #define PRI_SIZE_PREFIX "z"
  12578. | #define PRI_PTRDIFF_PREFIX "t"
  12579. | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
  12580. | #define HAVE_ST_BLKSIZE 1
  12581. | #define HAVE_STRUCT_STAT_ST_BLOCKS 1
  12582. | #define HAVE_ST_BLOCKS 1
  12583. | #define HAVE_STRUCT_STAT_ST_RDEV 1
  12584. | #define HAVE_ST_RDEV 1
  12585. | #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_OFF_T
  12586. | #define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_OFF_T
  12587. | #define SIZEOF_STRUCT_STAT_ST_INO SIZEOF_LONG
  12588. | #define HAVE_STRUCT_STAT_ST_ATIM 1
  12589. | #define HAVE_STRUCT_STAT_ST_MTIM 1
  12590. | #define HAVE_STRUCT_STAT_ST_CTIM 1
  12591. | /* end confdefs.h. */
  12592. | #include <stdio.h>
  12593. | #ifdef HAVE_SYS_TYPES_H
  12594. | # include <sys/types.h>
  12595. | #endif
  12596. | #ifdef HAVE_SYS_STAT_H
  12597. | # include <sys/stat.h>
  12598. | #endif
  12599. | #ifdef STDC_HEADERS
  12600. | # include <stdlib.h>
  12601. | # include <stddef.h>
  12602. | #else
  12603. | # ifdef HAVE_STDLIB_H
  12604. | # include <stdlib.h>
  12605. | # endif
  12606. | #endif
  12607. | #ifdef HAVE_STRING_H
  12608. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  12609. | # include <memory.h>
  12610. | # endif
  12611. | # include <string.h>
  12612. | #endif
  12613. | #ifdef HAVE_STRINGS_H
  12614. | # include <strings.h>
  12615. | #endif
  12616. | #ifdef HAVE_INTTYPES_H
  12617. | # include <inttypes.h>
  12618. | #endif
  12619. | #ifdef HAVE_STDINT_H
  12620. | # include <stdint.h>
  12621. | #endif
  12622. | #ifdef HAVE_UNISTD_H
  12623. | # include <unistd.h>
  12624. | #endif
  12625. | int
  12626. | main ()
  12627. | {
  12628. | static struct stat ac_aggr;
  12629. | if (ac_aggr.st_ctimensec)
  12630. | return 0;
  12631. | ;
  12632. | return 0;
  12633. | }
  12634. configure:16004: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  12635. conftest.c: In function 'main':
  12636. conftest.c:204:20: error: 'struct stat' has no member named 'st_ctimensec'; did you mean 'st_ctim'?
  12637. if (sizeof ac_aggr.st_ctimensec)
  12638. ^~~~~~~~~~~~
  12639. st_ctim
  12640. configure:16004: $? = 1
  12641. configure: failed program was:
  12642. | /* confdefs.h */
  12643. | #define PACKAGE_NAME ""
  12644. | #define PACKAGE_TARNAME ""
  12645. | #define PACKAGE_VERSION ""
  12646. | #define PACKAGE_STRING ""
  12647. | #define PACKAGE_BUGREPORT ""
  12648. | #define PACKAGE_URL ""
  12649. | #define CANONICALIZATION_FOR_MATHN 1
  12650. | #define STDC_HEADERS 1
  12651. | #define HAVE_SYS_TYPES_H 1
  12652. | #define HAVE_SYS_STAT_H 1
  12653. | #define HAVE_STDLIB_H 1
  12654. | #define HAVE_STRING_H 1
  12655. | #define HAVE_MEMORY_H 1
  12656. | #define HAVE_STRINGS_H 1
  12657. | #define HAVE_INTTYPES_H 1
  12658. | #define HAVE_STDINT_H 1
  12659. | #define HAVE_UNISTD_H 1
  12660. | #define __EXTENSIONS__ 1
  12661. | #define _ALL_SOURCE 1
  12662. | #define _GNU_SOURCE 1
  12663. | #define _POSIX_PTHREAD_SEMANTICS 1
  12664. | #define _TANDEM_SOURCE 1
  12665. | #define HAVE_INFINITY 1
  12666. | #define HAVE_NAN 1
  12667. | #define RUBY_SYMBOL_EXPORT_BEGIN _Pragma("GCC visibility push(default)")
  12668. | #define RUBY_SYMBOL_EXPORT_END _Pragma("GCC visibility pop")
  12669. | #define HAVE_LIBCRYPT 1
  12670. | #define HAVE_LIBDL 1
  12671. | #define HAVE_DIRENT_H 1
  12672. | #define HAVE__BOOL 1
  12673. | #define HAVE_STDBOOL_H 1
  12674. | #define HAVE_SYS_WAIT_H 1
  12675. | #define HAVE_A_OUT_H 1
  12676. | #define HAVE_GRP_H 1
  12677. | #define HAVE_FCNTL_H 1
  12678. | #define HAVE_FLOAT_H 1
  12679. | #define HAVE_LANGINFO_H 1
  12680. | #define HAVE_LIMITS_H 1
  12681. | #define HAVE_LOCALE_H 1
  12682. | #define HAVE_MALLOC_H 1
  12683. | #define HAVE_PWD_H 1
  12684. | #define HAVE_SYS_FCNTL_H 1
  12685. | #define HAVE_SYS_FILE_H 1
  12686. | #define HAVE_SYS_IOCTL_H 1
  12687. | #define HAVE_SYS_PARAM_H 1
  12688. | #define HAVE_SYS_PRCTL_H 1
  12689. | #define HAVE_SYS_RESOURCE_H 1
  12690. | #define HAVE_SYS_SELECT_H 1
  12691. | #define HAVE_SYS_SENDFILE_H 1
  12692. | #define HAVE_SYS_SOCKET_H 1
  12693. | #define HAVE_SYS_SYSCALL_H 1
  12694. | #define HAVE_SYS_TIME_H 1
  12695. | #define HAVE_SYS_TIMES_H 1
  12696. | #define HAVE_SYS_UIO_H 1
  12697. | #define HAVE_SYSCALL_H 1
  12698. | #define HAVE_TIME_H 1
  12699. | #define HAVE_UCONTEXT_H 1
  12700. | #define HAVE_UTIME_H 1
  12701. | #define HAVE_GMP_H 1
  12702. | #define HAVE_LIBGMP 1
  12703. | #define HAVE_TYPEOF 1
  12704. | #define typeof __typeof__
  12705. | #define HAVE_LONG_LONG 1
  12706. | #define HAVE_OFF_T 1
  12707. | #define SIZEOF_INT 4
  12708. | #define SIZEOF_SHORT 2
  12709. | #define SIZEOF_LONG 8
  12710. | #define SIZEOF_LONG_LONG 8
  12711. | #define SIZEOF___INT64 0
  12712. | #define SIZEOF_OFF_T 8
  12713. | #define SIZEOF_VOIDP 8
  12714. | #define SIZEOF_FLOAT 4
  12715. | #define SIZEOF_DOUBLE 8
  12716. | #define SIZEOF_TIME_T 8
  12717. | #define SIZEOF_CLOCK_T 8
  12718. | #define PACKED_STRUCT(x) x __attribute__((packed))
  12719. | #define PACKED_STRUCT_UNALIGNED(x) x
  12720. | #define PRI_LL_PREFIX "ll"
  12721. | #define rb_pid_t pid_t
  12722. | #define SIGNEDNESS_OF_PID_T -1
  12723. | #define PIDT2NUM(v) INT2NUM(v)
  12724. | #define NUM2PIDT(v) NUM2INT(v)
  12725. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  12726. | #define rb_uid_t uid_t
  12727. | #define SIGNEDNESS_OF_UID_T +1
  12728. | #define UIDT2NUM(v) UINT2NUM(v)
  12729. | #define NUM2UIDT(v) NUM2UINT(v)
  12730. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  12731. | #define rb_gid_t gid_t
  12732. | #define SIGNEDNESS_OF_GID_T +1
  12733. | #define GIDT2NUM(v) UINT2NUM(v)
  12734. | #define NUM2GIDT(v) NUM2UINT(v)
  12735. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  12736. | #define rb_time_t time_t
  12737. | #define SIGNEDNESS_OF_TIME_T -1
  12738. | #define TIMET2NUM(v) LONG2NUM(v)
  12739. | #define NUM2TIMET(v) NUM2LONG(v)
  12740. | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
  12741. | #define rb_dev_t dev_t
  12742. | #define SIGNEDNESS_OF_DEV_T +1
  12743. | #define DEVT2NUM(v) ULONG2NUM(v)
  12744. | #define NUM2DEVT(v) NUM2ULONG(v)
  12745. | #define PRI_DEVT_PREFIX PRI_LONG_PREFIX
  12746. | #define rb_mode_t mode_t
  12747. | #define SIGNEDNESS_OF_MODE_T +1
  12748. | #define MODET2NUM(v) UINT2NUM(v)
  12749. | #define NUM2MODET(v) NUM2UINT(v)
  12750. | #define PRI_MODET_PREFIX PRI_INT_PREFIX
  12751. | #define rb_rlim_t rlim_t
  12752. | #define SIGNEDNESS_OF_RLIM_T +1
  12753. | #define RLIM2NUM(v) ULONG2NUM(v)
  12754. | #define NUM2RLIM(v) NUM2ULONG(v)
  12755. | #define PRI_RLIM_PREFIX PRI_LONG_PREFIX
  12756. | #define rb_off_t off_t
  12757. | #define SIGNEDNESS_OF_OFF_T -1
  12758. | #define OFFT2NUM(v) LONG2NUM(v)
  12759. | #define NUM2OFFT(v) NUM2LONG(v)
  12760. | #define PRI_OFFT_PREFIX PRI_LONG_PREFIX
  12761. | #define rb_clockid_t clockid_t
  12762. | #define SIGNEDNESS_OF_CLOCKID_T -1
  12763. | #define CLOCKID2NUM(v) INT2NUM(v)
  12764. | #define NUM2CLOCKID(v) NUM2INT(v)
  12765. | #define PRI_CLOCKID_PREFIX PRI_INT_PREFIX
  12766. | #define HAVE_PROTOTYPES 1
  12767. | #define TOKEN_PASTE(x,y) x##y
  12768. | #define STRINGIZE(expr) STRINGIZE0(expr)
  12769. | #define HAVE_STDARG_PROTOTYPES 1
  12770. | #define HAVE_VA_ARGS_MACRO 1
  12771. | #define NORETURN(x) __attribute__ ((noreturn)) x
  12772. | #define DEPRECATED(x) __attribute__ ((deprecated)) x
  12773. | #define DEPRECATED_BY(n,x) __attribute__ ((deprecated("by "#n))) x
  12774. | #define DEPRECATED_TYPE(mesg,x) __attribute__ ((deprecated mesg)) x
  12775. | #define NOINLINE(x) __attribute__ ((noinline)) x
  12776. | #define WEAK(x) __attribute__ ((weak)) x
  12777. | #define HAVE_FUNC_WEAK 1
  12778. | #define FUNC_UNOPTIMIZED(x) __attribute__ ((optimize("O0"))) x
  12779. | #define FUNC_MINIMIZED(x) __attribute__ ((optimize("-Os","-fomit-frame-pointer"))) x
  12780. | #define HAVE_ATTRIBUTE_FUNCTION_ALIAS 1
  12781. | #define RUBY_ALIAS_FUNCTION_TYPE(type, prot, name, args) type prot __attribute__((alias(#name)));
  12782. | #define RUBY_ALIAS_FUNCTION_VOID(prot, name, args) RUBY_ALIAS_FUNCTION_TYPE(void, prot, name, args)
  12783. | #define HAVE_GCC_ATOMIC_BUILTINS 1
  12784. | #define HAVE_GCC_SYNC_BUILTINS 1
  12785. | #define UNREACHABLE __builtin_unreachable()
  12786. | #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
  12787. | #define RUBY_FUNCTION_NAME_STRING __func__
  12788. | #define ENUM_OVER_INT 1
  12789. | #define HAVE_DECL_SYS_NERR 1
  12790. | #define HAVE_DECL_GETENV 1
  12791. | #define SIZEOF_SIZE_T 8
  12792. | #define SIZEOF_PTRDIFF_T 8
  12793. | #define PRI_SIZE_PREFIX "z"
  12794. | #define PRI_PTRDIFF_PREFIX "t"
  12795. | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
  12796. | #define HAVE_ST_BLKSIZE 1
  12797. | #define HAVE_STRUCT_STAT_ST_BLOCKS 1
  12798. | #define HAVE_ST_BLOCKS 1
  12799. | #define HAVE_STRUCT_STAT_ST_RDEV 1
  12800. | #define HAVE_ST_RDEV 1
  12801. | #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_OFF_T
  12802. | #define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_OFF_T
  12803. | #define SIZEOF_STRUCT_STAT_ST_INO SIZEOF_LONG
  12804. | #define HAVE_STRUCT_STAT_ST_ATIM 1
  12805. | #define HAVE_STRUCT_STAT_ST_MTIM 1
  12806. | #define HAVE_STRUCT_STAT_ST_CTIM 1
  12807. | /* end confdefs.h. */
  12808. | #include <stdio.h>
  12809. | #ifdef HAVE_SYS_TYPES_H
  12810. | # include <sys/types.h>
  12811. | #endif
  12812. | #ifdef HAVE_SYS_STAT_H
  12813. | # include <sys/stat.h>
  12814. | #endif
  12815. | #ifdef STDC_HEADERS
  12816. | # include <stdlib.h>
  12817. | # include <stddef.h>
  12818. | #else
  12819. | # ifdef HAVE_STDLIB_H
  12820. | # include <stdlib.h>
  12821. | # endif
  12822. | #endif
  12823. | #ifdef HAVE_STRING_H
  12824. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  12825. | # include <memory.h>
  12826. | # endif
  12827. | # include <string.h>
  12828. | #endif
  12829. | #ifdef HAVE_STRINGS_H
  12830. | # include <strings.h>
  12831. | #endif
  12832. | #ifdef HAVE_INTTYPES_H
  12833. | # include <inttypes.h>
  12834. | #endif
  12835. | #ifdef HAVE_STDINT_H
  12836. | # include <stdint.h>
  12837. | #endif
  12838. | #ifdef HAVE_UNISTD_H
  12839. | # include <unistd.h>
  12840. | #endif
  12841. | int
  12842. | main ()
  12843. | {
  12844. | static struct stat ac_aggr;
  12845. | if (sizeof ac_aggr.st_ctimensec)
  12846. | return 0;
  12847. | ;
  12848. | return 0;
  12849. | }
  12850. configure:16004: result: no
  12851. configure:16014: checking for struct stat.st_birthtimespec
  12852. configure:16014: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  12853. conftest.c: In function 'main':
  12854. conftest.c:204:12: error: 'struct stat' has no member named 'st_birthtimespec'
  12855. if (ac_aggr.st_birthtimespec)
  12856. ^
  12857. configure:16014: $? = 1
  12858. configure: failed program was:
  12859. | /* confdefs.h */
  12860. | #define PACKAGE_NAME ""
  12861. | #define PACKAGE_TARNAME ""
  12862. | #define PACKAGE_VERSION ""
  12863. | #define PACKAGE_STRING ""
  12864. | #define PACKAGE_BUGREPORT ""
  12865. | #define PACKAGE_URL ""
  12866. | #define CANONICALIZATION_FOR_MATHN 1
  12867. | #define STDC_HEADERS 1
  12868. | #define HAVE_SYS_TYPES_H 1
  12869. | #define HAVE_SYS_STAT_H 1
  12870. | #define HAVE_STDLIB_H 1
  12871. | #define HAVE_STRING_H 1
  12872. | #define HAVE_MEMORY_H 1
  12873. | #define HAVE_STRINGS_H 1
  12874. | #define HAVE_INTTYPES_H 1
  12875. | #define HAVE_STDINT_H 1
  12876. | #define HAVE_UNISTD_H 1
  12877. | #define __EXTENSIONS__ 1
  12878. | #define _ALL_SOURCE 1
  12879. | #define _GNU_SOURCE 1
  12880. | #define _POSIX_PTHREAD_SEMANTICS 1
  12881. | #define _TANDEM_SOURCE 1
  12882. | #define HAVE_INFINITY 1
  12883. | #define HAVE_NAN 1
  12884. | #define RUBY_SYMBOL_EXPORT_BEGIN _Pragma("GCC visibility push(default)")
  12885. | #define RUBY_SYMBOL_EXPORT_END _Pragma("GCC visibility pop")
  12886. | #define HAVE_LIBCRYPT 1
  12887. | #define HAVE_LIBDL 1
  12888. | #define HAVE_DIRENT_H 1
  12889. | #define HAVE__BOOL 1
  12890. | #define HAVE_STDBOOL_H 1
  12891. | #define HAVE_SYS_WAIT_H 1
  12892. | #define HAVE_A_OUT_H 1
  12893. | #define HAVE_GRP_H 1
  12894. | #define HAVE_FCNTL_H 1
  12895. | #define HAVE_FLOAT_H 1
  12896. | #define HAVE_LANGINFO_H 1
  12897. | #define HAVE_LIMITS_H 1
  12898. | #define HAVE_LOCALE_H 1
  12899. | #define HAVE_MALLOC_H 1
  12900. | #define HAVE_PWD_H 1
  12901. | #define HAVE_SYS_FCNTL_H 1
  12902. | #define HAVE_SYS_FILE_H 1
  12903. | #define HAVE_SYS_IOCTL_H 1
  12904. | #define HAVE_SYS_PARAM_H 1
  12905. | #define HAVE_SYS_PRCTL_H 1
  12906. | #define HAVE_SYS_RESOURCE_H 1
  12907. | #define HAVE_SYS_SELECT_H 1
  12908. | #define HAVE_SYS_SENDFILE_H 1
  12909. | #define HAVE_SYS_SOCKET_H 1
  12910. | #define HAVE_SYS_SYSCALL_H 1
  12911. | #define HAVE_SYS_TIME_H 1
  12912. | #define HAVE_SYS_TIMES_H 1
  12913. | #define HAVE_SYS_UIO_H 1
  12914. | #define HAVE_SYSCALL_H 1
  12915. | #define HAVE_TIME_H 1
  12916. | #define HAVE_UCONTEXT_H 1
  12917. | #define HAVE_UTIME_H 1
  12918. | #define HAVE_GMP_H 1
  12919. | #define HAVE_LIBGMP 1
  12920. | #define HAVE_TYPEOF 1
  12921. | #define typeof __typeof__
  12922. | #define HAVE_LONG_LONG 1
  12923. | #define HAVE_OFF_T 1
  12924. | #define SIZEOF_INT 4
  12925. | #define SIZEOF_SHORT 2
  12926. | #define SIZEOF_LONG 8
  12927. | #define SIZEOF_LONG_LONG 8
  12928. | #define SIZEOF___INT64 0
  12929. | #define SIZEOF_OFF_T 8
  12930. | #define SIZEOF_VOIDP 8
  12931. | #define SIZEOF_FLOAT 4
  12932. | #define SIZEOF_DOUBLE 8
  12933. | #define SIZEOF_TIME_T 8
  12934. | #define SIZEOF_CLOCK_T 8
  12935. | #define PACKED_STRUCT(x) x __attribute__((packed))
  12936. | #define PACKED_STRUCT_UNALIGNED(x) x
  12937. | #define PRI_LL_PREFIX "ll"
  12938. | #define rb_pid_t pid_t
  12939. | #define SIGNEDNESS_OF_PID_T -1
  12940. | #define PIDT2NUM(v) INT2NUM(v)
  12941. | #define NUM2PIDT(v) NUM2INT(v)
  12942. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  12943. | #define rb_uid_t uid_t
  12944. | #define SIGNEDNESS_OF_UID_T +1
  12945. | #define UIDT2NUM(v) UINT2NUM(v)
  12946. | #define NUM2UIDT(v) NUM2UINT(v)
  12947. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  12948. | #define rb_gid_t gid_t
  12949. | #define SIGNEDNESS_OF_GID_T +1
  12950. | #define GIDT2NUM(v) UINT2NUM(v)
  12951. | #define NUM2GIDT(v) NUM2UINT(v)
  12952. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  12953. | #define rb_time_t time_t
  12954. | #define SIGNEDNESS_OF_TIME_T -1
  12955. | #define TIMET2NUM(v) LONG2NUM(v)
  12956. | #define NUM2TIMET(v) NUM2LONG(v)
  12957. | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
  12958. | #define rb_dev_t dev_t
  12959. | #define SIGNEDNESS_OF_DEV_T +1
  12960. | #define DEVT2NUM(v) ULONG2NUM(v)
  12961. | #define NUM2DEVT(v) NUM2ULONG(v)
  12962. | #define PRI_DEVT_PREFIX PRI_LONG_PREFIX
  12963. | #define rb_mode_t mode_t
  12964. | #define SIGNEDNESS_OF_MODE_T +1
  12965. | #define MODET2NUM(v) UINT2NUM(v)
  12966. | #define NUM2MODET(v) NUM2UINT(v)
  12967. | #define PRI_MODET_PREFIX PRI_INT_PREFIX
  12968. | #define rb_rlim_t rlim_t
  12969. | #define SIGNEDNESS_OF_RLIM_T +1
  12970. | #define RLIM2NUM(v) ULONG2NUM(v)
  12971. | #define NUM2RLIM(v) NUM2ULONG(v)
  12972. | #define PRI_RLIM_PREFIX PRI_LONG_PREFIX
  12973. | #define rb_off_t off_t
  12974. | #define SIGNEDNESS_OF_OFF_T -1
  12975. | #define OFFT2NUM(v) LONG2NUM(v)
  12976. | #define NUM2OFFT(v) NUM2LONG(v)
  12977. | #define PRI_OFFT_PREFIX PRI_LONG_PREFIX
  12978. | #define rb_clockid_t clockid_t
  12979. | #define SIGNEDNESS_OF_CLOCKID_T -1
  12980. | #define CLOCKID2NUM(v) INT2NUM(v)
  12981. | #define NUM2CLOCKID(v) NUM2INT(v)
  12982. | #define PRI_CLOCKID_PREFIX PRI_INT_PREFIX
  12983. | #define HAVE_PROTOTYPES 1
  12984. | #define TOKEN_PASTE(x,y) x##y
  12985. | #define STRINGIZE(expr) STRINGIZE0(expr)
  12986. | #define HAVE_STDARG_PROTOTYPES 1
  12987. | #define HAVE_VA_ARGS_MACRO 1
  12988. | #define NORETURN(x) __attribute__ ((noreturn)) x
  12989. | #define DEPRECATED(x) __attribute__ ((deprecated)) x
  12990. | #define DEPRECATED_BY(n,x) __attribute__ ((deprecated("by "#n))) x
  12991. | #define DEPRECATED_TYPE(mesg,x) __attribute__ ((deprecated mesg)) x
  12992. | #define NOINLINE(x) __attribute__ ((noinline)) x
  12993. | #define WEAK(x) __attribute__ ((weak)) x
  12994. | #define HAVE_FUNC_WEAK 1
  12995. | #define FUNC_UNOPTIMIZED(x) __attribute__ ((optimize("O0"))) x
  12996. | #define FUNC_MINIMIZED(x) __attribute__ ((optimize("-Os","-fomit-frame-pointer"))) x
  12997. | #define HAVE_ATTRIBUTE_FUNCTION_ALIAS 1
  12998. | #define RUBY_ALIAS_FUNCTION_TYPE(type, prot, name, args) type prot __attribute__((alias(#name)));
  12999. | #define RUBY_ALIAS_FUNCTION_VOID(prot, name, args) RUBY_ALIAS_FUNCTION_TYPE(void, prot, name, args)
  13000. | #define HAVE_GCC_ATOMIC_BUILTINS 1
  13001. | #define HAVE_GCC_SYNC_BUILTINS 1
  13002. | #define UNREACHABLE __builtin_unreachable()
  13003. | #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
  13004. | #define RUBY_FUNCTION_NAME_STRING __func__
  13005. | #define ENUM_OVER_INT 1
  13006. | #define HAVE_DECL_SYS_NERR 1
  13007. | #define HAVE_DECL_GETENV 1
  13008. | #define SIZEOF_SIZE_T 8
  13009. | #define SIZEOF_PTRDIFF_T 8
  13010. | #define PRI_SIZE_PREFIX "z"
  13011. | #define PRI_PTRDIFF_PREFIX "t"
  13012. | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
  13013. | #define HAVE_ST_BLKSIZE 1
  13014. | #define HAVE_STRUCT_STAT_ST_BLOCKS 1
  13015. | #define HAVE_ST_BLOCKS 1
  13016. | #define HAVE_STRUCT_STAT_ST_RDEV 1
  13017. | #define HAVE_ST_RDEV 1
  13018. | #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_OFF_T
  13019. | #define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_OFF_T
  13020. | #define SIZEOF_STRUCT_STAT_ST_INO SIZEOF_LONG
  13021. | #define HAVE_STRUCT_STAT_ST_ATIM 1
  13022. | #define HAVE_STRUCT_STAT_ST_MTIM 1
  13023. | #define HAVE_STRUCT_STAT_ST_CTIM 1
  13024. | /* end confdefs.h. */
  13025. | #include <stdio.h>
  13026. | #ifdef HAVE_SYS_TYPES_H
  13027. | # include <sys/types.h>
  13028. | #endif
  13029. | #ifdef HAVE_SYS_STAT_H
  13030. | # include <sys/stat.h>
  13031. | #endif
  13032. | #ifdef STDC_HEADERS
  13033. | # include <stdlib.h>
  13034. | # include <stddef.h>
  13035. | #else
  13036. | # ifdef HAVE_STDLIB_H
  13037. | # include <stdlib.h>
  13038. | # endif
  13039. | #endif
  13040. | #ifdef HAVE_STRING_H
  13041. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  13042. | # include <memory.h>
  13043. | # endif
  13044. | # include <string.h>
  13045. | #endif
  13046. | #ifdef HAVE_STRINGS_H
  13047. | # include <strings.h>
  13048. | #endif
  13049. | #ifdef HAVE_INTTYPES_H
  13050. | # include <inttypes.h>
  13051. | #endif
  13052. | #ifdef HAVE_STDINT_H
  13053. | # include <stdint.h>
  13054. | #endif
  13055. | #ifdef HAVE_UNISTD_H
  13056. | # include <unistd.h>
  13057. | #endif
  13058. | int
  13059. | main ()
  13060. | {
  13061. | static struct stat ac_aggr;
  13062. | if (ac_aggr.st_birthtimespec)
  13063. | return 0;
  13064. | ;
  13065. | return 0;
  13066. | }
  13067. configure:16014: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  13068. conftest.c: In function 'main':
  13069. conftest.c:204:19: error: 'struct stat' has no member named 'st_birthtimespec'
  13070. if (sizeof ac_aggr.st_birthtimespec)
  13071. ^
  13072. configure:16014: $? = 1
  13073. configure: failed program was:
  13074. | /* confdefs.h */
  13075. | #define PACKAGE_NAME ""
  13076. | #define PACKAGE_TARNAME ""
  13077. | #define PACKAGE_VERSION ""
  13078. | #define PACKAGE_STRING ""
  13079. | #define PACKAGE_BUGREPORT ""
  13080. | #define PACKAGE_URL ""
  13081. | #define CANONICALIZATION_FOR_MATHN 1
  13082. | #define STDC_HEADERS 1
  13083. | #define HAVE_SYS_TYPES_H 1
  13084. | #define HAVE_SYS_STAT_H 1
  13085. | #define HAVE_STDLIB_H 1
  13086. | #define HAVE_STRING_H 1
  13087. | #define HAVE_MEMORY_H 1
  13088. | #define HAVE_STRINGS_H 1
  13089. | #define HAVE_INTTYPES_H 1
  13090. | #define HAVE_STDINT_H 1
  13091. | #define HAVE_UNISTD_H 1
  13092. | #define __EXTENSIONS__ 1
  13093. | #define _ALL_SOURCE 1
  13094. | #define _GNU_SOURCE 1
  13095. | #define _POSIX_PTHREAD_SEMANTICS 1
  13096. | #define _TANDEM_SOURCE 1
  13097. | #define HAVE_INFINITY 1
  13098. | #define HAVE_NAN 1
  13099. | #define RUBY_SYMBOL_EXPORT_BEGIN _Pragma("GCC visibility push(default)")
  13100. | #define RUBY_SYMBOL_EXPORT_END _Pragma("GCC visibility pop")
  13101. | #define HAVE_LIBCRYPT 1
  13102. | #define HAVE_LIBDL 1
  13103. | #define HAVE_DIRENT_H 1
  13104. | #define HAVE__BOOL 1
  13105. | #define HAVE_STDBOOL_H 1
  13106. | #define HAVE_SYS_WAIT_H 1
  13107. | #define HAVE_A_OUT_H 1
  13108. | #define HAVE_GRP_H 1
  13109. | #define HAVE_FCNTL_H 1
  13110. | #define HAVE_FLOAT_H 1
  13111. | #define HAVE_LANGINFO_H 1
  13112. | #define HAVE_LIMITS_H 1
  13113. | #define HAVE_LOCALE_H 1
  13114. | #define HAVE_MALLOC_H 1
  13115. | #define HAVE_PWD_H 1
  13116. | #define HAVE_SYS_FCNTL_H 1
  13117. | #define HAVE_SYS_FILE_H 1
  13118. | #define HAVE_SYS_IOCTL_H 1
  13119. | #define HAVE_SYS_PARAM_H 1
  13120. | #define HAVE_SYS_PRCTL_H 1
  13121. | #define HAVE_SYS_RESOURCE_H 1
  13122. | #define HAVE_SYS_SELECT_H 1
  13123. | #define HAVE_SYS_SENDFILE_H 1
  13124. | #define HAVE_SYS_SOCKET_H 1
  13125. | #define HAVE_SYS_SYSCALL_H 1
  13126. | #define HAVE_SYS_TIME_H 1
  13127. | #define HAVE_SYS_TIMES_H 1
  13128. | #define HAVE_SYS_UIO_H 1
  13129. | #define HAVE_SYSCALL_H 1
  13130. | #define HAVE_TIME_H 1
  13131. | #define HAVE_UCONTEXT_H 1
  13132. | #define HAVE_UTIME_H 1
  13133. | #define HAVE_GMP_H 1
  13134. | #define HAVE_LIBGMP 1
  13135. | #define HAVE_TYPEOF 1
  13136. | #define typeof __typeof__
  13137. | #define HAVE_LONG_LONG 1
  13138. | #define HAVE_OFF_T 1
  13139. | #define SIZEOF_INT 4
  13140. | #define SIZEOF_SHORT 2
  13141. | #define SIZEOF_LONG 8
  13142. | #define SIZEOF_LONG_LONG 8
  13143. | #define SIZEOF___INT64 0
  13144. | #define SIZEOF_OFF_T 8
  13145. | #define SIZEOF_VOIDP 8
  13146. | #define SIZEOF_FLOAT 4
  13147. | #define SIZEOF_DOUBLE 8
  13148. | #define SIZEOF_TIME_T 8
  13149. | #define SIZEOF_CLOCK_T 8
  13150. | #define PACKED_STRUCT(x) x __attribute__((packed))
  13151. | #define PACKED_STRUCT_UNALIGNED(x) x
  13152. | #define PRI_LL_PREFIX "ll"
  13153. | #define rb_pid_t pid_t
  13154. | #define SIGNEDNESS_OF_PID_T -1
  13155. | #define PIDT2NUM(v) INT2NUM(v)
  13156. | #define NUM2PIDT(v) NUM2INT(v)
  13157. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  13158. | #define rb_uid_t uid_t
  13159. | #define SIGNEDNESS_OF_UID_T +1
  13160. | #define UIDT2NUM(v) UINT2NUM(v)
  13161. | #define NUM2UIDT(v) NUM2UINT(v)
  13162. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  13163. | #define rb_gid_t gid_t
  13164. | #define SIGNEDNESS_OF_GID_T +1
  13165. | #define GIDT2NUM(v) UINT2NUM(v)
  13166. | #define NUM2GIDT(v) NUM2UINT(v)
  13167. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  13168. | #define rb_time_t time_t
  13169. | #define SIGNEDNESS_OF_TIME_T -1
  13170. | #define TIMET2NUM(v) LONG2NUM(v)
  13171. | #define NUM2TIMET(v) NUM2LONG(v)
  13172. | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
  13173. | #define rb_dev_t dev_t
  13174. | #define SIGNEDNESS_OF_DEV_T +1
  13175. | #define DEVT2NUM(v) ULONG2NUM(v)
  13176. | #define NUM2DEVT(v) NUM2ULONG(v)
  13177. | #define PRI_DEVT_PREFIX PRI_LONG_PREFIX
  13178. | #define rb_mode_t mode_t
  13179. | #define SIGNEDNESS_OF_MODE_T +1
  13180. | #define MODET2NUM(v) UINT2NUM(v)
  13181. | #define NUM2MODET(v) NUM2UINT(v)
  13182. | #define PRI_MODET_PREFIX PRI_INT_PREFIX
  13183. | #define rb_rlim_t rlim_t
  13184. | #define SIGNEDNESS_OF_RLIM_T +1
  13185. | #define RLIM2NUM(v) ULONG2NUM(v)
  13186. | #define NUM2RLIM(v) NUM2ULONG(v)
  13187. | #define PRI_RLIM_PREFIX PRI_LONG_PREFIX
  13188. | #define rb_off_t off_t
  13189. | #define SIGNEDNESS_OF_OFF_T -1
  13190. | #define OFFT2NUM(v) LONG2NUM(v)
  13191. | #define NUM2OFFT(v) NUM2LONG(v)
  13192. | #define PRI_OFFT_PREFIX PRI_LONG_PREFIX
  13193. | #define rb_clockid_t clockid_t
  13194. | #define SIGNEDNESS_OF_CLOCKID_T -1
  13195. | #define CLOCKID2NUM(v) INT2NUM(v)
  13196. | #define NUM2CLOCKID(v) NUM2INT(v)
  13197. | #define PRI_CLOCKID_PREFIX PRI_INT_PREFIX
  13198. | #define HAVE_PROTOTYPES 1
  13199. | #define TOKEN_PASTE(x,y) x##y
  13200. | #define STRINGIZE(expr) STRINGIZE0(expr)
  13201. | #define HAVE_STDARG_PROTOTYPES 1
  13202. | #define HAVE_VA_ARGS_MACRO 1
  13203. | #define NORETURN(x) __attribute__ ((noreturn)) x
  13204. | #define DEPRECATED(x) __attribute__ ((deprecated)) x
  13205. | #define DEPRECATED_BY(n,x) __attribute__ ((deprecated("by "#n))) x
  13206. | #define DEPRECATED_TYPE(mesg,x) __attribute__ ((deprecated mesg)) x
  13207. | #define NOINLINE(x) __attribute__ ((noinline)) x
  13208. | #define WEAK(x) __attribute__ ((weak)) x
  13209. | #define HAVE_FUNC_WEAK 1
  13210. | #define FUNC_UNOPTIMIZED(x) __attribute__ ((optimize("O0"))) x
  13211. | #define FUNC_MINIMIZED(x) __attribute__ ((optimize("-Os","-fomit-frame-pointer"))) x
  13212. | #define HAVE_ATTRIBUTE_FUNCTION_ALIAS 1
  13213. | #define RUBY_ALIAS_FUNCTION_TYPE(type, prot, name, args) type prot __attribute__((alias(#name)));
  13214. | #define RUBY_ALIAS_FUNCTION_VOID(prot, name, args) RUBY_ALIAS_FUNCTION_TYPE(void, prot, name, args)
  13215. | #define HAVE_GCC_ATOMIC_BUILTINS 1
  13216. | #define HAVE_GCC_SYNC_BUILTINS 1
  13217. | #define UNREACHABLE __builtin_unreachable()
  13218. | #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
  13219. | #define RUBY_FUNCTION_NAME_STRING __func__
  13220. | #define ENUM_OVER_INT 1
  13221. | #define HAVE_DECL_SYS_NERR 1
  13222. | #define HAVE_DECL_GETENV 1
  13223. | #define SIZEOF_SIZE_T 8
  13224. | #define SIZEOF_PTRDIFF_T 8
  13225. | #define PRI_SIZE_PREFIX "z"
  13226. | #define PRI_PTRDIFF_PREFIX "t"
  13227. | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
  13228. | #define HAVE_ST_BLKSIZE 1
  13229. | #define HAVE_STRUCT_STAT_ST_BLOCKS 1
  13230. | #define HAVE_ST_BLOCKS 1
  13231. | #define HAVE_STRUCT_STAT_ST_RDEV 1
  13232. | #define HAVE_ST_RDEV 1
  13233. | #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_OFF_T
  13234. | #define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_OFF_T
  13235. | #define SIZEOF_STRUCT_STAT_ST_INO SIZEOF_LONG
  13236. | #define HAVE_STRUCT_STAT_ST_ATIM 1
  13237. | #define HAVE_STRUCT_STAT_ST_MTIM 1
  13238. | #define HAVE_STRUCT_STAT_ST_CTIM 1
  13239. | /* end confdefs.h. */
  13240. | #include <stdio.h>
  13241. | #ifdef HAVE_SYS_TYPES_H
  13242. | # include <sys/types.h>
  13243. | #endif
  13244. | #ifdef HAVE_SYS_STAT_H
  13245. | # include <sys/stat.h>
  13246. | #endif
  13247. | #ifdef STDC_HEADERS
  13248. | # include <stdlib.h>
  13249. | # include <stddef.h>
  13250. | #else
  13251. | # ifdef HAVE_STDLIB_H
  13252. | # include <stdlib.h>
  13253. | # endif
  13254. | #endif
  13255. | #ifdef HAVE_STRING_H
  13256. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  13257. | # include <memory.h>
  13258. | # endif
  13259. | # include <string.h>
  13260. | #endif
  13261. | #ifdef HAVE_STRINGS_H
  13262. | # include <strings.h>
  13263. | #endif
  13264. | #ifdef HAVE_INTTYPES_H
  13265. | # include <inttypes.h>
  13266. | #endif
  13267. | #ifdef HAVE_STDINT_H
  13268. | # include <stdint.h>
  13269. | #endif
  13270. | #ifdef HAVE_UNISTD_H
  13271. | # include <unistd.h>
  13272. | #endif
  13273. | int
  13274. | main ()
  13275. | {
  13276. | static struct stat ac_aggr;
  13277. | if (sizeof ac_aggr.st_birthtimespec)
  13278. | return 0;
  13279. | ;
  13280. | return 0;
  13281. | }
  13282. configure:16014: result: no
  13283. configure:16025: checking for struct timeval
  13284. configure:16025: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  13285. configure:16025: $? = 0
  13286. configure:16025: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  13287. conftest.c: In function 'main':
  13288. conftest.c:177:29: error: expected expression before ')' token
  13289. if (sizeof ((struct timeval)))
  13290. ^
  13291. configure:16025: $? = 1
  13292. configure: failed program was:
  13293. | /* confdefs.h */
  13294. | #define PACKAGE_NAME ""
  13295. | #define PACKAGE_TARNAME ""
  13296. | #define PACKAGE_VERSION ""
  13297. | #define PACKAGE_STRING ""
  13298. | #define PACKAGE_BUGREPORT ""
  13299. | #define PACKAGE_URL ""
  13300. | #define CANONICALIZATION_FOR_MATHN 1
  13301. | #define STDC_HEADERS 1
  13302. | #define HAVE_SYS_TYPES_H 1
  13303. | #define HAVE_SYS_STAT_H 1
  13304. | #define HAVE_STDLIB_H 1
  13305. | #define HAVE_STRING_H 1
  13306. | #define HAVE_MEMORY_H 1
  13307. | #define HAVE_STRINGS_H 1
  13308. | #define HAVE_INTTYPES_H 1
  13309. | #define HAVE_STDINT_H 1
  13310. | #define HAVE_UNISTD_H 1
  13311. | #define __EXTENSIONS__ 1
  13312. | #define _ALL_SOURCE 1
  13313. | #define _GNU_SOURCE 1
  13314. | #define _POSIX_PTHREAD_SEMANTICS 1
  13315. | #define _TANDEM_SOURCE 1
  13316. | #define HAVE_INFINITY 1
  13317. | #define HAVE_NAN 1
  13318. | #define RUBY_SYMBOL_EXPORT_BEGIN _Pragma("GCC visibility push(default)")
  13319. | #define RUBY_SYMBOL_EXPORT_END _Pragma("GCC visibility pop")
  13320. | #define HAVE_LIBCRYPT 1
  13321. | #define HAVE_LIBDL 1
  13322. | #define HAVE_DIRENT_H 1
  13323. | #define HAVE__BOOL 1
  13324. | #define HAVE_STDBOOL_H 1
  13325. | #define HAVE_SYS_WAIT_H 1
  13326. | #define HAVE_A_OUT_H 1
  13327. | #define HAVE_GRP_H 1
  13328. | #define HAVE_FCNTL_H 1
  13329. | #define HAVE_FLOAT_H 1
  13330. | #define HAVE_LANGINFO_H 1
  13331. | #define HAVE_LIMITS_H 1
  13332. | #define HAVE_LOCALE_H 1
  13333. | #define HAVE_MALLOC_H 1
  13334. | #define HAVE_PWD_H 1
  13335. | #define HAVE_SYS_FCNTL_H 1
  13336. | #define HAVE_SYS_FILE_H 1
  13337. | #define HAVE_SYS_IOCTL_H 1
  13338. | #define HAVE_SYS_PARAM_H 1
  13339. | #define HAVE_SYS_PRCTL_H 1
  13340. | #define HAVE_SYS_RESOURCE_H 1
  13341. | #define HAVE_SYS_SELECT_H 1
  13342. | #define HAVE_SYS_SENDFILE_H 1
  13343. | #define HAVE_SYS_SOCKET_H 1
  13344. | #define HAVE_SYS_SYSCALL_H 1
  13345. | #define HAVE_SYS_TIME_H 1
  13346. | #define HAVE_SYS_TIMES_H 1
  13347. | #define HAVE_SYS_UIO_H 1
  13348. | #define HAVE_SYSCALL_H 1
  13349. | #define HAVE_TIME_H 1
  13350. | #define HAVE_UCONTEXT_H 1
  13351. | #define HAVE_UTIME_H 1
  13352. | #define HAVE_GMP_H 1
  13353. | #define HAVE_LIBGMP 1
  13354. | #define HAVE_TYPEOF 1
  13355. | #define typeof __typeof__
  13356. | #define HAVE_LONG_LONG 1
  13357. | #define HAVE_OFF_T 1
  13358. | #define SIZEOF_INT 4
  13359. | #define SIZEOF_SHORT 2
  13360. | #define SIZEOF_LONG 8
  13361. | #define SIZEOF_LONG_LONG 8
  13362. | #define SIZEOF___INT64 0
  13363. | #define SIZEOF_OFF_T 8
  13364. | #define SIZEOF_VOIDP 8
  13365. | #define SIZEOF_FLOAT 4
  13366. | #define SIZEOF_DOUBLE 8
  13367. | #define SIZEOF_TIME_T 8
  13368. | #define SIZEOF_CLOCK_T 8
  13369. | #define PACKED_STRUCT(x) x __attribute__((packed))
  13370. | #define PACKED_STRUCT_UNALIGNED(x) x
  13371. | #define PRI_LL_PREFIX "ll"
  13372. | #define rb_pid_t pid_t
  13373. | #define SIGNEDNESS_OF_PID_T -1
  13374. | #define PIDT2NUM(v) INT2NUM(v)
  13375. | #define NUM2PIDT(v) NUM2INT(v)
  13376. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  13377. | #define rb_uid_t uid_t
  13378. | #define SIGNEDNESS_OF_UID_T +1
  13379. | #define UIDT2NUM(v) UINT2NUM(v)
  13380. | #define NUM2UIDT(v) NUM2UINT(v)
  13381. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  13382. | #define rb_gid_t gid_t
  13383. | #define SIGNEDNESS_OF_GID_T +1
  13384. | #define GIDT2NUM(v) UINT2NUM(v)
  13385. | #define NUM2GIDT(v) NUM2UINT(v)
  13386. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  13387. | #define rb_time_t time_t
  13388. | #define SIGNEDNESS_OF_TIME_T -1
  13389. | #define TIMET2NUM(v) LONG2NUM(v)
  13390. | #define NUM2TIMET(v) NUM2LONG(v)
  13391. | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
  13392. | #define rb_dev_t dev_t
  13393. | #define SIGNEDNESS_OF_DEV_T +1
  13394. | #define DEVT2NUM(v) ULONG2NUM(v)
  13395. | #define NUM2DEVT(v) NUM2ULONG(v)
  13396. | #define PRI_DEVT_PREFIX PRI_LONG_PREFIX
  13397. | #define rb_mode_t mode_t
  13398. | #define SIGNEDNESS_OF_MODE_T +1
  13399. | #define MODET2NUM(v) UINT2NUM(v)
  13400. | #define NUM2MODET(v) NUM2UINT(v)
  13401. | #define PRI_MODET_PREFIX PRI_INT_PREFIX
  13402. | #define rb_rlim_t rlim_t
  13403. | #define SIGNEDNESS_OF_RLIM_T +1
  13404. | #define RLIM2NUM(v) ULONG2NUM(v)
  13405. | #define NUM2RLIM(v) NUM2ULONG(v)
  13406. | #define PRI_RLIM_PREFIX PRI_LONG_PREFIX
  13407. | #define rb_off_t off_t
  13408. | #define SIGNEDNESS_OF_OFF_T -1
  13409. | #define OFFT2NUM(v) LONG2NUM(v)
  13410. | #define NUM2OFFT(v) NUM2LONG(v)
  13411. | #define PRI_OFFT_PREFIX PRI_LONG_PREFIX
  13412. | #define rb_clockid_t clockid_t
  13413. | #define SIGNEDNESS_OF_CLOCKID_T -1
  13414. | #define CLOCKID2NUM(v) INT2NUM(v)
  13415. | #define NUM2CLOCKID(v) NUM2INT(v)
  13416. | #define PRI_CLOCKID_PREFIX PRI_INT_PREFIX
  13417. | #define HAVE_PROTOTYPES 1
  13418. | #define TOKEN_PASTE(x,y) x##y
  13419. | #define STRINGIZE(expr) STRINGIZE0(expr)
  13420. | #define HAVE_STDARG_PROTOTYPES 1
  13421. | #define HAVE_VA_ARGS_MACRO 1
  13422. | #define NORETURN(x) __attribute__ ((noreturn)) x
  13423. | #define DEPRECATED(x) __attribute__ ((deprecated)) x
  13424. | #define DEPRECATED_BY(n,x) __attribute__ ((deprecated("by "#n))) x
  13425. | #define DEPRECATED_TYPE(mesg,x) __attribute__ ((deprecated mesg)) x
  13426. | #define NOINLINE(x) __attribute__ ((noinline)) x
  13427. | #define WEAK(x) __attribute__ ((weak)) x
  13428. | #define HAVE_FUNC_WEAK 1
  13429. | #define FUNC_UNOPTIMIZED(x) __attribute__ ((optimize("O0"))) x
  13430. | #define FUNC_MINIMIZED(x) __attribute__ ((optimize("-Os","-fomit-frame-pointer"))) x
  13431. | #define HAVE_ATTRIBUTE_FUNCTION_ALIAS 1
  13432. | #define RUBY_ALIAS_FUNCTION_TYPE(type, prot, name, args) type prot __attribute__((alias(#name)));
  13433. | #define RUBY_ALIAS_FUNCTION_VOID(prot, name, args) RUBY_ALIAS_FUNCTION_TYPE(void, prot, name, args)
  13434. | #define HAVE_GCC_ATOMIC_BUILTINS 1
  13435. | #define HAVE_GCC_SYNC_BUILTINS 1
  13436. | #define UNREACHABLE __builtin_unreachable()
  13437. | #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
  13438. | #define RUBY_FUNCTION_NAME_STRING __func__
  13439. | #define ENUM_OVER_INT 1
  13440. | #define HAVE_DECL_SYS_NERR 1
  13441. | #define HAVE_DECL_GETENV 1
  13442. | #define SIZEOF_SIZE_T 8
  13443. | #define SIZEOF_PTRDIFF_T 8
  13444. | #define PRI_SIZE_PREFIX "z"
  13445. | #define PRI_PTRDIFF_PREFIX "t"
  13446. | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
  13447. | #define HAVE_ST_BLKSIZE 1
  13448. | #define HAVE_STRUCT_STAT_ST_BLOCKS 1
  13449. | #define HAVE_ST_BLOCKS 1
  13450. | #define HAVE_STRUCT_STAT_ST_RDEV 1
  13451. | #define HAVE_ST_RDEV 1
  13452. | #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_OFF_T
  13453. | #define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_OFF_T
  13454. | #define SIZEOF_STRUCT_STAT_ST_INO SIZEOF_LONG
  13455. | #define HAVE_STRUCT_STAT_ST_ATIM 1
  13456. | #define HAVE_STRUCT_STAT_ST_MTIM 1
  13457. | #define HAVE_STRUCT_STAT_ST_CTIM 1
  13458. | /* end confdefs.h. */
  13459. | #ifdef HAVE_TIME_H
  13460. | #include <time.h>
  13461. | #endif
  13462. | #ifdef HAVE_SYS_TIME_H
  13463. | #include <sys/time.h>
  13464. | #endif
  13465. |
  13466. | int
  13467. | main ()
  13468. | {
  13469. | if (sizeof ((struct timeval)))
  13470. | return 0;
  13471. | ;
  13472. | return 0;
  13473. | }
  13474. configure:16025: result: yes
  13475. configure:16044: checking size of struct timeval.tv_sec
  13476. configure:16079: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  13477. configure:16079: $? = 0
  13478. configure:16118: result: SIZEOF_TIME_T
  13479. configure:16161: checking for struct timespec
  13480. configure:16161: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  13481. configure:16161: $? = 0
  13482. configure:16161: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  13483. conftest.c: In function 'main':
  13484. conftest.c:179:30: error: expected expression before ')' token
  13485. if (sizeof ((struct timespec)))
  13486. ^
  13487. configure:16161: $? = 1
  13488. configure: failed program was:
  13489. | /* confdefs.h */
  13490. | #define PACKAGE_NAME ""
  13491. | #define PACKAGE_TARNAME ""
  13492. | #define PACKAGE_VERSION ""
  13493. | #define PACKAGE_STRING ""
  13494. | #define PACKAGE_BUGREPORT ""
  13495. | #define PACKAGE_URL ""
  13496. | #define CANONICALIZATION_FOR_MATHN 1
  13497. | #define STDC_HEADERS 1
  13498. | #define HAVE_SYS_TYPES_H 1
  13499. | #define HAVE_SYS_STAT_H 1
  13500. | #define HAVE_STDLIB_H 1
  13501. | #define HAVE_STRING_H 1
  13502. | #define HAVE_MEMORY_H 1
  13503. | #define HAVE_STRINGS_H 1
  13504. | #define HAVE_INTTYPES_H 1
  13505. | #define HAVE_STDINT_H 1
  13506. | #define HAVE_UNISTD_H 1
  13507. | #define __EXTENSIONS__ 1
  13508. | #define _ALL_SOURCE 1
  13509. | #define _GNU_SOURCE 1
  13510. | #define _POSIX_PTHREAD_SEMANTICS 1
  13511. | #define _TANDEM_SOURCE 1
  13512. | #define HAVE_INFINITY 1
  13513. | #define HAVE_NAN 1
  13514. | #define RUBY_SYMBOL_EXPORT_BEGIN _Pragma("GCC visibility push(default)")
  13515. | #define RUBY_SYMBOL_EXPORT_END _Pragma("GCC visibility pop")
  13516. | #define HAVE_LIBCRYPT 1
  13517. | #define HAVE_LIBDL 1
  13518. | #define HAVE_DIRENT_H 1
  13519. | #define HAVE__BOOL 1
  13520. | #define HAVE_STDBOOL_H 1
  13521. | #define HAVE_SYS_WAIT_H 1
  13522. | #define HAVE_A_OUT_H 1
  13523. | #define HAVE_GRP_H 1
  13524. | #define HAVE_FCNTL_H 1
  13525. | #define HAVE_FLOAT_H 1
  13526. | #define HAVE_LANGINFO_H 1
  13527. | #define HAVE_LIMITS_H 1
  13528. | #define HAVE_LOCALE_H 1
  13529. | #define HAVE_MALLOC_H 1
  13530. | #define HAVE_PWD_H 1
  13531. | #define HAVE_SYS_FCNTL_H 1
  13532. | #define HAVE_SYS_FILE_H 1
  13533. | #define HAVE_SYS_IOCTL_H 1
  13534. | #define HAVE_SYS_PARAM_H 1
  13535. | #define HAVE_SYS_PRCTL_H 1
  13536. | #define HAVE_SYS_RESOURCE_H 1
  13537. | #define HAVE_SYS_SELECT_H 1
  13538. | #define HAVE_SYS_SENDFILE_H 1
  13539. | #define HAVE_SYS_SOCKET_H 1
  13540. | #define HAVE_SYS_SYSCALL_H 1
  13541. | #define HAVE_SYS_TIME_H 1
  13542. | #define HAVE_SYS_TIMES_H 1
  13543. | #define HAVE_SYS_UIO_H 1
  13544. | #define HAVE_SYSCALL_H 1
  13545. | #define HAVE_TIME_H 1
  13546. | #define HAVE_UCONTEXT_H 1
  13547. | #define HAVE_UTIME_H 1
  13548. | #define HAVE_GMP_H 1
  13549. | #define HAVE_LIBGMP 1
  13550. | #define HAVE_TYPEOF 1
  13551. | #define typeof __typeof__
  13552. | #define HAVE_LONG_LONG 1
  13553. | #define HAVE_OFF_T 1
  13554. | #define SIZEOF_INT 4
  13555. | #define SIZEOF_SHORT 2
  13556. | #define SIZEOF_LONG 8
  13557. | #define SIZEOF_LONG_LONG 8
  13558. | #define SIZEOF___INT64 0
  13559. | #define SIZEOF_OFF_T 8
  13560. | #define SIZEOF_VOIDP 8
  13561. | #define SIZEOF_FLOAT 4
  13562. | #define SIZEOF_DOUBLE 8
  13563. | #define SIZEOF_TIME_T 8
  13564. | #define SIZEOF_CLOCK_T 8
  13565. | #define PACKED_STRUCT(x) x __attribute__((packed))
  13566. | #define PACKED_STRUCT_UNALIGNED(x) x
  13567. | #define PRI_LL_PREFIX "ll"
  13568. | #define rb_pid_t pid_t
  13569. | #define SIGNEDNESS_OF_PID_T -1
  13570. | #define PIDT2NUM(v) INT2NUM(v)
  13571. | #define NUM2PIDT(v) NUM2INT(v)
  13572. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  13573. | #define rb_uid_t uid_t
  13574. | #define SIGNEDNESS_OF_UID_T +1
  13575. | #define UIDT2NUM(v) UINT2NUM(v)
  13576. | #define NUM2UIDT(v) NUM2UINT(v)
  13577. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  13578. | #define rb_gid_t gid_t
  13579. | #define SIGNEDNESS_OF_GID_T +1
  13580. | #define GIDT2NUM(v) UINT2NUM(v)
  13581. | #define NUM2GIDT(v) NUM2UINT(v)
  13582. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  13583. | #define rb_time_t time_t
  13584. | #define SIGNEDNESS_OF_TIME_T -1
  13585. | #define TIMET2NUM(v) LONG2NUM(v)
  13586. | #define NUM2TIMET(v) NUM2LONG(v)
  13587. | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
  13588. | #define rb_dev_t dev_t
  13589. | #define SIGNEDNESS_OF_DEV_T +1
  13590. | #define DEVT2NUM(v) ULONG2NUM(v)
  13591. | #define NUM2DEVT(v) NUM2ULONG(v)
  13592. | #define PRI_DEVT_PREFIX PRI_LONG_PREFIX
  13593. | #define rb_mode_t mode_t
  13594. | #define SIGNEDNESS_OF_MODE_T +1
  13595. | #define MODET2NUM(v) UINT2NUM(v)
  13596. | #define NUM2MODET(v) NUM2UINT(v)
  13597. | #define PRI_MODET_PREFIX PRI_INT_PREFIX
  13598. | #define rb_rlim_t rlim_t
  13599. | #define SIGNEDNESS_OF_RLIM_T +1
  13600. | #define RLIM2NUM(v) ULONG2NUM(v)
  13601. | #define NUM2RLIM(v) NUM2ULONG(v)
  13602. | #define PRI_RLIM_PREFIX PRI_LONG_PREFIX
  13603. | #define rb_off_t off_t
  13604. | #define SIGNEDNESS_OF_OFF_T -1
  13605. | #define OFFT2NUM(v) LONG2NUM(v)
  13606. | #define NUM2OFFT(v) NUM2LONG(v)
  13607. | #define PRI_OFFT_PREFIX PRI_LONG_PREFIX
  13608. | #define rb_clockid_t clockid_t
  13609. | #define SIGNEDNESS_OF_CLOCKID_T -1
  13610. | #define CLOCKID2NUM(v) INT2NUM(v)
  13611. | #define NUM2CLOCKID(v) NUM2INT(v)
  13612. | #define PRI_CLOCKID_PREFIX PRI_INT_PREFIX
  13613. | #define HAVE_PROTOTYPES 1
  13614. | #define TOKEN_PASTE(x,y) x##y
  13615. | #define STRINGIZE(expr) STRINGIZE0(expr)
  13616. | #define HAVE_STDARG_PROTOTYPES 1
  13617. | #define HAVE_VA_ARGS_MACRO 1
  13618. | #define NORETURN(x) __attribute__ ((noreturn)) x
  13619. | #define DEPRECATED(x) __attribute__ ((deprecated)) x
  13620. | #define DEPRECATED_BY(n,x) __attribute__ ((deprecated("by "#n))) x
  13621. | #define DEPRECATED_TYPE(mesg,x) __attribute__ ((deprecated mesg)) x
  13622. | #define NOINLINE(x) __attribute__ ((noinline)) x
  13623. | #define WEAK(x) __attribute__ ((weak)) x
  13624. | #define HAVE_FUNC_WEAK 1
  13625. | #define FUNC_UNOPTIMIZED(x) __attribute__ ((optimize("O0"))) x
  13626. | #define FUNC_MINIMIZED(x) __attribute__ ((optimize("-Os","-fomit-frame-pointer"))) x
  13627. | #define HAVE_ATTRIBUTE_FUNCTION_ALIAS 1
  13628. | #define RUBY_ALIAS_FUNCTION_TYPE(type, prot, name, args) type prot __attribute__((alias(#name)));
  13629. | #define RUBY_ALIAS_FUNCTION_VOID(prot, name, args) RUBY_ALIAS_FUNCTION_TYPE(void, prot, name, args)
  13630. | #define HAVE_GCC_ATOMIC_BUILTINS 1
  13631. | #define HAVE_GCC_SYNC_BUILTINS 1
  13632. | #define UNREACHABLE __builtin_unreachable()
  13633. | #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
  13634. | #define RUBY_FUNCTION_NAME_STRING __func__
  13635. | #define ENUM_OVER_INT 1
  13636. | #define HAVE_DECL_SYS_NERR 1
  13637. | #define HAVE_DECL_GETENV 1
  13638. | #define SIZEOF_SIZE_T 8
  13639. | #define SIZEOF_PTRDIFF_T 8
  13640. | #define PRI_SIZE_PREFIX "z"
  13641. | #define PRI_PTRDIFF_PREFIX "t"
  13642. | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
  13643. | #define HAVE_ST_BLKSIZE 1
  13644. | #define HAVE_STRUCT_STAT_ST_BLOCKS 1
  13645. | #define HAVE_ST_BLOCKS 1
  13646. | #define HAVE_STRUCT_STAT_ST_RDEV 1
  13647. | #define HAVE_ST_RDEV 1
  13648. | #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_OFF_T
  13649. | #define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_OFF_T
  13650. | #define SIZEOF_STRUCT_STAT_ST_INO SIZEOF_LONG
  13651. | #define HAVE_STRUCT_STAT_ST_ATIM 1
  13652. | #define HAVE_STRUCT_STAT_ST_MTIM 1
  13653. | #define HAVE_STRUCT_STAT_ST_CTIM 1
  13654. | #define HAVE_STRUCT_TIMEVAL 1
  13655. | #define SIZEOF_STRUCT_TIMEVAL_TV_SEC SIZEOF_TIME_T
  13656. | /* end confdefs.h. */
  13657. | #ifdef HAVE_TIME_H
  13658. | #include <time.h>
  13659. | #endif
  13660. | #ifdef HAVE_SYS_TIME_H
  13661. | #include <sys/time.h>
  13662. | #endif
  13663. |
  13664. | int
  13665. | main ()
  13666. | {
  13667. | if (sizeof ((struct timespec)))
  13668. | return 0;
  13669. | ;
  13670. | return 0;
  13671. | }
  13672. configure:16161: result: yes
  13673. configure:16178: checking for struct timezone
  13674. configure:16178: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  13675. configure:16178: $? = 0
  13676. configure:16178: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  13677. conftest.c: In function 'main':
  13678. conftest.c:180:30: error: expected expression before ')' token
  13679. if (sizeof ((struct timezone)))
  13680. ^
  13681. configure:16178: $? = 1
  13682. configure: failed program was:
  13683. | /* confdefs.h */
  13684. | #define PACKAGE_NAME ""
  13685. | #define PACKAGE_TARNAME ""
  13686. | #define PACKAGE_VERSION ""
  13687. | #define PACKAGE_STRING ""
  13688. | #define PACKAGE_BUGREPORT ""
  13689. | #define PACKAGE_URL ""
  13690. | #define CANONICALIZATION_FOR_MATHN 1
  13691. | #define STDC_HEADERS 1
  13692. | #define HAVE_SYS_TYPES_H 1
  13693. | #define HAVE_SYS_STAT_H 1
  13694. | #define HAVE_STDLIB_H 1
  13695. | #define HAVE_STRING_H 1
  13696. | #define HAVE_MEMORY_H 1
  13697. | #define HAVE_STRINGS_H 1
  13698. | #define HAVE_INTTYPES_H 1
  13699. | #define HAVE_STDINT_H 1
  13700. | #define HAVE_UNISTD_H 1
  13701. | #define __EXTENSIONS__ 1
  13702. | #define _ALL_SOURCE 1
  13703. | #define _GNU_SOURCE 1
  13704. | #define _POSIX_PTHREAD_SEMANTICS 1
  13705. | #define _TANDEM_SOURCE 1
  13706. | #define HAVE_INFINITY 1
  13707. | #define HAVE_NAN 1
  13708. | #define RUBY_SYMBOL_EXPORT_BEGIN _Pragma("GCC visibility push(default)")
  13709. | #define RUBY_SYMBOL_EXPORT_END _Pragma("GCC visibility pop")
  13710. | #define HAVE_LIBCRYPT 1
  13711. | #define HAVE_LIBDL 1
  13712. | #define HAVE_DIRENT_H 1
  13713. | #define HAVE__BOOL 1
  13714. | #define HAVE_STDBOOL_H 1
  13715. | #define HAVE_SYS_WAIT_H 1
  13716. | #define HAVE_A_OUT_H 1
  13717. | #define HAVE_GRP_H 1
  13718. | #define HAVE_FCNTL_H 1
  13719. | #define HAVE_FLOAT_H 1
  13720. | #define HAVE_LANGINFO_H 1
  13721. | #define HAVE_LIMITS_H 1
  13722. | #define HAVE_LOCALE_H 1
  13723. | #define HAVE_MALLOC_H 1
  13724. | #define HAVE_PWD_H 1
  13725. | #define HAVE_SYS_FCNTL_H 1
  13726. | #define HAVE_SYS_FILE_H 1
  13727. | #define HAVE_SYS_IOCTL_H 1
  13728. | #define HAVE_SYS_PARAM_H 1
  13729. | #define HAVE_SYS_PRCTL_H 1
  13730. | #define HAVE_SYS_RESOURCE_H 1
  13731. | #define HAVE_SYS_SELECT_H 1
  13732. | #define HAVE_SYS_SENDFILE_H 1
  13733. | #define HAVE_SYS_SOCKET_H 1
  13734. | #define HAVE_SYS_SYSCALL_H 1
  13735. | #define HAVE_SYS_TIME_H 1
  13736. | #define HAVE_SYS_TIMES_H 1
  13737. | #define HAVE_SYS_UIO_H 1
  13738. | #define HAVE_SYSCALL_H 1
  13739. | #define HAVE_TIME_H 1
  13740. | #define HAVE_UCONTEXT_H 1
  13741. | #define HAVE_UTIME_H 1
  13742. | #define HAVE_GMP_H 1
  13743. | #define HAVE_LIBGMP 1
  13744. | #define HAVE_TYPEOF 1
  13745. | #define typeof __typeof__
  13746. | #define HAVE_LONG_LONG 1
  13747. | #define HAVE_OFF_T 1
  13748. | #define SIZEOF_INT 4
  13749. | #define SIZEOF_SHORT 2
  13750. | #define SIZEOF_LONG 8
  13751. | #define SIZEOF_LONG_LONG 8
  13752. | #define SIZEOF___INT64 0
  13753. | #define SIZEOF_OFF_T 8
  13754. | #define SIZEOF_VOIDP 8
  13755. | #define SIZEOF_FLOAT 4
  13756. | #define SIZEOF_DOUBLE 8
  13757. | #define SIZEOF_TIME_T 8
  13758. | #define SIZEOF_CLOCK_T 8
  13759. | #define PACKED_STRUCT(x) x __attribute__((packed))
  13760. | #define PACKED_STRUCT_UNALIGNED(x) x
  13761. | #define PRI_LL_PREFIX "ll"
  13762. | #define rb_pid_t pid_t
  13763. | #define SIGNEDNESS_OF_PID_T -1
  13764. | #define PIDT2NUM(v) INT2NUM(v)
  13765. | #define NUM2PIDT(v) NUM2INT(v)
  13766. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  13767. | #define rb_uid_t uid_t
  13768. | #define SIGNEDNESS_OF_UID_T +1
  13769. | #define UIDT2NUM(v) UINT2NUM(v)
  13770. | #define NUM2UIDT(v) NUM2UINT(v)
  13771. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  13772. | #define rb_gid_t gid_t
  13773. | #define SIGNEDNESS_OF_GID_T +1
  13774. | #define GIDT2NUM(v) UINT2NUM(v)
  13775. | #define NUM2GIDT(v) NUM2UINT(v)
  13776. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  13777. | #define rb_time_t time_t
  13778. | #define SIGNEDNESS_OF_TIME_T -1
  13779. | #define TIMET2NUM(v) LONG2NUM(v)
  13780. | #define NUM2TIMET(v) NUM2LONG(v)
  13781. | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
  13782. | #define rb_dev_t dev_t
  13783. | #define SIGNEDNESS_OF_DEV_T +1
  13784. | #define DEVT2NUM(v) ULONG2NUM(v)
  13785. | #define NUM2DEVT(v) NUM2ULONG(v)
  13786. | #define PRI_DEVT_PREFIX PRI_LONG_PREFIX
  13787. | #define rb_mode_t mode_t
  13788. | #define SIGNEDNESS_OF_MODE_T +1
  13789. | #define MODET2NUM(v) UINT2NUM(v)
  13790. | #define NUM2MODET(v) NUM2UINT(v)
  13791. | #define PRI_MODET_PREFIX PRI_INT_PREFIX
  13792. | #define rb_rlim_t rlim_t
  13793. | #define SIGNEDNESS_OF_RLIM_T +1
  13794. | #define RLIM2NUM(v) ULONG2NUM(v)
  13795. | #define NUM2RLIM(v) NUM2ULONG(v)
  13796. | #define PRI_RLIM_PREFIX PRI_LONG_PREFIX
  13797. | #define rb_off_t off_t
  13798. | #define SIGNEDNESS_OF_OFF_T -1
  13799. | #define OFFT2NUM(v) LONG2NUM(v)
  13800. | #define NUM2OFFT(v) NUM2LONG(v)
  13801. | #define PRI_OFFT_PREFIX PRI_LONG_PREFIX
  13802. | #define rb_clockid_t clockid_t
  13803. | #define SIGNEDNESS_OF_CLOCKID_T -1
  13804. | #define CLOCKID2NUM(v) INT2NUM(v)
  13805. | #define NUM2CLOCKID(v) NUM2INT(v)
  13806. | #define PRI_CLOCKID_PREFIX PRI_INT_PREFIX
  13807. | #define HAVE_PROTOTYPES 1
  13808. | #define TOKEN_PASTE(x,y) x##y
  13809. | #define STRINGIZE(expr) STRINGIZE0(expr)
  13810. | #define HAVE_STDARG_PROTOTYPES 1
  13811. | #define HAVE_VA_ARGS_MACRO 1
  13812. | #define NORETURN(x) __attribute__ ((noreturn)) x
  13813. | #define DEPRECATED(x) __attribute__ ((deprecated)) x
  13814. | #define DEPRECATED_BY(n,x) __attribute__ ((deprecated("by "#n))) x
  13815. | #define DEPRECATED_TYPE(mesg,x) __attribute__ ((deprecated mesg)) x
  13816. | #define NOINLINE(x) __attribute__ ((noinline)) x
  13817. | #define WEAK(x) __attribute__ ((weak)) x
  13818. | #define HAVE_FUNC_WEAK 1
  13819. | #define FUNC_UNOPTIMIZED(x) __attribute__ ((optimize("O0"))) x
  13820. | #define FUNC_MINIMIZED(x) __attribute__ ((optimize("-Os","-fomit-frame-pointer"))) x
  13821. | #define HAVE_ATTRIBUTE_FUNCTION_ALIAS 1
  13822. | #define RUBY_ALIAS_FUNCTION_TYPE(type, prot, name, args) type prot __attribute__((alias(#name)));
  13823. | #define RUBY_ALIAS_FUNCTION_VOID(prot, name, args) RUBY_ALIAS_FUNCTION_TYPE(void, prot, name, args)
  13824. | #define HAVE_GCC_ATOMIC_BUILTINS 1
  13825. | #define HAVE_GCC_SYNC_BUILTINS 1
  13826. | #define UNREACHABLE __builtin_unreachable()
  13827. | #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
  13828. | #define RUBY_FUNCTION_NAME_STRING __func__
  13829. | #define ENUM_OVER_INT 1
  13830. | #define HAVE_DECL_SYS_NERR 1
  13831. | #define HAVE_DECL_GETENV 1
  13832. | #define SIZEOF_SIZE_T 8
  13833. | #define SIZEOF_PTRDIFF_T 8
  13834. | #define PRI_SIZE_PREFIX "z"
  13835. | #define PRI_PTRDIFF_PREFIX "t"
  13836. | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
  13837. | #define HAVE_ST_BLKSIZE 1
  13838. | #define HAVE_STRUCT_STAT_ST_BLOCKS 1
  13839. | #define HAVE_ST_BLOCKS 1
  13840. | #define HAVE_STRUCT_STAT_ST_RDEV 1
  13841. | #define HAVE_ST_RDEV 1
  13842. | #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_OFF_T
  13843. | #define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_OFF_T
  13844. | #define SIZEOF_STRUCT_STAT_ST_INO SIZEOF_LONG
  13845. | #define HAVE_STRUCT_STAT_ST_ATIM 1
  13846. | #define HAVE_STRUCT_STAT_ST_MTIM 1
  13847. | #define HAVE_STRUCT_STAT_ST_CTIM 1
  13848. | #define HAVE_STRUCT_TIMEVAL 1
  13849. | #define SIZEOF_STRUCT_TIMEVAL_TV_SEC SIZEOF_TIME_T
  13850. | #define HAVE_STRUCT_TIMESPEC 1
  13851. | /* end confdefs.h. */
  13852. | #ifdef HAVE_TIME_H
  13853. | # include <time.h>
  13854. | #endif
  13855. | #ifdef HAVE_SYS_TIME_H
  13856. | # include <sys/time.h>
  13857. | #endif
  13858. |
  13859. | int
  13860. | main ()
  13861. | {
  13862. | if (sizeof ((struct timezone)))
  13863. | return 0;
  13864. | ;
  13865. | return 0;
  13866. | }
  13867. configure:16178: result: yes
  13868. configure:16195: checking for clockid_t
  13869. configure:16195: result: yes
  13870. configure:16215: checking for fd_mask
  13871. configure:16215: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  13872. configure:16215: $? = 0
  13873. configure:16215: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  13874. conftest.c: In function 'main':
  13875. conftest.c:208:22: error: expected expression before ')' token
  13876. if (sizeof ((fd_mask)))
  13877. ^
  13878. configure:16215: $? = 1
  13879. configure: failed program was:
  13880. | /* confdefs.h */
  13881. | #define PACKAGE_NAME ""
  13882. | #define PACKAGE_TARNAME ""
  13883. | #define PACKAGE_VERSION ""
  13884. | #define PACKAGE_STRING ""
  13885. | #define PACKAGE_BUGREPORT ""
  13886. | #define PACKAGE_URL ""
  13887. | #define CANONICALIZATION_FOR_MATHN 1
  13888. | #define STDC_HEADERS 1
  13889. | #define HAVE_SYS_TYPES_H 1
  13890. | #define HAVE_SYS_STAT_H 1
  13891. | #define HAVE_STDLIB_H 1
  13892. | #define HAVE_STRING_H 1
  13893. | #define HAVE_MEMORY_H 1
  13894. | #define HAVE_STRINGS_H 1
  13895. | #define HAVE_INTTYPES_H 1
  13896. | #define HAVE_STDINT_H 1
  13897. | #define HAVE_UNISTD_H 1
  13898. | #define __EXTENSIONS__ 1
  13899. | #define _ALL_SOURCE 1
  13900. | #define _GNU_SOURCE 1
  13901. | #define _POSIX_PTHREAD_SEMANTICS 1
  13902. | #define _TANDEM_SOURCE 1
  13903. | #define HAVE_INFINITY 1
  13904. | #define HAVE_NAN 1
  13905. | #define RUBY_SYMBOL_EXPORT_BEGIN _Pragma("GCC visibility push(default)")
  13906. | #define RUBY_SYMBOL_EXPORT_END _Pragma("GCC visibility pop")
  13907. | #define HAVE_LIBCRYPT 1
  13908. | #define HAVE_LIBDL 1
  13909. | #define HAVE_DIRENT_H 1
  13910. | #define HAVE__BOOL 1
  13911. | #define HAVE_STDBOOL_H 1
  13912. | #define HAVE_SYS_WAIT_H 1
  13913. | #define HAVE_A_OUT_H 1
  13914. | #define HAVE_GRP_H 1
  13915. | #define HAVE_FCNTL_H 1
  13916. | #define HAVE_FLOAT_H 1
  13917. | #define HAVE_LANGINFO_H 1
  13918. | #define HAVE_LIMITS_H 1
  13919. | #define HAVE_LOCALE_H 1
  13920. | #define HAVE_MALLOC_H 1
  13921. | #define HAVE_PWD_H 1
  13922. | #define HAVE_SYS_FCNTL_H 1
  13923. | #define HAVE_SYS_FILE_H 1
  13924. | #define HAVE_SYS_IOCTL_H 1
  13925. | #define HAVE_SYS_PARAM_H 1
  13926. | #define HAVE_SYS_PRCTL_H 1
  13927. | #define HAVE_SYS_RESOURCE_H 1
  13928. | #define HAVE_SYS_SELECT_H 1
  13929. | #define HAVE_SYS_SENDFILE_H 1
  13930. | #define HAVE_SYS_SOCKET_H 1
  13931. | #define HAVE_SYS_SYSCALL_H 1
  13932. | #define HAVE_SYS_TIME_H 1
  13933. | #define HAVE_SYS_TIMES_H 1
  13934. | #define HAVE_SYS_UIO_H 1
  13935. | #define HAVE_SYSCALL_H 1
  13936. | #define HAVE_TIME_H 1
  13937. | #define HAVE_UCONTEXT_H 1
  13938. | #define HAVE_UTIME_H 1
  13939. | #define HAVE_GMP_H 1
  13940. | #define HAVE_LIBGMP 1
  13941. | #define HAVE_TYPEOF 1
  13942. | #define typeof __typeof__
  13943. | #define HAVE_LONG_LONG 1
  13944. | #define HAVE_OFF_T 1
  13945. | #define SIZEOF_INT 4
  13946. | #define SIZEOF_SHORT 2
  13947. | #define SIZEOF_LONG 8
  13948. | #define SIZEOF_LONG_LONG 8
  13949. | #define SIZEOF___INT64 0
  13950. | #define SIZEOF_OFF_T 8
  13951. | #define SIZEOF_VOIDP 8
  13952. | #define SIZEOF_FLOAT 4
  13953. | #define SIZEOF_DOUBLE 8
  13954. | #define SIZEOF_TIME_T 8
  13955. | #define SIZEOF_CLOCK_T 8
  13956. | #define PACKED_STRUCT(x) x __attribute__((packed))
  13957. | #define PACKED_STRUCT_UNALIGNED(x) x
  13958. | #define PRI_LL_PREFIX "ll"
  13959. | #define rb_pid_t pid_t
  13960. | #define SIGNEDNESS_OF_PID_T -1
  13961. | #define PIDT2NUM(v) INT2NUM(v)
  13962. | #define NUM2PIDT(v) NUM2INT(v)
  13963. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  13964. | #define rb_uid_t uid_t
  13965. | #define SIGNEDNESS_OF_UID_T +1
  13966. | #define UIDT2NUM(v) UINT2NUM(v)
  13967. | #define NUM2UIDT(v) NUM2UINT(v)
  13968. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  13969. | #define rb_gid_t gid_t
  13970. | #define SIGNEDNESS_OF_GID_T +1
  13971. | #define GIDT2NUM(v) UINT2NUM(v)
  13972. | #define NUM2GIDT(v) NUM2UINT(v)
  13973. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  13974. | #define rb_time_t time_t
  13975. | #define SIGNEDNESS_OF_TIME_T -1
  13976. | #define TIMET2NUM(v) LONG2NUM(v)
  13977. | #define NUM2TIMET(v) NUM2LONG(v)
  13978. | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
  13979. | #define rb_dev_t dev_t
  13980. | #define SIGNEDNESS_OF_DEV_T +1
  13981. | #define DEVT2NUM(v) ULONG2NUM(v)
  13982. | #define NUM2DEVT(v) NUM2ULONG(v)
  13983. | #define PRI_DEVT_PREFIX PRI_LONG_PREFIX
  13984. | #define rb_mode_t mode_t
  13985. | #define SIGNEDNESS_OF_MODE_T +1
  13986. | #define MODET2NUM(v) UINT2NUM(v)
  13987. | #define NUM2MODET(v) NUM2UINT(v)
  13988. | #define PRI_MODET_PREFIX PRI_INT_PREFIX
  13989. | #define rb_rlim_t rlim_t
  13990. | #define SIGNEDNESS_OF_RLIM_T +1
  13991. | #define RLIM2NUM(v) ULONG2NUM(v)
  13992. | #define NUM2RLIM(v) NUM2ULONG(v)
  13993. | #define PRI_RLIM_PREFIX PRI_LONG_PREFIX
  13994. | #define rb_off_t off_t
  13995. | #define SIGNEDNESS_OF_OFF_T -1
  13996. | #define OFFT2NUM(v) LONG2NUM(v)
  13997. | #define NUM2OFFT(v) NUM2LONG(v)
  13998. | #define PRI_OFFT_PREFIX PRI_LONG_PREFIX
  13999. | #define rb_clockid_t clockid_t
  14000. | #define SIGNEDNESS_OF_CLOCKID_T -1
  14001. | #define CLOCKID2NUM(v) INT2NUM(v)
  14002. | #define NUM2CLOCKID(v) NUM2INT(v)
  14003. | #define PRI_CLOCKID_PREFIX PRI_INT_PREFIX
  14004. | #define HAVE_PROTOTYPES 1
  14005. | #define TOKEN_PASTE(x,y) x##y
  14006. | #define STRINGIZE(expr) STRINGIZE0(expr)
  14007. | #define HAVE_STDARG_PROTOTYPES 1
  14008. | #define HAVE_VA_ARGS_MACRO 1
  14009. | #define NORETURN(x) __attribute__ ((noreturn)) x
  14010. | #define DEPRECATED(x) __attribute__ ((deprecated)) x
  14011. | #define DEPRECATED_BY(n,x) __attribute__ ((deprecated("by "#n))) x
  14012. | #define DEPRECATED_TYPE(mesg,x) __attribute__ ((deprecated mesg)) x
  14013. | #define NOINLINE(x) __attribute__ ((noinline)) x
  14014. | #define WEAK(x) __attribute__ ((weak)) x
  14015. | #define HAVE_FUNC_WEAK 1
  14016. | #define FUNC_UNOPTIMIZED(x) __attribute__ ((optimize("O0"))) x
  14017. | #define FUNC_MINIMIZED(x) __attribute__ ((optimize("-Os","-fomit-frame-pointer"))) x
  14018. | #define HAVE_ATTRIBUTE_FUNCTION_ALIAS 1
  14019. | #define RUBY_ALIAS_FUNCTION_TYPE(type, prot, name, args) type prot __attribute__((alias(#name)));
  14020. | #define RUBY_ALIAS_FUNCTION_VOID(prot, name, args) RUBY_ALIAS_FUNCTION_TYPE(void, prot, name, args)
  14021. | #define HAVE_GCC_ATOMIC_BUILTINS 1
  14022. | #define HAVE_GCC_SYNC_BUILTINS 1
  14023. | #define UNREACHABLE __builtin_unreachable()
  14024. | #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
  14025. | #define RUBY_FUNCTION_NAME_STRING __func__
  14026. | #define ENUM_OVER_INT 1
  14027. | #define HAVE_DECL_SYS_NERR 1
  14028. | #define HAVE_DECL_GETENV 1
  14029. | #define SIZEOF_SIZE_T 8
  14030. | #define SIZEOF_PTRDIFF_T 8
  14031. | #define PRI_SIZE_PREFIX "z"
  14032. | #define PRI_PTRDIFF_PREFIX "t"
  14033. | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
  14034. | #define HAVE_ST_BLKSIZE 1
  14035. | #define HAVE_STRUCT_STAT_ST_BLOCKS 1
  14036. | #define HAVE_ST_BLOCKS 1
  14037. | #define HAVE_STRUCT_STAT_ST_RDEV 1
  14038. | #define HAVE_ST_RDEV 1
  14039. | #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_OFF_T
  14040. | #define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_OFF_T
  14041. | #define SIZEOF_STRUCT_STAT_ST_INO SIZEOF_LONG
  14042. | #define HAVE_STRUCT_STAT_ST_ATIM 1
  14043. | #define HAVE_STRUCT_STAT_ST_MTIM 1
  14044. | #define HAVE_STRUCT_STAT_ST_CTIM 1
  14045. | #define HAVE_STRUCT_TIMEVAL 1
  14046. | #define SIZEOF_STRUCT_TIMEVAL_TV_SEC SIZEOF_TIME_T
  14047. | #define HAVE_STRUCT_TIMESPEC 1
  14048. | #define HAVE_STRUCT_TIMEZONE 1
  14049. | #define HAVE_CLOCKID_T 1
  14050. | /* end confdefs.h. */
  14051. | #include <stdio.h>
  14052. | #ifdef HAVE_SYS_TYPES_H
  14053. | # include <sys/types.h>
  14054. | #endif
  14055. | #ifdef HAVE_SYS_STAT_H
  14056. | # include <sys/stat.h>
  14057. | #endif
  14058. | #ifdef STDC_HEADERS
  14059. | # include <stdlib.h>
  14060. | # include <stddef.h>
  14061. | #else
  14062. | # ifdef HAVE_STDLIB_H
  14063. | # include <stdlib.h>
  14064. | # endif
  14065. | #endif
  14066. | #ifdef HAVE_STRING_H
  14067. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  14068. | # include <memory.h>
  14069. | # endif
  14070. | # include <string.h>
  14071. | #endif
  14072. | #ifdef HAVE_STRINGS_H
  14073. | # include <strings.h>
  14074. | #endif
  14075. | #ifdef HAVE_INTTYPES_H
  14076. | # include <inttypes.h>
  14077. | #endif
  14078. | #ifdef HAVE_STDINT_H
  14079. | # include <stdint.h>
  14080. | #endif
  14081. | #ifdef HAVE_UNISTD_H
  14082. | # include <unistd.h>
  14083. | #endif
  14084. | int
  14085. | main ()
  14086. | {
  14087. | if (sizeof ((fd_mask)))
  14088. | return 0;
  14089. | ;
  14090. | return 0;
  14091. | }
  14092. configure:16215: result: yes
  14093. configure:16231: checking for int8_t
  14094. configure:16248: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  14095. configure:16248: $? = 0
  14096. configure:16270: result: yes
  14097. configure:16280: checking size of int8_t
  14098. configure:16285: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  14099. configure:16285: $? = 0
  14100. configure:16285: ./conftest
  14101. configure:16285: $? = 0
  14102. configure:16300: result: 1
  14103. configure:16322: checking for uint8_t
  14104. configure:16339: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  14105. configure:16339: $? = 0
  14106. configure:16361: result: yes
  14107. configure:16371: checking size of uint8_t
  14108. configure:16376: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  14109. configure:16376: $? = 0
  14110. configure:16376: ./conftest
  14111. configure:16376: $? = 0
  14112. configure:16391: result: 1
  14113. configure:16413: checking for int16_t
  14114. configure:16430: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  14115. configure:16430: $? = 0
  14116. configure:16452: result: yes
  14117. configure:16462: checking size of int16_t
  14118. configure:16467: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  14119. configure:16467: $? = 0
  14120. configure:16467: ./conftest
  14121. configure:16467: $? = 0
  14122. configure:16482: result: 2
  14123. configure:16504: checking for uint16_t
  14124. configure:16521: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  14125. configure:16521: $? = 0
  14126. configure:16543: result: yes
  14127. configure:16553: checking size of uint16_t
  14128. configure:16558: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  14129. configure:16558: $? = 0
  14130. configure:16558: ./conftest
  14131. configure:16558: $? = 0
  14132. configure:16573: result: 2
  14133. configure:16595: checking for int32_t
  14134. configure:16612: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  14135. configure:16612: $? = 0
  14136. configure:16634: result: yes
  14137. configure:16644: checking size of int32_t
  14138. configure:16649: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  14139. configure:16649: $? = 0
  14140. configure:16649: ./conftest
  14141. configure:16649: $? = 0
  14142. configure:16664: result: 4
  14143. configure:16686: checking for uint32_t
  14144. configure:16703: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  14145. configure:16703: $? = 0
  14146. configure:16725: result: yes
  14147. configure:16735: checking size of uint32_t
  14148. configure:16740: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  14149. configure:16740: $? = 0
  14150. configure:16740: ./conftest
  14151. configure:16740: $? = 0
  14152. configure:16755: result: 4
  14153. configure:16777: checking for int64_t
  14154. configure:16794: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  14155. configure:16794: $? = 0
  14156. configure:16816: result: yes
  14157. configure:16826: checking size of int64_t
  14158. configure:16831: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  14159. configure:16831: $? = 0
  14160. configure:16831: ./conftest
  14161. configure:16831: $? = 0
  14162. configure:16846: result: 8
  14163. configure:16868: checking for uint64_t
  14164. configure:16885: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  14165. configure:16885: $? = 0
  14166. configure:16907: result: yes
  14167. configure:16917: checking size of uint64_t
  14168. configure:16922: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  14169. configure:16922: $? = 0
  14170. configure:16922: ./conftest
  14171. configure:16922: $? = 0
  14172. configure:16937: result: 8
  14173. configure:16959: checking for intptr_t
  14174. configure:16976: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  14175. configure:16976: $? = 0
  14176. configure:16998: result: yes
  14177. configure:17097: checking size of intptr_t
  14178. configure:17102: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  14179. configure:17102: $? = 0
  14180. configure:17102: ./conftest
  14181. configure:17102: $? = 0
  14182. configure:17117: result: 8
  14183. configure:17141: checking for uintptr_t
  14184. configure:17158: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  14185. configure:17158: $? = 0
  14186. configure:17180: result: yes
  14187. configure:17279: checking size of uintptr_t
  14188. configure:17284: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  14189. configure:17284: $? = 0
  14190. configure:17284: ./conftest
  14191. configure:17284: $? = 0
  14192. configure:17299: result: 8
  14193. configure:17323: checking for ssize_t
  14194. configure:17341: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  14195. configure:17341: $? = 0
  14196. configure:17363: result: yes
  14197. configure:17464: checking size of ssize_t
  14198. configure:17469: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  14199. configure:17469: $? = 0
  14200. configure:17469: ./conftest
  14201. configure:17469: $? = 0
  14202. configure:17485: result: 8
  14203. configure:17591: checking for stack end address
  14204. configure:17608: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  14205. configure:17608: $? = 0
  14206. configure:17615: result: __libc_stack_end
  14207. configure:17684: checking for uid_t in sys/types.h
  14208. configure:17703: result: yes
  14209. configure:17714: checking type of array argument to getgroups
  14210. configure:17748: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  14211. configure:17748: $? = 0
  14212. configure:17748: ./conftest
  14213. configure:17748: $? = 0
  14214. configure:17773: result: gid_t
  14215. configure:17781: checking return type of signal handlers
  14216. configure:17799: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  14217. conftest.c: In function 'main':
  14218. conftest.c:203:10: error: void value not ignored as it ought to be
  14219. return *(signal (0, 0)) (0) == 1;
  14220. ~^~~~~~~~~~~~~~~~~~
  14221. configure:17799: $? = 1
  14222. configure: failed program was:
  14223. | /* confdefs.h */
  14224. | #define PACKAGE_NAME ""
  14225. | #define PACKAGE_TARNAME ""
  14226. | #define PACKAGE_VERSION ""
  14227. | #define PACKAGE_STRING ""
  14228. | #define PACKAGE_BUGREPORT ""
  14229. | #define PACKAGE_URL ""
  14230. | #define CANONICALIZATION_FOR_MATHN 1
  14231. | #define STDC_HEADERS 1
  14232. | #define HAVE_SYS_TYPES_H 1
  14233. | #define HAVE_SYS_STAT_H 1
  14234. | #define HAVE_STDLIB_H 1
  14235. | #define HAVE_STRING_H 1
  14236. | #define HAVE_MEMORY_H 1
  14237. | #define HAVE_STRINGS_H 1
  14238. | #define HAVE_INTTYPES_H 1
  14239. | #define HAVE_STDINT_H 1
  14240. | #define HAVE_UNISTD_H 1
  14241. | #define __EXTENSIONS__ 1
  14242. | #define _ALL_SOURCE 1
  14243. | #define _GNU_SOURCE 1
  14244. | #define _POSIX_PTHREAD_SEMANTICS 1
  14245. | #define _TANDEM_SOURCE 1
  14246. | #define HAVE_INFINITY 1
  14247. | #define HAVE_NAN 1
  14248. | #define RUBY_SYMBOL_EXPORT_BEGIN _Pragma("GCC visibility push(default)")
  14249. | #define RUBY_SYMBOL_EXPORT_END _Pragma("GCC visibility pop")
  14250. | #define HAVE_LIBCRYPT 1
  14251. | #define HAVE_LIBDL 1
  14252. | #define HAVE_DIRENT_H 1
  14253. | #define HAVE__BOOL 1
  14254. | #define HAVE_STDBOOL_H 1
  14255. | #define HAVE_SYS_WAIT_H 1
  14256. | #define HAVE_A_OUT_H 1
  14257. | #define HAVE_GRP_H 1
  14258. | #define HAVE_FCNTL_H 1
  14259. | #define HAVE_FLOAT_H 1
  14260. | #define HAVE_LANGINFO_H 1
  14261. | #define HAVE_LIMITS_H 1
  14262. | #define HAVE_LOCALE_H 1
  14263. | #define HAVE_MALLOC_H 1
  14264. | #define HAVE_PWD_H 1
  14265. | #define HAVE_SYS_FCNTL_H 1
  14266. | #define HAVE_SYS_FILE_H 1
  14267. | #define HAVE_SYS_IOCTL_H 1
  14268. | #define HAVE_SYS_PARAM_H 1
  14269. | #define HAVE_SYS_PRCTL_H 1
  14270. | #define HAVE_SYS_RESOURCE_H 1
  14271. | #define HAVE_SYS_SELECT_H 1
  14272. | #define HAVE_SYS_SENDFILE_H 1
  14273. | #define HAVE_SYS_SOCKET_H 1
  14274. | #define HAVE_SYS_SYSCALL_H 1
  14275. | #define HAVE_SYS_TIME_H 1
  14276. | #define HAVE_SYS_TIMES_H 1
  14277. | #define HAVE_SYS_UIO_H 1
  14278. | #define HAVE_SYSCALL_H 1
  14279. | #define HAVE_TIME_H 1
  14280. | #define HAVE_UCONTEXT_H 1
  14281. | #define HAVE_UTIME_H 1
  14282. | #define HAVE_GMP_H 1
  14283. | #define HAVE_LIBGMP 1
  14284. | #define HAVE_TYPEOF 1
  14285. | #define typeof __typeof__
  14286. | #define HAVE_LONG_LONG 1
  14287. | #define HAVE_OFF_T 1
  14288. | #define SIZEOF_INT 4
  14289. | #define SIZEOF_SHORT 2
  14290. | #define SIZEOF_LONG 8
  14291. | #define SIZEOF_LONG_LONG 8
  14292. | #define SIZEOF___INT64 0
  14293. | #define SIZEOF_OFF_T 8
  14294. | #define SIZEOF_VOIDP 8
  14295. | #define SIZEOF_FLOAT 4
  14296. | #define SIZEOF_DOUBLE 8
  14297. | #define SIZEOF_TIME_T 8
  14298. | #define SIZEOF_CLOCK_T 8
  14299. | #define PACKED_STRUCT(x) x __attribute__((packed))
  14300. | #define PACKED_STRUCT_UNALIGNED(x) x
  14301. | #define PRI_LL_PREFIX "ll"
  14302. | #define rb_pid_t pid_t
  14303. | #define SIGNEDNESS_OF_PID_T -1
  14304. | #define PIDT2NUM(v) INT2NUM(v)
  14305. | #define NUM2PIDT(v) NUM2INT(v)
  14306. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  14307. | #define rb_uid_t uid_t
  14308. | #define SIGNEDNESS_OF_UID_T +1
  14309. | #define UIDT2NUM(v) UINT2NUM(v)
  14310. | #define NUM2UIDT(v) NUM2UINT(v)
  14311. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  14312. | #define rb_gid_t gid_t
  14313. | #define SIGNEDNESS_OF_GID_T +1
  14314. | #define GIDT2NUM(v) UINT2NUM(v)
  14315. | #define NUM2GIDT(v) NUM2UINT(v)
  14316. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  14317. | #define rb_time_t time_t
  14318. | #define SIGNEDNESS_OF_TIME_T -1
  14319. | #define TIMET2NUM(v) LONG2NUM(v)
  14320. | #define NUM2TIMET(v) NUM2LONG(v)
  14321. | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
  14322. | #define rb_dev_t dev_t
  14323. | #define SIGNEDNESS_OF_DEV_T +1
  14324. | #define DEVT2NUM(v) ULONG2NUM(v)
  14325. | #define NUM2DEVT(v) NUM2ULONG(v)
  14326. | #define PRI_DEVT_PREFIX PRI_LONG_PREFIX
  14327. | #define rb_mode_t mode_t
  14328. | #define SIGNEDNESS_OF_MODE_T +1
  14329. | #define MODET2NUM(v) UINT2NUM(v)
  14330. | #define NUM2MODET(v) NUM2UINT(v)
  14331. | #define PRI_MODET_PREFIX PRI_INT_PREFIX
  14332. | #define rb_rlim_t rlim_t
  14333. | #define SIGNEDNESS_OF_RLIM_T +1
  14334. | #define RLIM2NUM(v) ULONG2NUM(v)
  14335. | #define NUM2RLIM(v) NUM2ULONG(v)
  14336. | #define PRI_RLIM_PREFIX PRI_LONG_PREFIX
  14337. | #define rb_off_t off_t
  14338. | #define SIGNEDNESS_OF_OFF_T -1
  14339. | #define OFFT2NUM(v) LONG2NUM(v)
  14340. | #define NUM2OFFT(v) NUM2LONG(v)
  14341. | #define PRI_OFFT_PREFIX PRI_LONG_PREFIX
  14342. | #define rb_clockid_t clockid_t
  14343. | #define SIGNEDNESS_OF_CLOCKID_T -1
  14344. | #define CLOCKID2NUM(v) INT2NUM(v)
  14345. | #define NUM2CLOCKID(v) NUM2INT(v)
  14346. | #define PRI_CLOCKID_PREFIX PRI_INT_PREFIX
  14347. | #define HAVE_PROTOTYPES 1
  14348. | #define TOKEN_PASTE(x,y) x##y
  14349. | #define STRINGIZE(expr) STRINGIZE0(expr)
  14350. | #define HAVE_STDARG_PROTOTYPES 1
  14351. | #define HAVE_VA_ARGS_MACRO 1
  14352. | #define NORETURN(x) __attribute__ ((noreturn)) x
  14353. | #define DEPRECATED(x) __attribute__ ((deprecated)) x
  14354. | #define DEPRECATED_BY(n,x) __attribute__ ((deprecated("by "#n))) x
  14355. | #define DEPRECATED_TYPE(mesg,x) __attribute__ ((deprecated mesg)) x
  14356. | #define NOINLINE(x) __attribute__ ((noinline)) x
  14357. | #define WEAK(x) __attribute__ ((weak)) x
  14358. | #define HAVE_FUNC_WEAK 1
  14359. | #define FUNC_UNOPTIMIZED(x) __attribute__ ((optimize("O0"))) x
  14360. | #define FUNC_MINIMIZED(x) __attribute__ ((optimize("-Os","-fomit-frame-pointer"))) x
  14361. | #define HAVE_ATTRIBUTE_FUNCTION_ALIAS 1
  14362. | #define RUBY_ALIAS_FUNCTION_TYPE(type, prot, name, args) type prot __attribute__((alias(#name)));
  14363. | #define RUBY_ALIAS_FUNCTION_VOID(prot, name, args) RUBY_ALIAS_FUNCTION_TYPE(void, prot, name, args)
  14364. | #define HAVE_GCC_ATOMIC_BUILTINS 1
  14365. | #define HAVE_GCC_SYNC_BUILTINS 1
  14366. | #define UNREACHABLE __builtin_unreachable()
  14367. | #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
  14368. | #define RUBY_FUNCTION_NAME_STRING __func__
  14369. | #define ENUM_OVER_INT 1
  14370. | #define HAVE_DECL_SYS_NERR 1
  14371. | #define HAVE_DECL_GETENV 1
  14372. | #define SIZEOF_SIZE_T 8
  14373. | #define SIZEOF_PTRDIFF_T 8
  14374. | #define PRI_SIZE_PREFIX "z"
  14375. | #define PRI_PTRDIFF_PREFIX "t"
  14376. | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
  14377. | #define HAVE_ST_BLKSIZE 1
  14378. | #define HAVE_STRUCT_STAT_ST_BLOCKS 1
  14379. | #define HAVE_ST_BLOCKS 1
  14380. | #define HAVE_STRUCT_STAT_ST_RDEV 1
  14381. | #define HAVE_ST_RDEV 1
  14382. | #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_OFF_T
  14383. | #define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_OFF_T
  14384. | #define SIZEOF_STRUCT_STAT_ST_INO SIZEOF_LONG
  14385. | #define HAVE_STRUCT_STAT_ST_ATIM 1
  14386. | #define HAVE_STRUCT_STAT_ST_MTIM 1
  14387. | #define HAVE_STRUCT_STAT_ST_CTIM 1
  14388. | #define HAVE_STRUCT_TIMEVAL 1
  14389. | #define SIZEOF_STRUCT_TIMEVAL_TV_SEC SIZEOF_TIME_T
  14390. | #define HAVE_STRUCT_TIMESPEC 1
  14391. | #define HAVE_STRUCT_TIMEZONE 1
  14392. | #define HAVE_CLOCKID_T 1
  14393. | #define HAVE_RB_FD_INIT 1
  14394. | #define HAVE_INT8_T 1
  14395. | #define SIZEOF_INT8_T 1
  14396. | #define HAVE_UINT8_T 1
  14397. | #define SIZEOF_UINT8_T 1
  14398. | #define HAVE_INT16_T 1
  14399. | #define SIZEOF_INT16_T 2
  14400. | #define HAVE_UINT16_T 1
  14401. | #define SIZEOF_UINT16_T 2
  14402. | #define HAVE_INT32_T 1
  14403. | #define SIZEOF_INT32_T 4
  14404. | #define HAVE_UINT32_T 1
  14405. | #define SIZEOF_UINT32_T 4
  14406. | #define HAVE_INT64_T 1
  14407. | #define SIZEOF_INT64_T 8
  14408. | #define HAVE_UINT64_T 1
  14409. | #define SIZEOF_UINT64_T 8
  14410. | #define HAVE_INTPTR_T 1
  14411. | #define SIZEOF_INTPTR_T 8
  14412. | #define HAVE_UINTPTR_T 1
  14413. | #define SIZEOF_UINTPTR_T 8
  14414. | #define HAVE_SSIZE_T 1
  14415. | #define SIZEOF_SSIZE_T 8
  14416. | #define STACK_END_ADDRESS __libc_stack_end
  14417. | #define GETGROUPS_T gid_t
  14418. | /* end confdefs.h. */
  14419. | #include <sys/types.h>
  14420. | #include <signal.h>
  14421. |
  14422. | int
  14423. | main ()
  14424. | {
  14425. | return *(signal (0, 0)) (0) == 1;
  14426. | ;
  14427. | return 0;
  14428. | }
  14429. configure:17806: result: void
  14430. configure:17857: checking for working alloca.h
  14431. configure:17874: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  14432. configure:17874: $? = 0
  14433. configure:17882: result: yes
  14434. configure:17890: checking for alloca
  14435. configure:17927: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  14436. configure:17927: $? = 0
  14437. configure:17935: result: yes
  14438. configure:18044: checking for dynamic size alloca
  14439. configure:18068: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  14440. configure:18068: $? = 0
  14441. configure:18075: result: ok
  14442. configure:18093: checking for working memcmp
  14443. configure:18136: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  14444. configure:18136: $? = 0
  14445. configure:18136: ./conftest
  14446. configure:18136: $? = 0
  14447. configure:18146: result: yes
  14448. configure:18159: checking for broken erfc of glibc-2.3.6 on IA64
  14449. configure:18179: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  14450. configure:18179: $? = 0
  14451. configure:18179: ./conftest
  14452. configure:18179: $? = 0
  14453. configure:18189: result: no
  14454. configure:18222: checking for acosh
  14455. configure:18222: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  14456. conftest.c:223:6: warning: conflicting types for built-in function 'acosh' [-Wbuiltin-declaration-mismatch]
  14457. char acosh ();
  14458. ^~~~~
  14459. configure:18222: $? = 0
  14460. configure:18222: result: yes
  14461. configure:18236: checking for cbrt
  14462. configure:18236: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  14463. conftest.c:224:6: warning: conflicting types for built-in function 'cbrt' [-Wbuiltin-declaration-mismatch]
  14464. char cbrt ();
  14465. ^~~~
  14466. configure:18236: $? = 0
  14467. configure:18236: result: yes
  14468. configure:18250: checking for crypt
  14469. configure:18250: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  14470. configure:18250: $? = 0
  14471. configure:18250: result: yes
  14472. configure:18264: checking for dup2
  14473. configure:18264: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  14474. configure:18264: $? = 0
  14475. configure:18264: result: yes
  14476. configure:18278: checking for erf
  14477. configure:18278: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  14478. conftest.c:227:6: warning: conflicting types for built-in function 'erf' [-Wbuiltin-declaration-mismatch]
  14479. char erf ();
  14480. ^~~
  14481. configure:18278: $? = 0
  14482. configure:18278: result: yes
  14483. configure:18292: checking for explicit_bzero
  14484. configure:18292: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  14485. configure:18292: $? = 0
  14486. configure:18292: result: yes
  14487. configure:18306: checking for ffs
  14488. configure:18306: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  14489. configure:18306: $? = 0
  14490. configure:18306: result: yes
  14491. configure:18320: checking for finite
  14492. configure:18320: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  14493. configure:18320: $? = 0
  14494. configure:18320: result: yes
  14495. configure:18334: checking for flock
  14496. configure:18334: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  14497. configure:18334: $? = 0
  14498. configure:18334: result: yes
  14499. configure:18348: checking for hypot
  14500. configure:18348: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  14501. conftest.c:232:6: warning: conflicting types for built-in function 'hypot' [-Wbuiltin-declaration-mismatch]
  14502. char hypot ();
  14503. ^~~~~
  14504. configure:18348: $? = 0
  14505. configure:18348: result: yes
  14506. configure:18362: checking for isinf
  14507. configure:18362: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  14508. conftest.c:233:6: warning: conflicting types for built-in function 'isinf' [-Wbuiltin-declaration-mismatch]
  14509. char isinf ();
  14510. ^~~~~
  14511. configure:18362: $? = 0
  14512. configure:18362: result: yes
  14513. configure:18376: checking for isnan
  14514. configure:18376: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  14515. conftest.c:234:6: warning: conflicting types for built-in function 'isnan' [-Wbuiltin-declaration-mismatch]
  14516. char isnan ();
  14517. ^~~~~
  14518. configure:18376: $? = 0
  14519. configure:18376: result: yes
  14520. configure:18390: checking for lgamma_r
  14521. configure:18390: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  14522. configure:18390: $? = 0
  14523. configure:18390: result: yes
  14524. configure:18404: checking for memmove
  14525. configure:18404: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  14526. conftest.c:236:6: warning: conflicting types for built-in function 'memmove' [-Wbuiltin-declaration-mismatch]
  14527. char memmove ();
  14528. ^~~~~~~
  14529. configure:18404: $? = 0
  14530. configure:18404: result: yes
  14531. configure:18418: checking for nextafter
  14532. configure:18418: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  14533. conftest.c:237:6: warning: conflicting types for built-in function 'nextafter' [-Wbuiltin-declaration-mismatch]
  14534. char nextafter ();
  14535. ^~~~~~~~~
  14536. configure:18418: $? = 0
  14537. configure:18418: result: yes
  14538. configure:18432: checking for setproctitle
  14539. configure:18432: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  14540. /tmp/ccqGHD1q.o: In function `main':
  14541. /usr/share/rvm/src/ruby-2.3.0/conftest.c:249: undefined reference to `setproctitle'
  14542. collect2: error: ld returned 1 exit status
  14543. configure:18432: $? = 1
  14544. configure: failed program was:
  14545. | /* confdefs.h */
  14546. | #define PACKAGE_NAME ""
  14547. | #define PACKAGE_TARNAME ""
  14548. | #define PACKAGE_VERSION ""
  14549. | #define PACKAGE_STRING ""
  14550. | #define PACKAGE_BUGREPORT ""
  14551. | #define PACKAGE_URL ""
  14552. | #define CANONICALIZATION_FOR_MATHN 1
  14553. | #define STDC_HEADERS 1
  14554. | #define HAVE_SYS_TYPES_H 1
  14555. | #define HAVE_SYS_STAT_H 1
  14556. | #define HAVE_STDLIB_H 1
  14557. | #define HAVE_STRING_H 1
  14558. | #define HAVE_MEMORY_H 1
  14559. | #define HAVE_STRINGS_H 1
  14560. | #define HAVE_INTTYPES_H 1
  14561. | #define HAVE_STDINT_H 1
  14562. | #define HAVE_UNISTD_H 1
  14563. | #define __EXTENSIONS__ 1
  14564. | #define _ALL_SOURCE 1
  14565. | #define _GNU_SOURCE 1
  14566. | #define _POSIX_PTHREAD_SEMANTICS 1
  14567. | #define _TANDEM_SOURCE 1
  14568. | #define HAVE_INFINITY 1
  14569. | #define HAVE_NAN 1
  14570. | #define RUBY_SYMBOL_EXPORT_BEGIN _Pragma("GCC visibility push(default)")
  14571. | #define RUBY_SYMBOL_EXPORT_END _Pragma("GCC visibility pop")
  14572. | #define HAVE_LIBCRYPT 1
  14573. | #define HAVE_LIBDL 1
  14574. | #define HAVE_DIRENT_H 1
  14575. | #define HAVE__BOOL 1
  14576. | #define HAVE_STDBOOL_H 1
  14577. | #define HAVE_SYS_WAIT_H 1
  14578. | #define HAVE_A_OUT_H 1
  14579. | #define HAVE_GRP_H 1
  14580. | #define HAVE_FCNTL_H 1
  14581. | #define HAVE_FLOAT_H 1
  14582. | #define HAVE_LANGINFO_H 1
  14583. | #define HAVE_LIMITS_H 1
  14584. | #define HAVE_LOCALE_H 1
  14585. | #define HAVE_MALLOC_H 1
  14586. | #define HAVE_PWD_H 1
  14587. | #define HAVE_SYS_FCNTL_H 1
  14588. | #define HAVE_SYS_FILE_H 1
  14589. | #define HAVE_SYS_IOCTL_H 1
  14590. | #define HAVE_SYS_PARAM_H 1
  14591. | #define HAVE_SYS_PRCTL_H 1
  14592. | #define HAVE_SYS_RESOURCE_H 1
  14593. | #define HAVE_SYS_SELECT_H 1
  14594. | #define HAVE_SYS_SENDFILE_H 1
  14595. | #define HAVE_SYS_SOCKET_H 1
  14596. | #define HAVE_SYS_SYSCALL_H 1
  14597. | #define HAVE_SYS_TIME_H 1
  14598. | #define HAVE_SYS_TIMES_H 1
  14599. | #define HAVE_SYS_UIO_H 1
  14600. | #define HAVE_SYSCALL_H 1
  14601. | #define HAVE_TIME_H 1
  14602. | #define HAVE_UCONTEXT_H 1
  14603. | #define HAVE_UTIME_H 1
  14604. | #define HAVE_GMP_H 1
  14605. | #define HAVE_LIBGMP 1
  14606. | #define HAVE_TYPEOF 1
  14607. | #define typeof __typeof__
  14608. | #define HAVE_LONG_LONG 1
  14609. | #define HAVE_OFF_T 1
  14610. | #define SIZEOF_INT 4
  14611. | #define SIZEOF_SHORT 2
  14612. | #define SIZEOF_LONG 8
  14613. | #define SIZEOF_LONG_LONG 8
  14614. | #define SIZEOF___INT64 0
  14615. | #define SIZEOF_OFF_T 8
  14616. | #define SIZEOF_VOIDP 8
  14617. | #define SIZEOF_FLOAT 4
  14618. | #define SIZEOF_DOUBLE 8
  14619. | #define SIZEOF_TIME_T 8
  14620. | #define SIZEOF_CLOCK_T 8
  14621. | #define PACKED_STRUCT(x) x __attribute__((packed))
  14622. | #define PACKED_STRUCT_UNALIGNED(x) x
  14623. | #define PRI_LL_PREFIX "ll"
  14624. | #define rb_pid_t pid_t
  14625. | #define SIGNEDNESS_OF_PID_T -1
  14626. | #define PIDT2NUM(v) INT2NUM(v)
  14627. | #define NUM2PIDT(v) NUM2INT(v)
  14628. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  14629. | #define rb_uid_t uid_t
  14630. | #define SIGNEDNESS_OF_UID_T +1
  14631. | #define UIDT2NUM(v) UINT2NUM(v)
  14632. | #define NUM2UIDT(v) NUM2UINT(v)
  14633. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  14634. | #define rb_gid_t gid_t
  14635. | #define SIGNEDNESS_OF_GID_T +1
  14636. | #define GIDT2NUM(v) UINT2NUM(v)
  14637. | #define NUM2GIDT(v) NUM2UINT(v)
  14638. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  14639. | #define rb_time_t time_t
  14640. | #define SIGNEDNESS_OF_TIME_T -1
  14641. | #define TIMET2NUM(v) LONG2NUM(v)
  14642. | #define NUM2TIMET(v) NUM2LONG(v)
  14643. | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
  14644. | #define rb_dev_t dev_t
  14645. | #define SIGNEDNESS_OF_DEV_T +1
  14646. | #define DEVT2NUM(v) ULONG2NUM(v)
  14647. | #define NUM2DEVT(v) NUM2ULONG(v)
  14648. | #define PRI_DEVT_PREFIX PRI_LONG_PREFIX
  14649. | #define rb_mode_t mode_t
  14650. | #define SIGNEDNESS_OF_MODE_T +1
  14651. | #define MODET2NUM(v) UINT2NUM(v)
  14652. | #define NUM2MODET(v) NUM2UINT(v)
  14653. | #define PRI_MODET_PREFIX PRI_INT_PREFIX
  14654. | #define rb_rlim_t rlim_t
  14655. | #define SIGNEDNESS_OF_RLIM_T +1
  14656. | #define RLIM2NUM(v) ULONG2NUM(v)
  14657. | #define NUM2RLIM(v) NUM2ULONG(v)
  14658. | #define PRI_RLIM_PREFIX PRI_LONG_PREFIX
  14659. | #define rb_off_t off_t
  14660. | #define SIGNEDNESS_OF_OFF_T -1
  14661. | #define OFFT2NUM(v) LONG2NUM(v)
  14662. | #define NUM2OFFT(v) NUM2LONG(v)
  14663. | #define PRI_OFFT_PREFIX PRI_LONG_PREFIX
  14664. | #define rb_clockid_t clockid_t
  14665. | #define SIGNEDNESS_OF_CLOCKID_T -1
  14666. | #define CLOCKID2NUM(v) INT2NUM(v)
  14667. | #define NUM2CLOCKID(v) NUM2INT(v)
  14668. | #define PRI_CLOCKID_PREFIX PRI_INT_PREFIX
  14669. | #define HAVE_PROTOTYPES 1
  14670. | #define TOKEN_PASTE(x,y) x##y
  14671. | #define STRINGIZE(expr) STRINGIZE0(expr)
  14672. | #define HAVE_STDARG_PROTOTYPES 1
  14673. | #define HAVE_VA_ARGS_MACRO 1
  14674. | #define NORETURN(x) __attribute__ ((noreturn)) x
  14675. | #define DEPRECATED(x) __attribute__ ((deprecated)) x
  14676. | #define DEPRECATED_BY(n,x) __attribute__ ((deprecated("by "#n))) x
  14677. | #define DEPRECATED_TYPE(mesg,x) __attribute__ ((deprecated mesg)) x
  14678. | #define NOINLINE(x) __attribute__ ((noinline)) x
  14679. | #define WEAK(x) __attribute__ ((weak)) x
  14680. | #define HAVE_FUNC_WEAK 1
  14681. | #define FUNC_UNOPTIMIZED(x) __attribute__ ((optimize("O0"))) x
  14682. | #define FUNC_MINIMIZED(x) __attribute__ ((optimize("-Os","-fomit-frame-pointer"))) x
  14683. | #define HAVE_ATTRIBUTE_FUNCTION_ALIAS 1
  14684. | #define RUBY_ALIAS_FUNCTION_TYPE(type, prot, name, args) type prot __attribute__((alias(#name)));
  14685. | #define RUBY_ALIAS_FUNCTION_VOID(prot, name, args) RUBY_ALIAS_FUNCTION_TYPE(void, prot, name, args)
  14686. | #define HAVE_GCC_ATOMIC_BUILTINS 1
  14687. | #define HAVE_GCC_SYNC_BUILTINS 1
  14688. | #define UNREACHABLE __builtin_unreachable()
  14689. | #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
  14690. | #define RUBY_FUNCTION_NAME_STRING __func__
  14691. | #define ENUM_OVER_INT 1
  14692. | #define HAVE_DECL_SYS_NERR 1
  14693. | #define HAVE_DECL_GETENV 1
  14694. | #define SIZEOF_SIZE_T 8
  14695. | #define SIZEOF_PTRDIFF_T 8
  14696. | #define PRI_SIZE_PREFIX "z"
  14697. | #define PRI_PTRDIFF_PREFIX "t"
  14698. | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
  14699. | #define HAVE_ST_BLKSIZE 1
  14700. | #define HAVE_STRUCT_STAT_ST_BLOCKS 1
  14701. | #define HAVE_ST_BLOCKS 1
  14702. | #define HAVE_STRUCT_STAT_ST_RDEV 1
  14703. | #define HAVE_ST_RDEV 1
  14704. | #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_OFF_T
  14705. | #define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_OFF_T
  14706. | #define SIZEOF_STRUCT_STAT_ST_INO SIZEOF_LONG
  14707. | #define HAVE_STRUCT_STAT_ST_ATIM 1
  14708. | #define HAVE_STRUCT_STAT_ST_MTIM 1
  14709. | #define HAVE_STRUCT_STAT_ST_CTIM 1
  14710. | #define HAVE_STRUCT_TIMEVAL 1
  14711. | #define SIZEOF_STRUCT_TIMEVAL_TV_SEC SIZEOF_TIME_T
  14712. | #define HAVE_STRUCT_TIMESPEC 1
  14713. | #define HAVE_STRUCT_TIMEZONE 1
  14714. | #define HAVE_CLOCKID_T 1
  14715. | #define HAVE_RB_FD_INIT 1
  14716. | #define HAVE_INT8_T 1
  14717. | #define SIZEOF_INT8_T 1
  14718. | #define HAVE_UINT8_T 1
  14719. | #define SIZEOF_UINT8_T 1
  14720. | #define HAVE_INT16_T 1
  14721. | #define SIZEOF_INT16_T 2
  14722. | #define HAVE_UINT16_T 1
  14723. | #define SIZEOF_UINT16_T 2
  14724. | #define HAVE_INT32_T 1
  14725. | #define SIZEOF_INT32_T 4
  14726. | #define HAVE_UINT32_T 1
  14727. | #define SIZEOF_UINT32_T 4
  14728. | #define HAVE_INT64_T 1
  14729. | #define SIZEOF_INT64_T 8
  14730. | #define HAVE_UINT64_T 1
  14731. | #define SIZEOF_UINT64_T 8
  14732. | #define HAVE_INTPTR_T 1
  14733. | #define SIZEOF_INTPTR_T 8
  14734. | #define HAVE_UINTPTR_T 1
  14735. | #define SIZEOF_UINTPTR_T 8
  14736. | #define HAVE_SSIZE_T 1
  14737. | #define SIZEOF_SSIZE_T 8
  14738. | #define STACK_END_ADDRESS __libc_stack_end
  14739. | #define GETGROUPS_T gid_t
  14740. | #define RETSIGTYPE void
  14741. | #define HAVE_ALLOCA_H 1
  14742. | #define HAVE_ALLOCA 1
  14743. | #define HAVE_ACOSH 1
  14744. | #define HAVE_CBRT 1
  14745. | #define HAVE_CRYPT 1
  14746. | #define HAVE_DUP2 1
  14747. | #define HAVE_ERF 1
  14748. | #define HAVE_EXPLICIT_BZERO 1
  14749. | #define HAVE_FFS 1
  14750. | #define HAVE_FINITE 1
  14751. | #define HAVE_FLOCK 1
  14752. | #define HAVE_HYPOT 1
  14753. | #define HAVE_ISINF 1
  14754. | #define HAVE_ISNAN 1
  14755. | #define HAVE_LGAMMA_R 1
  14756. | #define HAVE_MEMMOVE 1
  14757. | #define HAVE_NEXTAFTER 1
  14758. | /* end confdefs.h. */
  14759. | /* Define setproctitle to an innocuous variant, in case <limits.h> declares setproctitle.
  14760. | For example, HP-UX 11i <limits.h> declares gettimeofday. */
  14761. | #define setproctitle innocuous_setproctitle
  14762. |
  14763. | /* System header to define __stub macros and hopefully few prototypes,
  14764. | which can conflict with char setproctitle (); below.
  14765. | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  14766. | <limits.h> exists even on freestanding compilers. */
  14767. |
  14768. | #ifdef __STDC__
  14769. | # include <limits.h>
  14770. | #else
  14771. | # include <assert.h>
  14772. | #endif
  14773. |
  14774. | #undef setproctitle
  14775. |
  14776. | /* Override any GCC internal prototype to avoid an error.
  14777. | Use char because int might match the return type of a GCC
  14778. | builtin and then its argument prototype would still apply. */
  14779. | #ifdef __cplusplus
  14780. | extern "C"
  14781. | #endif
  14782. | char setproctitle ();
  14783. | /* The GNU C library defines this for functions which it implements
  14784. | to always fail with ENOSYS. Some functions are actually named
  14785. | something starting with __ and the normal name is an alias. */
  14786. | #if defined __stub_setproctitle || defined __stub___setproctitle
  14787. | choke me
  14788. | #endif
  14789. |
  14790. | int
  14791. | main ()
  14792. | {
  14793. | return setproctitle ();
  14794. | ;
  14795. | return 0;
  14796. | }
  14797. configure:18432: result: no
  14798. configure:18446: checking for strchr
  14799. configure:18446: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  14800. conftest.c:238:6: warning: conflicting types for built-in function 'strchr' [-Wbuiltin-declaration-mismatch]
  14801. char strchr ();
  14802. ^~~~~~
  14803. configure:18446: $? = 0
  14804. configure:18446: result: yes
  14805. configure:18460: checking for strerror
  14806. configure:18460: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  14807. configure:18460: $? = 0
  14808. configure:18460: result: yes
  14809. configure:18474: checking for strlcat
  14810. configure:18474: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  14811. /tmp/cc8tHTdJ.o: In function `main':
  14812. /usr/share/rvm/src/ruby-2.3.0/conftest.c:251: undefined reference to `strlcat'
  14813. collect2: error: ld returned 1 exit status
  14814. configure:18474: $? = 1
  14815. configure: failed program was:
  14816. | /* confdefs.h */
  14817. | #define PACKAGE_NAME ""
  14818. | #define PACKAGE_TARNAME ""
  14819. | #define PACKAGE_VERSION ""
  14820. | #define PACKAGE_STRING ""
  14821. | #define PACKAGE_BUGREPORT ""
  14822. | #define PACKAGE_URL ""
  14823. | #define CANONICALIZATION_FOR_MATHN 1
  14824. | #define STDC_HEADERS 1
  14825. | #define HAVE_SYS_TYPES_H 1
  14826. | #define HAVE_SYS_STAT_H 1
  14827. | #define HAVE_STDLIB_H 1
  14828. | #define HAVE_STRING_H 1
  14829. | #define HAVE_MEMORY_H 1
  14830. | #define HAVE_STRINGS_H 1
  14831. | #define HAVE_INTTYPES_H 1
  14832. | #define HAVE_STDINT_H 1
  14833. | #define HAVE_UNISTD_H 1
  14834. | #define __EXTENSIONS__ 1
  14835. | #define _ALL_SOURCE 1
  14836. | #define _GNU_SOURCE 1
  14837. | #define _POSIX_PTHREAD_SEMANTICS 1
  14838. | #define _TANDEM_SOURCE 1
  14839. | #define HAVE_INFINITY 1
  14840. | #define HAVE_NAN 1
  14841. | #define RUBY_SYMBOL_EXPORT_BEGIN _Pragma("GCC visibility push(default)")
  14842. | #define RUBY_SYMBOL_EXPORT_END _Pragma("GCC visibility pop")
  14843. | #define HAVE_LIBCRYPT 1
  14844. | #define HAVE_LIBDL 1
  14845. | #define HAVE_DIRENT_H 1
  14846. | #define HAVE__BOOL 1
  14847. | #define HAVE_STDBOOL_H 1
  14848. | #define HAVE_SYS_WAIT_H 1
  14849. | #define HAVE_A_OUT_H 1
  14850. | #define HAVE_GRP_H 1
  14851. | #define HAVE_FCNTL_H 1
  14852. | #define HAVE_FLOAT_H 1
  14853. | #define HAVE_LANGINFO_H 1
  14854. | #define HAVE_LIMITS_H 1
  14855. | #define HAVE_LOCALE_H 1
  14856. | #define HAVE_MALLOC_H 1
  14857. | #define HAVE_PWD_H 1
  14858. | #define HAVE_SYS_FCNTL_H 1
  14859. | #define HAVE_SYS_FILE_H 1
  14860. | #define HAVE_SYS_IOCTL_H 1
  14861. | #define HAVE_SYS_PARAM_H 1
  14862. | #define HAVE_SYS_PRCTL_H 1
  14863. | #define HAVE_SYS_RESOURCE_H 1
  14864. | #define HAVE_SYS_SELECT_H 1
  14865. | #define HAVE_SYS_SENDFILE_H 1
  14866. | #define HAVE_SYS_SOCKET_H 1
  14867. | #define HAVE_SYS_SYSCALL_H 1
  14868. | #define HAVE_SYS_TIME_H 1
  14869. | #define HAVE_SYS_TIMES_H 1
  14870. | #define HAVE_SYS_UIO_H 1
  14871. | #define HAVE_SYSCALL_H 1
  14872. | #define HAVE_TIME_H 1
  14873. | #define HAVE_UCONTEXT_H 1
  14874. | #define HAVE_UTIME_H 1
  14875. | #define HAVE_GMP_H 1
  14876. | #define HAVE_LIBGMP 1
  14877. | #define HAVE_TYPEOF 1
  14878. | #define typeof __typeof__
  14879. | #define HAVE_LONG_LONG 1
  14880. | #define HAVE_OFF_T 1
  14881. | #define SIZEOF_INT 4
  14882. | #define SIZEOF_SHORT 2
  14883. | #define SIZEOF_LONG 8
  14884. | #define SIZEOF_LONG_LONG 8
  14885. | #define SIZEOF___INT64 0
  14886. | #define SIZEOF_OFF_T 8
  14887. | #define SIZEOF_VOIDP 8
  14888. | #define SIZEOF_FLOAT 4
  14889. | #define SIZEOF_DOUBLE 8
  14890. | #define SIZEOF_TIME_T 8
  14891. | #define SIZEOF_CLOCK_T 8
  14892. | #define PACKED_STRUCT(x) x __attribute__((packed))
  14893. | #define PACKED_STRUCT_UNALIGNED(x) x
  14894. | #define PRI_LL_PREFIX "ll"
  14895. | #define rb_pid_t pid_t
  14896. | #define SIGNEDNESS_OF_PID_T -1
  14897. | #define PIDT2NUM(v) INT2NUM(v)
  14898. | #define NUM2PIDT(v) NUM2INT(v)
  14899. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  14900. | #define rb_uid_t uid_t
  14901. | #define SIGNEDNESS_OF_UID_T +1
  14902. | #define UIDT2NUM(v) UINT2NUM(v)
  14903. | #define NUM2UIDT(v) NUM2UINT(v)
  14904. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  14905. | #define rb_gid_t gid_t
  14906. | #define SIGNEDNESS_OF_GID_T +1
  14907. | #define GIDT2NUM(v) UINT2NUM(v)
  14908. | #define NUM2GIDT(v) NUM2UINT(v)
  14909. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  14910. | #define rb_time_t time_t
  14911. | #define SIGNEDNESS_OF_TIME_T -1
  14912. | #define TIMET2NUM(v) LONG2NUM(v)
  14913. | #define NUM2TIMET(v) NUM2LONG(v)
  14914. | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
  14915. | #define rb_dev_t dev_t
  14916. | #define SIGNEDNESS_OF_DEV_T +1
  14917. | #define DEVT2NUM(v) ULONG2NUM(v)
  14918. | #define NUM2DEVT(v) NUM2ULONG(v)
  14919. | #define PRI_DEVT_PREFIX PRI_LONG_PREFIX
  14920. | #define rb_mode_t mode_t
  14921. | #define SIGNEDNESS_OF_MODE_T +1
  14922. | #define MODET2NUM(v) UINT2NUM(v)
  14923. | #define NUM2MODET(v) NUM2UINT(v)
  14924. | #define PRI_MODET_PREFIX PRI_INT_PREFIX
  14925. | #define rb_rlim_t rlim_t
  14926. | #define SIGNEDNESS_OF_RLIM_T +1
  14927. | #define RLIM2NUM(v) ULONG2NUM(v)
  14928. | #define NUM2RLIM(v) NUM2ULONG(v)
  14929. | #define PRI_RLIM_PREFIX PRI_LONG_PREFIX
  14930. | #define rb_off_t off_t
  14931. | #define SIGNEDNESS_OF_OFF_T -1
  14932. | #define OFFT2NUM(v) LONG2NUM(v)
  14933. | #define NUM2OFFT(v) NUM2LONG(v)
  14934. | #define PRI_OFFT_PREFIX PRI_LONG_PREFIX
  14935. | #define rb_clockid_t clockid_t
  14936. | #define SIGNEDNESS_OF_CLOCKID_T -1
  14937. | #define CLOCKID2NUM(v) INT2NUM(v)
  14938. | #define NUM2CLOCKID(v) NUM2INT(v)
  14939. | #define PRI_CLOCKID_PREFIX PRI_INT_PREFIX
  14940. | #define HAVE_PROTOTYPES 1
  14941. | #define TOKEN_PASTE(x,y) x##y
  14942. | #define STRINGIZE(expr) STRINGIZE0(expr)
  14943. | #define HAVE_STDARG_PROTOTYPES 1
  14944. | #define HAVE_VA_ARGS_MACRO 1
  14945. | #define NORETURN(x) __attribute__ ((noreturn)) x
  14946. | #define DEPRECATED(x) __attribute__ ((deprecated)) x
  14947. | #define DEPRECATED_BY(n,x) __attribute__ ((deprecated("by "#n))) x
  14948. | #define DEPRECATED_TYPE(mesg,x) __attribute__ ((deprecated mesg)) x
  14949. | #define NOINLINE(x) __attribute__ ((noinline)) x
  14950. | #define WEAK(x) __attribute__ ((weak)) x
  14951. | #define HAVE_FUNC_WEAK 1
  14952. | #define FUNC_UNOPTIMIZED(x) __attribute__ ((optimize("O0"))) x
  14953. | #define FUNC_MINIMIZED(x) __attribute__ ((optimize("-Os","-fomit-frame-pointer"))) x
  14954. | #define HAVE_ATTRIBUTE_FUNCTION_ALIAS 1
  14955. | #define RUBY_ALIAS_FUNCTION_TYPE(type, prot, name, args) type prot __attribute__((alias(#name)));
  14956. | #define RUBY_ALIAS_FUNCTION_VOID(prot, name, args) RUBY_ALIAS_FUNCTION_TYPE(void, prot, name, args)
  14957. | #define HAVE_GCC_ATOMIC_BUILTINS 1
  14958. | #define HAVE_GCC_SYNC_BUILTINS 1
  14959. | #define UNREACHABLE __builtin_unreachable()
  14960. | #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
  14961. | #define RUBY_FUNCTION_NAME_STRING __func__
  14962. | #define ENUM_OVER_INT 1
  14963. | #define HAVE_DECL_SYS_NERR 1
  14964. | #define HAVE_DECL_GETENV 1
  14965. | #define SIZEOF_SIZE_T 8
  14966. | #define SIZEOF_PTRDIFF_T 8
  14967. | #define PRI_SIZE_PREFIX "z"
  14968. | #define PRI_PTRDIFF_PREFIX "t"
  14969. | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
  14970. | #define HAVE_ST_BLKSIZE 1
  14971. | #define HAVE_STRUCT_STAT_ST_BLOCKS 1
  14972. | #define HAVE_ST_BLOCKS 1
  14973. | #define HAVE_STRUCT_STAT_ST_RDEV 1
  14974. | #define HAVE_ST_RDEV 1
  14975. | #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_OFF_T
  14976. | #define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_OFF_T
  14977. | #define SIZEOF_STRUCT_STAT_ST_INO SIZEOF_LONG
  14978. | #define HAVE_STRUCT_STAT_ST_ATIM 1
  14979. | #define HAVE_STRUCT_STAT_ST_MTIM 1
  14980. | #define HAVE_STRUCT_STAT_ST_CTIM 1
  14981. | #define HAVE_STRUCT_TIMEVAL 1
  14982. | #define SIZEOF_STRUCT_TIMEVAL_TV_SEC SIZEOF_TIME_T
  14983. | #define HAVE_STRUCT_TIMESPEC 1
  14984. | #define HAVE_STRUCT_TIMEZONE 1
  14985. | #define HAVE_CLOCKID_T 1
  14986. | #define HAVE_RB_FD_INIT 1
  14987. | #define HAVE_INT8_T 1
  14988. | #define SIZEOF_INT8_T 1
  14989. | #define HAVE_UINT8_T 1
  14990. | #define SIZEOF_UINT8_T 1
  14991. | #define HAVE_INT16_T 1
  14992. | #define SIZEOF_INT16_T 2
  14993. | #define HAVE_UINT16_T 1
  14994. | #define SIZEOF_UINT16_T 2
  14995. | #define HAVE_INT32_T 1
  14996. | #define SIZEOF_INT32_T 4
  14997. | #define HAVE_UINT32_T 1
  14998. | #define SIZEOF_UINT32_T 4
  14999. | #define HAVE_INT64_T 1
  15000. | #define SIZEOF_INT64_T 8
  15001. | #define HAVE_UINT64_T 1
  15002. | #define SIZEOF_UINT64_T 8
  15003. | #define HAVE_INTPTR_T 1
  15004. | #define SIZEOF_INTPTR_T 8
  15005. | #define HAVE_UINTPTR_T 1
  15006. | #define SIZEOF_UINTPTR_T 8
  15007. | #define HAVE_SSIZE_T 1
  15008. | #define SIZEOF_SSIZE_T 8
  15009. | #define STACK_END_ADDRESS __libc_stack_end
  15010. | #define GETGROUPS_T gid_t
  15011. | #define RETSIGTYPE void
  15012. | #define HAVE_ALLOCA_H 1
  15013. | #define HAVE_ALLOCA 1
  15014. | #define HAVE_ACOSH 1
  15015. | #define HAVE_CBRT 1
  15016. | #define HAVE_CRYPT 1
  15017. | #define HAVE_DUP2 1
  15018. | #define HAVE_ERF 1
  15019. | #define HAVE_EXPLICIT_BZERO 1
  15020. | #define HAVE_FFS 1
  15021. | #define HAVE_FINITE 1
  15022. | #define HAVE_FLOCK 1
  15023. | #define HAVE_HYPOT 1
  15024. | #define HAVE_ISINF 1
  15025. | #define HAVE_ISNAN 1
  15026. | #define HAVE_LGAMMA_R 1
  15027. | #define HAVE_MEMMOVE 1
  15028. | #define HAVE_NEXTAFTER 1
  15029. | #define HAVE_STRCHR 1
  15030. | #define HAVE_STRERROR 1
  15031. | /* end confdefs.h. */
  15032. | /* Define strlcat to an innocuous variant, in case <limits.h> declares strlcat.
  15033. | For example, HP-UX 11i <limits.h> declares gettimeofday. */
  15034. | #define strlcat innocuous_strlcat
  15035. |
  15036. | /* System header to define __stub macros and hopefully few prototypes,
  15037. | which can conflict with char strlcat (); below.
  15038. | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  15039. | <limits.h> exists even on freestanding compilers. */
  15040. |
  15041. | #ifdef __STDC__
  15042. | # include <limits.h>
  15043. | #else
  15044. | # include <assert.h>
  15045. | #endif
  15046. |
  15047. | #undef strlcat
  15048. |
  15049. | /* Override any GCC internal prototype to avoid an error.
  15050. | Use char because int might match the return type of a GCC
  15051. | builtin and then its argument prototype would still apply. */
  15052. | #ifdef __cplusplus
  15053. | extern "C"
  15054. | #endif
  15055. | char strlcat ();
  15056. | /* The GNU C library defines this for functions which it implements
  15057. | to always fail with ENOSYS. Some functions are actually named
  15058. | something starting with __ and the normal name is an alias. */
  15059. | #if defined __stub_strlcat || defined __stub___strlcat
  15060. | choke me
  15061. | #endif
  15062. |
  15063. | int
  15064. | main ()
  15065. | {
  15066. | return strlcat ();
  15067. | ;
  15068. | return 0;
  15069. | }
  15070. configure:18474: result: no
  15071. configure:18488: checking for strlcpy
  15072. configure:18488: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  15073. /tmp/ccU9bafR.o: In function `main':
  15074. /usr/share/rvm/src/ruby-2.3.0/conftest.c:251: undefined reference to `strlcpy'
  15075. collect2: error: ld returned 1 exit status
  15076. configure:18488: $? = 1
  15077. configure: failed program was:
  15078. | /* confdefs.h */
  15079. | #define PACKAGE_NAME ""
  15080. | #define PACKAGE_TARNAME ""
  15081. | #define PACKAGE_VERSION ""
  15082. | #define PACKAGE_STRING ""
  15083. | #define PACKAGE_BUGREPORT ""
  15084. | #define PACKAGE_URL ""
  15085. | #define CANONICALIZATION_FOR_MATHN 1
  15086. | #define STDC_HEADERS 1
  15087. | #define HAVE_SYS_TYPES_H 1
  15088. | #define HAVE_SYS_STAT_H 1
  15089. | #define HAVE_STDLIB_H 1
  15090. | #define HAVE_STRING_H 1
  15091. | #define HAVE_MEMORY_H 1
  15092. | #define HAVE_STRINGS_H 1
  15093. | #define HAVE_INTTYPES_H 1
  15094. | #define HAVE_STDINT_H 1
  15095. | #define HAVE_UNISTD_H 1
  15096. | #define __EXTENSIONS__ 1
  15097. | #define _ALL_SOURCE 1
  15098. | #define _GNU_SOURCE 1
  15099. | #define _POSIX_PTHREAD_SEMANTICS 1
  15100. | #define _TANDEM_SOURCE 1
  15101. | #define HAVE_INFINITY 1
  15102. | #define HAVE_NAN 1
  15103. | #define RUBY_SYMBOL_EXPORT_BEGIN _Pragma("GCC visibility push(default)")
  15104. | #define RUBY_SYMBOL_EXPORT_END _Pragma("GCC visibility pop")
  15105. | #define HAVE_LIBCRYPT 1
  15106. | #define HAVE_LIBDL 1
  15107. | #define HAVE_DIRENT_H 1
  15108. | #define HAVE__BOOL 1
  15109. | #define HAVE_STDBOOL_H 1
  15110. | #define HAVE_SYS_WAIT_H 1
  15111. | #define HAVE_A_OUT_H 1
  15112. | #define HAVE_GRP_H 1
  15113. | #define HAVE_FCNTL_H 1
  15114. | #define HAVE_FLOAT_H 1
  15115. | #define HAVE_LANGINFO_H 1
  15116. | #define HAVE_LIMITS_H 1
  15117. | #define HAVE_LOCALE_H 1
  15118. | #define HAVE_MALLOC_H 1
  15119. | #define HAVE_PWD_H 1
  15120. | #define HAVE_SYS_FCNTL_H 1
  15121. | #define HAVE_SYS_FILE_H 1
  15122. | #define HAVE_SYS_IOCTL_H 1
  15123. | #define HAVE_SYS_PARAM_H 1
  15124. | #define HAVE_SYS_PRCTL_H 1
  15125. | #define HAVE_SYS_RESOURCE_H 1
  15126. | #define HAVE_SYS_SELECT_H 1
  15127. | #define HAVE_SYS_SENDFILE_H 1
  15128. | #define HAVE_SYS_SOCKET_H 1
  15129. | #define HAVE_SYS_SYSCALL_H 1
  15130. | #define HAVE_SYS_TIME_H 1
  15131. | #define HAVE_SYS_TIMES_H 1
  15132. | #define HAVE_SYS_UIO_H 1
  15133. | #define HAVE_SYSCALL_H 1
  15134. | #define HAVE_TIME_H 1
  15135. | #define HAVE_UCONTEXT_H 1
  15136. | #define HAVE_UTIME_H 1
  15137. | #define HAVE_GMP_H 1
  15138. | #define HAVE_LIBGMP 1
  15139. | #define HAVE_TYPEOF 1
  15140. | #define typeof __typeof__
  15141. | #define HAVE_LONG_LONG 1
  15142. | #define HAVE_OFF_T 1
  15143. | #define SIZEOF_INT 4
  15144. | #define SIZEOF_SHORT 2
  15145. | #define SIZEOF_LONG 8
  15146. | #define SIZEOF_LONG_LONG 8
  15147. | #define SIZEOF___INT64 0
  15148. | #define SIZEOF_OFF_T 8
  15149. | #define SIZEOF_VOIDP 8
  15150. | #define SIZEOF_FLOAT 4
  15151. | #define SIZEOF_DOUBLE 8
  15152. | #define SIZEOF_TIME_T 8
  15153. | #define SIZEOF_CLOCK_T 8
  15154. | #define PACKED_STRUCT(x) x __attribute__((packed))
  15155. | #define PACKED_STRUCT_UNALIGNED(x) x
  15156. | #define PRI_LL_PREFIX "ll"
  15157. | #define rb_pid_t pid_t
  15158. | #define SIGNEDNESS_OF_PID_T -1
  15159. | #define PIDT2NUM(v) INT2NUM(v)
  15160. | #define NUM2PIDT(v) NUM2INT(v)
  15161. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  15162. | #define rb_uid_t uid_t
  15163. | #define SIGNEDNESS_OF_UID_T +1
  15164. | #define UIDT2NUM(v) UINT2NUM(v)
  15165. | #define NUM2UIDT(v) NUM2UINT(v)
  15166. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  15167. | #define rb_gid_t gid_t
  15168. | #define SIGNEDNESS_OF_GID_T +1
  15169. | #define GIDT2NUM(v) UINT2NUM(v)
  15170. | #define NUM2GIDT(v) NUM2UINT(v)
  15171. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  15172. | #define rb_time_t time_t
  15173. | #define SIGNEDNESS_OF_TIME_T -1
  15174. | #define TIMET2NUM(v) LONG2NUM(v)
  15175. | #define NUM2TIMET(v) NUM2LONG(v)
  15176. | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
  15177. | #define rb_dev_t dev_t
  15178. | #define SIGNEDNESS_OF_DEV_T +1
  15179. | #define DEVT2NUM(v) ULONG2NUM(v)
  15180. | #define NUM2DEVT(v) NUM2ULONG(v)
  15181. | #define PRI_DEVT_PREFIX PRI_LONG_PREFIX
  15182. | #define rb_mode_t mode_t
  15183. | #define SIGNEDNESS_OF_MODE_T +1
  15184. | #define MODET2NUM(v) UINT2NUM(v)
  15185. | #define NUM2MODET(v) NUM2UINT(v)
  15186. | #define PRI_MODET_PREFIX PRI_INT_PREFIX
  15187. | #define rb_rlim_t rlim_t
  15188. | #define SIGNEDNESS_OF_RLIM_T +1
  15189. | #define RLIM2NUM(v) ULONG2NUM(v)
  15190. | #define NUM2RLIM(v) NUM2ULONG(v)
  15191. | #define PRI_RLIM_PREFIX PRI_LONG_PREFIX
  15192. | #define rb_off_t off_t
  15193. | #define SIGNEDNESS_OF_OFF_T -1
  15194. | #define OFFT2NUM(v) LONG2NUM(v)
  15195. | #define NUM2OFFT(v) NUM2LONG(v)
  15196. | #define PRI_OFFT_PREFIX PRI_LONG_PREFIX
  15197. | #define rb_clockid_t clockid_t
  15198. | #define SIGNEDNESS_OF_CLOCKID_T -1
  15199. | #define CLOCKID2NUM(v) INT2NUM(v)
  15200. | #define NUM2CLOCKID(v) NUM2INT(v)
  15201. | #define PRI_CLOCKID_PREFIX PRI_INT_PREFIX
  15202. | #define HAVE_PROTOTYPES 1
  15203. | #define TOKEN_PASTE(x,y) x##y
  15204. | #define STRINGIZE(expr) STRINGIZE0(expr)
  15205. | #define HAVE_STDARG_PROTOTYPES 1
  15206. | #define HAVE_VA_ARGS_MACRO 1
  15207. | #define NORETURN(x) __attribute__ ((noreturn)) x
  15208. | #define DEPRECATED(x) __attribute__ ((deprecated)) x
  15209. | #define DEPRECATED_BY(n,x) __attribute__ ((deprecated("by "#n))) x
  15210. | #define DEPRECATED_TYPE(mesg,x) __attribute__ ((deprecated mesg)) x
  15211. | #define NOINLINE(x) __attribute__ ((noinline)) x
  15212. | #define WEAK(x) __attribute__ ((weak)) x
  15213. | #define HAVE_FUNC_WEAK 1
  15214. | #define FUNC_UNOPTIMIZED(x) __attribute__ ((optimize("O0"))) x
  15215. | #define FUNC_MINIMIZED(x) __attribute__ ((optimize("-Os","-fomit-frame-pointer"))) x
  15216. | #define HAVE_ATTRIBUTE_FUNCTION_ALIAS 1
  15217. | #define RUBY_ALIAS_FUNCTION_TYPE(type, prot, name, args) type prot __attribute__((alias(#name)));
  15218. | #define RUBY_ALIAS_FUNCTION_VOID(prot, name, args) RUBY_ALIAS_FUNCTION_TYPE(void, prot, name, args)
  15219. | #define HAVE_GCC_ATOMIC_BUILTINS 1
  15220. | #define HAVE_GCC_SYNC_BUILTINS 1
  15221. | #define UNREACHABLE __builtin_unreachable()
  15222. | #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
  15223. | #define RUBY_FUNCTION_NAME_STRING __func__
  15224. | #define ENUM_OVER_INT 1
  15225. | #define HAVE_DECL_SYS_NERR 1
  15226. | #define HAVE_DECL_GETENV 1
  15227. | #define SIZEOF_SIZE_T 8
  15228. | #define SIZEOF_PTRDIFF_T 8
  15229. | #define PRI_SIZE_PREFIX "z"
  15230. | #define PRI_PTRDIFF_PREFIX "t"
  15231. | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
  15232. | #define HAVE_ST_BLKSIZE 1
  15233. | #define HAVE_STRUCT_STAT_ST_BLOCKS 1
  15234. | #define HAVE_ST_BLOCKS 1
  15235. | #define HAVE_STRUCT_STAT_ST_RDEV 1
  15236. | #define HAVE_ST_RDEV 1
  15237. | #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_OFF_T
  15238. | #define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_OFF_T
  15239. | #define SIZEOF_STRUCT_STAT_ST_INO SIZEOF_LONG
  15240. | #define HAVE_STRUCT_STAT_ST_ATIM 1
  15241. | #define HAVE_STRUCT_STAT_ST_MTIM 1
  15242. | #define HAVE_STRUCT_STAT_ST_CTIM 1
  15243. | #define HAVE_STRUCT_TIMEVAL 1
  15244. | #define SIZEOF_STRUCT_TIMEVAL_TV_SEC SIZEOF_TIME_T
  15245. | #define HAVE_STRUCT_TIMESPEC 1
  15246. | #define HAVE_STRUCT_TIMEZONE 1
  15247. | #define HAVE_CLOCKID_T 1
  15248. | #define HAVE_RB_FD_INIT 1
  15249. | #define HAVE_INT8_T 1
  15250. | #define SIZEOF_INT8_T 1
  15251. | #define HAVE_UINT8_T 1
  15252. | #define SIZEOF_UINT8_T 1
  15253. | #define HAVE_INT16_T 1
  15254. | #define SIZEOF_INT16_T 2
  15255. | #define HAVE_UINT16_T 1
  15256. | #define SIZEOF_UINT16_T 2
  15257. | #define HAVE_INT32_T 1
  15258. | #define SIZEOF_INT32_T 4
  15259. | #define HAVE_UINT32_T 1
  15260. | #define SIZEOF_UINT32_T 4
  15261. | #define HAVE_INT64_T 1
  15262. | #define SIZEOF_INT64_T 8
  15263. | #define HAVE_UINT64_T 1
  15264. | #define SIZEOF_UINT64_T 8
  15265. | #define HAVE_INTPTR_T 1
  15266. | #define SIZEOF_INTPTR_T 8
  15267. | #define HAVE_UINTPTR_T 1
  15268. | #define SIZEOF_UINTPTR_T 8
  15269. | #define HAVE_SSIZE_T 1
  15270. | #define SIZEOF_SSIZE_T 8
  15271. | #define STACK_END_ADDRESS __libc_stack_end
  15272. | #define GETGROUPS_T gid_t
  15273. | #define RETSIGTYPE void
  15274. | #define HAVE_ALLOCA_H 1
  15275. | #define HAVE_ALLOCA 1
  15276. | #define HAVE_ACOSH 1
  15277. | #define HAVE_CBRT 1
  15278. | #define HAVE_CRYPT 1
  15279. | #define HAVE_DUP2 1
  15280. | #define HAVE_ERF 1
  15281. | #define HAVE_EXPLICIT_BZERO 1
  15282. | #define HAVE_FFS 1
  15283. | #define HAVE_FINITE 1
  15284. | #define HAVE_FLOCK 1
  15285. | #define HAVE_HYPOT 1
  15286. | #define HAVE_ISINF 1
  15287. | #define HAVE_ISNAN 1
  15288. | #define HAVE_LGAMMA_R 1
  15289. | #define HAVE_MEMMOVE 1
  15290. | #define HAVE_NEXTAFTER 1
  15291. | #define HAVE_STRCHR 1
  15292. | #define HAVE_STRERROR 1
  15293. | /* end confdefs.h. */
  15294. | /* Define strlcpy to an innocuous variant, in case <limits.h> declares strlcpy.
  15295. | For example, HP-UX 11i <limits.h> declares gettimeofday. */
  15296. | #define strlcpy innocuous_strlcpy
  15297. |
  15298. | /* System header to define __stub macros and hopefully few prototypes,
  15299. | which can conflict with char strlcpy (); below.
  15300. | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  15301. | <limits.h> exists even on freestanding compilers. */
  15302. |
  15303. | #ifdef __STDC__
  15304. | # include <limits.h>
  15305. | #else
  15306. | # include <assert.h>
  15307. | #endif
  15308. |
  15309. | #undef strlcpy
  15310. |
  15311. | /* Override any GCC internal prototype to avoid an error.
  15312. | Use char because int might match the return type of a GCC
  15313. | builtin and then its argument prototype would still apply. */
  15314. | #ifdef __cplusplus
  15315. | extern "C"
  15316. | #endif
  15317. | char strlcpy ();
  15318. | /* The GNU C library defines this for functions which it implements
  15319. | to always fail with ENOSYS. Some functions are actually named
  15320. | something starting with __ and the normal name is an alias. */
  15321. | #if defined __stub_strlcpy || defined __stub___strlcpy
  15322. | choke me
  15323. | #endif
  15324. |
  15325. | int
  15326. | main ()
  15327. | {
  15328. | return strlcpy ();
  15329. | ;
  15330. | return 0;
  15331. | }
  15332. configure:18488: result: no
  15333. configure:18502: checking for strstr
  15334. configure:18502: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  15335. conftest.c:240:6: warning: conflicting types for built-in function 'strstr' [-Wbuiltin-declaration-mismatch]
  15336. char strstr ();
  15337. ^~~~~~
  15338. configure:18502: $? = 0
  15339. configure:18502: result: yes
  15340. configure:18516: checking for tgamma
  15341. configure:18516: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  15342. conftest.c:241:6: warning: conflicting types for built-in function 'tgamma' [-Wbuiltin-declaration-mismatch]
  15343. char tgamma ();
  15344. ^~~~~~
  15345. configure:18516: $? = 0
  15346. configure:18516: result: yes
  15347. configure:18544: checking sys/pstat.h usability
  15348. configure:18544: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  15349. conftest.c:253:10: fatal error: sys/pstat.h: No such file or directory
  15350. #include <sys/pstat.h>
  15351. ^~~~~~~~~~~~~
  15352. compilation terminated.
  15353. configure:18544: $? = 1
  15354. configure: failed program was:
  15355. | /* confdefs.h */
  15356. | #define PACKAGE_NAME ""
  15357. | #define PACKAGE_TARNAME ""
  15358. | #define PACKAGE_VERSION ""
  15359. | #define PACKAGE_STRING ""
  15360. | #define PACKAGE_BUGREPORT ""
  15361. | #define PACKAGE_URL ""
  15362. | #define CANONICALIZATION_FOR_MATHN 1
  15363. | #define STDC_HEADERS 1
  15364. | #define HAVE_SYS_TYPES_H 1
  15365. | #define HAVE_SYS_STAT_H 1
  15366. | #define HAVE_STDLIB_H 1
  15367. | #define HAVE_STRING_H 1
  15368. | #define HAVE_MEMORY_H 1
  15369. | #define HAVE_STRINGS_H 1
  15370. | #define HAVE_INTTYPES_H 1
  15371. | #define HAVE_STDINT_H 1
  15372. | #define HAVE_UNISTD_H 1
  15373. | #define __EXTENSIONS__ 1
  15374. | #define _ALL_SOURCE 1
  15375. | #define _GNU_SOURCE 1
  15376. | #define _POSIX_PTHREAD_SEMANTICS 1
  15377. | #define _TANDEM_SOURCE 1
  15378. | #define HAVE_INFINITY 1
  15379. | #define HAVE_NAN 1
  15380. | #define RUBY_SYMBOL_EXPORT_BEGIN _Pragma("GCC visibility push(default)")
  15381. | #define RUBY_SYMBOL_EXPORT_END _Pragma("GCC visibility pop")
  15382. | #define HAVE_LIBCRYPT 1
  15383. | #define HAVE_LIBDL 1
  15384. | #define HAVE_DIRENT_H 1
  15385. | #define HAVE__BOOL 1
  15386. | #define HAVE_STDBOOL_H 1
  15387. | #define HAVE_SYS_WAIT_H 1
  15388. | #define HAVE_A_OUT_H 1
  15389. | #define HAVE_GRP_H 1
  15390. | #define HAVE_FCNTL_H 1
  15391. | #define HAVE_FLOAT_H 1
  15392. | #define HAVE_LANGINFO_H 1
  15393. | #define HAVE_LIMITS_H 1
  15394. | #define HAVE_LOCALE_H 1
  15395. | #define HAVE_MALLOC_H 1
  15396. | #define HAVE_PWD_H 1
  15397. | #define HAVE_SYS_FCNTL_H 1
  15398. | #define HAVE_SYS_FILE_H 1
  15399. | #define HAVE_SYS_IOCTL_H 1
  15400. | #define HAVE_SYS_PARAM_H 1
  15401. | #define HAVE_SYS_PRCTL_H 1
  15402. | #define HAVE_SYS_RESOURCE_H 1
  15403. | #define HAVE_SYS_SELECT_H 1
  15404. | #define HAVE_SYS_SENDFILE_H 1
  15405. | #define HAVE_SYS_SOCKET_H 1
  15406. | #define HAVE_SYS_SYSCALL_H 1
  15407. | #define HAVE_SYS_TIME_H 1
  15408. | #define HAVE_SYS_TIMES_H 1
  15409. | #define HAVE_SYS_UIO_H 1
  15410. | #define HAVE_SYSCALL_H 1
  15411. | #define HAVE_TIME_H 1
  15412. | #define HAVE_UCONTEXT_H 1
  15413. | #define HAVE_UTIME_H 1
  15414. | #define HAVE_GMP_H 1
  15415. | #define HAVE_LIBGMP 1
  15416. | #define HAVE_TYPEOF 1
  15417. | #define typeof __typeof__
  15418. | #define HAVE_LONG_LONG 1
  15419. | #define HAVE_OFF_T 1
  15420. | #define SIZEOF_INT 4
  15421. | #define SIZEOF_SHORT 2
  15422. | #define SIZEOF_LONG 8
  15423. | #define SIZEOF_LONG_LONG 8
  15424. | #define SIZEOF___INT64 0
  15425. | #define SIZEOF_OFF_T 8
  15426. | #define SIZEOF_VOIDP 8
  15427. | #define SIZEOF_FLOAT 4
  15428. | #define SIZEOF_DOUBLE 8
  15429. | #define SIZEOF_TIME_T 8
  15430. | #define SIZEOF_CLOCK_T 8
  15431. | #define PACKED_STRUCT(x) x __attribute__((packed))
  15432. | #define PACKED_STRUCT_UNALIGNED(x) x
  15433. | #define PRI_LL_PREFIX "ll"
  15434. | #define rb_pid_t pid_t
  15435. | #define SIGNEDNESS_OF_PID_T -1
  15436. | #define PIDT2NUM(v) INT2NUM(v)
  15437. | #define NUM2PIDT(v) NUM2INT(v)
  15438. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  15439. | #define rb_uid_t uid_t
  15440. | #define SIGNEDNESS_OF_UID_T +1
  15441. | #define UIDT2NUM(v) UINT2NUM(v)
  15442. | #define NUM2UIDT(v) NUM2UINT(v)
  15443. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  15444. | #define rb_gid_t gid_t
  15445. | #define SIGNEDNESS_OF_GID_T +1
  15446. | #define GIDT2NUM(v) UINT2NUM(v)
  15447. | #define NUM2GIDT(v) NUM2UINT(v)
  15448. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  15449. | #define rb_time_t time_t
  15450. | #define SIGNEDNESS_OF_TIME_T -1
  15451. | #define TIMET2NUM(v) LONG2NUM(v)
  15452. | #define NUM2TIMET(v) NUM2LONG(v)
  15453. | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
  15454. | #define rb_dev_t dev_t
  15455. | #define SIGNEDNESS_OF_DEV_T +1
  15456. | #define DEVT2NUM(v) ULONG2NUM(v)
  15457. | #define NUM2DEVT(v) NUM2ULONG(v)
  15458. | #define PRI_DEVT_PREFIX PRI_LONG_PREFIX
  15459. | #define rb_mode_t mode_t
  15460. | #define SIGNEDNESS_OF_MODE_T +1
  15461. | #define MODET2NUM(v) UINT2NUM(v)
  15462. | #define NUM2MODET(v) NUM2UINT(v)
  15463. | #define PRI_MODET_PREFIX PRI_INT_PREFIX
  15464. | #define rb_rlim_t rlim_t
  15465. | #define SIGNEDNESS_OF_RLIM_T +1
  15466. | #define RLIM2NUM(v) ULONG2NUM(v)
  15467. | #define NUM2RLIM(v) NUM2ULONG(v)
  15468. | #define PRI_RLIM_PREFIX PRI_LONG_PREFIX
  15469. | #define rb_off_t off_t
  15470. | #define SIGNEDNESS_OF_OFF_T -1
  15471. | #define OFFT2NUM(v) LONG2NUM(v)
  15472. | #define NUM2OFFT(v) NUM2LONG(v)
  15473. | #define PRI_OFFT_PREFIX PRI_LONG_PREFIX
  15474. | #define rb_clockid_t clockid_t
  15475. | #define SIGNEDNESS_OF_CLOCKID_T -1
  15476. | #define CLOCKID2NUM(v) INT2NUM(v)
  15477. | #define NUM2CLOCKID(v) NUM2INT(v)
  15478. | #define PRI_CLOCKID_PREFIX PRI_INT_PREFIX
  15479. | #define HAVE_PROTOTYPES 1
  15480. | #define TOKEN_PASTE(x,y) x##y
  15481. | #define STRINGIZE(expr) STRINGIZE0(expr)
  15482. | #define HAVE_STDARG_PROTOTYPES 1
  15483. | #define HAVE_VA_ARGS_MACRO 1
  15484. | #define NORETURN(x) __attribute__ ((noreturn)) x
  15485. | #define DEPRECATED(x) __attribute__ ((deprecated)) x
  15486. | #define DEPRECATED_BY(n,x) __attribute__ ((deprecated("by "#n))) x
  15487. | #define DEPRECATED_TYPE(mesg,x) __attribute__ ((deprecated mesg)) x
  15488. | #define NOINLINE(x) __attribute__ ((noinline)) x
  15489. | #define WEAK(x) __attribute__ ((weak)) x
  15490. | #define HAVE_FUNC_WEAK 1
  15491. | #define FUNC_UNOPTIMIZED(x) __attribute__ ((optimize("O0"))) x
  15492. | #define FUNC_MINIMIZED(x) __attribute__ ((optimize("-Os","-fomit-frame-pointer"))) x
  15493. | #define HAVE_ATTRIBUTE_FUNCTION_ALIAS 1
  15494. | #define RUBY_ALIAS_FUNCTION_TYPE(type, prot, name, args) type prot __attribute__((alias(#name)));
  15495. | #define RUBY_ALIAS_FUNCTION_VOID(prot, name, args) RUBY_ALIAS_FUNCTION_TYPE(void, prot, name, args)
  15496. | #define HAVE_GCC_ATOMIC_BUILTINS 1
  15497. | #define HAVE_GCC_SYNC_BUILTINS 1
  15498. | #define UNREACHABLE __builtin_unreachable()
  15499. | #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
  15500. | #define RUBY_FUNCTION_NAME_STRING __func__
  15501. | #define ENUM_OVER_INT 1
  15502. | #define HAVE_DECL_SYS_NERR 1
  15503. | #define HAVE_DECL_GETENV 1
  15504. | #define SIZEOF_SIZE_T 8
  15505. | #define SIZEOF_PTRDIFF_T 8
  15506. | #define PRI_SIZE_PREFIX "z"
  15507. | #define PRI_PTRDIFF_PREFIX "t"
  15508. | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
  15509. | #define HAVE_ST_BLKSIZE 1
  15510. | #define HAVE_STRUCT_STAT_ST_BLOCKS 1
  15511. | #define HAVE_ST_BLOCKS 1
  15512. | #define HAVE_STRUCT_STAT_ST_RDEV 1
  15513. | #define HAVE_ST_RDEV 1
  15514. | #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_OFF_T
  15515. | #define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_OFF_T
  15516. | #define SIZEOF_STRUCT_STAT_ST_INO SIZEOF_LONG
  15517. | #define HAVE_STRUCT_STAT_ST_ATIM 1
  15518. | #define HAVE_STRUCT_STAT_ST_MTIM 1
  15519. | #define HAVE_STRUCT_STAT_ST_CTIM 1
  15520. | #define HAVE_STRUCT_TIMEVAL 1
  15521. | #define SIZEOF_STRUCT_TIMEVAL_TV_SEC SIZEOF_TIME_T
  15522. | #define HAVE_STRUCT_TIMESPEC 1
  15523. | #define HAVE_STRUCT_TIMEZONE 1
  15524. | #define HAVE_CLOCKID_T 1
  15525. | #define HAVE_RB_FD_INIT 1
  15526. | #define HAVE_INT8_T 1
  15527. | #define SIZEOF_INT8_T 1
  15528. | #define HAVE_UINT8_T 1
  15529. | #define SIZEOF_UINT8_T 1
  15530. | #define HAVE_INT16_T 1
  15531. | #define SIZEOF_INT16_T 2
  15532. | #define HAVE_UINT16_T 1
  15533. | #define SIZEOF_UINT16_T 2
  15534. | #define HAVE_INT32_T 1
  15535. | #define SIZEOF_INT32_T 4
  15536. | #define HAVE_UINT32_T 1
  15537. | #define SIZEOF_UINT32_T 4
  15538. | #define HAVE_INT64_T 1
  15539. | #define SIZEOF_INT64_T 8
  15540. | #define HAVE_UINT64_T 1
  15541. | #define SIZEOF_UINT64_T 8
  15542. | #define HAVE_INTPTR_T 1
  15543. | #define SIZEOF_INTPTR_T 8
  15544. | #define HAVE_UINTPTR_T 1
  15545. | #define SIZEOF_UINTPTR_T 8
  15546. | #define HAVE_SSIZE_T 1
  15547. | #define SIZEOF_SSIZE_T 8
  15548. | #define STACK_END_ADDRESS __libc_stack_end
  15549. | #define GETGROUPS_T gid_t
  15550. | #define RETSIGTYPE void
  15551. | #define HAVE_ALLOCA_H 1
  15552. | #define HAVE_ALLOCA 1
  15553. | #define HAVE_ACOSH 1
  15554. | #define HAVE_CBRT 1
  15555. | #define HAVE_CRYPT 1
  15556. | #define HAVE_DUP2 1
  15557. | #define HAVE_ERF 1
  15558. | #define HAVE_EXPLICIT_BZERO 1
  15559. | #define HAVE_FFS 1
  15560. | #define HAVE_FINITE 1
  15561. | #define HAVE_FLOCK 1
  15562. | #define HAVE_HYPOT 1
  15563. | #define HAVE_ISINF 1
  15564. | #define HAVE_ISNAN 1
  15565. | #define HAVE_LGAMMA_R 1
  15566. | #define HAVE_MEMMOVE 1
  15567. | #define HAVE_NEXTAFTER 1
  15568. | #define HAVE_STRCHR 1
  15569. | #define HAVE_STRERROR 1
  15570. | #define HAVE_STRSTR 1
  15571. | #define HAVE_TGAMMA 1
  15572. | #define SPT_TYPE SPT_REUSEARGV
  15573. | /* end confdefs.h. */
  15574. | #include <stdio.h>
  15575. | #ifdef HAVE_SYS_TYPES_H
  15576. | # include <sys/types.h>
  15577. | #endif
  15578. | #ifdef HAVE_SYS_STAT_H
  15579. | # include <sys/stat.h>
  15580. | #endif
  15581. | #ifdef STDC_HEADERS
  15582. | # include <stdlib.h>
  15583. | # include <stddef.h>
  15584. | #else
  15585. | # ifdef HAVE_STDLIB_H
  15586. | # include <stdlib.h>
  15587. | # endif
  15588. | #endif
  15589. | #ifdef HAVE_STRING_H
  15590. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  15591. | # include <memory.h>
  15592. | # endif
  15593. | # include <string.h>
  15594. | #endif
  15595. | #ifdef HAVE_STRINGS_H
  15596. | # include <strings.h>
  15597. | #endif
  15598. | #ifdef HAVE_INTTYPES_H
  15599. | # include <inttypes.h>
  15600. | #endif
  15601. | #ifdef HAVE_STDINT_H
  15602. | # include <stdint.h>
  15603. | #endif
  15604. | #ifdef HAVE_UNISTD_H
  15605. | # include <unistd.h>
  15606. | #endif
  15607. | #include <sys/pstat.h>
  15608. configure:18544: result: no
  15609. configure:18544: checking sys/pstat.h presence
  15610. configure:18544: gcc -E conftest.c
  15611. conftest.c:220:10: fatal error: sys/pstat.h: No such file or directory
  15612. #include <sys/pstat.h>
  15613. ^~~~~~~~~~~~~
  15614. compilation terminated.
  15615. configure:18544: $? = 1
  15616. configure: failed program was:
  15617. | /* confdefs.h */
  15618. | #define PACKAGE_NAME ""
  15619. | #define PACKAGE_TARNAME ""
  15620. | #define PACKAGE_VERSION ""
  15621. | #define PACKAGE_STRING ""
  15622. | #define PACKAGE_BUGREPORT ""
  15623. | #define PACKAGE_URL ""
  15624. | #define CANONICALIZATION_FOR_MATHN 1
  15625. | #define STDC_HEADERS 1
  15626. | #define HAVE_SYS_TYPES_H 1
  15627. | #define HAVE_SYS_STAT_H 1
  15628. | #define HAVE_STDLIB_H 1
  15629. | #define HAVE_STRING_H 1
  15630. | #define HAVE_MEMORY_H 1
  15631. | #define HAVE_STRINGS_H 1
  15632. | #define HAVE_INTTYPES_H 1
  15633. | #define HAVE_STDINT_H 1
  15634. | #define HAVE_UNISTD_H 1
  15635. | #define __EXTENSIONS__ 1
  15636. | #define _ALL_SOURCE 1
  15637. | #define _GNU_SOURCE 1
  15638. | #define _POSIX_PTHREAD_SEMANTICS 1
  15639. | #define _TANDEM_SOURCE 1
  15640. | #define HAVE_INFINITY 1
  15641. | #define HAVE_NAN 1
  15642. | #define RUBY_SYMBOL_EXPORT_BEGIN _Pragma("GCC visibility push(default)")
  15643. | #define RUBY_SYMBOL_EXPORT_END _Pragma("GCC visibility pop")
  15644. | #define HAVE_LIBCRYPT 1
  15645. | #define HAVE_LIBDL 1
  15646. | #define HAVE_DIRENT_H 1
  15647. | #define HAVE__BOOL 1
  15648. | #define HAVE_STDBOOL_H 1
  15649. | #define HAVE_SYS_WAIT_H 1
  15650. | #define HAVE_A_OUT_H 1
  15651. | #define HAVE_GRP_H 1
  15652. | #define HAVE_FCNTL_H 1
  15653. | #define HAVE_FLOAT_H 1
  15654. | #define HAVE_LANGINFO_H 1
  15655. | #define HAVE_LIMITS_H 1
  15656. | #define HAVE_LOCALE_H 1
  15657. | #define HAVE_MALLOC_H 1
  15658. | #define HAVE_PWD_H 1
  15659. | #define HAVE_SYS_FCNTL_H 1
  15660. | #define HAVE_SYS_FILE_H 1
  15661. | #define HAVE_SYS_IOCTL_H 1
  15662. | #define HAVE_SYS_PARAM_H 1
  15663. | #define HAVE_SYS_PRCTL_H 1
  15664. | #define HAVE_SYS_RESOURCE_H 1
  15665. | #define HAVE_SYS_SELECT_H 1
  15666. | #define HAVE_SYS_SENDFILE_H 1
  15667. | #define HAVE_SYS_SOCKET_H 1
  15668. | #define HAVE_SYS_SYSCALL_H 1
  15669. | #define HAVE_SYS_TIME_H 1
  15670. | #define HAVE_SYS_TIMES_H 1
  15671. | #define HAVE_SYS_UIO_H 1
  15672. | #define HAVE_SYSCALL_H 1
  15673. | #define HAVE_TIME_H 1
  15674. | #define HAVE_UCONTEXT_H 1
  15675. | #define HAVE_UTIME_H 1
  15676. | #define HAVE_GMP_H 1
  15677. | #define HAVE_LIBGMP 1
  15678. | #define HAVE_TYPEOF 1
  15679. | #define typeof __typeof__
  15680. | #define HAVE_LONG_LONG 1
  15681. | #define HAVE_OFF_T 1
  15682. | #define SIZEOF_INT 4
  15683. | #define SIZEOF_SHORT 2
  15684. | #define SIZEOF_LONG 8
  15685. | #define SIZEOF_LONG_LONG 8
  15686. | #define SIZEOF___INT64 0
  15687. | #define SIZEOF_OFF_T 8
  15688. | #define SIZEOF_VOIDP 8
  15689. | #define SIZEOF_FLOAT 4
  15690. | #define SIZEOF_DOUBLE 8
  15691. | #define SIZEOF_TIME_T 8
  15692. | #define SIZEOF_CLOCK_T 8
  15693. | #define PACKED_STRUCT(x) x __attribute__((packed))
  15694. | #define PACKED_STRUCT_UNALIGNED(x) x
  15695. | #define PRI_LL_PREFIX "ll"
  15696. | #define rb_pid_t pid_t
  15697. | #define SIGNEDNESS_OF_PID_T -1
  15698. | #define PIDT2NUM(v) INT2NUM(v)
  15699. | #define NUM2PIDT(v) NUM2INT(v)
  15700. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  15701. | #define rb_uid_t uid_t
  15702. | #define SIGNEDNESS_OF_UID_T +1
  15703. | #define UIDT2NUM(v) UINT2NUM(v)
  15704. | #define NUM2UIDT(v) NUM2UINT(v)
  15705. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  15706. | #define rb_gid_t gid_t
  15707. | #define SIGNEDNESS_OF_GID_T +1
  15708. | #define GIDT2NUM(v) UINT2NUM(v)
  15709. | #define NUM2GIDT(v) NUM2UINT(v)
  15710. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  15711. | #define rb_time_t time_t
  15712. | #define SIGNEDNESS_OF_TIME_T -1
  15713. | #define TIMET2NUM(v) LONG2NUM(v)
  15714. | #define NUM2TIMET(v) NUM2LONG(v)
  15715. | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
  15716. | #define rb_dev_t dev_t
  15717. | #define SIGNEDNESS_OF_DEV_T +1
  15718. | #define DEVT2NUM(v) ULONG2NUM(v)
  15719. | #define NUM2DEVT(v) NUM2ULONG(v)
  15720. | #define PRI_DEVT_PREFIX PRI_LONG_PREFIX
  15721. | #define rb_mode_t mode_t
  15722. | #define SIGNEDNESS_OF_MODE_T +1
  15723. | #define MODET2NUM(v) UINT2NUM(v)
  15724. | #define NUM2MODET(v) NUM2UINT(v)
  15725. | #define PRI_MODET_PREFIX PRI_INT_PREFIX
  15726. | #define rb_rlim_t rlim_t
  15727. | #define SIGNEDNESS_OF_RLIM_T +1
  15728. | #define RLIM2NUM(v) ULONG2NUM(v)
  15729. | #define NUM2RLIM(v) NUM2ULONG(v)
  15730. | #define PRI_RLIM_PREFIX PRI_LONG_PREFIX
  15731. | #define rb_off_t off_t
  15732. | #define SIGNEDNESS_OF_OFF_T -1
  15733. | #define OFFT2NUM(v) LONG2NUM(v)
  15734. | #define NUM2OFFT(v) NUM2LONG(v)
  15735. | #define PRI_OFFT_PREFIX PRI_LONG_PREFIX
  15736. | #define rb_clockid_t clockid_t
  15737. | #define SIGNEDNESS_OF_CLOCKID_T -1
  15738. | #define CLOCKID2NUM(v) INT2NUM(v)
  15739. | #define NUM2CLOCKID(v) NUM2INT(v)
  15740. | #define PRI_CLOCKID_PREFIX PRI_INT_PREFIX
  15741. | #define HAVE_PROTOTYPES 1
  15742. | #define TOKEN_PASTE(x,y) x##y
  15743. | #define STRINGIZE(expr) STRINGIZE0(expr)
  15744. | #define HAVE_STDARG_PROTOTYPES 1
  15745. | #define HAVE_VA_ARGS_MACRO 1
  15746. | #define NORETURN(x) __attribute__ ((noreturn)) x
  15747. | #define DEPRECATED(x) __attribute__ ((deprecated)) x
  15748. | #define DEPRECATED_BY(n,x) __attribute__ ((deprecated("by "#n))) x
  15749. | #define DEPRECATED_TYPE(mesg,x) __attribute__ ((deprecated mesg)) x
  15750. | #define NOINLINE(x) __attribute__ ((noinline)) x
  15751. | #define WEAK(x) __attribute__ ((weak)) x
  15752. | #define HAVE_FUNC_WEAK 1
  15753. | #define FUNC_UNOPTIMIZED(x) __attribute__ ((optimize("O0"))) x
  15754. | #define FUNC_MINIMIZED(x) __attribute__ ((optimize("-Os","-fomit-frame-pointer"))) x
  15755. | #define HAVE_ATTRIBUTE_FUNCTION_ALIAS 1
  15756. | #define RUBY_ALIAS_FUNCTION_TYPE(type, prot, name, args) type prot __attribute__((alias(#name)));
  15757. | #define RUBY_ALIAS_FUNCTION_VOID(prot, name, args) RUBY_ALIAS_FUNCTION_TYPE(void, prot, name, args)
  15758. | #define HAVE_GCC_ATOMIC_BUILTINS 1
  15759. | #define HAVE_GCC_SYNC_BUILTINS 1
  15760. | #define UNREACHABLE __builtin_unreachable()
  15761. | #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
  15762. | #define RUBY_FUNCTION_NAME_STRING __func__
  15763. | #define ENUM_OVER_INT 1
  15764. | #define HAVE_DECL_SYS_NERR 1
  15765. | #define HAVE_DECL_GETENV 1
  15766. | #define SIZEOF_SIZE_T 8
  15767. | #define SIZEOF_PTRDIFF_T 8
  15768. | #define PRI_SIZE_PREFIX "z"
  15769. | #define PRI_PTRDIFF_PREFIX "t"
  15770. | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
  15771. | #define HAVE_ST_BLKSIZE 1
  15772. | #define HAVE_STRUCT_STAT_ST_BLOCKS 1
  15773. | #define HAVE_ST_BLOCKS 1
  15774. | #define HAVE_STRUCT_STAT_ST_RDEV 1
  15775. | #define HAVE_ST_RDEV 1
  15776. | #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_OFF_T
  15777. | #define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_OFF_T
  15778. | #define SIZEOF_STRUCT_STAT_ST_INO SIZEOF_LONG
  15779. | #define HAVE_STRUCT_STAT_ST_ATIM 1
  15780. | #define HAVE_STRUCT_STAT_ST_MTIM 1
  15781. | #define HAVE_STRUCT_STAT_ST_CTIM 1
  15782. | #define HAVE_STRUCT_TIMEVAL 1
  15783. | #define SIZEOF_STRUCT_TIMEVAL_TV_SEC SIZEOF_TIME_T
  15784. | #define HAVE_STRUCT_TIMESPEC 1
  15785. | #define HAVE_STRUCT_TIMEZONE 1
  15786. | #define HAVE_CLOCKID_T 1
  15787. | #define HAVE_RB_FD_INIT 1
  15788. | #define HAVE_INT8_T 1
  15789. | #define SIZEOF_INT8_T 1
  15790. | #define HAVE_UINT8_T 1
  15791. | #define SIZEOF_UINT8_T 1
  15792. | #define HAVE_INT16_T 1
  15793. | #define SIZEOF_INT16_T 2
  15794. | #define HAVE_UINT16_T 1
  15795. | #define SIZEOF_UINT16_T 2
  15796. | #define HAVE_INT32_T 1
  15797. | #define SIZEOF_INT32_T 4
  15798. | #define HAVE_UINT32_T 1
  15799. | #define SIZEOF_UINT32_T 4
  15800. | #define HAVE_INT64_T 1
  15801. | #define SIZEOF_INT64_T 8
  15802. | #define HAVE_UINT64_T 1
  15803. | #define SIZEOF_UINT64_T 8
  15804. | #define HAVE_INTPTR_T 1
  15805. | #define SIZEOF_INTPTR_T 8
  15806. | #define HAVE_UINTPTR_T 1
  15807. | #define SIZEOF_UINTPTR_T 8
  15808. | #define HAVE_SSIZE_T 1
  15809. | #define SIZEOF_SSIZE_T 8
  15810. | #define STACK_END_ADDRESS __libc_stack_end
  15811. | #define GETGROUPS_T gid_t
  15812. | #define RETSIGTYPE void
  15813. | #define HAVE_ALLOCA_H 1
  15814. | #define HAVE_ALLOCA 1
  15815. | #define HAVE_ACOSH 1
  15816. | #define HAVE_CBRT 1
  15817. | #define HAVE_CRYPT 1
  15818. | #define HAVE_DUP2 1
  15819. | #define HAVE_ERF 1
  15820. | #define HAVE_EXPLICIT_BZERO 1
  15821. | #define HAVE_FFS 1
  15822. | #define HAVE_FINITE 1
  15823. | #define HAVE_FLOCK 1
  15824. | #define HAVE_HYPOT 1
  15825. | #define HAVE_ISINF 1
  15826. | #define HAVE_ISNAN 1
  15827. | #define HAVE_LGAMMA_R 1
  15828. | #define HAVE_MEMMOVE 1
  15829. | #define HAVE_NEXTAFTER 1
  15830. | #define HAVE_STRCHR 1
  15831. | #define HAVE_STRERROR 1
  15832. | #define HAVE_STRSTR 1
  15833. | #define HAVE_TGAMMA 1
  15834. | #define SPT_TYPE SPT_REUSEARGV
  15835. | /* end confdefs.h. */
  15836. | #include <sys/pstat.h>
  15837. configure:18544: result: no
  15838. configure:18544: checking for sys/pstat.h
  15839. configure:18544: result: no
  15840. configure:18556: checking for signbit
  15841. configure:18574: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  15842. configure:18574: $? = 0
  15843. configure:18582: result: yes
  15844. configure:18596: checking for broken memmem
  15845. configure:18628: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  15846. configure:18628: $? = 0
  15847. configure:18628: ./conftest
  15848. configure:18628: $? = 0
  15849. configure:18639: result: no
  15850. configure:18643: checking for pid_t
  15851. configure:18643: result: yes
  15852. configure:18656: checking vfork.h usability
  15853. configure:18656: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  15854. conftest.c:254:10: fatal error: vfork.h: No such file or directory
  15855. #include <vfork.h>
  15856. ^~~~~~~~~
  15857. compilation terminated.
  15858. configure:18656: $? = 1
  15859. configure: failed program was:
  15860. | /* confdefs.h */
  15861. | #define PACKAGE_NAME ""
  15862. | #define PACKAGE_TARNAME ""
  15863. | #define PACKAGE_VERSION ""
  15864. | #define PACKAGE_STRING ""
  15865. | #define PACKAGE_BUGREPORT ""
  15866. | #define PACKAGE_URL ""
  15867. | #define CANONICALIZATION_FOR_MATHN 1
  15868. | #define STDC_HEADERS 1
  15869. | #define HAVE_SYS_TYPES_H 1
  15870. | #define HAVE_SYS_STAT_H 1
  15871. | #define HAVE_STDLIB_H 1
  15872. | #define HAVE_STRING_H 1
  15873. | #define HAVE_MEMORY_H 1
  15874. | #define HAVE_STRINGS_H 1
  15875. | #define HAVE_INTTYPES_H 1
  15876. | #define HAVE_STDINT_H 1
  15877. | #define HAVE_UNISTD_H 1
  15878. | #define __EXTENSIONS__ 1
  15879. | #define _ALL_SOURCE 1
  15880. | #define _GNU_SOURCE 1
  15881. | #define _POSIX_PTHREAD_SEMANTICS 1
  15882. | #define _TANDEM_SOURCE 1
  15883. | #define HAVE_INFINITY 1
  15884. | #define HAVE_NAN 1
  15885. | #define RUBY_SYMBOL_EXPORT_BEGIN _Pragma("GCC visibility push(default)")
  15886. | #define RUBY_SYMBOL_EXPORT_END _Pragma("GCC visibility pop")
  15887. | #define HAVE_LIBCRYPT 1
  15888. | #define HAVE_LIBDL 1
  15889. | #define HAVE_DIRENT_H 1
  15890. | #define HAVE__BOOL 1
  15891. | #define HAVE_STDBOOL_H 1
  15892. | #define HAVE_SYS_WAIT_H 1
  15893. | #define HAVE_A_OUT_H 1
  15894. | #define HAVE_GRP_H 1
  15895. | #define HAVE_FCNTL_H 1
  15896. | #define HAVE_FLOAT_H 1
  15897. | #define HAVE_LANGINFO_H 1
  15898. | #define HAVE_LIMITS_H 1
  15899. | #define HAVE_LOCALE_H 1
  15900. | #define HAVE_MALLOC_H 1
  15901. | #define HAVE_PWD_H 1
  15902. | #define HAVE_SYS_FCNTL_H 1
  15903. | #define HAVE_SYS_FILE_H 1
  15904. | #define HAVE_SYS_IOCTL_H 1
  15905. | #define HAVE_SYS_PARAM_H 1
  15906. | #define HAVE_SYS_PRCTL_H 1
  15907. | #define HAVE_SYS_RESOURCE_H 1
  15908. | #define HAVE_SYS_SELECT_H 1
  15909. | #define HAVE_SYS_SENDFILE_H 1
  15910. | #define HAVE_SYS_SOCKET_H 1
  15911. | #define HAVE_SYS_SYSCALL_H 1
  15912. | #define HAVE_SYS_TIME_H 1
  15913. | #define HAVE_SYS_TIMES_H 1
  15914. | #define HAVE_SYS_UIO_H 1
  15915. | #define HAVE_SYSCALL_H 1
  15916. | #define HAVE_TIME_H 1
  15917. | #define HAVE_UCONTEXT_H 1
  15918. | #define HAVE_UTIME_H 1
  15919. | #define HAVE_GMP_H 1
  15920. | #define HAVE_LIBGMP 1
  15921. | #define HAVE_TYPEOF 1
  15922. | #define typeof __typeof__
  15923. | #define HAVE_LONG_LONG 1
  15924. | #define HAVE_OFF_T 1
  15925. | #define SIZEOF_INT 4
  15926. | #define SIZEOF_SHORT 2
  15927. | #define SIZEOF_LONG 8
  15928. | #define SIZEOF_LONG_LONG 8
  15929. | #define SIZEOF___INT64 0
  15930. | #define SIZEOF_OFF_T 8
  15931. | #define SIZEOF_VOIDP 8
  15932. | #define SIZEOF_FLOAT 4
  15933. | #define SIZEOF_DOUBLE 8
  15934. | #define SIZEOF_TIME_T 8
  15935. | #define SIZEOF_CLOCK_T 8
  15936. | #define PACKED_STRUCT(x) x __attribute__((packed))
  15937. | #define PACKED_STRUCT_UNALIGNED(x) x
  15938. | #define PRI_LL_PREFIX "ll"
  15939. | #define rb_pid_t pid_t
  15940. | #define SIGNEDNESS_OF_PID_T -1
  15941. | #define PIDT2NUM(v) INT2NUM(v)
  15942. | #define NUM2PIDT(v) NUM2INT(v)
  15943. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  15944. | #define rb_uid_t uid_t
  15945. | #define SIGNEDNESS_OF_UID_T +1
  15946. | #define UIDT2NUM(v) UINT2NUM(v)
  15947. | #define NUM2UIDT(v) NUM2UINT(v)
  15948. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  15949. | #define rb_gid_t gid_t
  15950. | #define SIGNEDNESS_OF_GID_T +1
  15951. | #define GIDT2NUM(v) UINT2NUM(v)
  15952. | #define NUM2GIDT(v) NUM2UINT(v)
  15953. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  15954. | #define rb_time_t time_t
  15955. | #define SIGNEDNESS_OF_TIME_T -1
  15956. | #define TIMET2NUM(v) LONG2NUM(v)
  15957. | #define NUM2TIMET(v) NUM2LONG(v)
  15958. | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
  15959. | #define rb_dev_t dev_t
  15960. | #define SIGNEDNESS_OF_DEV_T +1
  15961. | #define DEVT2NUM(v) ULONG2NUM(v)
  15962. | #define NUM2DEVT(v) NUM2ULONG(v)
  15963. | #define PRI_DEVT_PREFIX PRI_LONG_PREFIX
  15964. | #define rb_mode_t mode_t
  15965. | #define SIGNEDNESS_OF_MODE_T +1
  15966. | #define MODET2NUM(v) UINT2NUM(v)
  15967. | #define NUM2MODET(v) NUM2UINT(v)
  15968. | #define PRI_MODET_PREFIX PRI_INT_PREFIX
  15969. | #define rb_rlim_t rlim_t
  15970. | #define SIGNEDNESS_OF_RLIM_T +1
  15971. | #define RLIM2NUM(v) ULONG2NUM(v)
  15972. | #define NUM2RLIM(v) NUM2ULONG(v)
  15973. | #define PRI_RLIM_PREFIX PRI_LONG_PREFIX
  15974. | #define rb_off_t off_t
  15975. | #define SIGNEDNESS_OF_OFF_T -1
  15976. | #define OFFT2NUM(v) LONG2NUM(v)
  15977. | #define NUM2OFFT(v) NUM2LONG(v)
  15978. | #define PRI_OFFT_PREFIX PRI_LONG_PREFIX
  15979. | #define rb_clockid_t clockid_t
  15980. | #define SIGNEDNESS_OF_CLOCKID_T -1
  15981. | #define CLOCKID2NUM(v) INT2NUM(v)
  15982. | #define NUM2CLOCKID(v) NUM2INT(v)
  15983. | #define PRI_CLOCKID_PREFIX PRI_INT_PREFIX
  15984. | #define HAVE_PROTOTYPES 1
  15985. | #define TOKEN_PASTE(x,y) x##y
  15986. | #define STRINGIZE(expr) STRINGIZE0(expr)
  15987. | #define HAVE_STDARG_PROTOTYPES 1
  15988. | #define HAVE_VA_ARGS_MACRO 1
  15989. | #define NORETURN(x) __attribute__ ((noreturn)) x
  15990. | #define DEPRECATED(x) __attribute__ ((deprecated)) x
  15991. | #define DEPRECATED_BY(n,x) __attribute__ ((deprecated("by "#n))) x
  15992. | #define DEPRECATED_TYPE(mesg,x) __attribute__ ((deprecated mesg)) x
  15993. | #define NOINLINE(x) __attribute__ ((noinline)) x
  15994. | #define WEAK(x) __attribute__ ((weak)) x
  15995. | #define HAVE_FUNC_WEAK 1
  15996. | #define FUNC_UNOPTIMIZED(x) __attribute__ ((optimize("O0"))) x
  15997. | #define FUNC_MINIMIZED(x) __attribute__ ((optimize("-Os","-fomit-frame-pointer"))) x
  15998. | #define HAVE_ATTRIBUTE_FUNCTION_ALIAS 1
  15999. | #define RUBY_ALIAS_FUNCTION_TYPE(type, prot, name, args) type prot __attribute__((alias(#name)));
  16000. | #define RUBY_ALIAS_FUNCTION_VOID(prot, name, args) RUBY_ALIAS_FUNCTION_TYPE(void, prot, name, args)
  16001. | #define HAVE_GCC_ATOMIC_BUILTINS 1
  16002. | #define HAVE_GCC_SYNC_BUILTINS 1
  16003. | #define UNREACHABLE __builtin_unreachable()
  16004. | #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
  16005. | #define RUBY_FUNCTION_NAME_STRING __func__
  16006. | #define ENUM_OVER_INT 1
  16007. | #define HAVE_DECL_SYS_NERR 1
  16008. | #define HAVE_DECL_GETENV 1
  16009. | #define SIZEOF_SIZE_T 8
  16010. | #define SIZEOF_PTRDIFF_T 8
  16011. | #define PRI_SIZE_PREFIX "z"
  16012. | #define PRI_PTRDIFF_PREFIX "t"
  16013. | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
  16014. | #define HAVE_ST_BLKSIZE 1
  16015. | #define HAVE_STRUCT_STAT_ST_BLOCKS 1
  16016. | #define HAVE_ST_BLOCKS 1
  16017. | #define HAVE_STRUCT_STAT_ST_RDEV 1
  16018. | #define HAVE_ST_RDEV 1
  16019. | #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_OFF_T
  16020. | #define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_OFF_T
  16021. | #define SIZEOF_STRUCT_STAT_ST_INO SIZEOF_LONG
  16022. | #define HAVE_STRUCT_STAT_ST_ATIM 1
  16023. | #define HAVE_STRUCT_STAT_ST_MTIM 1
  16024. | #define HAVE_STRUCT_STAT_ST_CTIM 1
  16025. | #define HAVE_STRUCT_TIMEVAL 1
  16026. | #define SIZEOF_STRUCT_TIMEVAL_TV_SEC SIZEOF_TIME_T
  16027. | #define HAVE_STRUCT_TIMESPEC 1
  16028. | #define HAVE_STRUCT_TIMEZONE 1
  16029. | #define HAVE_CLOCKID_T 1
  16030. | #define HAVE_RB_FD_INIT 1
  16031. | #define HAVE_INT8_T 1
  16032. | #define SIZEOF_INT8_T 1
  16033. | #define HAVE_UINT8_T 1
  16034. | #define SIZEOF_UINT8_T 1
  16035. | #define HAVE_INT16_T 1
  16036. | #define SIZEOF_INT16_T 2
  16037. | #define HAVE_UINT16_T 1
  16038. | #define SIZEOF_UINT16_T 2
  16039. | #define HAVE_INT32_T 1
  16040. | #define SIZEOF_INT32_T 4
  16041. | #define HAVE_UINT32_T 1
  16042. | #define SIZEOF_UINT32_T 4
  16043. | #define HAVE_INT64_T 1
  16044. | #define SIZEOF_INT64_T 8
  16045. | #define HAVE_UINT64_T 1
  16046. | #define SIZEOF_UINT64_T 8
  16047. | #define HAVE_INTPTR_T 1
  16048. | #define SIZEOF_INTPTR_T 8
  16049. | #define HAVE_UINTPTR_T 1
  16050. | #define SIZEOF_UINTPTR_T 8
  16051. | #define HAVE_SSIZE_T 1
  16052. | #define SIZEOF_SSIZE_T 8
  16053. | #define STACK_END_ADDRESS __libc_stack_end
  16054. | #define GETGROUPS_T gid_t
  16055. | #define RETSIGTYPE void
  16056. | #define HAVE_ALLOCA_H 1
  16057. | #define HAVE_ALLOCA 1
  16058. | #define HAVE_ACOSH 1
  16059. | #define HAVE_CBRT 1
  16060. | #define HAVE_CRYPT 1
  16061. | #define HAVE_DUP2 1
  16062. | #define HAVE_ERF 1
  16063. | #define HAVE_EXPLICIT_BZERO 1
  16064. | #define HAVE_FFS 1
  16065. | #define HAVE_FINITE 1
  16066. | #define HAVE_FLOCK 1
  16067. | #define HAVE_HYPOT 1
  16068. | #define HAVE_ISINF 1
  16069. | #define HAVE_ISNAN 1
  16070. | #define HAVE_LGAMMA_R 1
  16071. | #define HAVE_MEMMOVE 1
  16072. | #define HAVE_NEXTAFTER 1
  16073. | #define HAVE_STRCHR 1
  16074. | #define HAVE_STRERROR 1
  16075. | #define HAVE_STRSTR 1
  16076. | #define HAVE_TGAMMA 1
  16077. | #define SPT_TYPE SPT_REUSEARGV
  16078. | #define HAVE_SIGNBIT 1
  16079. | /* end confdefs.h. */
  16080. | #include <stdio.h>
  16081. | #ifdef HAVE_SYS_TYPES_H
  16082. | # include <sys/types.h>
  16083. | #endif
  16084. | #ifdef HAVE_SYS_STAT_H
  16085. | # include <sys/stat.h>
  16086. | #endif
  16087. | #ifdef STDC_HEADERS
  16088. | # include <stdlib.h>
  16089. | # include <stddef.h>
  16090. | #else
  16091. | # ifdef HAVE_STDLIB_H
  16092. | # include <stdlib.h>
  16093. | # endif
  16094. | #endif
  16095. | #ifdef HAVE_STRING_H
  16096. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  16097. | # include <memory.h>
  16098. | # endif
  16099. | # include <string.h>
  16100. | #endif
  16101. | #ifdef HAVE_STRINGS_H
  16102. | # include <strings.h>
  16103. | #endif
  16104. | #ifdef HAVE_INTTYPES_H
  16105. | # include <inttypes.h>
  16106. | #endif
  16107. | #ifdef HAVE_STDINT_H
  16108. | # include <stdint.h>
  16109. | #endif
  16110. | #ifdef HAVE_UNISTD_H
  16111. | # include <unistd.h>
  16112. | #endif
  16113. | #include <vfork.h>
  16114. configure:18656: result: no
  16115. configure:18656: checking vfork.h presence
  16116. configure:18656: gcc -E conftest.c
  16117. conftest.c:221:10: fatal error: vfork.h: No such file or directory
  16118. #include <vfork.h>
  16119. ^~~~~~~~~
  16120. compilation terminated.
  16121. configure:18656: $? = 1
  16122. configure: failed program was:
  16123. | /* confdefs.h */
  16124. | #define PACKAGE_NAME ""
  16125. | #define PACKAGE_TARNAME ""
  16126. | #define PACKAGE_VERSION ""
  16127. | #define PACKAGE_STRING ""
  16128. | #define PACKAGE_BUGREPORT ""
  16129. | #define PACKAGE_URL ""
  16130. | #define CANONICALIZATION_FOR_MATHN 1
  16131. | #define STDC_HEADERS 1
  16132. | #define HAVE_SYS_TYPES_H 1
  16133. | #define HAVE_SYS_STAT_H 1
  16134. | #define HAVE_STDLIB_H 1
  16135. | #define HAVE_STRING_H 1
  16136. | #define HAVE_MEMORY_H 1
  16137. | #define HAVE_STRINGS_H 1
  16138. | #define HAVE_INTTYPES_H 1
  16139. | #define HAVE_STDINT_H 1
  16140. | #define HAVE_UNISTD_H 1
  16141. | #define __EXTENSIONS__ 1
  16142. | #define _ALL_SOURCE 1
  16143. | #define _GNU_SOURCE 1
  16144. | #define _POSIX_PTHREAD_SEMANTICS 1
  16145. | #define _TANDEM_SOURCE 1
  16146. | #define HAVE_INFINITY 1
  16147. | #define HAVE_NAN 1
  16148. | #define RUBY_SYMBOL_EXPORT_BEGIN _Pragma("GCC visibility push(default)")
  16149. | #define RUBY_SYMBOL_EXPORT_END _Pragma("GCC visibility pop")
  16150. | #define HAVE_LIBCRYPT 1
  16151. | #define HAVE_LIBDL 1
  16152. | #define HAVE_DIRENT_H 1
  16153. | #define HAVE__BOOL 1
  16154. | #define HAVE_STDBOOL_H 1
  16155. | #define HAVE_SYS_WAIT_H 1
  16156. | #define HAVE_A_OUT_H 1
  16157. | #define HAVE_GRP_H 1
  16158. | #define HAVE_FCNTL_H 1
  16159. | #define HAVE_FLOAT_H 1
  16160. | #define HAVE_LANGINFO_H 1
  16161. | #define HAVE_LIMITS_H 1
  16162. | #define HAVE_LOCALE_H 1
  16163. | #define HAVE_MALLOC_H 1
  16164. | #define HAVE_PWD_H 1
  16165. | #define HAVE_SYS_FCNTL_H 1
  16166. | #define HAVE_SYS_FILE_H 1
  16167. | #define HAVE_SYS_IOCTL_H 1
  16168. | #define HAVE_SYS_PARAM_H 1
  16169. | #define HAVE_SYS_PRCTL_H 1
  16170. | #define HAVE_SYS_RESOURCE_H 1
  16171. | #define HAVE_SYS_SELECT_H 1
  16172. | #define HAVE_SYS_SENDFILE_H 1
  16173. | #define HAVE_SYS_SOCKET_H 1
  16174. | #define HAVE_SYS_SYSCALL_H 1
  16175. | #define HAVE_SYS_TIME_H 1
  16176. | #define HAVE_SYS_TIMES_H 1
  16177. | #define HAVE_SYS_UIO_H 1
  16178. | #define HAVE_SYSCALL_H 1
  16179. | #define HAVE_TIME_H 1
  16180. | #define HAVE_UCONTEXT_H 1
  16181. | #define HAVE_UTIME_H 1
  16182. | #define HAVE_GMP_H 1
  16183. | #define HAVE_LIBGMP 1
  16184. | #define HAVE_TYPEOF 1
  16185. | #define typeof __typeof__
  16186. | #define HAVE_LONG_LONG 1
  16187. | #define HAVE_OFF_T 1
  16188. | #define SIZEOF_INT 4
  16189. | #define SIZEOF_SHORT 2
  16190. | #define SIZEOF_LONG 8
  16191. | #define SIZEOF_LONG_LONG 8
  16192. | #define SIZEOF___INT64 0
  16193. | #define SIZEOF_OFF_T 8
  16194. | #define SIZEOF_VOIDP 8
  16195. | #define SIZEOF_FLOAT 4
  16196. | #define SIZEOF_DOUBLE 8
  16197. | #define SIZEOF_TIME_T 8
  16198. | #define SIZEOF_CLOCK_T 8
  16199. | #define PACKED_STRUCT(x) x __attribute__((packed))
  16200. | #define PACKED_STRUCT_UNALIGNED(x) x
  16201. | #define PRI_LL_PREFIX "ll"
  16202. | #define rb_pid_t pid_t
  16203. | #define SIGNEDNESS_OF_PID_T -1
  16204. | #define PIDT2NUM(v) INT2NUM(v)
  16205. | #define NUM2PIDT(v) NUM2INT(v)
  16206. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  16207. | #define rb_uid_t uid_t
  16208. | #define SIGNEDNESS_OF_UID_T +1
  16209. | #define UIDT2NUM(v) UINT2NUM(v)
  16210. | #define NUM2UIDT(v) NUM2UINT(v)
  16211. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  16212. | #define rb_gid_t gid_t
  16213. | #define SIGNEDNESS_OF_GID_T +1
  16214. | #define GIDT2NUM(v) UINT2NUM(v)
  16215. | #define NUM2GIDT(v) NUM2UINT(v)
  16216. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  16217. | #define rb_time_t time_t
  16218. | #define SIGNEDNESS_OF_TIME_T -1
  16219. | #define TIMET2NUM(v) LONG2NUM(v)
  16220. | #define NUM2TIMET(v) NUM2LONG(v)
  16221. | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
  16222. | #define rb_dev_t dev_t
  16223. | #define SIGNEDNESS_OF_DEV_T +1
  16224. | #define DEVT2NUM(v) ULONG2NUM(v)
  16225. | #define NUM2DEVT(v) NUM2ULONG(v)
  16226. | #define PRI_DEVT_PREFIX PRI_LONG_PREFIX
  16227. | #define rb_mode_t mode_t
  16228. | #define SIGNEDNESS_OF_MODE_T +1
  16229. | #define MODET2NUM(v) UINT2NUM(v)
  16230. | #define NUM2MODET(v) NUM2UINT(v)
  16231. | #define PRI_MODET_PREFIX PRI_INT_PREFIX
  16232. | #define rb_rlim_t rlim_t
  16233. | #define SIGNEDNESS_OF_RLIM_T +1
  16234. | #define RLIM2NUM(v) ULONG2NUM(v)
  16235. | #define NUM2RLIM(v) NUM2ULONG(v)
  16236. | #define PRI_RLIM_PREFIX PRI_LONG_PREFIX
  16237. | #define rb_off_t off_t
  16238. | #define SIGNEDNESS_OF_OFF_T -1
  16239. | #define OFFT2NUM(v) LONG2NUM(v)
  16240. | #define NUM2OFFT(v) NUM2LONG(v)
  16241. | #define PRI_OFFT_PREFIX PRI_LONG_PREFIX
  16242. | #define rb_clockid_t clockid_t
  16243. | #define SIGNEDNESS_OF_CLOCKID_T -1
  16244. | #define CLOCKID2NUM(v) INT2NUM(v)
  16245. | #define NUM2CLOCKID(v) NUM2INT(v)
  16246. | #define PRI_CLOCKID_PREFIX PRI_INT_PREFIX
  16247. | #define HAVE_PROTOTYPES 1
  16248. | #define TOKEN_PASTE(x,y) x##y
  16249. | #define STRINGIZE(expr) STRINGIZE0(expr)
  16250. | #define HAVE_STDARG_PROTOTYPES 1
  16251. | #define HAVE_VA_ARGS_MACRO 1
  16252. | #define NORETURN(x) __attribute__ ((noreturn)) x
  16253. | #define DEPRECATED(x) __attribute__ ((deprecated)) x
  16254. | #define DEPRECATED_BY(n,x) __attribute__ ((deprecated("by "#n))) x
  16255. | #define DEPRECATED_TYPE(mesg,x) __attribute__ ((deprecated mesg)) x
  16256. | #define NOINLINE(x) __attribute__ ((noinline)) x
  16257. | #define WEAK(x) __attribute__ ((weak)) x
  16258. | #define HAVE_FUNC_WEAK 1
  16259. | #define FUNC_UNOPTIMIZED(x) __attribute__ ((optimize("O0"))) x
  16260. | #define FUNC_MINIMIZED(x) __attribute__ ((optimize("-Os","-fomit-frame-pointer"))) x
  16261. | #define HAVE_ATTRIBUTE_FUNCTION_ALIAS 1
  16262. | #define RUBY_ALIAS_FUNCTION_TYPE(type, prot, name, args) type prot __attribute__((alias(#name)));
  16263. | #define RUBY_ALIAS_FUNCTION_VOID(prot, name, args) RUBY_ALIAS_FUNCTION_TYPE(void, prot, name, args)
  16264. | #define HAVE_GCC_ATOMIC_BUILTINS 1
  16265. | #define HAVE_GCC_SYNC_BUILTINS 1
  16266. | #define UNREACHABLE __builtin_unreachable()
  16267. | #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
  16268. | #define RUBY_FUNCTION_NAME_STRING __func__
  16269. | #define ENUM_OVER_INT 1
  16270. | #define HAVE_DECL_SYS_NERR 1
  16271. | #define HAVE_DECL_GETENV 1
  16272. | #define SIZEOF_SIZE_T 8
  16273. | #define SIZEOF_PTRDIFF_T 8
  16274. | #define PRI_SIZE_PREFIX "z"
  16275. | #define PRI_PTRDIFF_PREFIX "t"
  16276. | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
  16277. | #define HAVE_ST_BLKSIZE 1
  16278. | #define HAVE_STRUCT_STAT_ST_BLOCKS 1
  16279. | #define HAVE_ST_BLOCKS 1
  16280. | #define HAVE_STRUCT_STAT_ST_RDEV 1
  16281. | #define HAVE_ST_RDEV 1
  16282. | #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_OFF_T
  16283. | #define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_OFF_T
  16284. | #define SIZEOF_STRUCT_STAT_ST_INO SIZEOF_LONG
  16285. | #define HAVE_STRUCT_STAT_ST_ATIM 1
  16286. | #define HAVE_STRUCT_STAT_ST_MTIM 1
  16287. | #define HAVE_STRUCT_STAT_ST_CTIM 1
  16288. | #define HAVE_STRUCT_TIMEVAL 1
  16289. | #define SIZEOF_STRUCT_TIMEVAL_TV_SEC SIZEOF_TIME_T
  16290. | #define HAVE_STRUCT_TIMESPEC 1
  16291. | #define HAVE_STRUCT_TIMEZONE 1
  16292. | #define HAVE_CLOCKID_T 1
  16293. | #define HAVE_RB_FD_INIT 1
  16294. | #define HAVE_INT8_T 1
  16295. | #define SIZEOF_INT8_T 1
  16296. | #define HAVE_UINT8_T 1
  16297. | #define SIZEOF_UINT8_T 1
  16298. | #define HAVE_INT16_T 1
  16299. | #define SIZEOF_INT16_T 2
  16300. | #define HAVE_UINT16_T 1
  16301. | #define SIZEOF_UINT16_T 2
  16302. | #define HAVE_INT32_T 1
  16303. | #define SIZEOF_INT32_T 4
  16304. | #define HAVE_UINT32_T 1
  16305. | #define SIZEOF_UINT32_T 4
  16306. | #define HAVE_INT64_T 1
  16307. | #define SIZEOF_INT64_T 8
  16308. | #define HAVE_UINT64_T 1
  16309. | #define SIZEOF_UINT64_T 8
  16310. | #define HAVE_INTPTR_T 1
  16311. | #define SIZEOF_INTPTR_T 8
  16312. | #define HAVE_UINTPTR_T 1
  16313. | #define SIZEOF_UINTPTR_T 8
  16314. | #define HAVE_SSIZE_T 1
  16315. | #define SIZEOF_SSIZE_T 8
  16316. | #define STACK_END_ADDRESS __libc_stack_end
  16317. | #define GETGROUPS_T gid_t
  16318. | #define RETSIGTYPE void
  16319. | #define HAVE_ALLOCA_H 1
  16320. | #define HAVE_ALLOCA 1
  16321. | #define HAVE_ACOSH 1
  16322. | #define HAVE_CBRT 1
  16323. | #define HAVE_CRYPT 1
  16324. | #define HAVE_DUP2 1
  16325. | #define HAVE_ERF 1
  16326. | #define HAVE_EXPLICIT_BZERO 1
  16327. | #define HAVE_FFS 1
  16328. | #define HAVE_FINITE 1
  16329. | #define HAVE_FLOCK 1
  16330. | #define HAVE_HYPOT 1
  16331. | #define HAVE_ISINF 1
  16332. | #define HAVE_ISNAN 1
  16333. | #define HAVE_LGAMMA_R 1
  16334. | #define HAVE_MEMMOVE 1
  16335. | #define HAVE_NEXTAFTER 1
  16336. | #define HAVE_STRCHR 1
  16337. | #define HAVE_STRERROR 1
  16338. | #define HAVE_STRSTR 1
  16339. | #define HAVE_TGAMMA 1
  16340. | #define SPT_TYPE SPT_REUSEARGV
  16341. | #define HAVE_SIGNBIT 1
  16342. | /* end confdefs.h. */
  16343. | #include <vfork.h>
  16344. configure:18656: result: no
  16345. configure:18656: checking for vfork.h
  16346. configure:18656: result: no
  16347. configure:18669: checking for fork
  16348. configure:18669: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  16349. configure:18669: $? = 0
  16350. configure:18669: result: yes
  16351. configure:18669: checking for vfork
  16352. configure:18669: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  16353. configure:18669: $? = 0
  16354. configure:18669: result: yes
  16355. configure:18679: checking for working fork
  16356. configure:18701: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  16357. configure:18701: $? = 0
  16358. configure:18701: ./conftest
  16359. configure:18701: $? = 0
  16360. configure:18711: result: yes
  16361. configure:18732: checking for working vfork
  16362. configure:18842: result: yes
  16363. configure:18870: checking for __syscall
  16364. configure:18870: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  16365. /tmp/ccDlwIpH.o: In function `main':
  16366. /usr/share/rvm/src/ruby-2.3.0/conftest.c:259: undefined reference to `__syscall'
  16367. collect2: error: ld returned 1 exit status
  16368. configure:18870: $? = 1
  16369. configure: failed program was:
  16370. | /* confdefs.h */
  16371. | #define PACKAGE_NAME ""
  16372. | #define PACKAGE_TARNAME ""
  16373. | #define PACKAGE_VERSION ""
  16374. | #define PACKAGE_STRING ""
  16375. | #define PACKAGE_BUGREPORT ""
  16376. | #define PACKAGE_URL ""
  16377. | #define CANONICALIZATION_FOR_MATHN 1
  16378. | #define STDC_HEADERS 1
  16379. | #define HAVE_SYS_TYPES_H 1
  16380. | #define HAVE_SYS_STAT_H 1
  16381. | #define HAVE_STDLIB_H 1
  16382. | #define HAVE_STRING_H 1
  16383. | #define HAVE_MEMORY_H 1
  16384. | #define HAVE_STRINGS_H 1
  16385. | #define HAVE_INTTYPES_H 1
  16386. | #define HAVE_STDINT_H 1
  16387. | #define HAVE_UNISTD_H 1
  16388. | #define __EXTENSIONS__ 1
  16389. | #define _ALL_SOURCE 1
  16390. | #define _GNU_SOURCE 1
  16391. | #define _POSIX_PTHREAD_SEMANTICS 1
  16392. | #define _TANDEM_SOURCE 1
  16393. | #define HAVE_INFINITY 1
  16394. | #define HAVE_NAN 1
  16395. | #define RUBY_SYMBOL_EXPORT_BEGIN _Pragma("GCC visibility push(default)")
  16396. | #define RUBY_SYMBOL_EXPORT_END _Pragma("GCC visibility pop")
  16397. | #define HAVE_LIBCRYPT 1
  16398. | #define HAVE_LIBDL 1
  16399. | #define HAVE_DIRENT_H 1
  16400. | #define HAVE__BOOL 1
  16401. | #define HAVE_STDBOOL_H 1
  16402. | #define HAVE_SYS_WAIT_H 1
  16403. | #define HAVE_A_OUT_H 1
  16404. | #define HAVE_GRP_H 1
  16405. | #define HAVE_FCNTL_H 1
  16406. | #define HAVE_FLOAT_H 1
  16407. | #define HAVE_LANGINFO_H 1
  16408. | #define HAVE_LIMITS_H 1
  16409. | #define HAVE_LOCALE_H 1
  16410. | #define HAVE_MALLOC_H 1
  16411. | #define HAVE_PWD_H 1
  16412. | #define HAVE_SYS_FCNTL_H 1
  16413. | #define HAVE_SYS_FILE_H 1
  16414. | #define HAVE_SYS_IOCTL_H 1
  16415. | #define HAVE_SYS_PARAM_H 1
  16416. | #define HAVE_SYS_PRCTL_H 1
  16417. | #define HAVE_SYS_RESOURCE_H 1
  16418. | #define HAVE_SYS_SELECT_H 1
  16419. | #define HAVE_SYS_SENDFILE_H 1
  16420. | #define HAVE_SYS_SOCKET_H 1
  16421. | #define HAVE_SYS_SYSCALL_H 1
  16422. | #define HAVE_SYS_TIME_H 1
  16423. | #define HAVE_SYS_TIMES_H 1
  16424. | #define HAVE_SYS_UIO_H 1
  16425. | #define HAVE_SYSCALL_H 1
  16426. | #define HAVE_TIME_H 1
  16427. | #define HAVE_UCONTEXT_H 1
  16428. | #define HAVE_UTIME_H 1
  16429. | #define HAVE_GMP_H 1
  16430. | #define HAVE_LIBGMP 1
  16431. | #define HAVE_TYPEOF 1
  16432. | #define typeof __typeof__
  16433. | #define HAVE_LONG_LONG 1
  16434. | #define HAVE_OFF_T 1
  16435. | #define SIZEOF_INT 4
  16436. | #define SIZEOF_SHORT 2
  16437. | #define SIZEOF_LONG 8
  16438. | #define SIZEOF_LONG_LONG 8
  16439. | #define SIZEOF___INT64 0
  16440. | #define SIZEOF_OFF_T 8
  16441. | #define SIZEOF_VOIDP 8
  16442. | #define SIZEOF_FLOAT 4
  16443. | #define SIZEOF_DOUBLE 8
  16444. | #define SIZEOF_TIME_T 8
  16445. | #define SIZEOF_CLOCK_T 8
  16446. | #define PACKED_STRUCT(x) x __attribute__((packed))
  16447. | #define PACKED_STRUCT_UNALIGNED(x) x
  16448. | #define PRI_LL_PREFIX "ll"
  16449. | #define rb_pid_t pid_t
  16450. | #define SIGNEDNESS_OF_PID_T -1
  16451. | #define PIDT2NUM(v) INT2NUM(v)
  16452. | #define NUM2PIDT(v) NUM2INT(v)
  16453. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  16454. | #define rb_uid_t uid_t
  16455. | #define SIGNEDNESS_OF_UID_T +1
  16456. | #define UIDT2NUM(v) UINT2NUM(v)
  16457. | #define NUM2UIDT(v) NUM2UINT(v)
  16458. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  16459. | #define rb_gid_t gid_t
  16460. | #define SIGNEDNESS_OF_GID_T +1
  16461. | #define GIDT2NUM(v) UINT2NUM(v)
  16462. | #define NUM2GIDT(v) NUM2UINT(v)
  16463. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  16464. | #define rb_time_t time_t
  16465. | #define SIGNEDNESS_OF_TIME_T -1
  16466. | #define TIMET2NUM(v) LONG2NUM(v)
  16467. | #define NUM2TIMET(v) NUM2LONG(v)
  16468. | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
  16469. | #define rb_dev_t dev_t
  16470. | #define SIGNEDNESS_OF_DEV_T +1
  16471. | #define DEVT2NUM(v) ULONG2NUM(v)
  16472. | #define NUM2DEVT(v) NUM2ULONG(v)
  16473. | #define PRI_DEVT_PREFIX PRI_LONG_PREFIX
  16474. | #define rb_mode_t mode_t
  16475. | #define SIGNEDNESS_OF_MODE_T +1
  16476. | #define MODET2NUM(v) UINT2NUM(v)
  16477. | #define NUM2MODET(v) NUM2UINT(v)
  16478. | #define PRI_MODET_PREFIX PRI_INT_PREFIX
  16479. | #define rb_rlim_t rlim_t
  16480. | #define SIGNEDNESS_OF_RLIM_T +1
  16481. | #define RLIM2NUM(v) ULONG2NUM(v)
  16482. | #define NUM2RLIM(v) NUM2ULONG(v)
  16483. | #define PRI_RLIM_PREFIX PRI_LONG_PREFIX
  16484. | #define rb_off_t off_t
  16485. | #define SIGNEDNESS_OF_OFF_T -1
  16486. | #define OFFT2NUM(v) LONG2NUM(v)
  16487. | #define NUM2OFFT(v) NUM2LONG(v)
  16488. | #define PRI_OFFT_PREFIX PRI_LONG_PREFIX
  16489. | #define rb_clockid_t clockid_t
  16490. | #define SIGNEDNESS_OF_CLOCKID_T -1
  16491. | #define CLOCKID2NUM(v) INT2NUM(v)
  16492. | #define NUM2CLOCKID(v) NUM2INT(v)
  16493. | #define PRI_CLOCKID_PREFIX PRI_INT_PREFIX
  16494. | #define HAVE_PROTOTYPES 1
  16495. | #define TOKEN_PASTE(x,y) x##y
  16496. | #define STRINGIZE(expr) STRINGIZE0(expr)
  16497. | #define HAVE_STDARG_PROTOTYPES 1
  16498. | #define HAVE_VA_ARGS_MACRO 1
  16499. | #define NORETURN(x) __attribute__ ((noreturn)) x
  16500. | #define DEPRECATED(x) __attribute__ ((deprecated)) x
  16501. | #define DEPRECATED_BY(n,x) __attribute__ ((deprecated("by "#n))) x
  16502. | #define DEPRECATED_TYPE(mesg,x) __attribute__ ((deprecated mesg)) x
  16503. | #define NOINLINE(x) __attribute__ ((noinline)) x
  16504. | #define WEAK(x) __attribute__ ((weak)) x
  16505. | #define HAVE_FUNC_WEAK 1
  16506. | #define FUNC_UNOPTIMIZED(x) __attribute__ ((optimize("O0"))) x
  16507. | #define FUNC_MINIMIZED(x) __attribute__ ((optimize("-Os","-fomit-frame-pointer"))) x
  16508. | #define HAVE_ATTRIBUTE_FUNCTION_ALIAS 1
  16509. | #define RUBY_ALIAS_FUNCTION_TYPE(type, prot, name, args) type prot __attribute__((alias(#name)));
  16510. | #define RUBY_ALIAS_FUNCTION_VOID(prot, name, args) RUBY_ALIAS_FUNCTION_TYPE(void, prot, name, args)
  16511. | #define HAVE_GCC_ATOMIC_BUILTINS 1
  16512. | #define HAVE_GCC_SYNC_BUILTINS 1
  16513. | #define UNREACHABLE __builtin_unreachable()
  16514. | #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
  16515. | #define RUBY_FUNCTION_NAME_STRING __func__
  16516. | #define ENUM_OVER_INT 1
  16517. | #define HAVE_DECL_SYS_NERR 1
  16518. | #define HAVE_DECL_GETENV 1
  16519. | #define SIZEOF_SIZE_T 8
  16520. | #define SIZEOF_PTRDIFF_T 8
  16521. | #define PRI_SIZE_PREFIX "z"
  16522. | #define PRI_PTRDIFF_PREFIX "t"
  16523. | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
  16524. | #define HAVE_ST_BLKSIZE 1
  16525. | #define HAVE_STRUCT_STAT_ST_BLOCKS 1
  16526. | #define HAVE_ST_BLOCKS 1
  16527. | #define HAVE_STRUCT_STAT_ST_RDEV 1
  16528. | #define HAVE_ST_RDEV 1
  16529. | #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_OFF_T
  16530. | #define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_OFF_T
  16531. | #define SIZEOF_STRUCT_STAT_ST_INO SIZEOF_LONG
  16532. | #define HAVE_STRUCT_STAT_ST_ATIM 1
  16533. | #define HAVE_STRUCT_STAT_ST_MTIM 1
  16534. | #define HAVE_STRUCT_STAT_ST_CTIM 1
  16535. | #define HAVE_STRUCT_TIMEVAL 1
  16536. | #define SIZEOF_STRUCT_TIMEVAL_TV_SEC SIZEOF_TIME_T
  16537. | #define HAVE_STRUCT_TIMESPEC 1
  16538. | #define HAVE_STRUCT_TIMEZONE 1
  16539. | #define HAVE_CLOCKID_T 1
  16540. | #define HAVE_RB_FD_INIT 1
  16541. | #define HAVE_INT8_T 1
  16542. | #define SIZEOF_INT8_T 1
  16543. | #define HAVE_UINT8_T 1
  16544. | #define SIZEOF_UINT8_T 1
  16545. | #define HAVE_INT16_T 1
  16546. | #define SIZEOF_INT16_T 2
  16547. | #define HAVE_UINT16_T 1
  16548. | #define SIZEOF_UINT16_T 2
  16549. | #define HAVE_INT32_T 1
  16550. | #define SIZEOF_INT32_T 4
  16551. | #define HAVE_UINT32_T 1
  16552. | #define SIZEOF_UINT32_T 4
  16553. | #define HAVE_INT64_T 1
  16554. | #define SIZEOF_INT64_T 8
  16555. | #define HAVE_UINT64_T 1
  16556. | #define SIZEOF_UINT64_T 8
  16557. | #define HAVE_INTPTR_T 1
  16558. | #define SIZEOF_INTPTR_T 8
  16559. | #define HAVE_UINTPTR_T 1
  16560. | #define SIZEOF_UINTPTR_T 8
  16561. | #define HAVE_SSIZE_T 1
  16562. | #define SIZEOF_SSIZE_T 8
  16563. | #define STACK_END_ADDRESS __libc_stack_end
  16564. | #define GETGROUPS_T gid_t
  16565. | #define RETSIGTYPE void
  16566. | #define HAVE_ALLOCA_H 1
  16567. | #define HAVE_ALLOCA 1
  16568. | #define HAVE_ACOSH 1
  16569. | #define HAVE_CBRT 1
  16570. | #define HAVE_CRYPT 1
  16571. | #define HAVE_DUP2 1
  16572. | #define HAVE_ERF 1
  16573. | #define HAVE_EXPLICIT_BZERO 1
  16574. | #define HAVE_FFS 1
  16575. | #define HAVE_FINITE 1
  16576. | #define HAVE_FLOCK 1
  16577. | #define HAVE_HYPOT 1
  16578. | #define HAVE_ISINF 1
  16579. | #define HAVE_ISNAN 1
  16580. | #define HAVE_LGAMMA_R 1
  16581. | #define HAVE_MEMMOVE 1
  16582. | #define HAVE_NEXTAFTER 1
  16583. | #define HAVE_STRCHR 1
  16584. | #define HAVE_STRERROR 1
  16585. | #define HAVE_STRSTR 1
  16586. | #define HAVE_TGAMMA 1
  16587. | #define SPT_TYPE SPT_REUSEARGV
  16588. | #define HAVE_SIGNBIT 1
  16589. | #define HAVE_FORK 1
  16590. | #define HAVE_VFORK 1
  16591. | #define HAVE_WORKING_VFORK 1
  16592. | #define HAVE_WORKING_FORK 1
  16593. | /* end confdefs.h. */
  16594. | /* Define __syscall to an innocuous variant, in case <limits.h> declares __syscall.
  16595. | For example, HP-UX 11i <limits.h> declares gettimeofday. */
  16596. | #define __syscall innocuous___syscall
  16597. |
  16598. | /* System header to define __stub macros and hopefully few prototypes,
  16599. | which can conflict with char __syscall (); below.
  16600. | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  16601. | <limits.h> exists even on freestanding compilers. */
  16602. |
  16603. | #ifdef __STDC__
  16604. | # include <limits.h>
  16605. | #else
  16606. | # include <assert.h>
  16607. | #endif
  16608. |
  16609. | #undef __syscall
  16610. |
  16611. | /* Override any GCC internal prototype to avoid an error.
  16612. | Use char because int might match the return type of a GCC
  16613. | builtin and then its argument prototype would still apply. */
  16614. | #ifdef __cplusplus
  16615. | extern "C"
  16616. | #endif
  16617. | char __syscall ();
  16618. | /* The GNU C library defines this for functions which it implements
  16619. | to always fail with ENOSYS. Some functions are actually named
  16620. | something starting with __ and the normal name is an alias. */
  16621. | #if defined __stub___syscall || defined __stub_____syscall
  16622. | choke me
  16623. | #endif
  16624. |
  16625. | int
  16626. | main ()
  16627. | {
  16628. | return __syscall ();
  16629. | ;
  16630. | return 0;
  16631. | }
  16632. configure:18870: result: no
  16633. configure:18881: checking for _longjmp
  16634. configure:18881: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  16635. configure:18881: $? = 0
  16636. configure:18881: result: yes
  16637. configure:18894: checking for _setjmp
  16638. configure:18894: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  16639. configure:18894: $? = 0
  16640. configure:18894: result: yes
  16641. configure:18905: checking for _setjmpex
  16642. configure:18905: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  16643. /tmp/ccLQhNSY.o: In function `main':
  16644. /usr/share/rvm/src/ruby-2.3.0/conftest.c:261: undefined reference to `_setjmpex'
  16645. collect2: error: ld returned 1 exit status
  16646. configure:18905: $? = 1
  16647. configure: failed program was:
  16648. | /* confdefs.h */
  16649. | #define PACKAGE_NAME ""
  16650. | #define PACKAGE_TARNAME ""
  16651. | #define PACKAGE_VERSION ""
  16652. | #define PACKAGE_STRING ""
  16653. | #define PACKAGE_BUGREPORT ""
  16654. | #define PACKAGE_URL ""
  16655. | #define CANONICALIZATION_FOR_MATHN 1
  16656. | #define STDC_HEADERS 1
  16657. | #define HAVE_SYS_TYPES_H 1
  16658. | #define HAVE_SYS_STAT_H 1
  16659. | #define HAVE_STDLIB_H 1
  16660. | #define HAVE_STRING_H 1
  16661. | #define HAVE_MEMORY_H 1
  16662. | #define HAVE_STRINGS_H 1
  16663. | #define HAVE_INTTYPES_H 1
  16664. | #define HAVE_STDINT_H 1
  16665. | #define HAVE_UNISTD_H 1
  16666. | #define __EXTENSIONS__ 1
  16667. | #define _ALL_SOURCE 1
  16668. | #define _GNU_SOURCE 1
  16669. | #define _POSIX_PTHREAD_SEMANTICS 1
  16670. | #define _TANDEM_SOURCE 1
  16671. | #define HAVE_INFINITY 1
  16672. | #define HAVE_NAN 1
  16673. | #define RUBY_SYMBOL_EXPORT_BEGIN _Pragma("GCC visibility push(default)")
  16674. | #define RUBY_SYMBOL_EXPORT_END _Pragma("GCC visibility pop")
  16675. | #define HAVE_LIBCRYPT 1
  16676. | #define HAVE_LIBDL 1
  16677. | #define HAVE_DIRENT_H 1
  16678. | #define HAVE__BOOL 1
  16679. | #define HAVE_STDBOOL_H 1
  16680. | #define HAVE_SYS_WAIT_H 1
  16681. | #define HAVE_A_OUT_H 1
  16682. | #define HAVE_GRP_H 1
  16683. | #define HAVE_FCNTL_H 1
  16684. | #define HAVE_FLOAT_H 1
  16685. | #define HAVE_LANGINFO_H 1
  16686. | #define HAVE_LIMITS_H 1
  16687. | #define HAVE_LOCALE_H 1
  16688. | #define HAVE_MALLOC_H 1
  16689. | #define HAVE_PWD_H 1
  16690. | #define HAVE_SYS_FCNTL_H 1
  16691. | #define HAVE_SYS_FILE_H 1
  16692. | #define HAVE_SYS_IOCTL_H 1
  16693. | #define HAVE_SYS_PARAM_H 1
  16694. | #define HAVE_SYS_PRCTL_H 1
  16695. | #define HAVE_SYS_RESOURCE_H 1
  16696. | #define HAVE_SYS_SELECT_H 1
  16697. | #define HAVE_SYS_SENDFILE_H 1
  16698. | #define HAVE_SYS_SOCKET_H 1
  16699. | #define HAVE_SYS_SYSCALL_H 1
  16700. | #define HAVE_SYS_TIME_H 1
  16701. | #define HAVE_SYS_TIMES_H 1
  16702. | #define HAVE_SYS_UIO_H 1
  16703. | #define HAVE_SYSCALL_H 1
  16704. | #define HAVE_TIME_H 1
  16705. | #define HAVE_UCONTEXT_H 1
  16706. | #define HAVE_UTIME_H 1
  16707. | #define HAVE_GMP_H 1
  16708. | #define HAVE_LIBGMP 1
  16709. | #define HAVE_TYPEOF 1
  16710. | #define typeof __typeof__
  16711. | #define HAVE_LONG_LONG 1
  16712. | #define HAVE_OFF_T 1
  16713. | #define SIZEOF_INT 4
  16714. | #define SIZEOF_SHORT 2
  16715. | #define SIZEOF_LONG 8
  16716. | #define SIZEOF_LONG_LONG 8
  16717. | #define SIZEOF___INT64 0
  16718. | #define SIZEOF_OFF_T 8
  16719. | #define SIZEOF_VOIDP 8
  16720. | #define SIZEOF_FLOAT 4
  16721. | #define SIZEOF_DOUBLE 8
  16722. | #define SIZEOF_TIME_T 8
  16723. | #define SIZEOF_CLOCK_T 8
  16724. | #define PACKED_STRUCT(x) x __attribute__((packed))
  16725. | #define PACKED_STRUCT_UNALIGNED(x) x
  16726. | #define PRI_LL_PREFIX "ll"
  16727. | #define rb_pid_t pid_t
  16728. | #define SIGNEDNESS_OF_PID_T -1
  16729. | #define PIDT2NUM(v) INT2NUM(v)
  16730. | #define NUM2PIDT(v) NUM2INT(v)
  16731. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  16732. | #define rb_uid_t uid_t
  16733. | #define SIGNEDNESS_OF_UID_T +1
  16734. | #define UIDT2NUM(v) UINT2NUM(v)
  16735. | #define NUM2UIDT(v) NUM2UINT(v)
  16736. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  16737. | #define rb_gid_t gid_t
  16738. | #define SIGNEDNESS_OF_GID_T +1
  16739. | #define GIDT2NUM(v) UINT2NUM(v)
  16740. | #define NUM2GIDT(v) NUM2UINT(v)
  16741. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  16742. | #define rb_time_t time_t
  16743. | #define SIGNEDNESS_OF_TIME_T -1
  16744. | #define TIMET2NUM(v) LONG2NUM(v)
  16745. | #define NUM2TIMET(v) NUM2LONG(v)
  16746. | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
  16747. | #define rb_dev_t dev_t
  16748. | #define SIGNEDNESS_OF_DEV_T +1
  16749. | #define DEVT2NUM(v) ULONG2NUM(v)
  16750. | #define NUM2DEVT(v) NUM2ULONG(v)
  16751. | #define PRI_DEVT_PREFIX PRI_LONG_PREFIX
  16752. | #define rb_mode_t mode_t
  16753. | #define SIGNEDNESS_OF_MODE_T +1
  16754. | #define MODET2NUM(v) UINT2NUM(v)
  16755. | #define NUM2MODET(v) NUM2UINT(v)
  16756. | #define PRI_MODET_PREFIX PRI_INT_PREFIX
  16757. | #define rb_rlim_t rlim_t
  16758. | #define SIGNEDNESS_OF_RLIM_T +1
  16759. | #define RLIM2NUM(v) ULONG2NUM(v)
  16760. | #define NUM2RLIM(v) NUM2ULONG(v)
  16761. | #define PRI_RLIM_PREFIX PRI_LONG_PREFIX
  16762. | #define rb_off_t off_t
  16763. | #define SIGNEDNESS_OF_OFF_T -1
  16764. | #define OFFT2NUM(v) LONG2NUM(v)
  16765. | #define NUM2OFFT(v) NUM2LONG(v)
  16766. | #define PRI_OFFT_PREFIX PRI_LONG_PREFIX
  16767. | #define rb_clockid_t clockid_t
  16768. | #define SIGNEDNESS_OF_CLOCKID_T -1
  16769. | #define CLOCKID2NUM(v) INT2NUM(v)
  16770. | #define NUM2CLOCKID(v) NUM2INT(v)
  16771. | #define PRI_CLOCKID_PREFIX PRI_INT_PREFIX
  16772. | #define HAVE_PROTOTYPES 1
  16773. | #define TOKEN_PASTE(x,y) x##y
  16774. | #define STRINGIZE(expr) STRINGIZE0(expr)
  16775. | #define HAVE_STDARG_PROTOTYPES 1
  16776. | #define HAVE_VA_ARGS_MACRO 1
  16777. | #define NORETURN(x) __attribute__ ((noreturn)) x
  16778. | #define DEPRECATED(x) __attribute__ ((deprecated)) x
  16779. | #define DEPRECATED_BY(n,x) __attribute__ ((deprecated("by "#n))) x
  16780. | #define DEPRECATED_TYPE(mesg,x) __attribute__ ((deprecated mesg)) x
  16781. | #define NOINLINE(x) __attribute__ ((noinline)) x
  16782. | #define WEAK(x) __attribute__ ((weak)) x
  16783. | #define HAVE_FUNC_WEAK 1
  16784. | #define FUNC_UNOPTIMIZED(x) __attribute__ ((optimize("O0"))) x
  16785. | #define FUNC_MINIMIZED(x) __attribute__ ((optimize("-Os","-fomit-frame-pointer"))) x
  16786. | #define HAVE_ATTRIBUTE_FUNCTION_ALIAS 1
  16787. | #define RUBY_ALIAS_FUNCTION_TYPE(type, prot, name, args) type prot __attribute__((alias(#name)));
  16788. | #define RUBY_ALIAS_FUNCTION_VOID(prot, name, args) RUBY_ALIAS_FUNCTION_TYPE(void, prot, name, args)
  16789. | #define HAVE_GCC_ATOMIC_BUILTINS 1
  16790. | #define HAVE_GCC_SYNC_BUILTINS 1
  16791. | #define UNREACHABLE __builtin_unreachable()
  16792. | #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
  16793. | #define RUBY_FUNCTION_NAME_STRING __func__
  16794. | #define ENUM_OVER_INT 1
  16795. | #define HAVE_DECL_SYS_NERR 1
  16796. | #define HAVE_DECL_GETENV 1
  16797. | #define SIZEOF_SIZE_T 8
  16798. | #define SIZEOF_PTRDIFF_T 8
  16799. | #define PRI_SIZE_PREFIX "z"
  16800. | #define PRI_PTRDIFF_PREFIX "t"
  16801. | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
  16802. | #define HAVE_ST_BLKSIZE 1
  16803. | #define HAVE_STRUCT_STAT_ST_BLOCKS 1
  16804. | #define HAVE_ST_BLOCKS 1
  16805. | #define HAVE_STRUCT_STAT_ST_RDEV 1
  16806. | #define HAVE_ST_RDEV 1
  16807. | #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_OFF_T
  16808. | #define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_OFF_T
  16809. | #define SIZEOF_STRUCT_STAT_ST_INO SIZEOF_LONG
  16810. | #define HAVE_STRUCT_STAT_ST_ATIM 1
  16811. | #define HAVE_STRUCT_STAT_ST_MTIM 1
  16812. | #define HAVE_STRUCT_STAT_ST_CTIM 1
  16813. | #define HAVE_STRUCT_TIMEVAL 1
  16814. | #define SIZEOF_STRUCT_TIMEVAL_TV_SEC SIZEOF_TIME_T
  16815. | #define HAVE_STRUCT_TIMESPEC 1
  16816. | #define HAVE_STRUCT_TIMEZONE 1
  16817. | #define HAVE_CLOCKID_T 1
  16818. | #define HAVE_RB_FD_INIT 1
  16819. | #define HAVE_INT8_T 1
  16820. | #define SIZEOF_INT8_T 1
  16821. | #define HAVE_UINT8_T 1
  16822. | #define SIZEOF_UINT8_T 1
  16823. | #define HAVE_INT16_T 1
  16824. | #define SIZEOF_INT16_T 2
  16825. | #define HAVE_UINT16_T 1
  16826. | #define SIZEOF_UINT16_T 2
  16827. | #define HAVE_INT32_T 1
  16828. | #define SIZEOF_INT32_T 4
  16829. | #define HAVE_UINT32_T 1
  16830. | #define SIZEOF_UINT32_T 4
  16831. | #define HAVE_INT64_T 1
  16832. | #define SIZEOF_INT64_T 8
  16833. | #define HAVE_UINT64_T 1
  16834. | #define SIZEOF_UINT64_T 8
  16835. | #define HAVE_INTPTR_T 1
  16836. | #define SIZEOF_INTPTR_T 8
  16837. | #define HAVE_UINTPTR_T 1
  16838. | #define SIZEOF_UINTPTR_T 8
  16839. | #define HAVE_SSIZE_T 1
  16840. | #define SIZEOF_SSIZE_T 8
  16841. | #define STACK_END_ADDRESS __libc_stack_end
  16842. | #define GETGROUPS_T gid_t
  16843. | #define RETSIGTYPE void
  16844. | #define HAVE_ALLOCA_H 1
  16845. | #define HAVE_ALLOCA 1
  16846. | #define HAVE_ACOSH 1
  16847. | #define HAVE_CBRT 1
  16848. | #define HAVE_CRYPT 1
  16849. | #define HAVE_DUP2 1
  16850. | #define HAVE_ERF 1
  16851. | #define HAVE_EXPLICIT_BZERO 1
  16852. | #define HAVE_FFS 1
  16853. | #define HAVE_FINITE 1
  16854. | #define HAVE_FLOCK 1
  16855. | #define HAVE_HYPOT 1
  16856. | #define HAVE_ISINF 1
  16857. | #define HAVE_ISNAN 1
  16858. | #define HAVE_LGAMMA_R 1
  16859. | #define HAVE_MEMMOVE 1
  16860. | #define HAVE_NEXTAFTER 1
  16861. | #define HAVE_STRCHR 1
  16862. | #define HAVE_STRERROR 1
  16863. | #define HAVE_STRSTR 1
  16864. | #define HAVE_TGAMMA 1
  16865. | #define SPT_TYPE SPT_REUSEARGV
  16866. | #define HAVE_SIGNBIT 1
  16867. | #define HAVE_FORK 1
  16868. | #define HAVE_VFORK 1
  16869. | #define HAVE_WORKING_VFORK 1
  16870. | #define HAVE_WORKING_FORK 1
  16871. | #define HAVE__LONGJMP 1
  16872. | #define HAVE__SETJMP 1
  16873. | /* end confdefs.h. */
  16874. | /* Define _setjmpex to an innocuous variant, in case <limits.h> declares _setjmpex.
  16875. | For example, HP-UX 11i <limits.h> declares gettimeofday. */
  16876. | #define _setjmpex innocuous__setjmpex
  16877. |
  16878. | /* System header to define __stub macros and hopefully few prototypes,
  16879. | which can conflict with char _setjmpex (); below.
  16880. | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  16881. | <limits.h> exists even on freestanding compilers. */
  16882. |
  16883. | #ifdef __STDC__
  16884. | # include <limits.h>
  16885. | #else
  16886. | # include <assert.h>
  16887. | #endif
  16888. |
  16889. | #undef _setjmpex
  16890. |
  16891. | /* Override any GCC internal prototype to avoid an error.
  16892. | Use char because int might match the return type of a GCC
  16893. | builtin and then its argument prototype would still apply. */
  16894. | #ifdef __cplusplus
  16895. | extern "C"
  16896. | #endif
  16897. | char _setjmpex ();
  16898. | /* The GNU C library defines this for functions which it implements
  16899. | to always fail with ENOSYS. Some functions are actually named
  16900. | something starting with __ and the normal name is an alias. */
  16901. | #if defined __stub__setjmpex || defined __stub____setjmpex
  16902. | choke me
  16903. | #endif
  16904. |
  16905. | int
  16906. | main ()
  16907. | {
  16908. | return _setjmpex ();
  16909. | ;
  16910. | return 0;
  16911. | }
  16912. configure:18905: result: no
  16913. configure:18917: checking for atan2l
  16914. configure:18917: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  16915. conftest.c:250:6: warning: conflicting types for built-in function 'atan2l' [-Wbuiltin-declaration-mismatch]
  16916. char atan2l ();
  16917. ^~~~~~
  16918. configure:18917: $? = 0
  16919. configure:18917: result: yes
  16920. configure:18917: checking for atan2f
  16921. configure:18917: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  16922. conftest.c:251:6: warning: conflicting types for built-in function 'atan2f' [-Wbuiltin-declaration-mismatch]
  16923. char atan2f ();
  16924. ^~~~~~
  16925. configure:18917: $? = 0
  16926. configure:18917: result: yes
  16927. configure:18928: checking for chroot
  16928. configure:18928: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  16929. configure:18928: $? = 0
  16930. configure:18928: result: yes
  16931. configure:18939: checking for chsize
  16932. configure:18939: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  16933. /tmp/cclq7jdo.o: In function `main':
  16934. /usr/share/rvm/src/ruby-2.3.0/conftest.c:264: undefined reference to `chsize'
  16935. collect2: error: ld returned 1 exit status
  16936. configure:18939: $? = 1
  16937. configure: failed program was:
  16938. | /* confdefs.h */
  16939. | #define PACKAGE_NAME ""
  16940. | #define PACKAGE_TARNAME ""
  16941. | #define PACKAGE_VERSION ""
  16942. | #define PACKAGE_STRING ""
  16943. | #define PACKAGE_BUGREPORT ""
  16944. | #define PACKAGE_URL ""
  16945. | #define CANONICALIZATION_FOR_MATHN 1
  16946. | #define STDC_HEADERS 1
  16947. | #define HAVE_SYS_TYPES_H 1
  16948. | #define HAVE_SYS_STAT_H 1
  16949. | #define HAVE_STDLIB_H 1
  16950. | #define HAVE_STRING_H 1
  16951. | #define HAVE_MEMORY_H 1
  16952. | #define HAVE_STRINGS_H 1
  16953. | #define HAVE_INTTYPES_H 1
  16954. | #define HAVE_STDINT_H 1
  16955. | #define HAVE_UNISTD_H 1
  16956. | #define __EXTENSIONS__ 1
  16957. | #define _ALL_SOURCE 1
  16958. | #define _GNU_SOURCE 1
  16959. | #define _POSIX_PTHREAD_SEMANTICS 1
  16960. | #define _TANDEM_SOURCE 1
  16961. | #define HAVE_INFINITY 1
  16962. | #define HAVE_NAN 1
  16963. | #define RUBY_SYMBOL_EXPORT_BEGIN _Pragma("GCC visibility push(default)")
  16964. | #define RUBY_SYMBOL_EXPORT_END _Pragma("GCC visibility pop")
  16965. | #define HAVE_LIBCRYPT 1
  16966. | #define HAVE_LIBDL 1
  16967. | #define HAVE_DIRENT_H 1
  16968. | #define HAVE__BOOL 1
  16969. | #define HAVE_STDBOOL_H 1
  16970. | #define HAVE_SYS_WAIT_H 1
  16971. | #define HAVE_A_OUT_H 1
  16972. | #define HAVE_GRP_H 1
  16973. | #define HAVE_FCNTL_H 1
  16974. | #define HAVE_FLOAT_H 1
  16975. | #define HAVE_LANGINFO_H 1
  16976. | #define HAVE_LIMITS_H 1
  16977. | #define HAVE_LOCALE_H 1
  16978. | #define HAVE_MALLOC_H 1
  16979. | #define HAVE_PWD_H 1
  16980. | #define HAVE_SYS_FCNTL_H 1
  16981. | #define HAVE_SYS_FILE_H 1
  16982. | #define HAVE_SYS_IOCTL_H 1
  16983. | #define HAVE_SYS_PARAM_H 1
  16984. | #define HAVE_SYS_PRCTL_H 1
  16985. | #define HAVE_SYS_RESOURCE_H 1
  16986. | #define HAVE_SYS_SELECT_H 1
  16987. | #define HAVE_SYS_SENDFILE_H 1
  16988. | #define HAVE_SYS_SOCKET_H 1
  16989. | #define HAVE_SYS_SYSCALL_H 1
  16990. | #define HAVE_SYS_TIME_H 1
  16991. | #define HAVE_SYS_TIMES_H 1
  16992. | #define HAVE_SYS_UIO_H 1
  16993. | #define HAVE_SYSCALL_H 1
  16994. | #define HAVE_TIME_H 1
  16995. | #define HAVE_UCONTEXT_H 1
  16996. | #define HAVE_UTIME_H 1
  16997. | #define HAVE_GMP_H 1
  16998. | #define HAVE_LIBGMP 1
  16999. | #define HAVE_TYPEOF 1
  17000. | #define typeof __typeof__
  17001. | #define HAVE_LONG_LONG 1
  17002. | #define HAVE_OFF_T 1
  17003. | #define SIZEOF_INT 4
  17004. | #define SIZEOF_SHORT 2
  17005. | #define SIZEOF_LONG 8
  17006. | #define SIZEOF_LONG_LONG 8
  17007. | #define SIZEOF___INT64 0
  17008. | #define SIZEOF_OFF_T 8
  17009. | #define SIZEOF_VOIDP 8
  17010. | #define SIZEOF_FLOAT 4
  17011. | #define SIZEOF_DOUBLE 8
  17012. | #define SIZEOF_TIME_T 8
  17013. | #define SIZEOF_CLOCK_T 8
  17014. | #define PACKED_STRUCT(x) x __attribute__((packed))
  17015. | #define PACKED_STRUCT_UNALIGNED(x) x
  17016. | #define PRI_LL_PREFIX "ll"
  17017. | #define rb_pid_t pid_t
  17018. | #define SIGNEDNESS_OF_PID_T -1
  17019. | #define PIDT2NUM(v) INT2NUM(v)
  17020. | #define NUM2PIDT(v) NUM2INT(v)
  17021. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  17022. | #define rb_uid_t uid_t
  17023. | #define SIGNEDNESS_OF_UID_T +1
  17024. | #define UIDT2NUM(v) UINT2NUM(v)
  17025. | #define NUM2UIDT(v) NUM2UINT(v)
  17026. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  17027. | #define rb_gid_t gid_t
  17028. | #define SIGNEDNESS_OF_GID_T +1
  17029. | #define GIDT2NUM(v) UINT2NUM(v)
  17030. | #define NUM2GIDT(v) NUM2UINT(v)
  17031. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  17032. | #define rb_time_t time_t
  17033. | #define SIGNEDNESS_OF_TIME_T -1
  17034. | #define TIMET2NUM(v) LONG2NUM(v)
  17035. | #define NUM2TIMET(v) NUM2LONG(v)
  17036. | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
  17037. | #define rb_dev_t dev_t
  17038. | #define SIGNEDNESS_OF_DEV_T +1
  17039. | #define DEVT2NUM(v) ULONG2NUM(v)
  17040. | #define NUM2DEVT(v) NUM2ULONG(v)
  17041. | #define PRI_DEVT_PREFIX PRI_LONG_PREFIX
  17042. | #define rb_mode_t mode_t
  17043. | #define SIGNEDNESS_OF_MODE_T +1
  17044. | #define MODET2NUM(v) UINT2NUM(v)
  17045. | #define NUM2MODET(v) NUM2UINT(v)
  17046. | #define PRI_MODET_PREFIX PRI_INT_PREFIX
  17047. | #define rb_rlim_t rlim_t
  17048. | #define SIGNEDNESS_OF_RLIM_T +1
  17049. | #define RLIM2NUM(v) ULONG2NUM(v)
  17050. | #define NUM2RLIM(v) NUM2ULONG(v)
  17051. | #define PRI_RLIM_PREFIX PRI_LONG_PREFIX
  17052. | #define rb_off_t off_t
  17053. | #define SIGNEDNESS_OF_OFF_T -1
  17054. | #define OFFT2NUM(v) LONG2NUM(v)
  17055. | #define NUM2OFFT(v) NUM2LONG(v)
  17056. | #define PRI_OFFT_PREFIX PRI_LONG_PREFIX
  17057. | #define rb_clockid_t clockid_t
  17058. | #define SIGNEDNESS_OF_CLOCKID_T -1
  17059. | #define CLOCKID2NUM(v) INT2NUM(v)
  17060. | #define NUM2CLOCKID(v) NUM2INT(v)
  17061. | #define PRI_CLOCKID_PREFIX PRI_INT_PREFIX
  17062. | #define HAVE_PROTOTYPES 1
  17063. | #define TOKEN_PASTE(x,y) x##y
  17064. | #define STRINGIZE(expr) STRINGIZE0(expr)
  17065. | #define HAVE_STDARG_PROTOTYPES 1
  17066. | #define HAVE_VA_ARGS_MACRO 1
  17067. | #define NORETURN(x) __attribute__ ((noreturn)) x
  17068. | #define DEPRECATED(x) __attribute__ ((deprecated)) x
  17069. | #define DEPRECATED_BY(n,x) __attribute__ ((deprecated("by "#n))) x
  17070. | #define DEPRECATED_TYPE(mesg,x) __attribute__ ((deprecated mesg)) x
  17071. | #define NOINLINE(x) __attribute__ ((noinline)) x
  17072. | #define WEAK(x) __attribute__ ((weak)) x
  17073. | #define HAVE_FUNC_WEAK 1
  17074. | #define FUNC_UNOPTIMIZED(x) __attribute__ ((optimize("O0"))) x
  17075. | #define FUNC_MINIMIZED(x) __attribute__ ((optimize("-Os","-fomit-frame-pointer"))) x
  17076. | #define HAVE_ATTRIBUTE_FUNCTION_ALIAS 1
  17077. | #define RUBY_ALIAS_FUNCTION_TYPE(type, prot, name, args) type prot __attribute__((alias(#name)));
  17078. | #define RUBY_ALIAS_FUNCTION_VOID(prot, name, args) RUBY_ALIAS_FUNCTION_TYPE(void, prot, name, args)
  17079. | #define HAVE_GCC_ATOMIC_BUILTINS 1
  17080. | #define HAVE_GCC_SYNC_BUILTINS 1
  17081. | #define UNREACHABLE __builtin_unreachable()
  17082. | #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
  17083. | #define RUBY_FUNCTION_NAME_STRING __func__
  17084. | #define ENUM_OVER_INT 1
  17085. | #define HAVE_DECL_SYS_NERR 1
  17086. | #define HAVE_DECL_GETENV 1
  17087. | #define SIZEOF_SIZE_T 8
  17088. | #define SIZEOF_PTRDIFF_T 8
  17089. | #define PRI_SIZE_PREFIX "z"
  17090. | #define PRI_PTRDIFF_PREFIX "t"
  17091. | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
  17092. | #define HAVE_ST_BLKSIZE 1
  17093. | #define HAVE_STRUCT_STAT_ST_BLOCKS 1
  17094. | #define HAVE_ST_BLOCKS 1
  17095. | #define HAVE_STRUCT_STAT_ST_RDEV 1
  17096. | #define HAVE_ST_RDEV 1
  17097. | #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_OFF_T
  17098. | #define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_OFF_T
  17099. | #define SIZEOF_STRUCT_STAT_ST_INO SIZEOF_LONG
  17100. | #define HAVE_STRUCT_STAT_ST_ATIM 1
  17101. | #define HAVE_STRUCT_STAT_ST_MTIM 1
  17102. | #define HAVE_STRUCT_STAT_ST_CTIM 1
  17103. | #define HAVE_STRUCT_TIMEVAL 1
  17104. | #define SIZEOF_STRUCT_TIMEVAL_TV_SEC SIZEOF_TIME_T
  17105. | #define HAVE_STRUCT_TIMESPEC 1
  17106. | #define HAVE_STRUCT_TIMEZONE 1
  17107. | #define HAVE_CLOCKID_T 1
  17108. | #define HAVE_RB_FD_INIT 1
  17109. | #define HAVE_INT8_T 1
  17110. | #define SIZEOF_INT8_T 1
  17111. | #define HAVE_UINT8_T 1
  17112. | #define SIZEOF_UINT8_T 1
  17113. | #define HAVE_INT16_T 1
  17114. | #define SIZEOF_INT16_T 2
  17115. | #define HAVE_UINT16_T 1
  17116. | #define SIZEOF_UINT16_T 2
  17117. | #define HAVE_INT32_T 1
  17118. | #define SIZEOF_INT32_T 4
  17119. | #define HAVE_UINT32_T 1
  17120. | #define SIZEOF_UINT32_T 4
  17121. | #define HAVE_INT64_T 1
  17122. | #define SIZEOF_INT64_T 8
  17123. | #define HAVE_UINT64_T 1
  17124. | #define SIZEOF_UINT64_T 8
  17125. | #define HAVE_INTPTR_T 1
  17126. | #define SIZEOF_INTPTR_T 8
  17127. | #define HAVE_UINTPTR_T 1
  17128. | #define SIZEOF_UINTPTR_T 8
  17129. | #define HAVE_SSIZE_T 1
  17130. | #define SIZEOF_SSIZE_T 8
  17131. | #define STACK_END_ADDRESS __libc_stack_end
  17132. | #define GETGROUPS_T gid_t
  17133. | #define RETSIGTYPE void
  17134. | #define HAVE_ALLOCA_H 1
  17135. | #define HAVE_ALLOCA 1
  17136. | #define HAVE_ACOSH 1
  17137. | #define HAVE_CBRT 1
  17138. | #define HAVE_CRYPT 1
  17139. | #define HAVE_DUP2 1
  17140. | #define HAVE_ERF 1
  17141. | #define HAVE_EXPLICIT_BZERO 1
  17142. | #define HAVE_FFS 1
  17143. | #define HAVE_FINITE 1
  17144. | #define HAVE_FLOCK 1
  17145. | #define HAVE_HYPOT 1
  17146. | #define HAVE_ISINF 1
  17147. | #define HAVE_ISNAN 1
  17148. | #define HAVE_LGAMMA_R 1
  17149. | #define HAVE_MEMMOVE 1
  17150. | #define HAVE_NEXTAFTER 1
  17151. | #define HAVE_STRCHR 1
  17152. | #define HAVE_STRERROR 1
  17153. | #define HAVE_STRSTR 1
  17154. | #define HAVE_TGAMMA 1
  17155. | #define SPT_TYPE SPT_REUSEARGV
  17156. | #define HAVE_SIGNBIT 1
  17157. | #define HAVE_FORK 1
  17158. | #define HAVE_VFORK 1
  17159. | #define HAVE_WORKING_VFORK 1
  17160. | #define HAVE_WORKING_FORK 1
  17161. | #define HAVE__LONGJMP 1
  17162. | #define HAVE__SETJMP 1
  17163. | #define HAVE_ATAN2L 1
  17164. | #define HAVE_ATAN2F 1
  17165. | #define HAVE_CHROOT 1
  17166. | /* end confdefs.h. */
  17167. | /* Define chsize to an innocuous variant, in case <limits.h> declares chsize.
  17168. | For example, HP-UX 11i <limits.h> declares gettimeofday. */
  17169. | #define chsize innocuous_chsize
  17170. |
  17171. | /* System header to define __stub macros and hopefully few prototypes,
  17172. | which can conflict with char chsize (); below.
  17173. | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  17174. | <limits.h> exists even on freestanding compilers. */
  17175. |
  17176. | #ifdef __STDC__
  17177. | # include <limits.h>
  17178. | #else
  17179. | # include <assert.h>
  17180. | #endif
  17181. |
  17182. | #undef chsize
  17183. |
  17184. | /* Override any GCC internal prototype to avoid an error.
  17185. | Use char because int might match the return type of a GCC
  17186. | builtin and then its argument prototype would still apply. */
  17187. | #ifdef __cplusplus
  17188. | extern "C"
  17189. | #endif
  17190. | char chsize ();
  17191. | /* The GNU C library defines this for functions which it implements
  17192. | to always fail with ENOSYS. Some functions are actually named
  17193. | something starting with __ and the normal name is an alias. */
  17194. | #if defined __stub_chsize || defined __stub___chsize
  17195. | choke me
  17196. | #endif
  17197. |
  17198. | int
  17199. | main ()
  17200. | {
  17201. | return chsize ();
  17202. | ;
  17203. | return 0;
  17204. | }
  17205. configure:18939: result: no
  17206. configure:18950: checking for clock_gettime
  17207. configure:18950: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  17208. configure:18950: $? = 0
  17209. configure:18950: result: yes
  17210. configure:18961: checking for cosh
  17211. configure:18961: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  17212. conftest.c:254:6: warning: conflicting types for built-in function 'cosh' [-Wbuiltin-declaration-mismatch]
  17213. char cosh ();
  17214. ^~~~
  17215. configure:18961: $? = 0
  17216. configure:18961: result: yes
  17217. configure:18972: checking for daemon
  17218. configure:18972: result: no
  17219. configure:18983: checking for dirfd
  17220. configure:18983: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  17221. configure:18983: $? = 0
  17222. configure:18983: result: yes
  17223. configure:18994: checking for dl_iterate_phdr
  17224. configure:18994: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  17225. configure:18994: $? = 0
  17226. configure:18994: result: yes
  17227. configure:19005: checking for dlopen
  17228. configure:19005: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  17229. configure:19005: $? = 0
  17230. configure:19005: result: yes
  17231. configure:19016: checking for dladdr
  17232. configure:19016: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  17233. configure:19016: $? = 0
  17234. configure:19016: result: yes
  17235. configure:19027: checking for dup
  17236. configure:19027: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  17237. configure:19027: $? = 0
  17238. configure:19027: result: yes
  17239. configure:19038: checking for dup3
  17240. configure:19038: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  17241. configure:19038: $? = 0
  17242. configure:19038: result: yes
  17243. configure:19049: checking for eaccess
  17244. configure:19049: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  17245. configure:19049: $? = 0
  17246. configure:19049: result: yes
  17247. configure:19060: checking for endgrent
  17248. configure:19060: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  17249. configure:19060: $? = 0
  17250. configure:19060: result: yes
  17251. configure:19071: checking for fchmod
  17252. configure:19071: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  17253. configure:19071: $? = 0
  17254. configure:19071: result: yes
  17255. configure:19082: checking for fchown
  17256. configure:19082: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  17257. configure:19082: $? = 0
  17258. configure:19082: result: yes
  17259. configure:19093: checking for fcntl
  17260. configure:19093: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  17261. configure:19093: $? = 0
  17262. configure:19093: result: yes
  17263. configure:19104: checking for fdatasync
  17264. configure:19104: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  17265. configure:19104: $? = 0
  17266. configure:19104: result: yes
  17267. configure:19115: checking for fgetattrlist
  17268. configure:19115: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  17269. /tmp/ccx8EHJy.o: In function `main':
  17270. /usr/share/rvm/src/ruby-2.3.0/conftest.c:278: undefined reference to `fgetattrlist'
  17271. collect2: error: ld returned 1 exit status
  17272. configure:19115: $? = 1
  17273. configure: failed program was:
  17274. | /* confdefs.h */
  17275. | #define PACKAGE_NAME ""
  17276. | #define PACKAGE_TARNAME ""
  17277. | #define PACKAGE_VERSION ""
  17278. | #define PACKAGE_STRING ""
  17279. | #define PACKAGE_BUGREPORT ""
  17280. | #define PACKAGE_URL ""
  17281. | #define CANONICALIZATION_FOR_MATHN 1
  17282. | #define STDC_HEADERS 1
  17283. | #define HAVE_SYS_TYPES_H 1
  17284. | #define HAVE_SYS_STAT_H 1
  17285. | #define HAVE_STDLIB_H 1
  17286. | #define HAVE_STRING_H 1
  17287. | #define HAVE_MEMORY_H 1
  17288. | #define HAVE_STRINGS_H 1
  17289. | #define HAVE_INTTYPES_H 1
  17290. | #define HAVE_STDINT_H 1
  17291. | #define HAVE_UNISTD_H 1
  17292. | #define __EXTENSIONS__ 1
  17293. | #define _ALL_SOURCE 1
  17294. | #define _GNU_SOURCE 1
  17295. | #define _POSIX_PTHREAD_SEMANTICS 1
  17296. | #define _TANDEM_SOURCE 1
  17297. | #define HAVE_INFINITY 1
  17298. | #define HAVE_NAN 1
  17299. | #define RUBY_SYMBOL_EXPORT_BEGIN _Pragma("GCC visibility push(default)")
  17300. | #define RUBY_SYMBOL_EXPORT_END _Pragma("GCC visibility pop")
  17301. | #define HAVE_LIBCRYPT 1
  17302. | #define HAVE_LIBDL 1
  17303. | #define HAVE_DIRENT_H 1
  17304. | #define HAVE__BOOL 1
  17305. | #define HAVE_STDBOOL_H 1
  17306. | #define HAVE_SYS_WAIT_H 1
  17307. | #define HAVE_A_OUT_H 1
  17308. | #define HAVE_GRP_H 1
  17309. | #define HAVE_FCNTL_H 1
  17310. | #define HAVE_FLOAT_H 1
  17311. | #define HAVE_LANGINFO_H 1
  17312. | #define HAVE_LIMITS_H 1
  17313. | #define HAVE_LOCALE_H 1
  17314. | #define HAVE_MALLOC_H 1
  17315. | #define HAVE_PWD_H 1
  17316. | #define HAVE_SYS_FCNTL_H 1
  17317. | #define HAVE_SYS_FILE_H 1
  17318. | #define HAVE_SYS_IOCTL_H 1
  17319. | #define HAVE_SYS_PARAM_H 1
  17320. | #define HAVE_SYS_PRCTL_H 1
  17321. | #define HAVE_SYS_RESOURCE_H 1
  17322. | #define HAVE_SYS_SELECT_H 1
  17323. | #define HAVE_SYS_SENDFILE_H 1
  17324. | #define HAVE_SYS_SOCKET_H 1
  17325. | #define HAVE_SYS_SYSCALL_H 1
  17326. | #define HAVE_SYS_TIME_H 1
  17327. | #define HAVE_SYS_TIMES_H 1
  17328. | #define HAVE_SYS_UIO_H 1
  17329. | #define HAVE_SYSCALL_H 1
  17330. | #define HAVE_TIME_H 1
  17331. | #define HAVE_UCONTEXT_H 1
  17332. | #define HAVE_UTIME_H 1
  17333. | #define HAVE_GMP_H 1
  17334. | #define HAVE_LIBGMP 1
  17335. | #define HAVE_TYPEOF 1
  17336. | #define typeof __typeof__
  17337. | #define HAVE_LONG_LONG 1
  17338. | #define HAVE_OFF_T 1
  17339. | #define SIZEOF_INT 4
  17340. | #define SIZEOF_SHORT 2
  17341. | #define SIZEOF_LONG 8
  17342. | #define SIZEOF_LONG_LONG 8
  17343. | #define SIZEOF___INT64 0
  17344. | #define SIZEOF_OFF_T 8
  17345. | #define SIZEOF_VOIDP 8
  17346. | #define SIZEOF_FLOAT 4
  17347. | #define SIZEOF_DOUBLE 8
  17348. | #define SIZEOF_TIME_T 8
  17349. | #define SIZEOF_CLOCK_T 8
  17350. | #define PACKED_STRUCT(x) x __attribute__((packed))
  17351. | #define PACKED_STRUCT_UNALIGNED(x) x
  17352. | #define PRI_LL_PREFIX "ll"
  17353. | #define rb_pid_t pid_t
  17354. | #define SIGNEDNESS_OF_PID_T -1
  17355. | #define PIDT2NUM(v) INT2NUM(v)
  17356. | #define NUM2PIDT(v) NUM2INT(v)
  17357. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  17358. | #define rb_uid_t uid_t
  17359. | #define SIGNEDNESS_OF_UID_T +1
  17360. | #define UIDT2NUM(v) UINT2NUM(v)
  17361. | #define NUM2UIDT(v) NUM2UINT(v)
  17362. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  17363. | #define rb_gid_t gid_t
  17364. | #define SIGNEDNESS_OF_GID_T +1
  17365. | #define GIDT2NUM(v) UINT2NUM(v)
  17366. | #define NUM2GIDT(v) NUM2UINT(v)
  17367. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  17368. | #define rb_time_t time_t
  17369. | #define SIGNEDNESS_OF_TIME_T -1
  17370. | #define TIMET2NUM(v) LONG2NUM(v)
  17371. | #define NUM2TIMET(v) NUM2LONG(v)
  17372. | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
  17373. | #define rb_dev_t dev_t
  17374. | #define SIGNEDNESS_OF_DEV_T +1
  17375. | #define DEVT2NUM(v) ULONG2NUM(v)
  17376. | #define NUM2DEVT(v) NUM2ULONG(v)
  17377. | #define PRI_DEVT_PREFIX PRI_LONG_PREFIX
  17378. | #define rb_mode_t mode_t
  17379. | #define SIGNEDNESS_OF_MODE_T +1
  17380. | #define MODET2NUM(v) UINT2NUM(v)
  17381. | #define NUM2MODET(v) NUM2UINT(v)
  17382. | #define PRI_MODET_PREFIX PRI_INT_PREFIX
  17383. | #define rb_rlim_t rlim_t
  17384. | #define SIGNEDNESS_OF_RLIM_T +1
  17385. | #define RLIM2NUM(v) ULONG2NUM(v)
  17386. | #define NUM2RLIM(v) NUM2ULONG(v)
  17387. | #define PRI_RLIM_PREFIX PRI_LONG_PREFIX
  17388. | #define rb_off_t off_t
  17389. | #define SIGNEDNESS_OF_OFF_T -1
  17390. | #define OFFT2NUM(v) LONG2NUM(v)
  17391. | #define NUM2OFFT(v) NUM2LONG(v)
  17392. | #define PRI_OFFT_PREFIX PRI_LONG_PREFIX
  17393. | #define rb_clockid_t clockid_t
  17394. | #define SIGNEDNESS_OF_CLOCKID_T -1
  17395. | #define CLOCKID2NUM(v) INT2NUM(v)
  17396. | #define NUM2CLOCKID(v) NUM2INT(v)
  17397. | #define PRI_CLOCKID_PREFIX PRI_INT_PREFIX
  17398. | #define HAVE_PROTOTYPES 1
  17399. | #define TOKEN_PASTE(x,y) x##y
  17400. | #define STRINGIZE(expr) STRINGIZE0(expr)
  17401. | #define HAVE_STDARG_PROTOTYPES 1
  17402. | #define HAVE_VA_ARGS_MACRO 1
  17403. | #define NORETURN(x) __attribute__ ((noreturn)) x
  17404. | #define DEPRECATED(x) __attribute__ ((deprecated)) x
  17405. | #define DEPRECATED_BY(n,x) __attribute__ ((deprecated("by "#n))) x
  17406. | #define DEPRECATED_TYPE(mesg,x) __attribute__ ((deprecated mesg)) x
  17407. | #define NOINLINE(x) __attribute__ ((noinline)) x
  17408. | #define WEAK(x) __attribute__ ((weak)) x
  17409. | #define HAVE_FUNC_WEAK 1
  17410. | #define FUNC_UNOPTIMIZED(x) __attribute__ ((optimize("O0"))) x
  17411. | #define FUNC_MINIMIZED(x) __attribute__ ((optimize("-Os","-fomit-frame-pointer"))) x
  17412. | #define HAVE_ATTRIBUTE_FUNCTION_ALIAS 1
  17413. | #define RUBY_ALIAS_FUNCTION_TYPE(type, prot, name, args) type prot __attribute__((alias(#name)));
  17414. | #define RUBY_ALIAS_FUNCTION_VOID(prot, name, args) RUBY_ALIAS_FUNCTION_TYPE(void, prot, name, args)
  17415. | #define HAVE_GCC_ATOMIC_BUILTINS 1
  17416. | #define HAVE_GCC_SYNC_BUILTINS 1
  17417. | #define UNREACHABLE __builtin_unreachable()
  17418. | #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
  17419. | #define RUBY_FUNCTION_NAME_STRING __func__
  17420. | #define ENUM_OVER_INT 1
  17421. | #define HAVE_DECL_SYS_NERR 1
  17422. | #define HAVE_DECL_GETENV 1
  17423. | #define SIZEOF_SIZE_T 8
  17424. | #define SIZEOF_PTRDIFF_T 8
  17425. | #define PRI_SIZE_PREFIX "z"
  17426. | #define PRI_PTRDIFF_PREFIX "t"
  17427. | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
  17428. | #define HAVE_ST_BLKSIZE 1
  17429. | #define HAVE_STRUCT_STAT_ST_BLOCKS 1
  17430. | #define HAVE_ST_BLOCKS 1
  17431. | #define HAVE_STRUCT_STAT_ST_RDEV 1
  17432. | #define HAVE_ST_RDEV 1
  17433. | #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_OFF_T
  17434. | #define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_OFF_T
  17435. | #define SIZEOF_STRUCT_STAT_ST_INO SIZEOF_LONG
  17436. | #define HAVE_STRUCT_STAT_ST_ATIM 1
  17437. | #define HAVE_STRUCT_STAT_ST_MTIM 1
  17438. | #define HAVE_STRUCT_STAT_ST_CTIM 1
  17439. | #define HAVE_STRUCT_TIMEVAL 1
  17440. | #define SIZEOF_STRUCT_TIMEVAL_TV_SEC SIZEOF_TIME_T
  17441. | #define HAVE_STRUCT_TIMESPEC 1
  17442. | #define HAVE_STRUCT_TIMEZONE 1
  17443. | #define HAVE_CLOCKID_T 1
  17444. | #define HAVE_RB_FD_INIT 1
  17445. | #define HAVE_INT8_T 1
  17446. | #define SIZEOF_INT8_T 1
  17447. | #define HAVE_UINT8_T 1
  17448. | #define SIZEOF_UINT8_T 1
  17449. | #define HAVE_INT16_T 1
  17450. | #define SIZEOF_INT16_T 2
  17451. | #define HAVE_UINT16_T 1
  17452. | #define SIZEOF_UINT16_T 2
  17453. | #define HAVE_INT32_T 1
  17454. | #define SIZEOF_INT32_T 4
  17455. | #define HAVE_UINT32_T 1
  17456. | #define SIZEOF_UINT32_T 4
  17457. | #define HAVE_INT64_T 1
  17458. | #define SIZEOF_INT64_T 8
  17459. | #define HAVE_UINT64_T 1
  17460. | #define SIZEOF_UINT64_T 8
  17461. | #define HAVE_INTPTR_T 1
  17462. | #define SIZEOF_INTPTR_T 8
  17463. | #define HAVE_UINTPTR_T 1
  17464. | #define SIZEOF_UINTPTR_T 8
  17465. | #define HAVE_SSIZE_T 1
  17466. | #define SIZEOF_SSIZE_T 8
  17467. | #define STACK_END_ADDRESS __libc_stack_end
  17468. | #define GETGROUPS_T gid_t
  17469. | #define RETSIGTYPE void
  17470. | #define HAVE_ALLOCA_H 1
  17471. | #define HAVE_ALLOCA 1
  17472. | #define HAVE_ACOSH 1
  17473. | #define HAVE_CBRT 1
  17474. | #define HAVE_CRYPT 1
  17475. | #define HAVE_DUP2 1
  17476. | #define HAVE_ERF 1
  17477. | #define HAVE_EXPLICIT_BZERO 1
  17478. | #define HAVE_FFS 1
  17479. | #define HAVE_FINITE 1
  17480. | #define HAVE_FLOCK 1
  17481. | #define HAVE_HYPOT 1
  17482. | #define HAVE_ISINF 1
  17483. | #define HAVE_ISNAN 1
  17484. | #define HAVE_LGAMMA_R 1
  17485. | #define HAVE_MEMMOVE 1
  17486. | #define HAVE_NEXTAFTER 1
  17487. | #define HAVE_STRCHR 1
  17488. | #define HAVE_STRERROR 1
  17489. | #define HAVE_STRSTR 1
  17490. | #define HAVE_TGAMMA 1
  17491. | #define SPT_TYPE SPT_REUSEARGV
  17492. | #define HAVE_SIGNBIT 1
  17493. | #define HAVE_FORK 1
  17494. | #define HAVE_VFORK 1
  17495. | #define HAVE_WORKING_VFORK 1
  17496. | #define HAVE_WORKING_FORK 1
  17497. | #define HAVE__LONGJMP 1
  17498. | #define HAVE__SETJMP 1
  17499. | #define HAVE_ATAN2L 1
  17500. | #define HAVE_ATAN2F 1
  17501. | #define HAVE_CHROOT 1
  17502. | #define HAVE_CLOCK_GETTIME 1
  17503. | #define HAVE_COSH 1
  17504. | #define HAVE_DIRFD 1
  17505. | #define HAVE_DL_ITERATE_PHDR 1
  17506. | #define HAVE_DLOPEN 1
  17507. | #define HAVE_DLADDR 1
  17508. | #define HAVE_DUP 1
  17509. | #define HAVE_DUP3 1
  17510. | #define HAVE_EACCESS 1
  17511. | #define HAVE_ENDGRENT 1
  17512. | #define HAVE_FCHMOD 1
  17513. | #define HAVE_FCHOWN 1
  17514. | #define HAVE_FCNTL 1
  17515. | #define HAVE_FDATASYNC 1
  17516. | /* end confdefs.h. */
  17517. | /* Define fgetattrlist to an innocuous variant, in case <limits.h> declares fgetattrlist.
  17518. | For example, HP-UX 11i <limits.h> declares gettimeofday. */
  17519. | #define fgetattrlist innocuous_fgetattrlist
  17520. |
  17521. | /* System header to define __stub macros and hopefully few prototypes,
  17522. | which can conflict with char fgetattrlist (); below.
  17523. | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  17524. | <limits.h> exists even on freestanding compilers. */
  17525. |
  17526. | #ifdef __STDC__
  17527. | # include <limits.h>
  17528. | #else
  17529. | # include <assert.h>
  17530. | #endif
  17531. |
  17532. | #undef fgetattrlist
  17533. |
  17534. | /* Override any GCC internal prototype to avoid an error.
  17535. | Use char because int might match the return type of a GCC
  17536. | builtin and then its argument prototype would still apply. */
  17537. | #ifdef __cplusplus
  17538. | extern "C"
  17539. | #endif
  17540. | char fgetattrlist ();
  17541. | /* The GNU C library defines this for functions which it implements
  17542. | to always fail with ENOSYS. Some functions are actually named
  17543. | something starting with __ and the normal name is an alias. */
  17544. | #if defined __stub_fgetattrlist || defined __stub___fgetattrlist
  17545. | choke me
  17546. | #endif
  17547. |
  17548. | int
  17549. | main ()
  17550. | {
  17551. | return fgetattrlist ();
  17552. | ;
  17553. | return 0;
  17554. | }
  17555. configure:19115: result: no
  17556. configure:19126: checking for fmod
  17557. configure:19126: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  17558. conftest.c:267:6: warning: conflicting types for built-in function 'fmod' [-Wbuiltin-declaration-mismatch]
  17559. char fmod ();
  17560. ^~~~
  17561. configure:19126: $? = 0
  17562. configure:19126: result: yes
  17563. configure:19137: checking for fsync
  17564. configure:19137: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  17565. configure:19137: $? = 0
  17566. configure:19137: result: yes
  17567. configure:19148: checking for ftruncate
  17568. configure:19148: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  17569. configure:19148: $? = 0
  17570. configure:19148: result: yes
  17571. configure:19159: checking for ftruncate64
  17572. configure:19159: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  17573. configure:19159: $? = 0
  17574. configure:19159: result: yes
  17575. configure:19170: checking for getattrlist
  17576. configure:19170: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  17577. /tmp/ccHgrlPS.o: In function `main':
  17578. /usr/share/rvm/src/ruby-2.3.0/conftest.c:282: undefined reference to `getattrlist'
  17579. collect2: error: ld returned 1 exit status
  17580. configure:19170: $? = 1
  17581. configure: failed program was:
  17582. | /* confdefs.h */
  17583. | #define PACKAGE_NAME ""
  17584. | #define PACKAGE_TARNAME ""
  17585. | #define PACKAGE_VERSION ""
  17586. | #define PACKAGE_STRING ""
  17587. | #define PACKAGE_BUGREPORT ""
  17588. | #define PACKAGE_URL ""
  17589. | #define CANONICALIZATION_FOR_MATHN 1
  17590. | #define STDC_HEADERS 1
  17591. | #define HAVE_SYS_TYPES_H 1
  17592. | #define HAVE_SYS_STAT_H 1
  17593. | #define HAVE_STDLIB_H 1
  17594. | #define HAVE_STRING_H 1
  17595. | #define HAVE_MEMORY_H 1
  17596. | #define HAVE_STRINGS_H 1
  17597. | #define HAVE_INTTYPES_H 1
  17598. | #define HAVE_STDINT_H 1
  17599. | #define HAVE_UNISTD_H 1
  17600. | #define __EXTENSIONS__ 1
  17601. | #define _ALL_SOURCE 1
  17602. | #define _GNU_SOURCE 1
  17603. | #define _POSIX_PTHREAD_SEMANTICS 1
  17604. | #define _TANDEM_SOURCE 1
  17605. | #define HAVE_INFINITY 1
  17606. | #define HAVE_NAN 1
  17607. | #define RUBY_SYMBOL_EXPORT_BEGIN _Pragma("GCC visibility push(default)")
  17608. | #define RUBY_SYMBOL_EXPORT_END _Pragma("GCC visibility pop")
  17609. | #define HAVE_LIBCRYPT 1
  17610. | #define HAVE_LIBDL 1
  17611. | #define HAVE_DIRENT_H 1
  17612. | #define HAVE__BOOL 1
  17613. | #define HAVE_STDBOOL_H 1
  17614. | #define HAVE_SYS_WAIT_H 1
  17615. | #define HAVE_A_OUT_H 1
  17616. | #define HAVE_GRP_H 1
  17617. | #define HAVE_FCNTL_H 1
  17618. | #define HAVE_FLOAT_H 1
  17619. | #define HAVE_LANGINFO_H 1
  17620. | #define HAVE_LIMITS_H 1
  17621. | #define HAVE_LOCALE_H 1
  17622. | #define HAVE_MALLOC_H 1
  17623. | #define HAVE_PWD_H 1
  17624. | #define HAVE_SYS_FCNTL_H 1
  17625. | #define HAVE_SYS_FILE_H 1
  17626. | #define HAVE_SYS_IOCTL_H 1
  17627. | #define HAVE_SYS_PARAM_H 1
  17628. | #define HAVE_SYS_PRCTL_H 1
  17629. | #define HAVE_SYS_RESOURCE_H 1
  17630. | #define HAVE_SYS_SELECT_H 1
  17631. | #define HAVE_SYS_SENDFILE_H 1
  17632. | #define HAVE_SYS_SOCKET_H 1
  17633. | #define HAVE_SYS_SYSCALL_H 1
  17634. | #define HAVE_SYS_TIME_H 1
  17635. | #define HAVE_SYS_TIMES_H 1
  17636. | #define HAVE_SYS_UIO_H 1
  17637. | #define HAVE_SYSCALL_H 1
  17638. | #define HAVE_TIME_H 1
  17639. | #define HAVE_UCONTEXT_H 1
  17640. | #define HAVE_UTIME_H 1
  17641. | #define HAVE_GMP_H 1
  17642. | #define HAVE_LIBGMP 1
  17643. | #define HAVE_TYPEOF 1
  17644. | #define typeof __typeof__
  17645. | #define HAVE_LONG_LONG 1
  17646. | #define HAVE_OFF_T 1
  17647. | #define SIZEOF_INT 4
  17648. | #define SIZEOF_SHORT 2
  17649. | #define SIZEOF_LONG 8
  17650. | #define SIZEOF_LONG_LONG 8
  17651. | #define SIZEOF___INT64 0
  17652. | #define SIZEOF_OFF_T 8
  17653. | #define SIZEOF_VOIDP 8
  17654. | #define SIZEOF_FLOAT 4
  17655. | #define SIZEOF_DOUBLE 8
  17656. | #define SIZEOF_TIME_T 8
  17657. | #define SIZEOF_CLOCK_T 8
  17658. | #define PACKED_STRUCT(x) x __attribute__((packed))
  17659. | #define PACKED_STRUCT_UNALIGNED(x) x
  17660. | #define PRI_LL_PREFIX "ll"
  17661. | #define rb_pid_t pid_t
  17662. | #define SIGNEDNESS_OF_PID_T -1
  17663. | #define PIDT2NUM(v) INT2NUM(v)
  17664. | #define NUM2PIDT(v) NUM2INT(v)
  17665. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  17666. | #define rb_uid_t uid_t
  17667. | #define SIGNEDNESS_OF_UID_T +1
  17668. | #define UIDT2NUM(v) UINT2NUM(v)
  17669. | #define NUM2UIDT(v) NUM2UINT(v)
  17670. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  17671. | #define rb_gid_t gid_t
  17672. | #define SIGNEDNESS_OF_GID_T +1
  17673. | #define GIDT2NUM(v) UINT2NUM(v)
  17674. | #define NUM2GIDT(v) NUM2UINT(v)
  17675. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  17676. | #define rb_time_t time_t
  17677. | #define SIGNEDNESS_OF_TIME_T -1
  17678. | #define TIMET2NUM(v) LONG2NUM(v)
  17679. | #define NUM2TIMET(v) NUM2LONG(v)
  17680. | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
  17681. | #define rb_dev_t dev_t
  17682. | #define SIGNEDNESS_OF_DEV_T +1
  17683. | #define DEVT2NUM(v) ULONG2NUM(v)
  17684. | #define NUM2DEVT(v) NUM2ULONG(v)
  17685. | #define PRI_DEVT_PREFIX PRI_LONG_PREFIX
  17686. | #define rb_mode_t mode_t
  17687. | #define SIGNEDNESS_OF_MODE_T +1
  17688. | #define MODET2NUM(v) UINT2NUM(v)
  17689. | #define NUM2MODET(v) NUM2UINT(v)
  17690. | #define PRI_MODET_PREFIX PRI_INT_PREFIX
  17691. | #define rb_rlim_t rlim_t
  17692. | #define SIGNEDNESS_OF_RLIM_T +1
  17693. | #define RLIM2NUM(v) ULONG2NUM(v)
  17694. | #define NUM2RLIM(v) NUM2ULONG(v)
  17695. | #define PRI_RLIM_PREFIX PRI_LONG_PREFIX
  17696. | #define rb_off_t off_t
  17697. | #define SIGNEDNESS_OF_OFF_T -1
  17698. | #define OFFT2NUM(v) LONG2NUM(v)
  17699. | #define NUM2OFFT(v) NUM2LONG(v)
  17700. | #define PRI_OFFT_PREFIX PRI_LONG_PREFIX
  17701. | #define rb_clockid_t clockid_t
  17702. | #define SIGNEDNESS_OF_CLOCKID_T -1
  17703. | #define CLOCKID2NUM(v) INT2NUM(v)
  17704. | #define NUM2CLOCKID(v) NUM2INT(v)
  17705. | #define PRI_CLOCKID_PREFIX PRI_INT_PREFIX
  17706. | #define HAVE_PROTOTYPES 1
  17707. | #define TOKEN_PASTE(x,y) x##y
  17708. | #define STRINGIZE(expr) STRINGIZE0(expr)
  17709. | #define HAVE_STDARG_PROTOTYPES 1
  17710. | #define HAVE_VA_ARGS_MACRO 1
  17711. | #define NORETURN(x) __attribute__ ((noreturn)) x
  17712. | #define DEPRECATED(x) __attribute__ ((deprecated)) x
  17713. | #define DEPRECATED_BY(n,x) __attribute__ ((deprecated("by "#n))) x
  17714. | #define DEPRECATED_TYPE(mesg,x) __attribute__ ((deprecated mesg)) x
  17715. | #define NOINLINE(x) __attribute__ ((noinline)) x
  17716. | #define WEAK(x) __attribute__ ((weak)) x
  17717. | #define HAVE_FUNC_WEAK 1
  17718. | #define FUNC_UNOPTIMIZED(x) __attribute__ ((optimize("O0"))) x
  17719. | #define FUNC_MINIMIZED(x) __attribute__ ((optimize("-Os","-fomit-frame-pointer"))) x
  17720. | #define HAVE_ATTRIBUTE_FUNCTION_ALIAS 1
  17721. | #define RUBY_ALIAS_FUNCTION_TYPE(type, prot, name, args) type prot __attribute__((alias(#name)));
  17722. | #define RUBY_ALIAS_FUNCTION_VOID(prot, name, args) RUBY_ALIAS_FUNCTION_TYPE(void, prot, name, args)
  17723. | #define HAVE_GCC_ATOMIC_BUILTINS 1
  17724. | #define HAVE_GCC_SYNC_BUILTINS 1
  17725. | #define UNREACHABLE __builtin_unreachable()
  17726. | #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
  17727. | #define RUBY_FUNCTION_NAME_STRING __func__
  17728. | #define ENUM_OVER_INT 1
  17729. | #define HAVE_DECL_SYS_NERR 1
  17730. | #define HAVE_DECL_GETENV 1
  17731. | #define SIZEOF_SIZE_T 8
  17732. | #define SIZEOF_PTRDIFF_T 8
  17733. | #define PRI_SIZE_PREFIX "z"
  17734. | #define PRI_PTRDIFF_PREFIX "t"
  17735. | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
  17736. | #define HAVE_ST_BLKSIZE 1
  17737. | #define HAVE_STRUCT_STAT_ST_BLOCKS 1
  17738. | #define HAVE_ST_BLOCKS 1
  17739. | #define HAVE_STRUCT_STAT_ST_RDEV 1
  17740. | #define HAVE_ST_RDEV 1
  17741. | #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_OFF_T
  17742. | #define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_OFF_T
  17743. | #define SIZEOF_STRUCT_STAT_ST_INO SIZEOF_LONG
  17744. | #define HAVE_STRUCT_STAT_ST_ATIM 1
  17745. | #define HAVE_STRUCT_STAT_ST_MTIM 1
  17746. | #define HAVE_STRUCT_STAT_ST_CTIM 1
  17747. | #define HAVE_STRUCT_TIMEVAL 1
  17748. | #define SIZEOF_STRUCT_TIMEVAL_TV_SEC SIZEOF_TIME_T
  17749. | #define HAVE_STRUCT_TIMESPEC 1
  17750. | #define HAVE_STRUCT_TIMEZONE 1
  17751. | #define HAVE_CLOCKID_T 1
  17752. | #define HAVE_RB_FD_INIT 1
  17753. | #define HAVE_INT8_T 1
  17754. | #define SIZEOF_INT8_T 1
  17755. | #define HAVE_UINT8_T 1
  17756. | #define SIZEOF_UINT8_T 1
  17757. | #define HAVE_INT16_T 1
  17758. | #define SIZEOF_INT16_T 2
  17759. | #define HAVE_UINT16_T 1
  17760. | #define SIZEOF_UINT16_T 2
  17761. | #define HAVE_INT32_T 1
  17762. | #define SIZEOF_INT32_T 4
  17763. | #define HAVE_UINT32_T 1
  17764. | #define SIZEOF_UINT32_T 4
  17765. | #define HAVE_INT64_T 1
  17766. | #define SIZEOF_INT64_T 8
  17767. | #define HAVE_UINT64_T 1
  17768. | #define SIZEOF_UINT64_T 8
  17769. | #define HAVE_INTPTR_T 1
  17770. | #define SIZEOF_INTPTR_T 8
  17771. | #define HAVE_UINTPTR_T 1
  17772. | #define SIZEOF_UINTPTR_T 8
  17773. | #define HAVE_SSIZE_T 1
  17774. | #define SIZEOF_SSIZE_T 8
  17775. | #define STACK_END_ADDRESS __libc_stack_end
  17776. | #define GETGROUPS_T gid_t
  17777. | #define RETSIGTYPE void
  17778. | #define HAVE_ALLOCA_H 1
  17779. | #define HAVE_ALLOCA 1
  17780. | #define HAVE_ACOSH 1
  17781. | #define HAVE_CBRT 1
  17782. | #define HAVE_CRYPT 1
  17783. | #define HAVE_DUP2 1
  17784. | #define HAVE_ERF 1
  17785. | #define HAVE_EXPLICIT_BZERO 1
  17786. | #define HAVE_FFS 1
  17787. | #define HAVE_FINITE 1
  17788. | #define HAVE_FLOCK 1
  17789. | #define HAVE_HYPOT 1
  17790. | #define HAVE_ISINF 1
  17791. | #define HAVE_ISNAN 1
  17792. | #define HAVE_LGAMMA_R 1
  17793. | #define HAVE_MEMMOVE 1
  17794. | #define HAVE_NEXTAFTER 1
  17795. | #define HAVE_STRCHR 1
  17796. | #define HAVE_STRERROR 1
  17797. | #define HAVE_STRSTR 1
  17798. | #define HAVE_TGAMMA 1
  17799. | #define SPT_TYPE SPT_REUSEARGV
  17800. | #define HAVE_SIGNBIT 1
  17801. | #define HAVE_FORK 1
  17802. | #define HAVE_VFORK 1
  17803. | #define HAVE_WORKING_VFORK 1
  17804. | #define HAVE_WORKING_FORK 1
  17805. | #define HAVE__LONGJMP 1
  17806. | #define HAVE__SETJMP 1
  17807. | #define HAVE_ATAN2L 1
  17808. | #define HAVE_ATAN2F 1
  17809. | #define HAVE_CHROOT 1
  17810. | #define HAVE_CLOCK_GETTIME 1
  17811. | #define HAVE_COSH 1
  17812. | #define HAVE_DIRFD 1
  17813. | #define HAVE_DL_ITERATE_PHDR 1
  17814. | #define HAVE_DLOPEN 1
  17815. | #define HAVE_DLADDR 1
  17816. | #define HAVE_DUP 1
  17817. | #define HAVE_DUP3 1
  17818. | #define HAVE_EACCESS 1
  17819. | #define HAVE_ENDGRENT 1
  17820. | #define HAVE_FCHMOD 1
  17821. | #define HAVE_FCHOWN 1
  17822. | #define HAVE_FCNTL 1
  17823. | #define HAVE_FDATASYNC 1
  17824. | #define HAVE_FMOD 1
  17825. | #define HAVE_FSYNC 1
  17826. | #define HAVE_FTRUNCATE 1
  17827. | #define HAVE_FTRUNCATE64 1
  17828. | /* end confdefs.h. */
  17829. | /* Define getattrlist to an innocuous variant, in case <limits.h> declares getattrlist.
  17830. | For example, HP-UX 11i <limits.h> declares gettimeofday. */
  17831. | #define getattrlist innocuous_getattrlist
  17832. |
  17833. | /* System header to define __stub macros and hopefully few prototypes,
  17834. | which can conflict with char getattrlist (); below.
  17835. | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  17836. | <limits.h> exists even on freestanding compilers. */
  17837. |
  17838. | #ifdef __STDC__
  17839. | # include <limits.h>
  17840. | #else
  17841. | # include <assert.h>
  17842. | #endif
  17843. |
  17844. | #undef getattrlist
  17845. |
  17846. | /* Override any GCC internal prototype to avoid an error.
  17847. | Use char because int might match the return type of a GCC
  17848. | builtin and then its argument prototype would still apply. */
  17849. | #ifdef __cplusplus
  17850. | extern "C"
  17851. | #endif
  17852. | char getattrlist ();
  17853. | /* The GNU C library defines this for functions which it implements
  17854. | to always fail with ENOSYS. Some functions are actually named
  17855. | something starting with __ and the normal name is an alias. */
  17856. | #if defined __stub_getattrlist || defined __stub___getattrlist
  17857. | choke me
  17858. | #endif
  17859. |
  17860. | int
  17861. | main ()
  17862. | {
  17863. | return getattrlist ();
  17864. | ;
  17865. | return 0;
  17866. | }
  17867. configure:19170: result: no
  17868. configure:19181: checking for getcwd
  17869. configure:19181: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  17870. configure:19181: $? = 0
  17871. configure:19181: result: yes
  17872. configure:19192: checking for getgidx
  17873. configure:19192: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  17874. /tmp/cclC0zH1.o: In function `main':
  17875. /usr/share/rvm/src/ruby-2.3.0/conftest.c:283: undefined reference to `getgidx'
  17876. collect2: error: ld returned 1 exit status
  17877. configure:19192: $? = 1
  17878. configure: failed program was:
  17879. | /* confdefs.h */
  17880. | #define PACKAGE_NAME ""
  17881. | #define PACKAGE_TARNAME ""
  17882. | #define PACKAGE_VERSION ""
  17883. | #define PACKAGE_STRING ""
  17884. | #define PACKAGE_BUGREPORT ""
  17885. | #define PACKAGE_URL ""
  17886. | #define CANONICALIZATION_FOR_MATHN 1
  17887. | #define STDC_HEADERS 1
  17888. | #define HAVE_SYS_TYPES_H 1
  17889. | #define HAVE_SYS_STAT_H 1
  17890. | #define HAVE_STDLIB_H 1
  17891. | #define HAVE_STRING_H 1
  17892. | #define HAVE_MEMORY_H 1
  17893. | #define HAVE_STRINGS_H 1
  17894. | #define HAVE_INTTYPES_H 1
  17895. | #define HAVE_STDINT_H 1
  17896. | #define HAVE_UNISTD_H 1
  17897. | #define __EXTENSIONS__ 1
  17898. | #define _ALL_SOURCE 1
  17899. | #define _GNU_SOURCE 1
  17900. | #define _POSIX_PTHREAD_SEMANTICS 1
  17901. | #define _TANDEM_SOURCE 1
  17902. | #define HAVE_INFINITY 1
  17903. | #define HAVE_NAN 1
  17904. | #define RUBY_SYMBOL_EXPORT_BEGIN _Pragma("GCC visibility push(default)")
  17905. | #define RUBY_SYMBOL_EXPORT_END _Pragma("GCC visibility pop")
  17906. | #define HAVE_LIBCRYPT 1
  17907. | #define HAVE_LIBDL 1
  17908. | #define HAVE_DIRENT_H 1
  17909. | #define HAVE__BOOL 1
  17910. | #define HAVE_STDBOOL_H 1
  17911. | #define HAVE_SYS_WAIT_H 1
  17912. | #define HAVE_A_OUT_H 1
  17913. | #define HAVE_GRP_H 1
  17914. | #define HAVE_FCNTL_H 1
  17915. | #define HAVE_FLOAT_H 1
  17916. | #define HAVE_LANGINFO_H 1
  17917. | #define HAVE_LIMITS_H 1
  17918. | #define HAVE_LOCALE_H 1
  17919. | #define HAVE_MALLOC_H 1
  17920. | #define HAVE_PWD_H 1
  17921. | #define HAVE_SYS_FCNTL_H 1
  17922. | #define HAVE_SYS_FILE_H 1
  17923. | #define HAVE_SYS_IOCTL_H 1
  17924. | #define HAVE_SYS_PARAM_H 1
  17925. | #define HAVE_SYS_PRCTL_H 1
  17926. | #define HAVE_SYS_RESOURCE_H 1
  17927. | #define HAVE_SYS_SELECT_H 1
  17928. | #define HAVE_SYS_SENDFILE_H 1
  17929. | #define HAVE_SYS_SOCKET_H 1
  17930. | #define HAVE_SYS_SYSCALL_H 1
  17931. | #define HAVE_SYS_TIME_H 1
  17932. | #define HAVE_SYS_TIMES_H 1
  17933. | #define HAVE_SYS_UIO_H 1
  17934. | #define HAVE_SYSCALL_H 1
  17935. | #define HAVE_TIME_H 1
  17936. | #define HAVE_UCONTEXT_H 1
  17937. | #define HAVE_UTIME_H 1
  17938. | #define HAVE_GMP_H 1
  17939. | #define HAVE_LIBGMP 1
  17940. | #define HAVE_TYPEOF 1
  17941. | #define typeof __typeof__
  17942. | #define HAVE_LONG_LONG 1
  17943. | #define HAVE_OFF_T 1
  17944. | #define SIZEOF_INT 4
  17945. | #define SIZEOF_SHORT 2
  17946. | #define SIZEOF_LONG 8
  17947. | #define SIZEOF_LONG_LONG 8
  17948. | #define SIZEOF___INT64 0
  17949. | #define SIZEOF_OFF_T 8
  17950. | #define SIZEOF_VOIDP 8
  17951. | #define SIZEOF_FLOAT 4
  17952. | #define SIZEOF_DOUBLE 8
  17953. | #define SIZEOF_TIME_T 8
  17954. | #define SIZEOF_CLOCK_T 8
  17955. | #define PACKED_STRUCT(x) x __attribute__((packed))
  17956. | #define PACKED_STRUCT_UNALIGNED(x) x
  17957. | #define PRI_LL_PREFIX "ll"
  17958. | #define rb_pid_t pid_t
  17959. | #define SIGNEDNESS_OF_PID_T -1
  17960. | #define PIDT2NUM(v) INT2NUM(v)
  17961. | #define NUM2PIDT(v) NUM2INT(v)
  17962. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  17963. | #define rb_uid_t uid_t
  17964. | #define SIGNEDNESS_OF_UID_T +1
  17965. | #define UIDT2NUM(v) UINT2NUM(v)
  17966. | #define NUM2UIDT(v) NUM2UINT(v)
  17967. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  17968. | #define rb_gid_t gid_t
  17969. | #define SIGNEDNESS_OF_GID_T +1
  17970. | #define GIDT2NUM(v) UINT2NUM(v)
  17971. | #define NUM2GIDT(v) NUM2UINT(v)
  17972. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  17973. | #define rb_time_t time_t
  17974. | #define SIGNEDNESS_OF_TIME_T -1
  17975. | #define TIMET2NUM(v) LONG2NUM(v)
  17976. | #define NUM2TIMET(v) NUM2LONG(v)
  17977. | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
  17978. | #define rb_dev_t dev_t
  17979. | #define SIGNEDNESS_OF_DEV_T +1
  17980. | #define DEVT2NUM(v) ULONG2NUM(v)
  17981. | #define NUM2DEVT(v) NUM2ULONG(v)
  17982. | #define PRI_DEVT_PREFIX PRI_LONG_PREFIX
  17983. | #define rb_mode_t mode_t
  17984. | #define SIGNEDNESS_OF_MODE_T +1
  17985. | #define MODET2NUM(v) UINT2NUM(v)
  17986. | #define NUM2MODET(v) NUM2UINT(v)
  17987. | #define PRI_MODET_PREFIX PRI_INT_PREFIX
  17988. | #define rb_rlim_t rlim_t
  17989. | #define SIGNEDNESS_OF_RLIM_T +1
  17990. | #define RLIM2NUM(v) ULONG2NUM(v)
  17991. | #define NUM2RLIM(v) NUM2ULONG(v)
  17992. | #define PRI_RLIM_PREFIX PRI_LONG_PREFIX
  17993. | #define rb_off_t off_t
  17994. | #define SIGNEDNESS_OF_OFF_T -1
  17995. | #define OFFT2NUM(v) LONG2NUM(v)
  17996. | #define NUM2OFFT(v) NUM2LONG(v)
  17997. | #define PRI_OFFT_PREFIX PRI_LONG_PREFIX
  17998. | #define rb_clockid_t clockid_t
  17999. | #define SIGNEDNESS_OF_CLOCKID_T -1
  18000. | #define CLOCKID2NUM(v) INT2NUM(v)
  18001. | #define NUM2CLOCKID(v) NUM2INT(v)
  18002. | #define PRI_CLOCKID_PREFIX PRI_INT_PREFIX
  18003. | #define HAVE_PROTOTYPES 1
  18004. | #define TOKEN_PASTE(x,y) x##y
  18005. | #define STRINGIZE(expr) STRINGIZE0(expr)
  18006. | #define HAVE_STDARG_PROTOTYPES 1
  18007. | #define HAVE_VA_ARGS_MACRO 1
  18008. | #define NORETURN(x) __attribute__ ((noreturn)) x
  18009. | #define DEPRECATED(x) __attribute__ ((deprecated)) x
  18010. | #define DEPRECATED_BY(n,x) __attribute__ ((deprecated("by "#n))) x
  18011. | #define DEPRECATED_TYPE(mesg,x) __attribute__ ((deprecated mesg)) x
  18012. | #define NOINLINE(x) __attribute__ ((noinline)) x
  18013. | #define WEAK(x) __attribute__ ((weak)) x
  18014. | #define HAVE_FUNC_WEAK 1
  18015. | #define FUNC_UNOPTIMIZED(x) __attribute__ ((optimize("O0"))) x
  18016. | #define FUNC_MINIMIZED(x) __attribute__ ((optimize("-Os","-fomit-frame-pointer"))) x
  18017. | #define HAVE_ATTRIBUTE_FUNCTION_ALIAS 1
  18018. | #define RUBY_ALIAS_FUNCTION_TYPE(type, prot, name, args) type prot __attribute__((alias(#name)));
  18019. | #define RUBY_ALIAS_FUNCTION_VOID(prot, name, args) RUBY_ALIAS_FUNCTION_TYPE(void, prot, name, args)
  18020. | #define HAVE_GCC_ATOMIC_BUILTINS 1
  18021. | #define HAVE_GCC_SYNC_BUILTINS 1
  18022. | #define UNREACHABLE __builtin_unreachable()
  18023. | #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
  18024. | #define RUBY_FUNCTION_NAME_STRING __func__
  18025. | #define ENUM_OVER_INT 1
  18026. | #define HAVE_DECL_SYS_NERR 1
  18027. | #define HAVE_DECL_GETENV 1
  18028. | #define SIZEOF_SIZE_T 8
  18029. | #define SIZEOF_PTRDIFF_T 8
  18030. | #define PRI_SIZE_PREFIX "z"
  18031. | #define PRI_PTRDIFF_PREFIX "t"
  18032. | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
  18033. | #define HAVE_ST_BLKSIZE 1
  18034. | #define HAVE_STRUCT_STAT_ST_BLOCKS 1
  18035. | #define HAVE_ST_BLOCKS 1
  18036. | #define HAVE_STRUCT_STAT_ST_RDEV 1
  18037. | #define HAVE_ST_RDEV 1
  18038. | #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_OFF_T
  18039. | #define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_OFF_T
  18040. | #define SIZEOF_STRUCT_STAT_ST_INO SIZEOF_LONG
  18041. | #define HAVE_STRUCT_STAT_ST_ATIM 1
  18042. | #define HAVE_STRUCT_STAT_ST_MTIM 1
  18043. | #define HAVE_STRUCT_STAT_ST_CTIM 1
  18044. | #define HAVE_STRUCT_TIMEVAL 1
  18045. | #define SIZEOF_STRUCT_TIMEVAL_TV_SEC SIZEOF_TIME_T
  18046. | #define HAVE_STRUCT_TIMESPEC 1
  18047. | #define HAVE_STRUCT_TIMEZONE 1
  18048. | #define HAVE_CLOCKID_T 1
  18049. | #define HAVE_RB_FD_INIT 1
  18050. | #define HAVE_INT8_T 1
  18051. | #define SIZEOF_INT8_T 1
  18052. | #define HAVE_UINT8_T 1
  18053. | #define SIZEOF_UINT8_T 1
  18054. | #define HAVE_INT16_T 1
  18055. | #define SIZEOF_INT16_T 2
  18056. | #define HAVE_UINT16_T 1
  18057. | #define SIZEOF_UINT16_T 2
  18058. | #define HAVE_INT32_T 1
  18059. | #define SIZEOF_INT32_T 4
  18060. | #define HAVE_UINT32_T 1
  18061. | #define SIZEOF_UINT32_T 4
  18062. | #define HAVE_INT64_T 1
  18063. | #define SIZEOF_INT64_T 8
  18064. | #define HAVE_UINT64_T 1
  18065. | #define SIZEOF_UINT64_T 8
  18066. | #define HAVE_INTPTR_T 1
  18067. | #define SIZEOF_INTPTR_T 8
  18068. | #define HAVE_UINTPTR_T 1
  18069. | #define SIZEOF_UINTPTR_T 8
  18070. | #define HAVE_SSIZE_T 1
  18071. | #define SIZEOF_SSIZE_T 8
  18072. | #define STACK_END_ADDRESS __libc_stack_end
  18073. | #define GETGROUPS_T gid_t
  18074. | #define RETSIGTYPE void
  18075. | #define HAVE_ALLOCA_H 1
  18076. | #define HAVE_ALLOCA 1
  18077. | #define HAVE_ACOSH 1
  18078. | #define HAVE_CBRT 1
  18079. | #define HAVE_CRYPT 1
  18080. | #define HAVE_DUP2 1
  18081. | #define HAVE_ERF 1
  18082. | #define HAVE_EXPLICIT_BZERO 1
  18083. | #define HAVE_FFS 1
  18084. | #define HAVE_FINITE 1
  18085. | #define HAVE_FLOCK 1
  18086. | #define HAVE_HYPOT 1
  18087. | #define HAVE_ISINF 1
  18088. | #define HAVE_ISNAN 1
  18089. | #define HAVE_LGAMMA_R 1
  18090. | #define HAVE_MEMMOVE 1
  18091. | #define HAVE_NEXTAFTER 1
  18092. | #define HAVE_STRCHR 1
  18093. | #define HAVE_STRERROR 1
  18094. | #define HAVE_STRSTR 1
  18095. | #define HAVE_TGAMMA 1
  18096. | #define SPT_TYPE SPT_REUSEARGV
  18097. | #define HAVE_SIGNBIT 1
  18098. | #define HAVE_FORK 1
  18099. | #define HAVE_VFORK 1
  18100. | #define HAVE_WORKING_VFORK 1
  18101. | #define HAVE_WORKING_FORK 1
  18102. | #define HAVE__LONGJMP 1
  18103. | #define HAVE__SETJMP 1
  18104. | #define HAVE_ATAN2L 1
  18105. | #define HAVE_ATAN2F 1
  18106. | #define HAVE_CHROOT 1
  18107. | #define HAVE_CLOCK_GETTIME 1
  18108. | #define HAVE_COSH 1
  18109. | #define HAVE_DIRFD 1
  18110. | #define HAVE_DL_ITERATE_PHDR 1
  18111. | #define HAVE_DLOPEN 1
  18112. | #define HAVE_DLADDR 1
  18113. | #define HAVE_DUP 1
  18114. | #define HAVE_DUP3 1
  18115. | #define HAVE_EACCESS 1
  18116. | #define HAVE_ENDGRENT 1
  18117. | #define HAVE_FCHMOD 1
  18118. | #define HAVE_FCHOWN 1
  18119. | #define HAVE_FCNTL 1
  18120. | #define HAVE_FDATASYNC 1
  18121. | #define HAVE_FMOD 1
  18122. | #define HAVE_FSYNC 1
  18123. | #define HAVE_FTRUNCATE 1
  18124. | #define HAVE_FTRUNCATE64 1
  18125. | #define HAVE_GETCWD 1
  18126. | /* end confdefs.h. */
  18127. | /* Define getgidx to an innocuous variant, in case <limits.h> declares getgidx.
  18128. | For example, HP-UX 11i <limits.h> declares gettimeofday. */
  18129. | #define getgidx innocuous_getgidx
  18130. |
  18131. | /* System header to define __stub macros and hopefully few prototypes,
  18132. | which can conflict with char getgidx (); below.
  18133. | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  18134. | <limits.h> exists even on freestanding compilers. */
  18135. |
  18136. | #ifdef __STDC__
  18137. | # include <limits.h>
  18138. | #else
  18139. | # include <assert.h>
  18140. | #endif
  18141. |
  18142. | #undef getgidx
  18143. |
  18144. | /* Override any GCC internal prototype to avoid an error.
  18145. | Use char because int might match the return type of a GCC
  18146. | builtin and then its argument prototype would still apply. */
  18147. | #ifdef __cplusplus
  18148. | extern "C"
  18149. | #endif
  18150. | char getgidx ();
  18151. | /* The GNU C library defines this for functions which it implements
  18152. | to always fail with ENOSYS. Some functions are actually named
  18153. | something starting with __ and the normal name is an alias. */
  18154. | #if defined __stub_getgidx || defined __stub___getgidx
  18155. | choke me
  18156. | #endif
  18157. |
  18158. | int
  18159. | main ()
  18160. | {
  18161. | return getgidx ();
  18162. | ;
  18163. | return 0;
  18164. | }
  18165. configure:19192: result: no
  18166. configure:19203: checking for getgrnam
  18167. configure:19203: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  18168. configure:19203: $? = 0
  18169. configure:19203: result: yes
  18170. configure:19214: checking for getgrnam_r
  18171. configure:19214: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  18172. configure:19214: $? = 0
  18173. configure:19214: result: yes
  18174. configure:19225: checking for getgroups
  18175. configure:19225: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  18176. configure:19225: $? = 0
  18177. configure:19225: result: yes
  18178. configure:19236: checking for getpgid
  18179. configure:19236: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  18180. configure:19236: $? = 0
  18181. configure:19236: result: yes
  18182. configure:19247: checking for getpgrp
  18183. configure:19247: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  18184. configure:19247: $? = 0
  18185. configure:19247: result: yes
  18186. configure:19258: checking for getpriority
  18187. configure:19258: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  18188. configure:19258: $? = 0
  18189. configure:19258: result: yes
  18190. configure:19269: checking for getpwnam_r
  18191. configure:19269: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  18192. configure:19269: $? = 0
  18193. configure:19269: result: yes
  18194. configure:19280: checking for getresgid
  18195. configure:19280: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  18196. configure:19280: $? = 0
  18197. configure:19280: result: yes
  18198. configure:19291: checking for getresuid
  18199. configure:19291: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  18200. configure:19291: $? = 0
  18201. configure:19291: result: yes
  18202. configure:19302: checking for getrlimit
  18203. configure:19302: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  18204. configure:19302: $? = 0
  18205. configure:19302: result: yes
  18206. configure:19313: checking for getsid
  18207. configure:19313: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  18208. configure:19313: $? = 0
  18209. configure:19313: result: yes
  18210. configure:19324: checking for gettimeofday
  18211. configure:19324: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  18212. configure:19324: $? = 0
  18213. configure:19324: result: yes
  18214. configure:19335: checking for getuidx
  18215. configure:19335: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  18216. /tmp/ccaL7N3R.o: In function `main':
  18217. /usr/share/rvm/src/ruby-2.3.0/conftest.c:295: undefined reference to `getuidx'
  18218. collect2: error: ld returned 1 exit status
  18219. configure:19335: $? = 1
  18220. configure: failed program was:
  18221. | /* confdefs.h */
  18222. | #define PACKAGE_NAME ""
  18223. | #define PACKAGE_TARNAME ""
  18224. | #define PACKAGE_VERSION ""
  18225. | #define PACKAGE_STRING ""
  18226. | #define PACKAGE_BUGREPORT ""
  18227. | #define PACKAGE_URL ""
  18228. | #define CANONICALIZATION_FOR_MATHN 1
  18229. | #define STDC_HEADERS 1
  18230. | #define HAVE_SYS_TYPES_H 1
  18231. | #define HAVE_SYS_STAT_H 1
  18232. | #define HAVE_STDLIB_H 1
  18233. | #define HAVE_STRING_H 1
  18234. | #define HAVE_MEMORY_H 1
  18235. | #define HAVE_STRINGS_H 1
  18236. | #define HAVE_INTTYPES_H 1
  18237. | #define HAVE_STDINT_H 1
  18238. | #define HAVE_UNISTD_H 1
  18239. | #define __EXTENSIONS__ 1
  18240. | #define _ALL_SOURCE 1
  18241. | #define _GNU_SOURCE 1
  18242. | #define _POSIX_PTHREAD_SEMANTICS 1
  18243. | #define _TANDEM_SOURCE 1
  18244. | #define HAVE_INFINITY 1
  18245. | #define HAVE_NAN 1
  18246. | #define RUBY_SYMBOL_EXPORT_BEGIN _Pragma("GCC visibility push(default)")
  18247. | #define RUBY_SYMBOL_EXPORT_END _Pragma("GCC visibility pop")
  18248. | #define HAVE_LIBCRYPT 1
  18249. | #define HAVE_LIBDL 1
  18250. | #define HAVE_DIRENT_H 1
  18251. | #define HAVE__BOOL 1
  18252. | #define HAVE_STDBOOL_H 1
  18253. | #define HAVE_SYS_WAIT_H 1
  18254. | #define HAVE_A_OUT_H 1
  18255. | #define HAVE_GRP_H 1
  18256. | #define HAVE_FCNTL_H 1
  18257. | #define HAVE_FLOAT_H 1
  18258. | #define HAVE_LANGINFO_H 1
  18259. | #define HAVE_LIMITS_H 1
  18260. | #define HAVE_LOCALE_H 1
  18261. | #define HAVE_MALLOC_H 1
  18262. | #define HAVE_PWD_H 1
  18263. | #define HAVE_SYS_FCNTL_H 1
  18264. | #define HAVE_SYS_FILE_H 1
  18265. | #define HAVE_SYS_IOCTL_H 1
  18266. | #define HAVE_SYS_PARAM_H 1
  18267. | #define HAVE_SYS_PRCTL_H 1
  18268. | #define HAVE_SYS_RESOURCE_H 1
  18269. | #define HAVE_SYS_SELECT_H 1
  18270. | #define HAVE_SYS_SENDFILE_H 1
  18271. | #define HAVE_SYS_SOCKET_H 1
  18272. | #define HAVE_SYS_SYSCALL_H 1
  18273. | #define HAVE_SYS_TIME_H 1
  18274. | #define HAVE_SYS_TIMES_H 1
  18275. | #define HAVE_SYS_UIO_H 1
  18276. | #define HAVE_SYSCALL_H 1
  18277. | #define HAVE_TIME_H 1
  18278. | #define HAVE_UCONTEXT_H 1
  18279. | #define HAVE_UTIME_H 1
  18280. | #define HAVE_GMP_H 1
  18281. | #define HAVE_LIBGMP 1
  18282. | #define HAVE_TYPEOF 1
  18283. | #define typeof __typeof__
  18284. | #define HAVE_LONG_LONG 1
  18285. | #define HAVE_OFF_T 1
  18286. | #define SIZEOF_INT 4
  18287. | #define SIZEOF_SHORT 2
  18288. | #define SIZEOF_LONG 8
  18289. | #define SIZEOF_LONG_LONG 8
  18290. | #define SIZEOF___INT64 0
  18291. | #define SIZEOF_OFF_T 8
  18292. | #define SIZEOF_VOIDP 8
  18293. | #define SIZEOF_FLOAT 4
  18294. | #define SIZEOF_DOUBLE 8
  18295. | #define SIZEOF_TIME_T 8
  18296. | #define SIZEOF_CLOCK_T 8
  18297. | #define PACKED_STRUCT(x) x __attribute__((packed))
  18298. | #define PACKED_STRUCT_UNALIGNED(x) x
  18299. | #define PRI_LL_PREFIX "ll"
  18300. | #define rb_pid_t pid_t
  18301. | #define SIGNEDNESS_OF_PID_T -1
  18302. | #define PIDT2NUM(v) INT2NUM(v)
  18303. | #define NUM2PIDT(v) NUM2INT(v)
  18304. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  18305. | #define rb_uid_t uid_t
  18306. | #define SIGNEDNESS_OF_UID_T +1
  18307. | #define UIDT2NUM(v) UINT2NUM(v)
  18308. | #define NUM2UIDT(v) NUM2UINT(v)
  18309. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  18310. | #define rb_gid_t gid_t
  18311. | #define SIGNEDNESS_OF_GID_T +1
  18312. | #define GIDT2NUM(v) UINT2NUM(v)
  18313. | #define NUM2GIDT(v) NUM2UINT(v)
  18314. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  18315. | #define rb_time_t time_t
  18316. | #define SIGNEDNESS_OF_TIME_T -1
  18317. | #define TIMET2NUM(v) LONG2NUM(v)
  18318. | #define NUM2TIMET(v) NUM2LONG(v)
  18319. | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
  18320. | #define rb_dev_t dev_t
  18321. | #define SIGNEDNESS_OF_DEV_T +1
  18322. | #define DEVT2NUM(v) ULONG2NUM(v)
  18323. | #define NUM2DEVT(v) NUM2ULONG(v)
  18324. | #define PRI_DEVT_PREFIX PRI_LONG_PREFIX
  18325. | #define rb_mode_t mode_t
  18326. | #define SIGNEDNESS_OF_MODE_T +1
  18327. | #define MODET2NUM(v) UINT2NUM(v)
  18328. | #define NUM2MODET(v) NUM2UINT(v)
  18329. | #define PRI_MODET_PREFIX PRI_INT_PREFIX
  18330. | #define rb_rlim_t rlim_t
  18331. | #define SIGNEDNESS_OF_RLIM_T +1
  18332. | #define RLIM2NUM(v) ULONG2NUM(v)
  18333. | #define NUM2RLIM(v) NUM2ULONG(v)
  18334. | #define PRI_RLIM_PREFIX PRI_LONG_PREFIX
  18335. | #define rb_off_t off_t
  18336. | #define SIGNEDNESS_OF_OFF_T -1
  18337. | #define OFFT2NUM(v) LONG2NUM(v)
  18338. | #define NUM2OFFT(v) NUM2LONG(v)
  18339. | #define PRI_OFFT_PREFIX PRI_LONG_PREFIX
  18340. | #define rb_clockid_t clockid_t
  18341. | #define SIGNEDNESS_OF_CLOCKID_T -1
  18342. | #define CLOCKID2NUM(v) INT2NUM(v)
  18343. | #define NUM2CLOCKID(v) NUM2INT(v)
  18344. | #define PRI_CLOCKID_PREFIX PRI_INT_PREFIX
  18345. | #define HAVE_PROTOTYPES 1
  18346. | #define TOKEN_PASTE(x,y) x##y
  18347. | #define STRINGIZE(expr) STRINGIZE0(expr)
  18348. | #define HAVE_STDARG_PROTOTYPES 1
  18349. | #define HAVE_VA_ARGS_MACRO 1
  18350. | #define NORETURN(x) __attribute__ ((noreturn)) x
  18351. | #define DEPRECATED(x) __attribute__ ((deprecated)) x
  18352. | #define DEPRECATED_BY(n,x) __attribute__ ((deprecated("by "#n))) x
  18353. | #define DEPRECATED_TYPE(mesg,x) __attribute__ ((deprecated mesg)) x
  18354. | #define NOINLINE(x) __attribute__ ((noinline)) x
  18355. | #define WEAK(x) __attribute__ ((weak)) x
  18356. | #define HAVE_FUNC_WEAK 1
  18357. | #define FUNC_UNOPTIMIZED(x) __attribute__ ((optimize("O0"))) x
  18358. | #define FUNC_MINIMIZED(x) __attribute__ ((optimize("-Os","-fomit-frame-pointer"))) x
  18359. | #define HAVE_ATTRIBUTE_FUNCTION_ALIAS 1
  18360. | #define RUBY_ALIAS_FUNCTION_TYPE(type, prot, name, args) type prot __attribute__((alias(#name)));
  18361. | #define RUBY_ALIAS_FUNCTION_VOID(prot, name, args) RUBY_ALIAS_FUNCTION_TYPE(void, prot, name, args)
  18362. | #define HAVE_GCC_ATOMIC_BUILTINS 1
  18363. | #define HAVE_GCC_SYNC_BUILTINS 1
  18364. | #define UNREACHABLE __builtin_unreachable()
  18365. | #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
  18366. | #define RUBY_FUNCTION_NAME_STRING __func__
  18367. | #define ENUM_OVER_INT 1
  18368. | #define HAVE_DECL_SYS_NERR 1
  18369. | #define HAVE_DECL_GETENV 1
  18370. | #define SIZEOF_SIZE_T 8
  18371. | #define SIZEOF_PTRDIFF_T 8
  18372. | #define PRI_SIZE_PREFIX "z"
  18373. | #define PRI_PTRDIFF_PREFIX "t"
  18374. | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
  18375. | #define HAVE_ST_BLKSIZE 1
  18376. | #define HAVE_STRUCT_STAT_ST_BLOCKS 1
  18377. | #define HAVE_ST_BLOCKS 1
  18378. | #define HAVE_STRUCT_STAT_ST_RDEV 1
  18379. | #define HAVE_ST_RDEV 1
  18380. | #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_OFF_T
  18381. | #define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_OFF_T
  18382. | #define SIZEOF_STRUCT_STAT_ST_INO SIZEOF_LONG
  18383. | #define HAVE_STRUCT_STAT_ST_ATIM 1
  18384. | #define HAVE_STRUCT_STAT_ST_MTIM 1
  18385. | #define HAVE_STRUCT_STAT_ST_CTIM 1
  18386. | #define HAVE_STRUCT_TIMEVAL 1
  18387. | #define SIZEOF_STRUCT_TIMEVAL_TV_SEC SIZEOF_TIME_T
  18388. | #define HAVE_STRUCT_TIMESPEC 1
  18389. | #define HAVE_STRUCT_TIMEZONE 1
  18390. | #define HAVE_CLOCKID_T 1
  18391. | #define HAVE_RB_FD_INIT 1
  18392. | #define HAVE_INT8_T 1
  18393. | #define SIZEOF_INT8_T 1
  18394. | #define HAVE_UINT8_T 1
  18395. | #define SIZEOF_UINT8_T 1
  18396. | #define HAVE_INT16_T 1
  18397. | #define SIZEOF_INT16_T 2
  18398. | #define HAVE_UINT16_T 1
  18399. | #define SIZEOF_UINT16_T 2
  18400. | #define HAVE_INT32_T 1
  18401. | #define SIZEOF_INT32_T 4
  18402. | #define HAVE_UINT32_T 1
  18403. | #define SIZEOF_UINT32_T 4
  18404. | #define HAVE_INT64_T 1
  18405. | #define SIZEOF_INT64_T 8
  18406. | #define HAVE_UINT64_T 1
  18407. | #define SIZEOF_UINT64_T 8
  18408. | #define HAVE_INTPTR_T 1
  18409. | #define SIZEOF_INTPTR_T 8
  18410. | #define HAVE_UINTPTR_T 1
  18411. | #define SIZEOF_UINTPTR_T 8
  18412. | #define HAVE_SSIZE_T 1
  18413. | #define SIZEOF_SSIZE_T 8
  18414. | #define STACK_END_ADDRESS __libc_stack_end
  18415. | #define GETGROUPS_T gid_t
  18416. | #define RETSIGTYPE void
  18417. | #define HAVE_ALLOCA_H 1
  18418. | #define HAVE_ALLOCA 1
  18419. | #define HAVE_ACOSH 1
  18420. | #define HAVE_CBRT 1
  18421. | #define HAVE_CRYPT 1
  18422. | #define HAVE_DUP2 1
  18423. | #define HAVE_ERF 1
  18424. | #define HAVE_EXPLICIT_BZERO 1
  18425. | #define HAVE_FFS 1
  18426. | #define HAVE_FINITE 1
  18427. | #define HAVE_FLOCK 1
  18428. | #define HAVE_HYPOT 1
  18429. | #define HAVE_ISINF 1
  18430. | #define HAVE_ISNAN 1
  18431. | #define HAVE_LGAMMA_R 1
  18432. | #define HAVE_MEMMOVE 1
  18433. | #define HAVE_NEXTAFTER 1
  18434. | #define HAVE_STRCHR 1
  18435. | #define HAVE_STRERROR 1
  18436. | #define HAVE_STRSTR 1
  18437. | #define HAVE_TGAMMA 1
  18438. | #define SPT_TYPE SPT_REUSEARGV
  18439. | #define HAVE_SIGNBIT 1
  18440. | #define HAVE_FORK 1
  18441. | #define HAVE_VFORK 1
  18442. | #define HAVE_WORKING_VFORK 1
  18443. | #define HAVE_WORKING_FORK 1
  18444. | #define HAVE__LONGJMP 1
  18445. | #define HAVE__SETJMP 1
  18446. | #define HAVE_ATAN2L 1
  18447. | #define HAVE_ATAN2F 1
  18448. | #define HAVE_CHROOT 1
  18449. | #define HAVE_CLOCK_GETTIME 1
  18450. | #define HAVE_COSH 1
  18451. | #define HAVE_DIRFD 1
  18452. | #define HAVE_DL_ITERATE_PHDR 1
  18453. | #define HAVE_DLOPEN 1
  18454. | #define HAVE_DLADDR 1
  18455. | #define HAVE_DUP 1
  18456. | #define HAVE_DUP3 1
  18457. | #define HAVE_EACCESS 1
  18458. | #define HAVE_ENDGRENT 1
  18459. | #define HAVE_FCHMOD 1
  18460. | #define HAVE_FCHOWN 1
  18461. | #define HAVE_FCNTL 1
  18462. | #define HAVE_FDATASYNC 1
  18463. | #define HAVE_FMOD 1
  18464. | #define HAVE_FSYNC 1
  18465. | #define HAVE_FTRUNCATE 1
  18466. | #define HAVE_FTRUNCATE64 1
  18467. | #define HAVE_GETCWD 1
  18468. | #define HAVE_GETGRNAM 1
  18469. | #define HAVE_GETGRNAM_R 1
  18470. | #define HAVE_GETGROUPS 1
  18471. | #define HAVE_GETPGID 1
  18472. | #define HAVE_GETPGRP 1
  18473. | #define HAVE_GETPRIORITY 1
  18474. | #define HAVE_GETPWNAM_R 1
  18475. | #define HAVE_GETRESGID 1
  18476. | #define HAVE_GETRESUID 1
  18477. | #define HAVE_GETRLIMIT 1
  18478. | #define HAVE_GETSID 1
  18479. | #define HAVE_GETTIMEOFDAY 1
  18480. | /* end confdefs.h. */
  18481. | /* Define getuidx to an innocuous variant, in case <limits.h> declares getuidx.
  18482. | For example, HP-UX 11i <limits.h> declares gettimeofday. */
  18483. | #define getuidx innocuous_getuidx
  18484. |
  18485. | /* System header to define __stub macros and hopefully few prototypes,
  18486. | which can conflict with char getuidx (); below.
  18487. | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  18488. | <limits.h> exists even on freestanding compilers. */
  18489. |
  18490. | #ifdef __STDC__
  18491. | # include <limits.h>
  18492. | #else
  18493. | # include <assert.h>
  18494. | #endif
  18495. |
  18496. | #undef getuidx
  18497. |
  18498. | /* Override any GCC internal prototype to avoid an error.
  18499. | Use char because int might match the return type of a GCC
  18500. | builtin and then its argument prototype would still apply. */
  18501. | #ifdef __cplusplus
  18502. | extern "C"
  18503. | #endif
  18504. | char getuidx ();
  18505. | /* The GNU C library defines this for functions which it implements
  18506. | to always fail with ENOSYS. Some functions are actually named
  18507. | something starting with __ and the normal name is an alias. */
  18508. | #if defined __stub_getuidx || defined __stub___getuidx
  18509. | choke me
  18510. | #endif
  18511. |
  18512. | int
  18513. | main ()
  18514. | {
  18515. | return getuidx ();
  18516. | ;
  18517. | return 0;
  18518. | }
  18519. configure:19335: result: no
  18520. configure:19346: checking for gmtime_r
  18521. configure:19346: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  18522. configure:19346: $? = 0
  18523. configure:19346: result: yes
  18524. configure:19357: checking for initgroups
  18525. configure:19357: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  18526. configure:19357: $? = 0
  18527. configure:19357: result: yes
  18528. configure:19368: checking for ioctl
  18529. configure:19368: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  18530. configure:19368: $? = 0
  18531. configure:19368: result: yes
  18532. configure:19379: checking for isfinite
  18533. configure:19379: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  18534. /tmp/ccL88IT0.o: In function `main':
  18535. /usr/share/rvm/src/ruby-2.3.0/conftest.c:298: undefined reference to `isfinite'
  18536. collect2: error: ld returned 1 exit status
  18537. configure:19379: $? = 1
  18538. configure: failed program was:
  18539. | /* confdefs.h */
  18540. | #define PACKAGE_NAME ""
  18541. | #define PACKAGE_TARNAME ""
  18542. | #define PACKAGE_VERSION ""
  18543. | #define PACKAGE_STRING ""
  18544. | #define PACKAGE_BUGREPORT ""
  18545. | #define PACKAGE_URL ""
  18546. | #define CANONICALIZATION_FOR_MATHN 1
  18547. | #define STDC_HEADERS 1
  18548. | #define HAVE_SYS_TYPES_H 1
  18549. | #define HAVE_SYS_STAT_H 1
  18550. | #define HAVE_STDLIB_H 1
  18551. | #define HAVE_STRING_H 1
  18552. | #define HAVE_MEMORY_H 1
  18553. | #define HAVE_STRINGS_H 1
  18554. | #define HAVE_INTTYPES_H 1
  18555. | #define HAVE_STDINT_H 1
  18556. | #define HAVE_UNISTD_H 1
  18557. | #define __EXTENSIONS__ 1
  18558. | #define _ALL_SOURCE 1
  18559. | #define _GNU_SOURCE 1
  18560. | #define _POSIX_PTHREAD_SEMANTICS 1
  18561. | #define _TANDEM_SOURCE 1
  18562. | #define HAVE_INFINITY 1
  18563. | #define HAVE_NAN 1
  18564. | #define RUBY_SYMBOL_EXPORT_BEGIN _Pragma("GCC visibility push(default)")
  18565. | #define RUBY_SYMBOL_EXPORT_END _Pragma("GCC visibility pop")
  18566. | #define HAVE_LIBCRYPT 1
  18567. | #define HAVE_LIBDL 1
  18568. | #define HAVE_DIRENT_H 1
  18569. | #define HAVE__BOOL 1
  18570. | #define HAVE_STDBOOL_H 1
  18571. | #define HAVE_SYS_WAIT_H 1
  18572. | #define HAVE_A_OUT_H 1
  18573. | #define HAVE_GRP_H 1
  18574. | #define HAVE_FCNTL_H 1
  18575. | #define HAVE_FLOAT_H 1
  18576. | #define HAVE_LANGINFO_H 1
  18577. | #define HAVE_LIMITS_H 1
  18578. | #define HAVE_LOCALE_H 1
  18579. | #define HAVE_MALLOC_H 1
  18580. | #define HAVE_PWD_H 1
  18581. | #define HAVE_SYS_FCNTL_H 1
  18582. | #define HAVE_SYS_FILE_H 1
  18583. | #define HAVE_SYS_IOCTL_H 1
  18584. | #define HAVE_SYS_PARAM_H 1
  18585. | #define HAVE_SYS_PRCTL_H 1
  18586. | #define HAVE_SYS_RESOURCE_H 1
  18587. | #define HAVE_SYS_SELECT_H 1
  18588. | #define HAVE_SYS_SENDFILE_H 1
  18589. | #define HAVE_SYS_SOCKET_H 1
  18590. | #define HAVE_SYS_SYSCALL_H 1
  18591. | #define HAVE_SYS_TIME_H 1
  18592. | #define HAVE_SYS_TIMES_H 1
  18593. | #define HAVE_SYS_UIO_H 1
  18594. | #define HAVE_SYSCALL_H 1
  18595. | #define HAVE_TIME_H 1
  18596. | #define HAVE_UCONTEXT_H 1
  18597. | #define HAVE_UTIME_H 1
  18598. | #define HAVE_GMP_H 1
  18599. | #define HAVE_LIBGMP 1
  18600. | #define HAVE_TYPEOF 1
  18601. | #define typeof __typeof__
  18602. | #define HAVE_LONG_LONG 1
  18603. | #define HAVE_OFF_T 1
  18604. | #define SIZEOF_INT 4
  18605. | #define SIZEOF_SHORT 2
  18606. | #define SIZEOF_LONG 8
  18607. | #define SIZEOF_LONG_LONG 8
  18608. | #define SIZEOF___INT64 0
  18609. | #define SIZEOF_OFF_T 8
  18610. | #define SIZEOF_VOIDP 8
  18611. | #define SIZEOF_FLOAT 4
  18612. | #define SIZEOF_DOUBLE 8
  18613. | #define SIZEOF_TIME_T 8
  18614. | #define SIZEOF_CLOCK_T 8
  18615. | #define PACKED_STRUCT(x) x __attribute__((packed))
  18616. | #define PACKED_STRUCT_UNALIGNED(x) x
  18617. | #define PRI_LL_PREFIX "ll"
  18618. | #define rb_pid_t pid_t
  18619. | #define SIGNEDNESS_OF_PID_T -1
  18620. | #define PIDT2NUM(v) INT2NUM(v)
  18621. | #define NUM2PIDT(v) NUM2INT(v)
  18622. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  18623. | #define rb_uid_t uid_t
  18624. | #define SIGNEDNESS_OF_UID_T +1
  18625. | #define UIDT2NUM(v) UINT2NUM(v)
  18626. | #define NUM2UIDT(v) NUM2UINT(v)
  18627. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  18628. | #define rb_gid_t gid_t
  18629. | #define SIGNEDNESS_OF_GID_T +1
  18630. | #define GIDT2NUM(v) UINT2NUM(v)
  18631. | #define NUM2GIDT(v) NUM2UINT(v)
  18632. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  18633. | #define rb_time_t time_t
  18634. | #define SIGNEDNESS_OF_TIME_T -1
  18635. | #define TIMET2NUM(v) LONG2NUM(v)
  18636. | #define NUM2TIMET(v) NUM2LONG(v)
  18637. | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
  18638. | #define rb_dev_t dev_t
  18639. | #define SIGNEDNESS_OF_DEV_T +1
  18640. | #define DEVT2NUM(v) ULONG2NUM(v)
  18641. | #define NUM2DEVT(v) NUM2ULONG(v)
  18642. | #define PRI_DEVT_PREFIX PRI_LONG_PREFIX
  18643. | #define rb_mode_t mode_t
  18644. | #define SIGNEDNESS_OF_MODE_T +1
  18645. | #define MODET2NUM(v) UINT2NUM(v)
  18646. | #define NUM2MODET(v) NUM2UINT(v)
  18647. | #define PRI_MODET_PREFIX PRI_INT_PREFIX
  18648. | #define rb_rlim_t rlim_t
  18649. | #define SIGNEDNESS_OF_RLIM_T +1
  18650. | #define RLIM2NUM(v) ULONG2NUM(v)
  18651. | #define NUM2RLIM(v) NUM2ULONG(v)
  18652. | #define PRI_RLIM_PREFIX PRI_LONG_PREFIX
  18653. | #define rb_off_t off_t
  18654. | #define SIGNEDNESS_OF_OFF_T -1
  18655. | #define OFFT2NUM(v) LONG2NUM(v)
  18656. | #define NUM2OFFT(v) NUM2LONG(v)
  18657. | #define PRI_OFFT_PREFIX PRI_LONG_PREFIX
  18658. | #define rb_clockid_t clockid_t
  18659. | #define SIGNEDNESS_OF_CLOCKID_T -1
  18660. | #define CLOCKID2NUM(v) INT2NUM(v)
  18661. | #define NUM2CLOCKID(v) NUM2INT(v)
  18662. | #define PRI_CLOCKID_PREFIX PRI_INT_PREFIX
  18663. | #define HAVE_PROTOTYPES 1
  18664. | #define TOKEN_PASTE(x,y) x##y
  18665. | #define STRINGIZE(expr) STRINGIZE0(expr)
  18666. | #define HAVE_STDARG_PROTOTYPES 1
  18667. | #define HAVE_VA_ARGS_MACRO 1
  18668. | #define NORETURN(x) __attribute__ ((noreturn)) x
  18669. | #define DEPRECATED(x) __attribute__ ((deprecated)) x
  18670. | #define DEPRECATED_BY(n,x) __attribute__ ((deprecated("by "#n))) x
  18671. | #define DEPRECATED_TYPE(mesg,x) __attribute__ ((deprecated mesg)) x
  18672. | #define NOINLINE(x) __attribute__ ((noinline)) x
  18673. | #define WEAK(x) __attribute__ ((weak)) x
  18674. | #define HAVE_FUNC_WEAK 1
  18675. | #define FUNC_UNOPTIMIZED(x) __attribute__ ((optimize("O0"))) x
  18676. | #define FUNC_MINIMIZED(x) __attribute__ ((optimize("-Os","-fomit-frame-pointer"))) x
  18677. | #define HAVE_ATTRIBUTE_FUNCTION_ALIAS 1
  18678. | #define RUBY_ALIAS_FUNCTION_TYPE(type, prot, name, args) type prot __attribute__((alias(#name)));
  18679. | #define RUBY_ALIAS_FUNCTION_VOID(prot, name, args) RUBY_ALIAS_FUNCTION_TYPE(void, prot, name, args)
  18680. | #define HAVE_GCC_ATOMIC_BUILTINS 1
  18681. | #define HAVE_GCC_SYNC_BUILTINS 1
  18682. | #define UNREACHABLE __builtin_unreachable()
  18683. | #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
  18684. | #define RUBY_FUNCTION_NAME_STRING __func__
  18685. | #define ENUM_OVER_INT 1
  18686. | #define HAVE_DECL_SYS_NERR 1
  18687. | #define HAVE_DECL_GETENV 1
  18688. | #define SIZEOF_SIZE_T 8
  18689. | #define SIZEOF_PTRDIFF_T 8
  18690. | #define PRI_SIZE_PREFIX "z"
  18691. | #define PRI_PTRDIFF_PREFIX "t"
  18692. | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
  18693. | #define HAVE_ST_BLKSIZE 1
  18694. | #define HAVE_STRUCT_STAT_ST_BLOCKS 1
  18695. | #define HAVE_ST_BLOCKS 1
  18696. | #define HAVE_STRUCT_STAT_ST_RDEV 1
  18697. | #define HAVE_ST_RDEV 1
  18698. | #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_OFF_T
  18699. | #define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_OFF_T
  18700. | #define SIZEOF_STRUCT_STAT_ST_INO SIZEOF_LONG
  18701. | #define HAVE_STRUCT_STAT_ST_ATIM 1
  18702. | #define HAVE_STRUCT_STAT_ST_MTIM 1
  18703. | #define HAVE_STRUCT_STAT_ST_CTIM 1
  18704. | #define HAVE_STRUCT_TIMEVAL 1
  18705. | #define SIZEOF_STRUCT_TIMEVAL_TV_SEC SIZEOF_TIME_T
  18706. | #define HAVE_STRUCT_TIMESPEC 1
  18707. | #define HAVE_STRUCT_TIMEZONE 1
  18708. | #define HAVE_CLOCKID_T 1
  18709. | #define HAVE_RB_FD_INIT 1
  18710. | #define HAVE_INT8_T 1
  18711. | #define SIZEOF_INT8_T 1
  18712. | #define HAVE_UINT8_T 1
  18713. | #define SIZEOF_UINT8_T 1
  18714. | #define HAVE_INT16_T 1
  18715. | #define SIZEOF_INT16_T 2
  18716. | #define HAVE_UINT16_T 1
  18717. | #define SIZEOF_UINT16_T 2
  18718. | #define HAVE_INT32_T 1
  18719. | #define SIZEOF_INT32_T 4
  18720. | #define HAVE_UINT32_T 1
  18721. | #define SIZEOF_UINT32_T 4
  18722. | #define HAVE_INT64_T 1
  18723. | #define SIZEOF_INT64_T 8
  18724. | #define HAVE_UINT64_T 1
  18725. | #define SIZEOF_UINT64_T 8
  18726. | #define HAVE_INTPTR_T 1
  18727. | #define SIZEOF_INTPTR_T 8
  18728. | #define HAVE_UINTPTR_T 1
  18729. | #define SIZEOF_UINTPTR_T 8
  18730. | #define HAVE_SSIZE_T 1
  18731. | #define SIZEOF_SSIZE_T 8
  18732. | #define STACK_END_ADDRESS __libc_stack_end
  18733. | #define GETGROUPS_T gid_t
  18734. | #define RETSIGTYPE void
  18735. | #define HAVE_ALLOCA_H 1
  18736. | #define HAVE_ALLOCA 1
  18737. | #define HAVE_ACOSH 1
  18738. | #define HAVE_CBRT 1
  18739. | #define HAVE_CRYPT 1
  18740. | #define HAVE_DUP2 1
  18741. | #define HAVE_ERF 1
  18742. | #define HAVE_EXPLICIT_BZERO 1
  18743. | #define HAVE_FFS 1
  18744. | #define HAVE_FINITE 1
  18745. | #define HAVE_FLOCK 1
  18746. | #define HAVE_HYPOT 1
  18747. | #define HAVE_ISINF 1
  18748. | #define HAVE_ISNAN 1
  18749. | #define HAVE_LGAMMA_R 1
  18750. | #define HAVE_MEMMOVE 1
  18751. | #define HAVE_NEXTAFTER 1
  18752. | #define HAVE_STRCHR 1
  18753. | #define HAVE_STRERROR 1
  18754. | #define HAVE_STRSTR 1
  18755. | #define HAVE_TGAMMA 1
  18756. | #define SPT_TYPE SPT_REUSEARGV
  18757. | #define HAVE_SIGNBIT 1
  18758. | #define HAVE_FORK 1
  18759. | #define HAVE_VFORK 1
  18760. | #define HAVE_WORKING_VFORK 1
  18761. | #define HAVE_WORKING_FORK 1
  18762. | #define HAVE__LONGJMP 1
  18763. | #define HAVE__SETJMP 1
  18764. | #define HAVE_ATAN2L 1
  18765. | #define HAVE_ATAN2F 1
  18766. | #define HAVE_CHROOT 1
  18767. | #define HAVE_CLOCK_GETTIME 1
  18768. | #define HAVE_COSH 1
  18769. | #define HAVE_DIRFD 1
  18770. | #define HAVE_DL_ITERATE_PHDR 1
  18771. | #define HAVE_DLOPEN 1
  18772. | #define HAVE_DLADDR 1
  18773. | #define HAVE_DUP 1
  18774. | #define HAVE_DUP3 1
  18775. | #define HAVE_EACCESS 1
  18776. | #define HAVE_ENDGRENT 1
  18777. | #define HAVE_FCHMOD 1
  18778. | #define HAVE_FCHOWN 1
  18779. | #define HAVE_FCNTL 1
  18780. | #define HAVE_FDATASYNC 1
  18781. | #define HAVE_FMOD 1
  18782. | #define HAVE_FSYNC 1
  18783. | #define HAVE_FTRUNCATE 1
  18784. | #define HAVE_FTRUNCATE64 1
  18785. | #define HAVE_GETCWD 1
  18786. | #define HAVE_GETGRNAM 1
  18787. | #define HAVE_GETGRNAM_R 1
  18788. | #define HAVE_GETGROUPS 1
  18789. | #define HAVE_GETPGID 1
  18790. | #define HAVE_GETPGRP 1
  18791. | #define HAVE_GETPRIORITY 1
  18792. | #define HAVE_GETPWNAM_R 1
  18793. | #define HAVE_GETRESGID 1
  18794. | #define HAVE_GETRESUID 1
  18795. | #define HAVE_GETRLIMIT 1
  18796. | #define HAVE_GETSID 1
  18797. | #define HAVE_GETTIMEOFDAY 1
  18798. | #define HAVE_GMTIME_R 1
  18799. | #define HAVE_INITGROUPS 1
  18800. | #define HAVE_IOCTL 1
  18801. | /* end confdefs.h. */
  18802. | /* Define isfinite to an innocuous variant, in case <limits.h> declares isfinite.
  18803. | For example, HP-UX 11i <limits.h> declares gettimeofday. */
  18804. | #define isfinite innocuous_isfinite
  18805. |
  18806. | /* System header to define __stub macros and hopefully few prototypes,
  18807. | which can conflict with char isfinite (); below.
  18808. | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  18809. | <limits.h> exists even on freestanding compilers. */
  18810. |
  18811. | #ifdef __STDC__
  18812. | # include <limits.h>
  18813. | #else
  18814. | # include <assert.h>
  18815. | #endif
  18816. |
  18817. | #undef isfinite
  18818. |
  18819. | /* Override any GCC internal prototype to avoid an error.
  18820. | Use char because int might match the return type of a GCC
  18821. | builtin and then its argument prototype would still apply. */
  18822. | #ifdef __cplusplus
  18823. | extern "C"
  18824. | #endif
  18825. | char isfinite ();
  18826. | /* The GNU C library defines this for functions which it implements
  18827. | to always fail with ENOSYS. Some functions are actually named
  18828. | something starting with __ and the normal name is an alias. */
  18829. | #if defined __stub_isfinite || defined __stub___isfinite
  18830. | choke me
  18831. | #endif
  18832. |
  18833. | int
  18834. | main ()
  18835. | {
  18836. | return isfinite ();
  18837. | ;
  18838. | return 0;
  18839. | }
  18840. configure:19379: result: no
  18841. configure:19390: checking for issetugid
  18842. configure:19390: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  18843. /tmp/ccgAYX38.o: In function `main':
  18844. /usr/share/rvm/src/ruby-2.3.0/conftest.c:298: undefined reference to `issetugid'
  18845. collect2: error: ld returned 1 exit status
  18846. configure:19390: $? = 1
  18847. configure: failed program was:
  18848. | /* confdefs.h */
  18849. | #define PACKAGE_NAME ""
  18850. | #define PACKAGE_TARNAME ""
  18851. | #define PACKAGE_VERSION ""
  18852. | #define PACKAGE_STRING ""
  18853. | #define PACKAGE_BUGREPORT ""
  18854. | #define PACKAGE_URL ""
  18855. | #define CANONICALIZATION_FOR_MATHN 1
  18856. | #define STDC_HEADERS 1
  18857. | #define HAVE_SYS_TYPES_H 1
  18858. | #define HAVE_SYS_STAT_H 1
  18859. | #define HAVE_STDLIB_H 1
  18860. | #define HAVE_STRING_H 1
  18861. | #define HAVE_MEMORY_H 1
  18862. | #define HAVE_STRINGS_H 1
  18863. | #define HAVE_INTTYPES_H 1
  18864. | #define HAVE_STDINT_H 1
  18865. | #define HAVE_UNISTD_H 1
  18866. | #define __EXTENSIONS__ 1
  18867. | #define _ALL_SOURCE 1
  18868. | #define _GNU_SOURCE 1
  18869. | #define _POSIX_PTHREAD_SEMANTICS 1
  18870. | #define _TANDEM_SOURCE 1
  18871. | #define HAVE_INFINITY 1
  18872. | #define HAVE_NAN 1
  18873. | #define RUBY_SYMBOL_EXPORT_BEGIN _Pragma("GCC visibility push(default)")
  18874. | #define RUBY_SYMBOL_EXPORT_END _Pragma("GCC visibility pop")
  18875. | #define HAVE_LIBCRYPT 1
  18876. | #define HAVE_LIBDL 1
  18877. | #define HAVE_DIRENT_H 1
  18878. | #define HAVE__BOOL 1
  18879. | #define HAVE_STDBOOL_H 1
  18880. | #define HAVE_SYS_WAIT_H 1
  18881. | #define HAVE_A_OUT_H 1
  18882. | #define HAVE_GRP_H 1
  18883. | #define HAVE_FCNTL_H 1
  18884. | #define HAVE_FLOAT_H 1
  18885. | #define HAVE_LANGINFO_H 1
  18886. | #define HAVE_LIMITS_H 1
  18887. | #define HAVE_LOCALE_H 1
  18888. | #define HAVE_MALLOC_H 1
  18889. | #define HAVE_PWD_H 1
  18890. | #define HAVE_SYS_FCNTL_H 1
  18891. | #define HAVE_SYS_FILE_H 1
  18892. | #define HAVE_SYS_IOCTL_H 1
  18893. | #define HAVE_SYS_PARAM_H 1
  18894. | #define HAVE_SYS_PRCTL_H 1
  18895. | #define HAVE_SYS_RESOURCE_H 1
  18896. | #define HAVE_SYS_SELECT_H 1
  18897. | #define HAVE_SYS_SENDFILE_H 1
  18898. | #define HAVE_SYS_SOCKET_H 1
  18899. | #define HAVE_SYS_SYSCALL_H 1
  18900. | #define HAVE_SYS_TIME_H 1
  18901. | #define HAVE_SYS_TIMES_H 1
  18902. | #define HAVE_SYS_UIO_H 1
  18903. | #define HAVE_SYSCALL_H 1
  18904. | #define HAVE_TIME_H 1
  18905. | #define HAVE_UCONTEXT_H 1
  18906. | #define HAVE_UTIME_H 1
  18907. | #define HAVE_GMP_H 1
  18908. | #define HAVE_LIBGMP 1
  18909. | #define HAVE_TYPEOF 1
  18910. | #define typeof __typeof__
  18911. | #define HAVE_LONG_LONG 1
  18912. | #define HAVE_OFF_T 1
  18913. | #define SIZEOF_INT 4
  18914. | #define SIZEOF_SHORT 2
  18915. | #define SIZEOF_LONG 8
  18916. | #define SIZEOF_LONG_LONG 8
  18917. | #define SIZEOF___INT64 0
  18918. | #define SIZEOF_OFF_T 8
  18919. | #define SIZEOF_VOIDP 8
  18920. | #define SIZEOF_FLOAT 4
  18921. | #define SIZEOF_DOUBLE 8
  18922. | #define SIZEOF_TIME_T 8
  18923. | #define SIZEOF_CLOCK_T 8
  18924. | #define PACKED_STRUCT(x) x __attribute__((packed))
  18925. | #define PACKED_STRUCT_UNALIGNED(x) x
  18926. | #define PRI_LL_PREFIX "ll"
  18927. | #define rb_pid_t pid_t
  18928. | #define SIGNEDNESS_OF_PID_T -1
  18929. | #define PIDT2NUM(v) INT2NUM(v)
  18930. | #define NUM2PIDT(v) NUM2INT(v)
  18931. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  18932. | #define rb_uid_t uid_t
  18933. | #define SIGNEDNESS_OF_UID_T +1
  18934. | #define UIDT2NUM(v) UINT2NUM(v)
  18935. | #define NUM2UIDT(v) NUM2UINT(v)
  18936. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  18937. | #define rb_gid_t gid_t
  18938. | #define SIGNEDNESS_OF_GID_T +1
  18939. | #define GIDT2NUM(v) UINT2NUM(v)
  18940. | #define NUM2GIDT(v) NUM2UINT(v)
  18941. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  18942. | #define rb_time_t time_t
  18943. | #define SIGNEDNESS_OF_TIME_T -1
  18944. | #define TIMET2NUM(v) LONG2NUM(v)
  18945. | #define NUM2TIMET(v) NUM2LONG(v)
  18946. | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
  18947. | #define rb_dev_t dev_t
  18948. | #define SIGNEDNESS_OF_DEV_T +1
  18949. | #define DEVT2NUM(v) ULONG2NUM(v)
  18950. | #define NUM2DEVT(v) NUM2ULONG(v)
  18951. | #define PRI_DEVT_PREFIX PRI_LONG_PREFIX
  18952. | #define rb_mode_t mode_t
  18953. | #define SIGNEDNESS_OF_MODE_T +1
  18954. | #define MODET2NUM(v) UINT2NUM(v)
  18955. | #define NUM2MODET(v) NUM2UINT(v)
  18956. | #define PRI_MODET_PREFIX PRI_INT_PREFIX
  18957. | #define rb_rlim_t rlim_t
  18958. | #define SIGNEDNESS_OF_RLIM_T +1
  18959. | #define RLIM2NUM(v) ULONG2NUM(v)
  18960. | #define NUM2RLIM(v) NUM2ULONG(v)
  18961. | #define PRI_RLIM_PREFIX PRI_LONG_PREFIX
  18962. | #define rb_off_t off_t
  18963. | #define SIGNEDNESS_OF_OFF_T -1
  18964. | #define OFFT2NUM(v) LONG2NUM(v)
  18965. | #define NUM2OFFT(v) NUM2LONG(v)
  18966. | #define PRI_OFFT_PREFIX PRI_LONG_PREFIX
  18967. | #define rb_clockid_t clockid_t
  18968. | #define SIGNEDNESS_OF_CLOCKID_T -1
  18969. | #define CLOCKID2NUM(v) INT2NUM(v)
  18970. | #define NUM2CLOCKID(v) NUM2INT(v)
  18971. | #define PRI_CLOCKID_PREFIX PRI_INT_PREFIX
  18972. | #define HAVE_PROTOTYPES 1
  18973. | #define TOKEN_PASTE(x,y) x##y
  18974. | #define STRINGIZE(expr) STRINGIZE0(expr)
  18975. | #define HAVE_STDARG_PROTOTYPES 1
  18976. | #define HAVE_VA_ARGS_MACRO 1
  18977. | #define NORETURN(x) __attribute__ ((noreturn)) x
  18978. | #define DEPRECATED(x) __attribute__ ((deprecated)) x
  18979. | #define DEPRECATED_BY(n,x) __attribute__ ((deprecated("by "#n))) x
  18980. | #define DEPRECATED_TYPE(mesg,x) __attribute__ ((deprecated mesg)) x
  18981. | #define NOINLINE(x) __attribute__ ((noinline)) x
  18982. | #define WEAK(x) __attribute__ ((weak)) x
  18983. | #define HAVE_FUNC_WEAK 1
  18984. | #define FUNC_UNOPTIMIZED(x) __attribute__ ((optimize("O0"))) x
  18985. | #define FUNC_MINIMIZED(x) __attribute__ ((optimize("-Os","-fomit-frame-pointer"))) x
  18986. | #define HAVE_ATTRIBUTE_FUNCTION_ALIAS 1
  18987. | #define RUBY_ALIAS_FUNCTION_TYPE(type, prot, name, args) type prot __attribute__((alias(#name)));
  18988. | #define RUBY_ALIAS_FUNCTION_VOID(prot, name, args) RUBY_ALIAS_FUNCTION_TYPE(void, prot, name, args)
  18989. | #define HAVE_GCC_ATOMIC_BUILTINS 1
  18990. | #define HAVE_GCC_SYNC_BUILTINS 1
  18991. | #define UNREACHABLE __builtin_unreachable()
  18992. | #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
  18993. | #define RUBY_FUNCTION_NAME_STRING __func__
  18994. | #define ENUM_OVER_INT 1
  18995. | #define HAVE_DECL_SYS_NERR 1
  18996. | #define HAVE_DECL_GETENV 1
  18997. | #define SIZEOF_SIZE_T 8
  18998. | #define SIZEOF_PTRDIFF_T 8
  18999. | #define PRI_SIZE_PREFIX "z"
  19000. | #define PRI_PTRDIFF_PREFIX "t"
  19001. | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
  19002. | #define HAVE_ST_BLKSIZE 1
  19003. | #define HAVE_STRUCT_STAT_ST_BLOCKS 1
  19004. | #define HAVE_ST_BLOCKS 1
  19005. | #define HAVE_STRUCT_STAT_ST_RDEV 1
  19006. | #define HAVE_ST_RDEV 1
  19007. | #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_OFF_T
  19008. | #define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_OFF_T
  19009. | #define SIZEOF_STRUCT_STAT_ST_INO SIZEOF_LONG
  19010. | #define HAVE_STRUCT_STAT_ST_ATIM 1
  19011. | #define HAVE_STRUCT_STAT_ST_MTIM 1
  19012. | #define HAVE_STRUCT_STAT_ST_CTIM 1
  19013. | #define HAVE_STRUCT_TIMEVAL 1
  19014. | #define SIZEOF_STRUCT_TIMEVAL_TV_SEC SIZEOF_TIME_T
  19015. | #define HAVE_STRUCT_TIMESPEC 1
  19016. | #define HAVE_STRUCT_TIMEZONE 1
  19017. | #define HAVE_CLOCKID_T 1
  19018. | #define HAVE_RB_FD_INIT 1
  19019. | #define HAVE_INT8_T 1
  19020. | #define SIZEOF_INT8_T 1
  19021. | #define HAVE_UINT8_T 1
  19022. | #define SIZEOF_UINT8_T 1
  19023. | #define HAVE_INT16_T 1
  19024. | #define SIZEOF_INT16_T 2
  19025. | #define HAVE_UINT16_T 1
  19026. | #define SIZEOF_UINT16_T 2
  19027. | #define HAVE_INT32_T 1
  19028. | #define SIZEOF_INT32_T 4
  19029. | #define HAVE_UINT32_T 1
  19030. | #define SIZEOF_UINT32_T 4
  19031. | #define HAVE_INT64_T 1
  19032. | #define SIZEOF_INT64_T 8
  19033. | #define HAVE_UINT64_T 1
  19034. | #define SIZEOF_UINT64_T 8
  19035. | #define HAVE_INTPTR_T 1
  19036. | #define SIZEOF_INTPTR_T 8
  19037. | #define HAVE_UINTPTR_T 1
  19038. | #define SIZEOF_UINTPTR_T 8
  19039. | #define HAVE_SSIZE_T 1
  19040. | #define SIZEOF_SSIZE_T 8
  19041. | #define STACK_END_ADDRESS __libc_stack_end
  19042. | #define GETGROUPS_T gid_t
  19043. | #define RETSIGTYPE void
  19044. | #define HAVE_ALLOCA_H 1
  19045. | #define HAVE_ALLOCA 1
  19046. | #define HAVE_ACOSH 1
  19047. | #define HAVE_CBRT 1
  19048. | #define HAVE_CRYPT 1
  19049. | #define HAVE_DUP2 1
  19050. | #define HAVE_ERF 1
  19051. | #define HAVE_EXPLICIT_BZERO 1
  19052. | #define HAVE_FFS 1
  19053. | #define HAVE_FINITE 1
  19054. | #define HAVE_FLOCK 1
  19055. | #define HAVE_HYPOT 1
  19056. | #define HAVE_ISINF 1
  19057. | #define HAVE_ISNAN 1
  19058. | #define HAVE_LGAMMA_R 1
  19059. | #define HAVE_MEMMOVE 1
  19060. | #define HAVE_NEXTAFTER 1
  19061. | #define HAVE_STRCHR 1
  19062. | #define HAVE_STRERROR 1
  19063. | #define HAVE_STRSTR 1
  19064. | #define HAVE_TGAMMA 1
  19065. | #define SPT_TYPE SPT_REUSEARGV
  19066. | #define HAVE_SIGNBIT 1
  19067. | #define HAVE_FORK 1
  19068. | #define HAVE_VFORK 1
  19069. | #define HAVE_WORKING_VFORK 1
  19070. | #define HAVE_WORKING_FORK 1
  19071. | #define HAVE__LONGJMP 1
  19072. | #define HAVE__SETJMP 1
  19073. | #define HAVE_ATAN2L 1
  19074. | #define HAVE_ATAN2F 1
  19075. | #define HAVE_CHROOT 1
  19076. | #define HAVE_CLOCK_GETTIME 1
  19077. | #define HAVE_COSH 1
  19078. | #define HAVE_DIRFD 1
  19079. | #define HAVE_DL_ITERATE_PHDR 1
  19080. | #define HAVE_DLOPEN 1
  19081. | #define HAVE_DLADDR 1
  19082. | #define HAVE_DUP 1
  19083. | #define HAVE_DUP3 1
  19084. | #define HAVE_EACCESS 1
  19085. | #define HAVE_ENDGRENT 1
  19086. | #define HAVE_FCHMOD 1
  19087. | #define HAVE_FCHOWN 1
  19088. | #define HAVE_FCNTL 1
  19089. | #define HAVE_FDATASYNC 1
  19090. | #define HAVE_FMOD 1
  19091. | #define HAVE_FSYNC 1
  19092. | #define HAVE_FTRUNCATE 1
  19093. | #define HAVE_FTRUNCATE64 1
  19094. | #define HAVE_GETCWD 1
  19095. | #define HAVE_GETGRNAM 1
  19096. | #define HAVE_GETGRNAM_R 1
  19097. | #define HAVE_GETGROUPS 1
  19098. | #define HAVE_GETPGID 1
  19099. | #define HAVE_GETPGRP 1
  19100. | #define HAVE_GETPRIORITY 1
  19101. | #define HAVE_GETPWNAM_R 1
  19102. | #define HAVE_GETRESGID 1
  19103. | #define HAVE_GETRESUID 1
  19104. | #define HAVE_GETRLIMIT 1
  19105. | #define HAVE_GETSID 1
  19106. | #define HAVE_GETTIMEOFDAY 1
  19107. | #define HAVE_GMTIME_R 1
  19108. | #define HAVE_INITGROUPS 1
  19109. | #define HAVE_IOCTL 1
  19110. | /* end confdefs.h. */
  19111. | /* Define issetugid to an innocuous variant, in case <limits.h> declares issetugid.
  19112. | For example, HP-UX 11i <limits.h> declares gettimeofday. */
  19113. | #define issetugid innocuous_issetugid
  19114. |
  19115. | /* System header to define __stub macros and hopefully few prototypes,
  19116. | which can conflict with char issetugid (); below.
  19117. | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  19118. | <limits.h> exists even on freestanding compilers. */
  19119. |
  19120. | #ifdef __STDC__
  19121. | # include <limits.h>
  19122. | #else
  19123. | # include <assert.h>
  19124. | #endif
  19125. |
  19126. | #undef issetugid
  19127. |
  19128. | /* Override any GCC internal prototype to avoid an error.
  19129. | Use char because int might match the return type of a GCC
  19130. | builtin and then its argument prototype would still apply. */
  19131. | #ifdef __cplusplus
  19132. | extern "C"
  19133. | #endif
  19134. | char issetugid ();
  19135. | /* The GNU C library defines this for functions which it implements
  19136. | to always fail with ENOSYS. Some functions are actually named
  19137. | something starting with __ and the normal name is an alias. */
  19138. | #if defined __stub_issetugid || defined __stub___issetugid
  19139. | choke me
  19140. | #endif
  19141. |
  19142. | int
  19143. | main ()
  19144. | {
  19145. | return issetugid ();
  19146. | ;
  19147. | return 0;
  19148. | }
  19149. configure:19390: result: no
  19150. configure:19401: checking for killpg
  19151. configure:19401: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  19152. configure:19401: $? = 0
  19153. configure:19401: result: yes
  19154. configure:19412: checking for lchmod
  19155. configure:19412: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  19156. conftest.c:293:1: error: unknown type name 'choke'
  19157. choke me
  19158. ^~~~~
  19159. conftest.c:296:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
  19160. int
  19161. ^~~
  19162. configure:19412: $? = 1
  19163. configure: failed program was:
  19164. | /* confdefs.h */
  19165. | #define PACKAGE_NAME ""
  19166. | #define PACKAGE_TARNAME ""
  19167. | #define PACKAGE_VERSION ""
  19168. | #define PACKAGE_STRING ""
  19169. | #define PACKAGE_BUGREPORT ""
  19170. | #define PACKAGE_URL ""
  19171. | #define CANONICALIZATION_FOR_MATHN 1
  19172. | #define STDC_HEADERS 1
  19173. | #define HAVE_SYS_TYPES_H 1
  19174. | #define HAVE_SYS_STAT_H 1
  19175. | #define HAVE_STDLIB_H 1
  19176. | #define HAVE_STRING_H 1
  19177. | #define HAVE_MEMORY_H 1
  19178. | #define HAVE_STRINGS_H 1
  19179. | #define HAVE_INTTYPES_H 1
  19180. | #define HAVE_STDINT_H 1
  19181. | #define HAVE_UNISTD_H 1
  19182. | #define __EXTENSIONS__ 1
  19183. | #define _ALL_SOURCE 1
  19184. | #define _GNU_SOURCE 1
  19185. | #define _POSIX_PTHREAD_SEMANTICS 1
  19186. | #define _TANDEM_SOURCE 1
  19187. | #define HAVE_INFINITY 1
  19188. | #define HAVE_NAN 1
  19189. | #define RUBY_SYMBOL_EXPORT_BEGIN _Pragma("GCC visibility push(default)")
  19190. | #define RUBY_SYMBOL_EXPORT_END _Pragma("GCC visibility pop")
  19191. | #define HAVE_LIBCRYPT 1
  19192. | #define HAVE_LIBDL 1
  19193. | #define HAVE_DIRENT_H 1
  19194. | #define HAVE__BOOL 1
  19195. | #define HAVE_STDBOOL_H 1
  19196. | #define HAVE_SYS_WAIT_H 1
  19197. | #define HAVE_A_OUT_H 1
  19198. | #define HAVE_GRP_H 1
  19199. | #define HAVE_FCNTL_H 1
  19200. | #define HAVE_FLOAT_H 1
  19201. | #define HAVE_LANGINFO_H 1
  19202. | #define HAVE_LIMITS_H 1
  19203. | #define HAVE_LOCALE_H 1
  19204. | #define HAVE_MALLOC_H 1
  19205. | #define HAVE_PWD_H 1
  19206. | #define HAVE_SYS_FCNTL_H 1
  19207. | #define HAVE_SYS_FILE_H 1
  19208. | #define HAVE_SYS_IOCTL_H 1
  19209. | #define HAVE_SYS_PARAM_H 1
  19210. | #define HAVE_SYS_PRCTL_H 1
  19211. | #define HAVE_SYS_RESOURCE_H 1
  19212. | #define HAVE_SYS_SELECT_H 1
  19213. | #define HAVE_SYS_SENDFILE_H 1
  19214. | #define HAVE_SYS_SOCKET_H 1
  19215. | #define HAVE_SYS_SYSCALL_H 1
  19216. | #define HAVE_SYS_TIME_H 1
  19217. | #define HAVE_SYS_TIMES_H 1
  19218. | #define HAVE_SYS_UIO_H 1
  19219. | #define HAVE_SYSCALL_H 1
  19220. | #define HAVE_TIME_H 1
  19221. | #define HAVE_UCONTEXT_H 1
  19222. | #define HAVE_UTIME_H 1
  19223. | #define HAVE_GMP_H 1
  19224. | #define HAVE_LIBGMP 1
  19225. | #define HAVE_TYPEOF 1
  19226. | #define typeof __typeof__
  19227. | #define HAVE_LONG_LONG 1
  19228. | #define HAVE_OFF_T 1
  19229. | #define SIZEOF_INT 4
  19230. | #define SIZEOF_SHORT 2
  19231. | #define SIZEOF_LONG 8
  19232. | #define SIZEOF_LONG_LONG 8
  19233. | #define SIZEOF___INT64 0
  19234. | #define SIZEOF_OFF_T 8
  19235. | #define SIZEOF_VOIDP 8
  19236. | #define SIZEOF_FLOAT 4
  19237. | #define SIZEOF_DOUBLE 8
  19238. | #define SIZEOF_TIME_T 8
  19239. | #define SIZEOF_CLOCK_T 8
  19240. | #define PACKED_STRUCT(x) x __attribute__((packed))
  19241. | #define PACKED_STRUCT_UNALIGNED(x) x
  19242. | #define PRI_LL_PREFIX "ll"
  19243. | #define rb_pid_t pid_t
  19244. | #define SIGNEDNESS_OF_PID_T -1
  19245. | #define PIDT2NUM(v) INT2NUM(v)
  19246. | #define NUM2PIDT(v) NUM2INT(v)
  19247. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  19248. | #define rb_uid_t uid_t
  19249. | #define SIGNEDNESS_OF_UID_T +1
  19250. | #define UIDT2NUM(v) UINT2NUM(v)
  19251. | #define NUM2UIDT(v) NUM2UINT(v)
  19252. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  19253. | #define rb_gid_t gid_t
  19254. | #define SIGNEDNESS_OF_GID_T +1
  19255. | #define GIDT2NUM(v) UINT2NUM(v)
  19256. | #define NUM2GIDT(v) NUM2UINT(v)
  19257. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  19258. | #define rb_time_t time_t
  19259. | #define SIGNEDNESS_OF_TIME_T -1
  19260. | #define TIMET2NUM(v) LONG2NUM(v)
  19261. | #define NUM2TIMET(v) NUM2LONG(v)
  19262. | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
  19263. | #define rb_dev_t dev_t
  19264. | #define SIGNEDNESS_OF_DEV_T +1
  19265. | #define DEVT2NUM(v) ULONG2NUM(v)
  19266. | #define NUM2DEVT(v) NUM2ULONG(v)
  19267. | #define PRI_DEVT_PREFIX PRI_LONG_PREFIX
  19268. | #define rb_mode_t mode_t
  19269. | #define SIGNEDNESS_OF_MODE_T +1
  19270. | #define MODET2NUM(v) UINT2NUM(v)
  19271. | #define NUM2MODET(v) NUM2UINT(v)
  19272. | #define PRI_MODET_PREFIX PRI_INT_PREFIX
  19273. | #define rb_rlim_t rlim_t
  19274. | #define SIGNEDNESS_OF_RLIM_T +1
  19275. | #define RLIM2NUM(v) ULONG2NUM(v)
  19276. | #define NUM2RLIM(v) NUM2ULONG(v)
  19277. | #define PRI_RLIM_PREFIX PRI_LONG_PREFIX
  19278. | #define rb_off_t off_t
  19279. | #define SIGNEDNESS_OF_OFF_T -1
  19280. | #define OFFT2NUM(v) LONG2NUM(v)
  19281. | #define NUM2OFFT(v) NUM2LONG(v)
  19282. | #define PRI_OFFT_PREFIX PRI_LONG_PREFIX
  19283. | #define rb_clockid_t clockid_t
  19284. | #define SIGNEDNESS_OF_CLOCKID_T -1
  19285. | #define CLOCKID2NUM(v) INT2NUM(v)
  19286. | #define NUM2CLOCKID(v) NUM2INT(v)
  19287. | #define PRI_CLOCKID_PREFIX PRI_INT_PREFIX
  19288. | #define HAVE_PROTOTYPES 1
  19289. | #define TOKEN_PASTE(x,y) x##y
  19290. | #define STRINGIZE(expr) STRINGIZE0(expr)
  19291. | #define HAVE_STDARG_PROTOTYPES 1
  19292. | #define HAVE_VA_ARGS_MACRO 1
  19293. | #define NORETURN(x) __attribute__ ((noreturn)) x
  19294. | #define DEPRECATED(x) __attribute__ ((deprecated)) x
  19295. | #define DEPRECATED_BY(n,x) __attribute__ ((deprecated("by "#n))) x
  19296. | #define DEPRECATED_TYPE(mesg,x) __attribute__ ((deprecated mesg)) x
  19297. | #define NOINLINE(x) __attribute__ ((noinline)) x
  19298. | #define WEAK(x) __attribute__ ((weak)) x
  19299. | #define HAVE_FUNC_WEAK 1
  19300. | #define FUNC_UNOPTIMIZED(x) __attribute__ ((optimize("O0"))) x
  19301. | #define FUNC_MINIMIZED(x) __attribute__ ((optimize("-Os","-fomit-frame-pointer"))) x
  19302. | #define HAVE_ATTRIBUTE_FUNCTION_ALIAS 1
  19303. | #define RUBY_ALIAS_FUNCTION_TYPE(type, prot, name, args) type prot __attribute__((alias(#name)));
  19304. | #define RUBY_ALIAS_FUNCTION_VOID(prot, name, args) RUBY_ALIAS_FUNCTION_TYPE(void, prot, name, args)
  19305. | #define HAVE_GCC_ATOMIC_BUILTINS 1
  19306. | #define HAVE_GCC_SYNC_BUILTINS 1
  19307. | #define UNREACHABLE __builtin_unreachable()
  19308. | #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
  19309. | #define RUBY_FUNCTION_NAME_STRING __func__
  19310. | #define ENUM_OVER_INT 1
  19311. | #define HAVE_DECL_SYS_NERR 1
  19312. | #define HAVE_DECL_GETENV 1
  19313. | #define SIZEOF_SIZE_T 8
  19314. | #define SIZEOF_PTRDIFF_T 8
  19315. | #define PRI_SIZE_PREFIX "z"
  19316. | #define PRI_PTRDIFF_PREFIX "t"
  19317. | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
  19318. | #define HAVE_ST_BLKSIZE 1
  19319. | #define HAVE_STRUCT_STAT_ST_BLOCKS 1
  19320. | #define HAVE_ST_BLOCKS 1
  19321. | #define HAVE_STRUCT_STAT_ST_RDEV 1
  19322. | #define HAVE_ST_RDEV 1
  19323. | #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_OFF_T
  19324. | #define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_OFF_T
  19325. | #define SIZEOF_STRUCT_STAT_ST_INO SIZEOF_LONG
  19326. | #define HAVE_STRUCT_STAT_ST_ATIM 1
  19327. | #define HAVE_STRUCT_STAT_ST_MTIM 1
  19328. | #define HAVE_STRUCT_STAT_ST_CTIM 1
  19329. | #define HAVE_STRUCT_TIMEVAL 1
  19330. | #define SIZEOF_STRUCT_TIMEVAL_TV_SEC SIZEOF_TIME_T
  19331. | #define HAVE_STRUCT_TIMESPEC 1
  19332. | #define HAVE_STRUCT_TIMEZONE 1
  19333. | #define HAVE_CLOCKID_T 1
  19334. | #define HAVE_RB_FD_INIT 1
  19335. | #define HAVE_INT8_T 1
  19336. | #define SIZEOF_INT8_T 1
  19337. | #define HAVE_UINT8_T 1
  19338. | #define SIZEOF_UINT8_T 1
  19339. | #define HAVE_INT16_T 1
  19340. | #define SIZEOF_INT16_T 2
  19341. | #define HAVE_UINT16_T 1
  19342. | #define SIZEOF_UINT16_T 2
  19343. | #define HAVE_INT32_T 1
  19344. | #define SIZEOF_INT32_T 4
  19345. | #define HAVE_UINT32_T 1
  19346. | #define SIZEOF_UINT32_T 4
  19347. | #define HAVE_INT64_T 1
  19348. | #define SIZEOF_INT64_T 8
  19349. | #define HAVE_UINT64_T 1
  19350. | #define SIZEOF_UINT64_T 8
  19351. | #define HAVE_INTPTR_T 1
  19352. | #define SIZEOF_INTPTR_T 8
  19353. | #define HAVE_UINTPTR_T 1
  19354. | #define SIZEOF_UINTPTR_T 8
  19355. | #define HAVE_SSIZE_T 1
  19356. | #define SIZEOF_SSIZE_T 8
  19357. | #define STACK_END_ADDRESS __libc_stack_end
  19358. | #define GETGROUPS_T gid_t
  19359. | #define RETSIGTYPE void
  19360. | #define HAVE_ALLOCA_H 1
  19361. | #define HAVE_ALLOCA 1
  19362. | #define HAVE_ACOSH 1
  19363. | #define HAVE_CBRT 1
  19364. | #define HAVE_CRYPT 1
  19365. | #define HAVE_DUP2 1
  19366. | #define HAVE_ERF 1
  19367. | #define HAVE_EXPLICIT_BZERO 1
  19368. | #define HAVE_FFS 1
  19369. | #define HAVE_FINITE 1
  19370. | #define HAVE_FLOCK 1
  19371. | #define HAVE_HYPOT 1
  19372. | #define HAVE_ISINF 1
  19373. | #define HAVE_ISNAN 1
  19374. | #define HAVE_LGAMMA_R 1
  19375. | #define HAVE_MEMMOVE 1
  19376. | #define HAVE_NEXTAFTER 1
  19377. | #define HAVE_STRCHR 1
  19378. | #define HAVE_STRERROR 1
  19379. | #define HAVE_STRSTR 1
  19380. | #define HAVE_TGAMMA 1
  19381. | #define SPT_TYPE SPT_REUSEARGV
  19382. | #define HAVE_SIGNBIT 1
  19383. | #define HAVE_FORK 1
  19384. | #define HAVE_VFORK 1
  19385. | #define HAVE_WORKING_VFORK 1
  19386. | #define HAVE_WORKING_FORK 1
  19387. | #define HAVE__LONGJMP 1
  19388. | #define HAVE__SETJMP 1
  19389. | #define HAVE_ATAN2L 1
  19390. | #define HAVE_ATAN2F 1
  19391. | #define HAVE_CHROOT 1
  19392. | #define HAVE_CLOCK_GETTIME 1
  19393. | #define HAVE_COSH 1
  19394. | #define HAVE_DIRFD 1
  19395. | #define HAVE_DL_ITERATE_PHDR 1
  19396. | #define HAVE_DLOPEN 1
  19397. | #define HAVE_DLADDR 1
  19398. | #define HAVE_DUP 1
  19399. | #define HAVE_DUP3 1
  19400. | #define HAVE_EACCESS 1
  19401. | #define HAVE_ENDGRENT 1
  19402. | #define HAVE_FCHMOD 1
  19403. | #define HAVE_FCHOWN 1
  19404. | #define HAVE_FCNTL 1
  19405. | #define HAVE_FDATASYNC 1
  19406. | #define HAVE_FMOD 1
  19407. | #define HAVE_FSYNC 1
  19408. | #define HAVE_FTRUNCATE 1
  19409. | #define HAVE_FTRUNCATE64 1
  19410. | #define HAVE_GETCWD 1
  19411. | #define HAVE_GETGRNAM 1
  19412. | #define HAVE_GETGRNAM_R 1
  19413. | #define HAVE_GETGROUPS 1
  19414. | #define HAVE_GETPGID 1
  19415. | #define HAVE_GETPGRP 1
  19416. | #define HAVE_GETPRIORITY 1
  19417. | #define HAVE_GETPWNAM_R 1
  19418. | #define HAVE_GETRESGID 1
  19419. | #define HAVE_GETRESUID 1
  19420. | #define HAVE_GETRLIMIT 1
  19421. | #define HAVE_GETSID 1
  19422. | #define HAVE_GETTIMEOFDAY 1
  19423. | #define HAVE_GMTIME_R 1
  19424. | #define HAVE_INITGROUPS 1
  19425. | #define HAVE_IOCTL 1
  19426. | #define HAVE_KILLPG 1
  19427. | /* end confdefs.h. */
  19428. | /* Define lchmod to an innocuous variant, in case <limits.h> declares lchmod.
  19429. | For example, HP-UX 11i <limits.h> declares gettimeofday. */
  19430. | #define lchmod innocuous_lchmod
  19431. |
  19432. | /* System header to define __stub macros and hopefully few prototypes,
  19433. | which can conflict with char lchmod (); below.
  19434. | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  19435. | <limits.h> exists even on freestanding compilers. */
  19436. |
  19437. | #ifdef __STDC__
  19438. | # include <limits.h>
  19439. | #else
  19440. | # include <assert.h>
  19441. | #endif
  19442. |
  19443. | #undef lchmod
  19444. |
  19445. | /* Override any GCC internal prototype to avoid an error.
  19446. | Use char because int might match the return type of a GCC
  19447. | builtin and then its argument prototype would still apply. */
  19448. | #ifdef __cplusplus
  19449. | extern "C"
  19450. | #endif
  19451. | char lchmod ();
  19452. | /* The GNU C library defines this for functions which it implements
  19453. | to always fail with ENOSYS. Some functions are actually named
  19454. | something starting with __ and the normal name is an alias. */
  19455. | #if defined __stub_lchmod || defined __stub___lchmod
  19456. | choke me
  19457. | #endif
  19458. |
  19459. | int
  19460. | main ()
  19461. | {
  19462. | return lchmod ();
  19463. | ;
  19464. | return 0;
  19465. | }
  19466. configure:19412: result: no
  19467. configure:19423: checking for lchown
  19468. configure:19423: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  19469. configure:19423: $? = 0
  19470. configure:19423: result: yes
  19471. configure:19434: checking for link
  19472. configure:19434: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  19473. configure:19434: $? = 0
  19474. configure:19434: result: yes
  19475. configure:19445: checking for llabs
  19476. configure:19445: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  19477. conftest.c:290:6: warning: conflicting types for built-in function 'llabs' [-Wbuiltin-declaration-mismatch]
  19478. char llabs ();
  19479. ^~~~~
  19480. configure:19445: $? = 0
  19481. configure:19445: result: yes
  19482. configure:19456: checking for lockf
  19483. configure:19456: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  19484. configure:19456: $? = 0
  19485. configure:19456: result: yes
  19486. configure:19467: checking for log2
  19487. configure:19467: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  19488. conftest.c:292:6: warning: conflicting types for built-in function 'log2' [-Wbuiltin-declaration-mismatch]
  19489. char log2 ();
  19490. ^~~~
  19491. configure:19467: $? = 0
  19492. configure:19467: result: yes
  19493. configure:19478: checking for lstat
  19494. configure:19478: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  19495. configure:19478: $? = 0
  19496. configure:19478: result: yes
  19497. configure:19489: checking for malloc_usable_size
  19498. configure:19489: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  19499. configure:19489: $? = 0
  19500. configure:19489: result: yes
  19501. configure:19500: checking for malloc_size
  19502. configure:19500: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  19503. /tmp/ccraG90Z.o: In function `main':
  19504. /usr/share/rvm/src/ruby-2.3.0/conftest.c:306: undefined reference to `malloc_size'
  19505. collect2: error: ld returned 1 exit status
  19506. configure:19500: $? = 1
  19507. configure: failed program was:
  19508. | /* confdefs.h */
  19509. | #define PACKAGE_NAME ""
  19510. | #define PACKAGE_TARNAME ""
  19511. | #define PACKAGE_VERSION ""
  19512. | #define PACKAGE_STRING ""
  19513. | #define PACKAGE_BUGREPORT ""
  19514. | #define PACKAGE_URL ""
  19515. | #define CANONICALIZATION_FOR_MATHN 1
  19516. | #define STDC_HEADERS 1
  19517. | #define HAVE_SYS_TYPES_H 1
  19518. | #define HAVE_SYS_STAT_H 1
  19519. | #define HAVE_STDLIB_H 1
  19520. | #define HAVE_STRING_H 1
  19521. | #define HAVE_MEMORY_H 1
  19522. | #define HAVE_STRINGS_H 1
  19523. | #define HAVE_INTTYPES_H 1
  19524. | #define HAVE_STDINT_H 1
  19525. | #define HAVE_UNISTD_H 1
  19526. | #define __EXTENSIONS__ 1
  19527. | #define _ALL_SOURCE 1
  19528. | #define _GNU_SOURCE 1
  19529. | #define _POSIX_PTHREAD_SEMANTICS 1
  19530. | #define _TANDEM_SOURCE 1
  19531. | #define HAVE_INFINITY 1
  19532. | #define HAVE_NAN 1
  19533. | #define RUBY_SYMBOL_EXPORT_BEGIN _Pragma("GCC visibility push(default)")
  19534. | #define RUBY_SYMBOL_EXPORT_END _Pragma("GCC visibility pop")
  19535. | #define HAVE_LIBCRYPT 1
  19536. | #define HAVE_LIBDL 1
  19537. | #define HAVE_DIRENT_H 1
  19538. | #define HAVE__BOOL 1
  19539. | #define HAVE_STDBOOL_H 1
  19540. | #define HAVE_SYS_WAIT_H 1
  19541. | #define HAVE_A_OUT_H 1
  19542. | #define HAVE_GRP_H 1
  19543. | #define HAVE_FCNTL_H 1
  19544. | #define HAVE_FLOAT_H 1
  19545. | #define HAVE_LANGINFO_H 1
  19546. | #define HAVE_LIMITS_H 1
  19547. | #define HAVE_LOCALE_H 1
  19548. | #define HAVE_MALLOC_H 1
  19549. | #define HAVE_PWD_H 1
  19550. | #define HAVE_SYS_FCNTL_H 1
  19551. | #define HAVE_SYS_FILE_H 1
  19552. | #define HAVE_SYS_IOCTL_H 1
  19553. | #define HAVE_SYS_PARAM_H 1
  19554. | #define HAVE_SYS_PRCTL_H 1
  19555. | #define HAVE_SYS_RESOURCE_H 1
  19556. | #define HAVE_SYS_SELECT_H 1
  19557. | #define HAVE_SYS_SENDFILE_H 1
  19558. | #define HAVE_SYS_SOCKET_H 1
  19559. | #define HAVE_SYS_SYSCALL_H 1
  19560. | #define HAVE_SYS_TIME_H 1
  19561. | #define HAVE_SYS_TIMES_H 1
  19562. | #define HAVE_SYS_UIO_H 1
  19563. | #define HAVE_SYSCALL_H 1
  19564. | #define HAVE_TIME_H 1
  19565. | #define HAVE_UCONTEXT_H 1
  19566. | #define HAVE_UTIME_H 1
  19567. | #define HAVE_GMP_H 1
  19568. | #define HAVE_LIBGMP 1
  19569. | #define HAVE_TYPEOF 1
  19570. | #define typeof __typeof__
  19571. | #define HAVE_LONG_LONG 1
  19572. | #define HAVE_OFF_T 1
  19573. | #define SIZEOF_INT 4
  19574. | #define SIZEOF_SHORT 2
  19575. | #define SIZEOF_LONG 8
  19576. | #define SIZEOF_LONG_LONG 8
  19577. | #define SIZEOF___INT64 0
  19578. | #define SIZEOF_OFF_T 8
  19579. | #define SIZEOF_VOIDP 8
  19580. | #define SIZEOF_FLOAT 4
  19581. | #define SIZEOF_DOUBLE 8
  19582. | #define SIZEOF_TIME_T 8
  19583. | #define SIZEOF_CLOCK_T 8
  19584. | #define PACKED_STRUCT(x) x __attribute__((packed))
  19585. | #define PACKED_STRUCT_UNALIGNED(x) x
  19586. | #define PRI_LL_PREFIX "ll"
  19587. | #define rb_pid_t pid_t
  19588. | #define SIGNEDNESS_OF_PID_T -1
  19589. | #define PIDT2NUM(v) INT2NUM(v)
  19590. | #define NUM2PIDT(v) NUM2INT(v)
  19591. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  19592. | #define rb_uid_t uid_t
  19593. | #define SIGNEDNESS_OF_UID_T +1
  19594. | #define UIDT2NUM(v) UINT2NUM(v)
  19595. | #define NUM2UIDT(v) NUM2UINT(v)
  19596. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  19597. | #define rb_gid_t gid_t
  19598. | #define SIGNEDNESS_OF_GID_T +1
  19599. | #define GIDT2NUM(v) UINT2NUM(v)
  19600. | #define NUM2GIDT(v) NUM2UINT(v)
  19601. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  19602. | #define rb_time_t time_t
  19603. | #define SIGNEDNESS_OF_TIME_T -1
  19604. | #define TIMET2NUM(v) LONG2NUM(v)
  19605. | #define NUM2TIMET(v) NUM2LONG(v)
  19606. | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
  19607. | #define rb_dev_t dev_t
  19608. | #define SIGNEDNESS_OF_DEV_T +1
  19609. | #define DEVT2NUM(v) ULONG2NUM(v)
  19610. | #define NUM2DEVT(v) NUM2ULONG(v)
  19611. | #define PRI_DEVT_PREFIX PRI_LONG_PREFIX
  19612. | #define rb_mode_t mode_t
  19613. | #define SIGNEDNESS_OF_MODE_T +1
  19614. | #define MODET2NUM(v) UINT2NUM(v)
  19615. | #define NUM2MODET(v) NUM2UINT(v)
  19616. | #define PRI_MODET_PREFIX PRI_INT_PREFIX
  19617. | #define rb_rlim_t rlim_t
  19618. | #define SIGNEDNESS_OF_RLIM_T +1
  19619. | #define RLIM2NUM(v) ULONG2NUM(v)
  19620. | #define NUM2RLIM(v) NUM2ULONG(v)
  19621. | #define PRI_RLIM_PREFIX PRI_LONG_PREFIX
  19622. | #define rb_off_t off_t
  19623. | #define SIGNEDNESS_OF_OFF_T -1
  19624. | #define OFFT2NUM(v) LONG2NUM(v)
  19625. | #define NUM2OFFT(v) NUM2LONG(v)
  19626. | #define PRI_OFFT_PREFIX PRI_LONG_PREFIX
  19627. | #define rb_clockid_t clockid_t
  19628. | #define SIGNEDNESS_OF_CLOCKID_T -1
  19629. | #define CLOCKID2NUM(v) INT2NUM(v)
  19630. | #define NUM2CLOCKID(v) NUM2INT(v)
  19631. | #define PRI_CLOCKID_PREFIX PRI_INT_PREFIX
  19632. | #define HAVE_PROTOTYPES 1
  19633. | #define TOKEN_PASTE(x,y) x##y
  19634. | #define STRINGIZE(expr) STRINGIZE0(expr)
  19635. | #define HAVE_STDARG_PROTOTYPES 1
  19636. | #define HAVE_VA_ARGS_MACRO 1
  19637. | #define NORETURN(x) __attribute__ ((noreturn)) x
  19638. | #define DEPRECATED(x) __attribute__ ((deprecated)) x
  19639. | #define DEPRECATED_BY(n,x) __attribute__ ((deprecated("by "#n))) x
  19640. | #define DEPRECATED_TYPE(mesg,x) __attribute__ ((deprecated mesg)) x
  19641. | #define NOINLINE(x) __attribute__ ((noinline)) x
  19642. | #define WEAK(x) __attribute__ ((weak)) x
  19643. | #define HAVE_FUNC_WEAK 1
  19644. | #define FUNC_UNOPTIMIZED(x) __attribute__ ((optimize("O0"))) x
  19645. | #define FUNC_MINIMIZED(x) __attribute__ ((optimize("-Os","-fomit-frame-pointer"))) x
  19646. | #define HAVE_ATTRIBUTE_FUNCTION_ALIAS 1
  19647. | #define RUBY_ALIAS_FUNCTION_TYPE(type, prot, name, args) type prot __attribute__((alias(#name)));
  19648. | #define RUBY_ALIAS_FUNCTION_VOID(prot, name, args) RUBY_ALIAS_FUNCTION_TYPE(void, prot, name, args)
  19649. | #define HAVE_GCC_ATOMIC_BUILTINS 1
  19650. | #define HAVE_GCC_SYNC_BUILTINS 1
  19651. | #define UNREACHABLE __builtin_unreachable()
  19652. | #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
  19653. | #define RUBY_FUNCTION_NAME_STRING __func__
  19654. | #define ENUM_OVER_INT 1
  19655. | #define HAVE_DECL_SYS_NERR 1
  19656. | #define HAVE_DECL_GETENV 1
  19657. | #define SIZEOF_SIZE_T 8
  19658. | #define SIZEOF_PTRDIFF_T 8
  19659. | #define PRI_SIZE_PREFIX "z"
  19660. | #define PRI_PTRDIFF_PREFIX "t"
  19661. | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
  19662. | #define HAVE_ST_BLKSIZE 1
  19663. | #define HAVE_STRUCT_STAT_ST_BLOCKS 1
  19664. | #define HAVE_ST_BLOCKS 1
  19665. | #define HAVE_STRUCT_STAT_ST_RDEV 1
  19666. | #define HAVE_ST_RDEV 1
  19667. | #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_OFF_T
  19668. | #define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_OFF_T
  19669. | #define SIZEOF_STRUCT_STAT_ST_INO SIZEOF_LONG
  19670. | #define HAVE_STRUCT_STAT_ST_ATIM 1
  19671. | #define HAVE_STRUCT_STAT_ST_MTIM 1
  19672. | #define HAVE_STRUCT_STAT_ST_CTIM 1
  19673. | #define HAVE_STRUCT_TIMEVAL 1
  19674. | #define SIZEOF_STRUCT_TIMEVAL_TV_SEC SIZEOF_TIME_T
  19675. | #define HAVE_STRUCT_TIMESPEC 1
  19676. | #define HAVE_STRUCT_TIMEZONE 1
  19677. | #define HAVE_CLOCKID_T 1
  19678. | #define HAVE_RB_FD_INIT 1
  19679. | #define HAVE_INT8_T 1
  19680. | #define SIZEOF_INT8_T 1
  19681. | #define HAVE_UINT8_T 1
  19682. | #define SIZEOF_UINT8_T 1
  19683. | #define HAVE_INT16_T 1
  19684. | #define SIZEOF_INT16_T 2
  19685. | #define HAVE_UINT16_T 1
  19686. | #define SIZEOF_UINT16_T 2
  19687. | #define HAVE_INT32_T 1
  19688. | #define SIZEOF_INT32_T 4
  19689. | #define HAVE_UINT32_T 1
  19690. | #define SIZEOF_UINT32_T 4
  19691. | #define HAVE_INT64_T 1
  19692. | #define SIZEOF_INT64_T 8
  19693. | #define HAVE_UINT64_T 1
  19694. | #define SIZEOF_UINT64_T 8
  19695. | #define HAVE_INTPTR_T 1
  19696. | #define SIZEOF_INTPTR_T 8
  19697. | #define HAVE_UINTPTR_T 1
  19698. | #define SIZEOF_UINTPTR_T 8
  19699. | #define HAVE_SSIZE_T 1
  19700. | #define SIZEOF_SSIZE_T 8
  19701. | #define STACK_END_ADDRESS __libc_stack_end
  19702. | #define GETGROUPS_T gid_t
  19703. | #define RETSIGTYPE void
  19704. | #define HAVE_ALLOCA_H 1
  19705. | #define HAVE_ALLOCA 1
  19706. | #define HAVE_ACOSH 1
  19707. | #define HAVE_CBRT 1
  19708. | #define HAVE_CRYPT 1
  19709. | #define HAVE_DUP2 1
  19710. | #define HAVE_ERF 1
  19711. | #define HAVE_EXPLICIT_BZERO 1
  19712. | #define HAVE_FFS 1
  19713. | #define HAVE_FINITE 1
  19714. | #define HAVE_FLOCK 1
  19715. | #define HAVE_HYPOT 1
  19716. | #define HAVE_ISINF 1
  19717. | #define HAVE_ISNAN 1
  19718. | #define HAVE_LGAMMA_R 1
  19719. | #define HAVE_MEMMOVE 1
  19720. | #define HAVE_NEXTAFTER 1
  19721. | #define HAVE_STRCHR 1
  19722. | #define HAVE_STRERROR 1
  19723. | #define HAVE_STRSTR 1
  19724. | #define HAVE_TGAMMA 1
  19725. | #define SPT_TYPE SPT_REUSEARGV
  19726. | #define HAVE_SIGNBIT 1
  19727. | #define HAVE_FORK 1
  19728. | #define HAVE_VFORK 1
  19729. | #define HAVE_WORKING_VFORK 1
  19730. | #define HAVE_WORKING_FORK 1
  19731. | #define HAVE__LONGJMP 1
  19732. | #define HAVE__SETJMP 1
  19733. | #define HAVE_ATAN2L 1
  19734. | #define HAVE_ATAN2F 1
  19735. | #define HAVE_CHROOT 1
  19736. | #define HAVE_CLOCK_GETTIME 1
  19737. | #define HAVE_COSH 1
  19738. | #define HAVE_DIRFD 1
  19739. | #define HAVE_DL_ITERATE_PHDR 1
  19740. | #define HAVE_DLOPEN 1
  19741. | #define HAVE_DLADDR 1
  19742. | #define HAVE_DUP 1
  19743. | #define HAVE_DUP3 1
  19744. | #define HAVE_EACCESS 1
  19745. | #define HAVE_ENDGRENT 1
  19746. | #define HAVE_FCHMOD 1
  19747. | #define HAVE_FCHOWN 1
  19748. | #define HAVE_FCNTL 1
  19749. | #define HAVE_FDATASYNC 1
  19750. | #define HAVE_FMOD 1
  19751. | #define HAVE_FSYNC 1
  19752. | #define HAVE_FTRUNCATE 1
  19753. | #define HAVE_FTRUNCATE64 1
  19754. | #define HAVE_GETCWD 1
  19755. | #define HAVE_GETGRNAM 1
  19756. | #define HAVE_GETGRNAM_R 1
  19757. | #define HAVE_GETGROUPS 1
  19758. | #define HAVE_GETPGID 1
  19759. | #define HAVE_GETPGRP 1
  19760. | #define HAVE_GETPRIORITY 1
  19761. | #define HAVE_GETPWNAM_R 1
  19762. | #define HAVE_GETRESGID 1
  19763. | #define HAVE_GETRESUID 1
  19764. | #define HAVE_GETRLIMIT 1
  19765. | #define HAVE_GETSID 1
  19766. | #define HAVE_GETTIMEOFDAY 1
  19767. | #define HAVE_GMTIME_R 1
  19768. | #define HAVE_INITGROUPS 1
  19769. | #define HAVE_IOCTL 1
  19770. | #define HAVE_KILLPG 1
  19771. | #define HAVE_LCHOWN 1
  19772. | #define HAVE_LINK 1
  19773. | #define HAVE_LLABS 1
  19774. | #define HAVE_LOCKF 1
  19775. | #define HAVE_LOG2 1
  19776. | #define HAVE_LSTAT 1
  19777. | #define HAVE_MALLOC_USABLE_SIZE 1
  19778. | /* end confdefs.h. */
  19779. | /* Define malloc_size to an innocuous variant, in case <limits.h> declares malloc_size.
  19780. | For example, HP-UX 11i <limits.h> declares gettimeofday. */
  19781. | #define malloc_size innocuous_malloc_size
  19782. |
  19783. | /* System header to define __stub macros and hopefully few prototypes,
  19784. | which can conflict with char malloc_size (); below.
  19785. | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  19786. | <limits.h> exists even on freestanding compilers. */
  19787. |
  19788. | #ifdef __STDC__
  19789. | # include <limits.h>
  19790. | #else
  19791. | # include <assert.h>
  19792. | #endif
  19793. |
  19794. | #undef malloc_size
  19795. |
  19796. | /* Override any GCC internal prototype to avoid an error.
  19797. | Use char because int might match the return type of a GCC
  19798. | builtin and then its argument prototype would still apply. */
  19799. | #ifdef __cplusplus
  19800. | extern "C"
  19801. | #endif
  19802. | char malloc_size ();
  19803. | /* The GNU C library defines this for functions which it implements
  19804. | to always fail with ENOSYS. Some functions are actually named
  19805. | something starting with __ and the normal name is an alias. */
  19806. | #if defined __stub_malloc_size || defined __stub___malloc_size
  19807. | choke me
  19808. | #endif
  19809. |
  19810. | int
  19811. | main ()
  19812. | {
  19813. | return malloc_size ();
  19814. | ;
  19815. | return 0;
  19816. | }
  19817. configure:19500: result: no
  19818. configure:19511: checking for mblen
  19819. configure:19511: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  19820. configure:19511: $? = 0
  19821. configure:19511: result: yes
  19822. configure:19522: checking for memalign
  19823. configure:19522: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  19824. configure:19522: $? = 0
  19825. configure:19522: result: yes
  19826. configure:19533: checking for memset_s
  19827. configure:19533: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  19828. /tmp/ccxWJcM3.o: In function `main':
  19829. /usr/share/rvm/src/ruby-2.3.0/conftest.c:308: undefined reference to `memset_s'
  19830. collect2: error: ld returned 1 exit status
  19831. configure:19533: $? = 1
  19832. configure: failed program was:
  19833. | /* confdefs.h */
  19834. | #define PACKAGE_NAME ""
  19835. | #define PACKAGE_TARNAME ""
  19836. | #define PACKAGE_VERSION ""
  19837. | #define PACKAGE_STRING ""
  19838. | #define PACKAGE_BUGREPORT ""
  19839. | #define PACKAGE_URL ""
  19840. | #define CANONICALIZATION_FOR_MATHN 1
  19841. | #define STDC_HEADERS 1
  19842. | #define HAVE_SYS_TYPES_H 1
  19843. | #define HAVE_SYS_STAT_H 1
  19844. | #define HAVE_STDLIB_H 1
  19845. | #define HAVE_STRING_H 1
  19846. | #define HAVE_MEMORY_H 1
  19847. | #define HAVE_STRINGS_H 1
  19848. | #define HAVE_INTTYPES_H 1
  19849. | #define HAVE_STDINT_H 1
  19850. | #define HAVE_UNISTD_H 1
  19851. | #define __EXTENSIONS__ 1
  19852. | #define _ALL_SOURCE 1
  19853. | #define _GNU_SOURCE 1
  19854. | #define _POSIX_PTHREAD_SEMANTICS 1
  19855. | #define _TANDEM_SOURCE 1
  19856. | #define HAVE_INFINITY 1
  19857. | #define HAVE_NAN 1
  19858. | #define RUBY_SYMBOL_EXPORT_BEGIN _Pragma("GCC visibility push(default)")
  19859. | #define RUBY_SYMBOL_EXPORT_END _Pragma("GCC visibility pop")
  19860. | #define HAVE_LIBCRYPT 1
  19861. | #define HAVE_LIBDL 1
  19862. | #define HAVE_DIRENT_H 1
  19863. | #define HAVE__BOOL 1
  19864. | #define HAVE_STDBOOL_H 1
  19865. | #define HAVE_SYS_WAIT_H 1
  19866. | #define HAVE_A_OUT_H 1
  19867. | #define HAVE_GRP_H 1
  19868. | #define HAVE_FCNTL_H 1
  19869. | #define HAVE_FLOAT_H 1
  19870. | #define HAVE_LANGINFO_H 1
  19871. | #define HAVE_LIMITS_H 1
  19872. | #define HAVE_LOCALE_H 1
  19873. | #define HAVE_MALLOC_H 1
  19874. | #define HAVE_PWD_H 1
  19875. | #define HAVE_SYS_FCNTL_H 1
  19876. | #define HAVE_SYS_FILE_H 1
  19877. | #define HAVE_SYS_IOCTL_H 1
  19878. | #define HAVE_SYS_PARAM_H 1
  19879. | #define HAVE_SYS_PRCTL_H 1
  19880. | #define HAVE_SYS_RESOURCE_H 1
  19881. | #define HAVE_SYS_SELECT_H 1
  19882. | #define HAVE_SYS_SENDFILE_H 1
  19883. | #define HAVE_SYS_SOCKET_H 1
  19884. | #define HAVE_SYS_SYSCALL_H 1
  19885. | #define HAVE_SYS_TIME_H 1
  19886. | #define HAVE_SYS_TIMES_H 1
  19887. | #define HAVE_SYS_UIO_H 1
  19888. | #define HAVE_SYSCALL_H 1
  19889. | #define HAVE_TIME_H 1
  19890. | #define HAVE_UCONTEXT_H 1
  19891. | #define HAVE_UTIME_H 1
  19892. | #define HAVE_GMP_H 1
  19893. | #define HAVE_LIBGMP 1
  19894. | #define HAVE_TYPEOF 1
  19895. | #define typeof __typeof__
  19896. | #define HAVE_LONG_LONG 1
  19897. | #define HAVE_OFF_T 1
  19898. | #define SIZEOF_INT 4
  19899. | #define SIZEOF_SHORT 2
  19900. | #define SIZEOF_LONG 8
  19901. | #define SIZEOF_LONG_LONG 8
  19902. | #define SIZEOF___INT64 0
  19903. | #define SIZEOF_OFF_T 8
  19904. | #define SIZEOF_VOIDP 8
  19905. | #define SIZEOF_FLOAT 4
  19906. | #define SIZEOF_DOUBLE 8
  19907. | #define SIZEOF_TIME_T 8
  19908. | #define SIZEOF_CLOCK_T 8
  19909. | #define PACKED_STRUCT(x) x __attribute__((packed))
  19910. | #define PACKED_STRUCT_UNALIGNED(x) x
  19911. | #define PRI_LL_PREFIX "ll"
  19912. | #define rb_pid_t pid_t
  19913. | #define SIGNEDNESS_OF_PID_T -1
  19914. | #define PIDT2NUM(v) INT2NUM(v)
  19915. | #define NUM2PIDT(v) NUM2INT(v)
  19916. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  19917. | #define rb_uid_t uid_t
  19918. | #define SIGNEDNESS_OF_UID_T +1
  19919. | #define UIDT2NUM(v) UINT2NUM(v)
  19920. | #define NUM2UIDT(v) NUM2UINT(v)
  19921. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  19922. | #define rb_gid_t gid_t
  19923. | #define SIGNEDNESS_OF_GID_T +1
  19924. | #define GIDT2NUM(v) UINT2NUM(v)
  19925. | #define NUM2GIDT(v) NUM2UINT(v)
  19926. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  19927. | #define rb_time_t time_t
  19928. | #define SIGNEDNESS_OF_TIME_T -1
  19929. | #define TIMET2NUM(v) LONG2NUM(v)
  19930. | #define NUM2TIMET(v) NUM2LONG(v)
  19931. | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
  19932. | #define rb_dev_t dev_t
  19933. | #define SIGNEDNESS_OF_DEV_T +1
  19934. | #define DEVT2NUM(v) ULONG2NUM(v)
  19935. | #define NUM2DEVT(v) NUM2ULONG(v)
  19936. | #define PRI_DEVT_PREFIX PRI_LONG_PREFIX
  19937. | #define rb_mode_t mode_t
  19938. | #define SIGNEDNESS_OF_MODE_T +1
  19939. | #define MODET2NUM(v) UINT2NUM(v)
  19940. | #define NUM2MODET(v) NUM2UINT(v)
  19941. | #define PRI_MODET_PREFIX PRI_INT_PREFIX
  19942. | #define rb_rlim_t rlim_t
  19943. | #define SIGNEDNESS_OF_RLIM_T +1
  19944. | #define RLIM2NUM(v) ULONG2NUM(v)
  19945. | #define NUM2RLIM(v) NUM2ULONG(v)
  19946. | #define PRI_RLIM_PREFIX PRI_LONG_PREFIX
  19947. | #define rb_off_t off_t
  19948. | #define SIGNEDNESS_OF_OFF_T -1
  19949. | #define OFFT2NUM(v) LONG2NUM(v)
  19950. | #define NUM2OFFT(v) NUM2LONG(v)
  19951. | #define PRI_OFFT_PREFIX PRI_LONG_PREFIX
  19952. | #define rb_clockid_t clockid_t
  19953. | #define SIGNEDNESS_OF_CLOCKID_T -1
  19954. | #define CLOCKID2NUM(v) INT2NUM(v)
  19955. | #define NUM2CLOCKID(v) NUM2INT(v)
  19956. | #define PRI_CLOCKID_PREFIX PRI_INT_PREFIX
  19957. | #define HAVE_PROTOTYPES 1
  19958. | #define TOKEN_PASTE(x,y) x##y
  19959. | #define STRINGIZE(expr) STRINGIZE0(expr)
  19960. | #define HAVE_STDARG_PROTOTYPES 1
  19961. | #define HAVE_VA_ARGS_MACRO 1
  19962. | #define NORETURN(x) __attribute__ ((noreturn)) x
  19963. | #define DEPRECATED(x) __attribute__ ((deprecated)) x
  19964. | #define DEPRECATED_BY(n,x) __attribute__ ((deprecated("by "#n))) x
  19965. | #define DEPRECATED_TYPE(mesg,x) __attribute__ ((deprecated mesg)) x
  19966. | #define NOINLINE(x) __attribute__ ((noinline)) x
  19967. | #define WEAK(x) __attribute__ ((weak)) x
  19968. | #define HAVE_FUNC_WEAK 1
  19969. | #define FUNC_UNOPTIMIZED(x) __attribute__ ((optimize("O0"))) x
  19970. | #define FUNC_MINIMIZED(x) __attribute__ ((optimize("-Os","-fomit-frame-pointer"))) x
  19971. | #define HAVE_ATTRIBUTE_FUNCTION_ALIAS 1
  19972. | #define RUBY_ALIAS_FUNCTION_TYPE(type, prot, name, args) type prot __attribute__((alias(#name)));
  19973. | #define RUBY_ALIAS_FUNCTION_VOID(prot, name, args) RUBY_ALIAS_FUNCTION_TYPE(void, prot, name, args)
  19974. | #define HAVE_GCC_ATOMIC_BUILTINS 1
  19975. | #define HAVE_GCC_SYNC_BUILTINS 1
  19976. | #define UNREACHABLE __builtin_unreachable()
  19977. | #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
  19978. | #define RUBY_FUNCTION_NAME_STRING __func__
  19979. | #define ENUM_OVER_INT 1
  19980. | #define HAVE_DECL_SYS_NERR 1
  19981. | #define HAVE_DECL_GETENV 1
  19982. | #define SIZEOF_SIZE_T 8
  19983. | #define SIZEOF_PTRDIFF_T 8
  19984. | #define PRI_SIZE_PREFIX "z"
  19985. | #define PRI_PTRDIFF_PREFIX "t"
  19986. | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
  19987. | #define HAVE_ST_BLKSIZE 1
  19988. | #define HAVE_STRUCT_STAT_ST_BLOCKS 1
  19989. | #define HAVE_ST_BLOCKS 1
  19990. | #define HAVE_STRUCT_STAT_ST_RDEV 1
  19991. | #define HAVE_ST_RDEV 1
  19992. | #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_OFF_T
  19993. | #define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_OFF_T
  19994. | #define SIZEOF_STRUCT_STAT_ST_INO SIZEOF_LONG
  19995. | #define HAVE_STRUCT_STAT_ST_ATIM 1
  19996. | #define HAVE_STRUCT_STAT_ST_MTIM 1
  19997. | #define HAVE_STRUCT_STAT_ST_CTIM 1
  19998. | #define HAVE_STRUCT_TIMEVAL 1
  19999. | #define SIZEOF_STRUCT_TIMEVAL_TV_SEC SIZEOF_TIME_T
  20000. | #define HAVE_STRUCT_TIMESPEC 1
  20001. | #define HAVE_STRUCT_TIMEZONE 1
  20002. | #define HAVE_CLOCKID_T 1
  20003. | #define HAVE_RB_FD_INIT 1
  20004. | #define HAVE_INT8_T 1
  20005. | #define SIZEOF_INT8_T 1
  20006. | #define HAVE_UINT8_T 1
  20007. | #define SIZEOF_UINT8_T 1
  20008. | #define HAVE_INT16_T 1
  20009. | #define SIZEOF_INT16_T 2
  20010. | #define HAVE_UINT16_T 1
  20011. | #define SIZEOF_UINT16_T 2
  20012. | #define HAVE_INT32_T 1
  20013. | #define SIZEOF_INT32_T 4
  20014. | #define HAVE_UINT32_T 1
  20015. | #define SIZEOF_UINT32_T 4
  20016. | #define HAVE_INT64_T 1
  20017. | #define SIZEOF_INT64_T 8
  20018. | #define HAVE_UINT64_T 1
  20019. | #define SIZEOF_UINT64_T 8
  20020. | #define HAVE_INTPTR_T 1
  20021. | #define SIZEOF_INTPTR_T 8
  20022. | #define HAVE_UINTPTR_T 1
  20023. | #define SIZEOF_UINTPTR_T 8
  20024. | #define HAVE_SSIZE_T 1
  20025. | #define SIZEOF_SSIZE_T 8
  20026. | #define STACK_END_ADDRESS __libc_stack_end
  20027. | #define GETGROUPS_T gid_t
  20028. | #define RETSIGTYPE void
  20029. | #define HAVE_ALLOCA_H 1
  20030. | #define HAVE_ALLOCA 1
  20031. | #define HAVE_ACOSH 1
  20032. | #define HAVE_CBRT 1
  20033. | #define HAVE_CRYPT 1
  20034. | #define HAVE_DUP2 1
  20035. | #define HAVE_ERF 1
  20036. | #define HAVE_EXPLICIT_BZERO 1
  20037. | #define HAVE_FFS 1
  20038. | #define HAVE_FINITE 1
  20039. | #define HAVE_FLOCK 1
  20040. | #define HAVE_HYPOT 1
  20041. | #define HAVE_ISINF 1
  20042. | #define HAVE_ISNAN 1
  20043. | #define HAVE_LGAMMA_R 1
  20044. | #define HAVE_MEMMOVE 1
  20045. | #define HAVE_NEXTAFTER 1
  20046. | #define HAVE_STRCHR 1
  20047. | #define HAVE_STRERROR 1
  20048. | #define HAVE_STRSTR 1
  20049. | #define HAVE_TGAMMA 1
  20050. | #define SPT_TYPE SPT_REUSEARGV
  20051. | #define HAVE_SIGNBIT 1
  20052. | #define HAVE_FORK 1
  20053. | #define HAVE_VFORK 1
  20054. | #define HAVE_WORKING_VFORK 1
  20055. | #define HAVE_WORKING_FORK 1
  20056. | #define HAVE__LONGJMP 1
  20057. | #define HAVE__SETJMP 1
  20058. | #define HAVE_ATAN2L 1
  20059. | #define HAVE_ATAN2F 1
  20060. | #define HAVE_CHROOT 1
  20061. | #define HAVE_CLOCK_GETTIME 1
  20062. | #define HAVE_COSH 1
  20063. | #define HAVE_DIRFD 1
  20064. | #define HAVE_DL_ITERATE_PHDR 1
  20065. | #define HAVE_DLOPEN 1
  20066. | #define HAVE_DLADDR 1
  20067. | #define HAVE_DUP 1
  20068. | #define HAVE_DUP3 1
  20069. | #define HAVE_EACCESS 1
  20070. | #define HAVE_ENDGRENT 1
  20071. | #define HAVE_FCHMOD 1
  20072. | #define HAVE_FCHOWN 1
  20073. | #define HAVE_FCNTL 1
  20074. | #define HAVE_FDATASYNC 1
  20075. | #define HAVE_FMOD 1
  20076. | #define HAVE_FSYNC 1
  20077. | #define HAVE_FTRUNCATE 1
  20078. | #define HAVE_FTRUNCATE64 1
  20079. | #define HAVE_GETCWD 1
  20080. | #define HAVE_GETGRNAM 1
  20081. | #define HAVE_GETGRNAM_R 1
  20082. | #define HAVE_GETGROUPS 1
  20083. | #define HAVE_GETPGID 1
  20084. | #define HAVE_GETPGRP 1
  20085. | #define HAVE_GETPRIORITY 1
  20086. | #define HAVE_GETPWNAM_R 1
  20087. | #define HAVE_GETRESGID 1
  20088. | #define HAVE_GETRESUID 1
  20089. | #define HAVE_GETRLIMIT 1
  20090. | #define HAVE_GETSID 1
  20091. | #define HAVE_GETTIMEOFDAY 1
  20092. | #define HAVE_GMTIME_R 1
  20093. | #define HAVE_INITGROUPS 1
  20094. | #define HAVE_IOCTL 1
  20095. | #define HAVE_KILLPG 1
  20096. | #define HAVE_LCHOWN 1
  20097. | #define HAVE_LINK 1
  20098. | #define HAVE_LLABS 1
  20099. | #define HAVE_LOCKF 1
  20100. | #define HAVE_LOG2 1
  20101. | #define HAVE_LSTAT 1
  20102. | #define HAVE_MALLOC_USABLE_SIZE 1
  20103. | #define HAVE_MBLEN 1
  20104. | #define HAVE_MEMALIGN 1
  20105. | /* end confdefs.h. */
  20106. | /* Define memset_s to an innocuous variant, in case <limits.h> declares memset_s.
  20107. | For example, HP-UX 11i <limits.h> declares gettimeofday. */
  20108. | #define memset_s innocuous_memset_s
  20109. |
  20110. | /* System header to define __stub macros and hopefully few prototypes,
  20111. | which can conflict with char memset_s (); below.
  20112. | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  20113. | <limits.h> exists even on freestanding compilers. */
  20114. |
  20115. | #ifdef __STDC__
  20116. | # include <limits.h>
  20117. | #else
  20118. | # include <assert.h>
  20119. | #endif
  20120. |
  20121. | #undef memset_s
  20122. |
  20123. | /* Override any GCC internal prototype to avoid an error.
  20124. | Use char because int might match the return type of a GCC
  20125. | builtin and then its argument prototype would still apply. */
  20126. | #ifdef __cplusplus
  20127. | extern "C"
  20128. | #endif
  20129. | char memset_s ();
  20130. | /* The GNU C library defines this for functions which it implements
  20131. | to always fail with ENOSYS. Some functions are actually named
  20132. | something starting with __ and the normal name is an alias. */
  20133. | #if defined __stub_memset_s || defined __stub___memset_s
  20134. | choke me
  20135. | #endif
  20136. |
  20137. | int
  20138. | main ()
  20139. | {
  20140. | return memset_s ();
  20141. | ;
  20142. | return 0;
  20143. | }
  20144. configure:19533: result: no
  20145. configure:19544: checking for writev
  20146. configure:19544: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  20147. configure:19544: $? = 0
  20148. configure:19544: result: yes
  20149. configure:19555: checking for memrchr
  20150. configure:19555: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  20151. configure:19555: $? = 0
  20152. configure:19555: result: yes
  20153. configure:19566: checking for memmem
  20154. configure:19566: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  20155. configure:19566: $? = 0
  20156. configure:19566: result: yes
  20157. configure:19577: checking for mkfifo
  20158. configure:19577: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  20159. configure:19577: $? = 0
  20160. configure:19577: result: yes
  20161. configure:19588: checking for mknod
  20162. configure:19588: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  20163. configure:19588: $? = 0
  20164. configure:19588: result: yes
  20165. configure:19599: checking for mktime
  20166. configure:19599: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  20167. configure:19599: $? = 0
  20168. configure:19599: result: yes
  20169. configure:19610: checking for pipe2
  20170. configure:19610: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  20171. configure:19610: $? = 0
  20172. configure:19610: result: yes
  20173. configure:19621: checking for poll
  20174. configure:19621: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  20175. configure:19621: $? = 0
  20176. configure:19621: result: yes
  20177. configure:19632: checking for posix_fadvise
  20178. configure:19632: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  20179. configure:19632: $? = 0
  20180. configure:19632: result: yes
  20181. configure:19643: checking for posix_memalign
  20182. configure:19643: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  20183. configure:19643: $? = 0
  20184. configure:19643: result: yes
  20185. configure:19654: checking for ppoll
  20186. configure:19654: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  20187. configure:19654: $? = 0
  20188. configure:19654: result: yes
  20189. configure:19665: checking for pread
  20190. configure:19665: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  20191. configure:19665: $? = 0
  20192. configure:19665: result: yes
  20193. configure:19676: checking for qsort_r
  20194. configure:19676: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  20195. configure:19676: $? = 0
  20196. configure:19676: result: yes
  20197. configure:19687: checking for readlink
  20198. configure:19687: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  20199. configure:19687: $? = 0
  20200. configure:19687: result: yes
  20201. configure:19698: checking for round
  20202. configure:19698: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  20203. conftest.c:311:6: warning: conflicting types for built-in function 'round' [-Wbuiltin-declaration-mismatch]
  20204. char round ();
  20205. ^~~~~
  20206. configure:19698: $? = 0
  20207. configure:19698: result: yes
  20208. configure:19709: checking for sched_getaffinity
  20209. configure:19709: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  20210. configure:19709: $? = 0
  20211. configure:19709: result: yes
  20212. configure:19720: checking for seekdir
  20213. configure:19720: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  20214. configure:19720: $? = 0
  20215. configure:19720: result: yes
  20216. configure:19731: checking for select_large_fdset
  20217. configure:19731: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  20218. /tmp/ccMd3O6t.o: In function `main':
  20219. /usr/share/rvm/src/ruby-2.3.0/conftest.c:325: undefined reference to `select_large_fdset'
  20220. collect2: error: ld returned 1 exit status
  20221. configure:19731: $? = 1
  20222. configure: failed program was:
  20223. | /* confdefs.h */
  20224. | #define PACKAGE_NAME ""
  20225. | #define PACKAGE_TARNAME ""
  20226. | #define PACKAGE_VERSION ""
  20227. | #define PACKAGE_STRING ""
  20228. | #define PACKAGE_BUGREPORT ""
  20229. | #define PACKAGE_URL ""
  20230. | #define CANONICALIZATION_FOR_MATHN 1
  20231. | #define STDC_HEADERS 1
  20232. | #define HAVE_SYS_TYPES_H 1
  20233. | #define HAVE_SYS_STAT_H 1
  20234. | #define HAVE_STDLIB_H 1
  20235. | #define HAVE_STRING_H 1
  20236. | #define HAVE_MEMORY_H 1
  20237. | #define HAVE_STRINGS_H 1
  20238. | #define HAVE_INTTYPES_H 1
  20239. | #define HAVE_STDINT_H 1
  20240. | #define HAVE_UNISTD_H 1
  20241. | #define __EXTENSIONS__ 1
  20242. | #define _ALL_SOURCE 1
  20243. | #define _GNU_SOURCE 1
  20244. | #define _POSIX_PTHREAD_SEMANTICS 1
  20245. | #define _TANDEM_SOURCE 1
  20246. | #define HAVE_INFINITY 1
  20247. | #define HAVE_NAN 1
  20248. | #define RUBY_SYMBOL_EXPORT_BEGIN _Pragma("GCC visibility push(default)")
  20249. | #define RUBY_SYMBOL_EXPORT_END _Pragma("GCC visibility pop")
  20250. | #define HAVE_LIBCRYPT 1
  20251. | #define HAVE_LIBDL 1
  20252. | #define HAVE_DIRENT_H 1
  20253. | #define HAVE__BOOL 1
  20254. | #define HAVE_STDBOOL_H 1
  20255. | #define HAVE_SYS_WAIT_H 1
  20256. | #define HAVE_A_OUT_H 1
  20257. | #define HAVE_GRP_H 1
  20258. | #define HAVE_FCNTL_H 1
  20259. | #define HAVE_FLOAT_H 1
  20260. | #define HAVE_LANGINFO_H 1
  20261. | #define HAVE_LIMITS_H 1
  20262. | #define HAVE_LOCALE_H 1
  20263. | #define HAVE_MALLOC_H 1
  20264. | #define HAVE_PWD_H 1
  20265. | #define HAVE_SYS_FCNTL_H 1
  20266. | #define HAVE_SYS_FILE_H 1
  20267. | #define HAVE_SYS_IOCTL_H 1
  20268. | #define HAVE_SYS_PARAM_H 1
  20269. | #define HAVE_SYS_PRCTL_H 1
  20270. | #define HAVE_SYS_RESOURCE_H 1
  20271. | #define HAVE_SYS_SELECT_H 1
  20272. | #define HAVE_SYS_SENDFILE_H 1
  20273. | #define HAVE_SYS_SOCKET_H 1
  20274. | #define HAVE_SYS_SYSCALL_H 1
  20275. | #define HAVE_SYS_TIME_H 1
  20276. | #define HAVE_SYS_TIMES_H 1
  20277. | #define HAVE_SYS_UIO_H 1
  20278. | #define HAVE_SYSCALL_H 1
  20279. | #define HAVE_TIME_H 1
  20280. | #define HAVE_UCONTEXT_H 1
  20281. | #define HAVE_UTIME_H 1
  20282. | #define HAVE_GMP_H 1
  20283. | #define HAVE_LIBGMP 1
  20284. | #define HAVE_TYPEOF 1
  20285. | #define typeof __typeof__
  20286. | #define HAVE_LONG_LONG 1
  20287. | #define HAVE_OFF_T 1
  20288. | #define SIZEOF_INT 4
  20289. | #define SIZEOF_SHORT 2
  20290. | #define SIZEOF_LONG 8
  20291. | #define SIZEOF_LONG_LONG 8
  20292. | #define SIZEOF___INT64 0
  20293. | #define SIZEOF_OFF_T 8
  20294. | #define SIZEOF_VOIDP 8
  20295. | #define SIZEOF_FLOAT 4
  20296. | #define SIZEOF_DOUBLE 8
  20297. | #define SIZEOF_TIME_T 8
  20298. | #define SIZEOF_CLOCK_T 8
  20299. | #define PACKED_STRUCT(x) x __attribute__((packed))
  20300. | #define PACKED_STRUCT_UNALIGNED(x) x
  20301. | #define PRI_LL_PREFIX "ll"
  20302. | #define rb_pid_t pid_t
  20303. | #define SIGNEDNESS_OF_PID_T -1
  20304. | #define PIDT2NUM(v) INT2NUM(v)
  20305. | #define NUM2PIDT(v) NUM2INT(v)
  20306. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  20307. | #define rb_uid_t uid_t
  20308. | #define SIGNEDNESS_OF_UID_T +1
  20309. | #define UIDT2NUM(v) UINT2NUM(v)
  20310. | #define NUM2UIDT(v) NUM2UINT(v)
  20311. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  20312. | #define rb_gid_t gid_t
  20313. | #define SIGNEDNESS_OF_GID_T +1
  20314. | #define GIDT2NUM(v) UINT2NUM(v)
  20315. | #define NUM2GIDT(v) NUM2UINT(v)
  20316. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  20317. | #define rb_time_t time_t
  20318. | #define SIGNEDNESS_OF_TIME_T -1
  20319. | #define TIMET2NUM(v) LONG2NUM(v)
  20320. | #define NUM2TIMET(v) NUM2LONG(v)
  20321. | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
  20322. | #define rb_dev_t dev_t
  20323. | #define SIGNEDNESS_OF_DEV_T +1
  20324. | #define DEVT2NUM(v) ULONG2NUM(v)
  20325. | #define NUM2DEVT(v) NUM2ULONG(v)
  20326. | #define PRI_DEVT_PREFIX PRI_LONG_PREFIX
  20327. | #define rb_mode_t mode_t
  20328. | #define SIGNEDNESS_OF_MODE_T +1
  20329. | #define MODET2NUM(v) UINT2NUM(v)
  20330. | #define NUM2MODET(v) NUM2UINT(v)
  20331. | #define PRI_MODET_PREFIX PRI_INT_PREFIX
  20332. | #define rb_rlim_t rlim_t
  20333. | #define SIGNEDNESS_OF_RLIM_T +1
  20334. | #define RLIM2NUM(v) ULONG2NUM(v)
  20335. | #define NUM2RLIM(v) NUM2ULONG(v)
  20336. | #define PRI_RLIM_PREFIX PRI_LONG_PREFIX
  20337. | #define rb_off_t off_t
  20338. | #define SIGNEDNESS_OF_OFF_T -1
  20339. | #define OFFT2NUM(v) LONG2NUM(v)
  20340. | #define NUM2OFFT(v) NUM2LONG(v)
  20341. | #define PRI_OFFT_PREFIX PRI_LONG_PREFIX
  20342. | #define rb_clockid_t clockid_t
  20343. | #define SIGNEDNESS_OF_CLOCKID_T -1
  20344. | #define CLOCKID2NUM(v) INT2NUM(v)
  20345. | #define NUM2CLOCKID(v) NUM2INT(v)
  20346. | #define PRI_CLOCKID_PREFIX PRI_INT_PREFIX
  20347. | #define HAVE_PROTOTYPES 1
  20348. | #define TOKEN_PASTE(x,y) x##y
  20349. | #define STRINGIZE(expr) STRINGIZE0(expr)
  20350. | #define HAVE_STDARG_PROTOTYPES 1
  20351. | #define HAVE_VA_ARGS_MACRO 1
  20352. | #define NORETURN(x) __attribute__ ((noreturn)) x
  20353. | #define DEPRECATED(x) __attribute__ ((deprecated)) x
  20354. | #define DEPRECATED_BY(n,x) __attribute__ ((deprecated("by "#n))) x
  20355. | #define DEPRECATED_TYPE(mesg,x) __attribute__ ((deprecated mesg)) x
  20356. | #define NOINLINE(x) __attribute__ ((noinline)) x
  20357. | #define WEAK(x) __attribute__ ((weak)) x
  20358. | #define HAVE_FUNC_WEAK 1
  20359. | #define FUNC_UNOPTIMIZED(x) __attribute__ ((optimize("O0"))) x
  20360. | #define FUNC_MINIMIZED(x) __attribute__ ((optimize("-Os","-fomit-frame-pointer"))) x
  20361. | #define HAVE_ATTRIBUTE_FUNCTION_ALIAS 1
  20362. | #define RUBY_ALIAS_FUNCTION_TYPE(type, prot, name, args) type prot __attribute__((alias(#name)));
  20363. | #define RUBY_ALIAS_FUNCTION_VOID(prot, name, args) RUBY_ALIAS_FUNCTION_TYPE(void, prot, name, args)
  20364. | #define HAVE_GCC_ATOMIC_BUILTINS 1
  20365. | #define HAVE_GCC_SYNC_BUILTINS 1
  20366. | #define UNREACHABLE __builtin_unreachable()
  20367. | #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
  20368. | #define RUBY_FUNCTION_NAME_STRING __func__
  20369. | #define ENUM_OVER_INT 1
  20370. | #define HAVE_DECL_SYS_NERR 1
  20371. | #define HAVE_DECL_GETENV 1
  20372. | #define SIZEOF_SIZE_T 8
  20373. | #define SIZEOF_PTRDIFF_T 8
  20374. | #define PRI_SIZE_PREFIX "z"
  20375. | #define PRI_PTRDIFF_PREFIX "t"
  20376. | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
  20377. | #define HAVE_ST_BLKSIZE 1
  20378. | #define HAVE_STRUCT_STAT_ST_BLOCKS 1
  20379. | #define HAVE_ST_BLOCKS 1
  20380. | #define HAVE_STRUCT_STAT_ST_RDEV 1
  20381. | #define HAVE_ST_RDEV 1
  20382. | #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_OFF_T
  20383. | #define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_OFF_T
  20384. | #define SIZEOF_STRUCT_STAT_ST_INO SIZEOF_LONG
  20385. | #define HAVE_STRUCT_STAT_ST_ATIM 1
  20386. | #define HAVE_STRUCT_STAT_ST_MTIM 1
  20387. | #define HAVE_STRUCT_STAT_ST_CTIM 1
  20388. | #define HAVE_STRUCT_TIMEVAL 1
  20389. | #define SIZEOF_STRUCT_TIMEVAL_TV_SEC SIZEOF_TIME_T
  20390. | #define HAVE_STRUCT_TIMESPEC 1
  20391. | #define HAVE_STRUCT_TIMEZONE 1
  20392. | #define HAVE_CLOCKID_T 1
  20393. | #define HAVE_RB_FD_INIT 1
  20394. | #define HAVE_INT8_T 1
  20395. | #define SIZEOF_INT8_T 1
  20396. | #define HAVE_UINT8_T 1
  20397. | #define SIZEOF_UINT8_T 1
  20398. | #define HAVE_INT16_T 1
  20399. | #define SIZEOF_INT16_T 2
  20400. | #define HAVE_UINT16_T 1
  20401. | #define SIZEOF_UINT16_T 2
  20402. | #define HAVE_INT32_T 1
  20403. | #define SIZEOF_INT32_T 4
  20404. | #define HAVE_UINT32_T 1
  20405. | #define SIZEOF_UINT32_T 4
  20406. | #define HAVE_INT64_T 1
  20407. | #define SIZEOF_INT64_T 8
  20408. | #define HAVE_UINT64_T 1
  20409. | #define SIZEOF_UINT64_T 8
  20410. | #define HAVE_INTPTR_T 1
  20411. | #define SIZEOF_INTPTR_T 8
  20412. | #define HAVE_UINTPTR_T 1
  20413. | #define SIZEOF_UINTPTR_T 8
  20414. | #define HAVE_SSIZE_T 1
  20415. | #define SIZEOF_SSIZE_T 8
  20416. | #define STACK_END_ADDRESS __libc_stack_end
  20417. | #define GETGROUPS_T gid_t
  20418. | #define RETSIGTYPE void
  20419. | #define HAVE_ALLOCA_H 1
  20420. | #define HAVE_ALLOCA 1
  20421. | #define HAVE_ACOSH 1
  20422. | #define HAVE_CBRT 1
  20423. | #define HAVE_CRYPT 1
  20424. | #define HAVE_DUP2 1
  20425. | #define HAVE_ERF 1
  20426. | #define HAVE_EXPLICIT_BZERO 1
  20427. | #define HAVE_FFS 1
  20428. | #define HAVE_FINITE 1
  20429. | #define HAVE_FLOCK 1
  20430. | #define HAVE_HYPOT 1
  20431. | #define HAVE_ISINF 1
  20432. | #define HAVE_ISNAN 1
  20433. | #define HAVE_LGAMMA_R 1
  20434. | #define HAVE_MEMMOVE 1
  20435. | #define HAVE_NEXTAFTER 1
  20436. | #define HAVE_STRCHR 1
  20437. | #define HAVE_STRERROR 1
  20438. | #define HAVE_STRSTR 1
  20439. | #define HAVE_TGAMMA 1
  20440. | #define SPT_TYPE SPT_REUSEARGV
  20441. | #define HAVE_SIGNBIT 1
  20442. | #define HAVE_FORK 1
  20443. | #define HAVE_VFORK 1
  20444. | #define HAVE_WORKING_VFORK 1
  20445. | #define HAVE_WORKING_FORK 1
  20446. | #define HAVE__LONGJMP 1
  20447. | #define HAVE__SETJMP 1
  20448. | #define HAVE_ATAN2L 1
  20449. | #define HAVE_ATAN2F 1
  20450. | #define HAVE_CHROOT 1
  20451. | #define HAVE_CLOCK_GETTIME 1
  20452. | #define HAVE_COSH 1
  20453. | #define HAVE_DIRFD 1
  20454. | #define HAVE_DL_ITERATE_PHDR 1
  20455. | #define HAVE_DLOPEN 1
  20456. | #define HAVE_DLADDR 1
  20457. | #define HAVE_DUP 1
  20458. | #define HAVE_DUP3 1
  20459. | #define HAVE_EACCESS 1
  20460. | #define HAVE_ENDGRENT 1
  20461. | #define HAVE_FCHMOD 1
  20462. | #define HAVE_FCHOWN 1
  20463. | #define HAVE_FCNTL 1
  20464. | #define HAVE_FDATASYNC 1
  20465. | #define HAVE_FMOD 1
  20466. | #define HAVE_FSYNC 1
  20467. | #define HAVE_FTRUNCATE 1
  20468. | #define HAVE_FTRUNCATE64 1
  20469. | #define HAVE_GETCWD 1
  20470. | #define HAVE_GETGRNAM 1
  20471. | #define HAVE_GETGRNAM_R 1
  20472. | #define HAVE_GETGROUPS 1
  20473. | #define HAVE_GETPGID 1
  20474. | #define HAVE_GETPGRP 1
  20475. | #define HAVE_GETPRIORITY 1
  20476. | #define HAVE_GETPWNAM_R 1
  20477. | #define HAVE_GETRESGID 1
  20478. | #define HAVE_GETRESUID 1
  20479. | #define HAVE_GETRLIMIT 1
  20480. | #define HAVE_GETSID 1
  20481. | #define HAVE_GETTIMEOFDAY 1
  20482. | #define HAVE_GMTIME_R 1
  20483. | #define HAVE_INITGROUPS 1
  20484. | #define HAVE_IOCTL 1
  20485. | #define HAVE_KILLPG 1
  20486. | #define HAVE_LCHOWN 1
  20487. | #define HAVE_LINK 1
  20488. | #define HAVE_LLABS 1
  20489. | #define HAVE_LOCKF 1
  20490. | #define HAVE_LOG2 1
  20491. | #define HAVE_LSTAT 1
  20492. | #define HAVE_MALLOC_USABLE_SIZE 1
  20493. | #define HAVE_MBLEN 1
  20494. | #define HAVE_MEMALIGN 1
  20495. | #define HAVE_WRITEV 1
  20496. | #define HAVE_MEMRCHR 1
  20497. | #define HAVE_MEMMEM 1
  20498. | #define HAVE_MKFIFO 1
  20499. | #define HAVE_MKNOD 1
  20500. | #define HAVE_MKTIME 1
  20501. | #define HAVE_PIPE2 1
  20502. | #define HAVE_POLL 1
  20503. | #define HAVE_POSIX_FADVISE 1
  20504. | #define HAVE_POSIX_MEMALIGN 1
  20505. | #define HAVE_PPOLL 1
  20506. | #define HAVE_PREAD 1
  20507. | #define HAVE_QSORT_R 1
  20508. | #define HAVE_READLINK 1
  20509. | #define HAVE_ROUND 1
  20510. | #define HAVE_SCHED_GETAFFINITY 1
  20511. | #define HAVE_SEEKDIR 1
  20512. | /* end confdefs.h. */
  20513. | /* Define select_large_fdset to an innocuous variant, in case <limits.h> declares select_large_fdset.
  20514. | For example, HP-UX 11i <limits.h> declares gettimeofday. */
  20515. | #define select_large_fdset innocuous_select_large_fdset
  20516. |
  20517. | /* System header to define __stub macros and hopefully few prototypes,
  20518. | which can conflict with char select_large_fdset (); below.
  20519. | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  20520. | <limits.h> exists even on freestanding compilers. */
  20521. |
  20522. | #ifdef __STDC__
  20523. | # include <limits.h>
  20524. | #else
  20525. | # include <assert.h>
  20526. | #endif
  20527. |
  20528. | #undef select_large_fdset
  20529. |
  20530. | /* Override any GCC internal prototype to avoid an error.
  20531. | Use char because int might match the return type of a GCC
  20532. | builtin and then its argument prototype would still apply. */
  20533. | #ifdef __cplusplus
  20534. | extern "C"
  20535. | #endif
  20536. | char select_large_fdset ();
  20537. | /* The GNU C library defines this for functions which it implements
  20538. | to always fail with ENOSYS. Some functions are actually named
  20539. | something starting with __ and the normal name is an alias. */
  20540. | #if defined __stub_select_large_fdset || defined __stub___select_large_fdset
  20541. | choke me
  20542. | #endif
  20543. |
  20544. | int
  20545. | main ()
  20546. | {
  20547. | return select_large_fdset ();
  20548. | ;
  20549. | return 0;
  20550. | }
  20551. configure:19731: result: no
  20552. configure:19742: checking for sendfile
  20553. configure:19742: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  20554. configure:19742: $? = 0
  20555. configure:19742: result: yes
  20556. configure:19753: checking for setegid
  20557. configure:19753: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  20558. configure:19753: $? = 0
  20559. configure:19753: result: yes
  20560. configure:19764: checking for setenv
  20561. configure:19764: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  20562. configure:19764: $? = 0
  20563. configure:19764: result: yes
  20564. configure:19775: checking for seteuid
  20565. configure:19775: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  20566. configure:19775: $? = 0
  20567. configure:19775: result: yes
  20568. configure:19786: checking for setgid
  20569. configure:19786: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  20570. configure:19786: $? = 0
  20571. configure:19786: result: yes
  20572. configure:19797: checking for setgroups
  20573. configure:19797: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  20574. configure:19797: $? = 0
  20575. configure:19797: result: yes
  20576. configure:19808: checking for setpgid
  20577. configure:19808: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  20578. configure:19808: $? = 0
  20579. configure:19808: result: yes
  20580. configure:19819: checking for setpgrp
  20581. configure:19819: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  20582. configure:19819: $? = 0
  20583. configure:19819: result: yes
  20584. configure:19830: checking for setregid
  20585. configure:19830: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  20586. configure:19830: $? = 0
  20587. configure:19830: result: yes
  20588. configure:19841: checking for setresgid
  20589. configure:19841: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  20590. configure:19841: $? = 0
  20591. configure:19841: result: yes
  20592. configure:19852: checking for setresuid
  20593. configure:19852: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  20594. configure:19852: $? = 0
  20595. configure:19852: result: yes
  20596. configure:19863: checking for setreuid
  20597. configure:19863: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  20598. configure:19863: $? = 0
  20599. configure:19863: result: yes
  20600. configure:19874: checking for setrgid
  20601. configure:19874: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  20602. /tmp/ccJzZVMo.o: In function `main':
  20603. /usr/share/rvm/src/ruby-2.3.0/conftest.c:337: undefined reference to `setrgid'
  20604. collect2: error: ld returned 1 exit status
  20605. configure:19874: $? = 1
  20606. configure: failed program was:
  20607. | /* confdefs.h */
  20608. | #define PACKAGE_NAME ""
  20609. | #define PACKAGE_TARNAME ""
  20610. | #define PACKAGE_VERSION ""
  20611. | #define PACKAGE_STRING ""
  20612. | #define PACKAGE_BUGREPORT ""
  20613. | #define PACKAGE_URL ""
  20614. | #define CANONICALIZATION_FOR_MATHN 1
  20615. | #define STDC_HEADERS 1
  20616. | #define HAVE_SYS_TYPES_H 1
  20617. | #define HAVE_SYS_STAT_H 1
  20618. | #define HAVE_STDLIB_H 1
  20619. | #define HAVE_STRING_H 1
  20620. | #define HAVE_MEMORY_H 1
  20621. | #define HAVE_STRINGS_H 1
  20622. | #define HAVE_INTTYPES_H 1
  20623. | #define HAVE_STDINT_H 1
  20624. | #define HAVE_UNISTD_H 1
  20625. | #define __EXTENSIONS__ 1
  20626. | #define _ALL_SOURCE 1
  20627. | #define _GNU_SOURCE 1
  20628. | #define _POSIX_PTHREAD_SEMANTICS 1
  20629. | #define _TANDEM_SOURCE 1
  20630. | #define HAVE_INFINITY 1
  20631. | #define HAVE_NAN 1
  20632. | #define RUBY_SYMBOL_EXPORT_BEGIN _Pragma("GCC visibility push(default)")
  20633. | #define RUBY_SYMBOL_EXPORT_END _Pragma("GCC visibility pop")
  20634. | #define HAVE_LIBCRYPT 1
  20635. | #define HAVE_LIBDL 1
  20636. | #define HAVE_DIRENT_H 1
  20637. | #define HAVE__BOOL 1
  20638. | #define HAVE_STDBOOL_H 1
  20639. | #define HAVE_SYS_WAIT_H 1
  20640. | #define HAVE_A_OUT_H 1
  20641. | #define HAVE_GRP_H 1
  20642. | #define HAVE_FCNTL_H 1
  20643. | #define HAVE_FLOAT_H 1
  20644. | #define HAVE_LANGINFO_H 1
  20645. | #define HAVE_LIMITS_H 1
  20646. | #define HAVE_LOCALE_H 1
  20647. | #define HAVE_MALLOC_H 1
  20648. | #define HAVE_PWD_H 1
  20649. | #define HAVE_SYS_FCNTL_H 1
  20650. | #define HAVE_SYS_FILE_H 1
  20651. | #define HAVE_SYS_IOCTL_H 1
  20652. | #define HAVE_SYS_PARAM_H 1
  20653. | #define HAVE_SYS_PRCTL_H 1
  20654. | #define HAVE_SYS_RESOURCE_H 1
  20655. | #define HAVE_SYS_SELECT_H 1
  20656. | #define HAVE_SYS_SENDFILE_H 1
  20657. | #define HAVE_SYS_SOCKET_H 1
  20658. | #define HAVE_SYS_SYSCALL_H 1
  20659. | #define HAVE_SYS_TIME_H 1
  20660. | #define HAVE_SYS_TIMES_H 1
  20661. | #define HAVE_SYS_UIO_H 1
  20662. | #define HAVE_SYSCALL_H 1
  20663. | #define HAVE_TIME_H 1
  20664. | #define HAVE_UCONTEXT_H 1
  20665. | #define HAVE_UTIME_H 1
  20666. | #define HAVE_GMP_H 1
  20667. | #define HAVE_LIBGMP 1
  20668. | #define HAVE_TYPEOF 1
  20669. | #define typeof __typeof__
  20670. | #define HAVE_LONG_LONG 1
  20671. | #define HAVE_OFF_T 1
  20672. | #define SIZEOF_INT 4
  20673. | #define SIZEOF_SHORT 2
  20674. | #define SIZEOF_LONG 8
  20675. | #define SIZEOF_LONG_LONG 8
  20676. | #define SIZEOF___INT64 0
  20677. | #define SIZEOF_OFF_T 8
  20678. | #define SIZEOF_VOIDP 8
  20679. | #define SIZEOF_FLOAT 4
  20680. | #define SIZEOF_DOUBLE 8
  20681. | #define SIZEOF_TIME_T 8
  20682. | #define SIZEOF_CLOCK_T 8
  20683. | #define PACKED_STRUCT(x) x __attribute__((packed))
  20684. | #define PACKED_STRUCT_UNALIGNED(x) x
  20685. | #define PRI_LL_PREFIX "ll"
  20686. | #define rb_pid_t pid_t
  20687. | #define SIGNEDNESS_OF_PID_T -1
  20688. | #define PIDT2NUM(v) INT2NUM(v)
  20689. | #define NUM2PIDT(v) NUM2INT(v)
  20690. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  20691. | #define rb_uid_t uid_t
  20692. | #define SIGNEDNESS_OF_UID_T +1
  20693. | #define UIDT2NUM(v) UINT2NUM(v)
  20694. | #define NUM2UIDT(v) NUM2UINT(v)
  20695. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  20696. | #define rb_gid_t gid_t
  20697. | #define SIGNEDNESS_OF_GID_T +1
  20698. | #define GIDT2NUM(v) UINT2NUM(v)
  20699. | #define NUM2GIDT(v) NUM2UINT(v)
  20700. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  20701. | #define rb_time_t time_t
  20702. | #define SIGNEDNESS_OF_TIME_T -1
  20703. | #define TIMET2NUM(v) LONG2NUM(v)
  20704. | #define NUM2TIMET(v) NUM2LONG(v)
  20705. | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
  20706. | #define rb_dev_t dev_t
  20707. | #define SIGNEDNESS_OF_DEV_T +1
  20708. | #define DEVT2NUM(v) ULONG2NUM(v)
  20709. | #define NUM2DEVT(v) NUM2ULONG(v)
  20710. | #define PRI_DEVT_PREFIX PRI_LONG_PREFIX
  20711. | #define rb_mode_t mode_t
  20712. | #define SIGNEDNESS_OF_MODE_T +1
  20713. | #define MODET2NUM(v) UINT2NUM(v)
  20714. | #define NUM2MODET(v) NUM2UINT(v)
  20715. | #define PRI_MODET_PREFIX PRI_INT_PREFIX
  20716. | #define rb_rlim_t rlim_t
  20717. | #define SIGNEDNESS_OF_RLIM_T +1
  20718. | #define RLIM2NUM(v) ULONG2NUM(v)
  20719. | #define NUM2RLIM(v) NUM2ULONG(v)
  20720. | #define PRI_RLIM_PREFIX PRI_LONG_PREFIX
  20721. | #define rb_off_t off_t
  20722. | #define SIGNEDNESS_OF_OFF_T -1
  20723. | #define OFFT2NUM(v) LONG2NUM(v)
  20724. | #define NUM2OFFT(v) NUM2LONG(v)
  20725. | #define PRI_OFFT_PREFIX PRI_LONG_PREFIX
  20726. | #define rb_clockid_t clockid_t
  20727. | #define SIGNEDNESS_OF_CLOCKID_T -1
  20728. | #define CLOCKID2NUM(v) INT2NUM(v)
  20729. | #define NUM2CLOCKID(v) NUM2INT(v)
  20730. | #define PRI_CLOCKID_PREFIX PRI_INT_PREFIX
  20731. | #define HAVE_PROTOTYPES 1
  20732. | #define TOKEN_PASTE(x,y) x##y
  20733. | #define STRINGIZE(expr) STRINGIZE0(expr)
  20734. | #define HAVE_STDARG_PROTOTYPES 1
  20735. | #define HAVE_VA_ARGS_MACRO 1
  20736. | #define NORETURN(x) __attribute__ ((noreturn)) x
  20737. | #define DEPRECATED(x) __attribute__ ((deprecated)) x
  20738. | #define DEPRECATED_BY(n,x) __attribute__ ((deprecated("by "#n))) x
  20739. | #define DEPRECATED_TYPE(mesg,x) __attribute__ ((deprecated mesg)) x
  20740. | #define NOINLINE(x) __attribute__ ((noinline)) x
  20741. | #define WEAK(x) __attribute__ ((weak)) x
  20742. | #define HAVE_FUNC_WEAK 1
  20743. | #define FUNC_UNOPTIMIZED(x) __attribute__ ((optimize("O0"))) x
  20744. | #define FUNC_MINIMIZED(x) __attribute__ ((optimize("-Os","-fomit-frame-pointer"))) x
  20745. | #define HAVE_ATTRIBUTE_FUNCTION_ALIAS 1
  20746. | #define RUBY_ALIAS_FUNCTION_TYPE(type, prot, name, args) type prot __attribute__((alias(#name)));
  20747. | #define RUBY_ALIAS_FUNCTION_VOID(prot, name, args) RUBY_ALIAS_FUNCTION_TYPE(void, prot, name, args)
  20748. | #define HAVE_GCC_ATOMIC_BUILTINS 1
  20749. | #define HAVE_GCC_SYNC_BUILTINS 1
  20750. | #define UNREACHABLE __builtin_unreachable()
  20751. | #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
  20752. | #define RUBY_FUNCTION_NAME_STRING __func__
  20753. | #define ENUM_OVER_INT 1
  20754. | #define HAVE_DECL_SYS_NERR 1
  20755. | #define HAVE_DECL_GETENV 1
  20756. | #define SIZEOF_SIZE_T 8
  20757. | #define SIZEOF_PTRDIFF_T 8
  20758. | #define PRI_SIZE_PREFIX "z"
  20759. | #define PRI_PTRDIFF_PREFIX "t"
  20760. | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
  20761. | #define HAVE_ST_BLKSIZE 1
  20762. | #define HAVE_STRUCT_STAT_ST_BLOCKS 1
  20763. | #define HAVE_ST_BLOCKS 1
  20764. | #define HAVE_STRUCT_STAT_ST_RDEV 1
  20765. | #define HAVE_ST_RDEV 1
  20766. | #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_OFF_T
  20767. | #define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_OFF_T
  20768. | #define SIZEOF_STRUCT_STAT_ST_INO SIZEOF_LONG
  20769. | #define HAVE_STRUCT_STAT_ST_ATIM 1
  20770. | #define HAVE_STRUCT_STAT_ST_MTIM 1
  20771. | #define HAVE_STRUCT_STAT_ST_CTIM 1
  20772. | #define HAVE_STRUCT_TIMEVAL 1
  20773. | #define SIZEOF_STRUCT_TIMEVAL_TV_SEC SIZEOF_TIME_T
  20774. | #define HAVE_STRUCT_TIMESPEC 1
  20775. | #define HAVE_STRUCT_TIMEZONE 1
  20776. | #define HAVE_CLOCKID_T 1
  20777. | #define HAVE_RB_FD_INIT 1
  20778. | #define HAVE_INT8_T 1
  20779. | #define SIZEOF_INT8_T 1
  20780. | #define HAVE_UINT8_T 1
  20781. | #define SIZEOF_UINT8_T 1
  20782. | #define HAVE_INT16_T 1
  20783. | #define SIZEOF_INT16_T 2
  20784. | #define HAVE_UINT16_T 1
  20785. | #define SIZEOF_UINT16_T 2
  20786. | #define HAVE_INT32_T 1
  20787. | #define SIZEOF_INT32_T 4
  20788. | #define HAVE_UINT32_T 1
  20789. | #define SIZEOF_UINT32_T 4
  20790. | #define HAVE_INT64_T 1
  20791. | #define SIZEOF_INT64_T 8
  20792. | #define HAVE_UINT64_T 1
  20793. | #define SIZEOF_UINT64_T 8
  20794. | #define HAVE_INTPTR_T 1
  20795. | #define SIZEOF_INTPTR_T 8
  20796. | #define HAVE_UINTPTR_T 1
  20797. | #define SIZEOF_UINTPTR_T 8
  20798. | #define HAVE_SSIZE_T 1
  20799. | #define SIZEOF_SSIZE_T 8
  20800. | #define STACK_END_ADDRESS __libc_stack_end
  20801. | #define GETGROUPS_T gid_t
  20802. | #define RETSIGTYPE void
  20803. | #define HAVE_ALLOCA_H 1
  20804. | #define HAVE_ALLOCA 1
  20805. | #define HAVE_ACOSH 1
  20806. | #define HAVE_CBRT 1
  20807. | #define HAVE_CRYPT 1
  20808. | #define HAVE_DUP2 1
  20809. | #define HAVE_ERF 1
  20810. | #define HAVE_EXPLICIT_BZERO 1
  20811. | #define HAVE_FFS 1
  20812. | #define HAVE_FINITE 1
  20813. | #define HAVE_FLOCK 1
  20814. | #define HAVE_HYPOT 1
  20815. | #define HAVE_ISINF 1
  20816. | #define HAVE_ISNAN 1
  20817. | #define HAVE_LGAMMA_R 1
  20818. | #define HAVE_MEMMOVE 1
  20819. | #define HAVE_NEXTAFTER 1
  20820. | #define HAVE_STRCHR 1
  20821. | #define HAVE_STRERROR 1
  20822. | #define HAVE_STRSTR 1
  20823. | #define HAVE_TGAMMA 1
  20824. | #define SPT_TYPE SPT_REUSEARGV
  20825. | #define HAVE_SIGNBIT 1
  20826. | #define HAVE_FORK 1
  20827. | #define HAVE_VFORK 1
  20828. | #define HAVE_WORKING_VFORK 1
  20829. | #define HAVE_WORKING_FORK 1
  20830. | #define HAVE__LONGJMP 1
  20831. | #define HAVE__SETJMP 1
  20832. | #define HAVE_ATAN2L 1
  20833. | #define HAVE_ATAN2F 1
  20834. | #define HAVE_CHROOT 1
  20835. | #define HAVE_CLOCK_GETTIME 1
  20836. | #define HAVE_COSH 1
  20837. | #define HAVE_DIRFD 1
  20838. | #define HAVE_DL_ITERATE_PHDR 1
  20839. | #define HAVE_DLOPEN 1
  20840. | #define HAVE_DLADDR 1
  20841. | #define HAVE_DUP 1
  20842. | #define HAVE_DUP3 1
  20843. | #define HAVE_EACCESS 1
  20844. | #define HAVE_ENDGRENT 1
  20845. | #define HAVE_FCHMOD 1
  20846. | #define HAVE_FCHOWN 1
  20847. | #define HAVE_FCNTL 1
  20848. | #define HAVE_FDATASYNC 1
  20849. | #define HAVE_FMOD 1
  20850. | #define HAVE_FSYNC 1
  20851. | #define HAVE_FTRUNCATE 1
  20852. | #define HAVE_FTRUNCATE64 1
  20853. | #define HAVE_GETCWD 1
  20854. | #define HAVE_GETGRNAM 1
  20855. | #define HAVE_GETGRNAM_R 1
  20856. | #define HAVE_GETGROUPS 1
  20857. | #define HAVE_GETPGID 1
  20858. | #define HAVE_GETPGRP 1
  20859. | #define HAVE_GETPRIORITY 1
  20860. | #define HAVE_GETPWNAM_R 1
  20861. | #define HAVE_GETRESGID 1
  20862. | #define HAVE_GETRESUID 1
  20863. | #define HAVE_GETRLIMIT 1
  20864. | #define HAVE_GETSID 1
  20865. | #define HAVE_GETTIMEOFDAY 1
  20866. | #define HAVE_GMTIME_R 1
  20867. | #define HAVE_INITGROUPS 1
  20868. | #define HAVE_IOCTL 1
  20869. | #define HAVE_KILLPG 1
  20870. | #define HAVE_LCHOWN 1
  20871. | #define HAVE_LINK 1
  20872. | #define HAVE_LLABS 1
  20873. | #define HAVE_LOCKF 1
  20874. | #define HAVE_LOG2 1
  20875. | #define HAVE_LSTAT 1
  20876. | #define HAVE_MALLOC_USABLE_SIZE 1
  20877. | #define HAVE_MBLEN 1
  20878. | #define HAVE_MEMALIGN 1
  20879. | #define HAVE_WRITEV 1
  20880. | #define HAVE_MEMRCHR 1
  20881. | #define HAVE_MEMMEM 1
  20882. | #define HAVE_MKFIFO 1
  20883. | #define HAVE_MKNOD 1
  20884. | #define HAVE_MKTIME 1
  20885. | #define HAVE_PIPE2 1
  20886. | #define HAVE_POLL 1
  20887. | #define HAVE_POSIX_FADVISE 1
  20888. | #define HAVE_POSIX_MEMALIGN 1
  20889. | #define HAVE_PPOLL 1
  20890. | #define HAVE_PREAD 1
  20891. | #define HAVE_QSORT_R 1
  20892. | #define HAVE_READLINK 1
  20893. | #define HAVE_ROUND 1
  20894. | #define HAVE_SCHED_GETAFFINITY 1
  20895. | #define HAVE_SEEKDIR 1
  20896. | #define HAVE_SENDFILE 1
  20897. | #define HAVE_SETEGID 1
  20898. | #define HAVE_SETENV 1
  20899. | #define HAVE_SETEUID 1
  20900. | #define HAVE_SETGID 1
  20901. | #define HAVE_SETGROUPS 1
  20902. | #define HAVE_SETPGID 1
  20903. | #define HAVE_SETPGRP 1
  20904. | #define HAVE_SETREGID 1
  20905. | #define HAVE_SETRESGID 1
  20906. | #define HAVE_SETRESUID 1
  20907. | #define HAVE_SETREUID 1
  20908. | /* end confdefs.h. */
  20909. | /* Define setrgid to an innocuous variant, in case <limits.h> declares setrgid.
  20910. | For example, HP-UX 11i <limits.h> declares gettimeofday. */
  20911. | #define setrgid innocuous_setrgid
  20912. |
  20913. | /* System header to define __stub macros and hopefully few prototypes,
  20914. | which can conflict with char setrgid (); below.
  20915. | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  20916. | <limits.h> exists even on freestanding compilers. */
  20917. |
  20918. | #ifdef __STDC__
  20919. | # include <limits.h>
  20920. | #else
  20921. | # include <assert.h>
  20922. | #endif
  20923. |
  20924. | #undef setrgid
  20925. |
  20926. | /* Override any GCC internal prototype to avoid an error.
  20927. | Use char because int might match the return type of a GCC
  20928. | builtin and then its argument prototype would still apply. */
  20929. | #ifdef __cplusplus
  20930. | extern "C"
  20931. | #endif
  20932. | char setrgid ();
  20933. | /* The GNU C library defines this for functions which it implements
  20934. | to always fail with ENOSYS. Some functions are actually named
  20935. | something starting with __ and the normal name is an alias. */
  20936. | #if defined __stub_setrgid || defined __stub___setrgid
  20937. | choke me
  20938. | #endif
  20939. |
  20940. | int
  20941. | main ()
  20942. | {
  20943. | return setrgid ();
  20944. | ;
  20945. | return 0;
  20946. | }
  20947. configure:19874: result: no
  20948. configure:19885: checking for setrlimit
  20949. configure:19885: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  20950. configure:19885: $? = 0
  20951. configure:19885: result: yes
  20952. configure:19896: checking for setruid
  20953. configure:19896: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  20954. /tmp/ccT5y9Ky.o: In function `main':
  20955. /usr/share/rvm/src/ruby-2.3.0/conftest.c:338: undefined reference to `setruid'
  20956. collect2: error: ld returned 1 exit status
  20957. configure:19896: $? = 1
  20958. configure: failed program was:
  20959. | /* confdefs.h */
  20960. | #define PACKAGE_NAME ""
  20961. | #define PACKAGE_TARNAME ""
  20962. | #define PACKAGE_VERSION ""
  20963. | #define PACKAGE_STRING ""
  20964. | #define PACKAGE_BUGREPORT ""
  20965. | #define PACKAGE_URL ""
  20966. | #define CANONICALIZATION_FOR_MATHN 1
  20967. | #define STDC_HEADERS 1
  20968. | #define HAVE_SYS_TYPES_H 1
  20969. | #define HAVE_SYS_STAT_H 1
  20970. | #define HAVE_STDLIB_H 1
  20971. | #define HAVE_STRING_H 1
  20972. | #define HAVE_MEMORY_H 1
  20973. | #define HAVE_STRINGS_H 1
  20974. | #define HAVE_INTTYPES_H 1
  20975. | #define HAVE_STDINT_H 1
  20976. | #define HAVE_UNISTD_H 1
  20977. | #define __EXTENSIONS__ 1
  20978. | #define _ALL_SOURCE 1
  20979. | #define _GNU_SOURCE 1
  20980. | #define _POSIX_PTHREAD_SEMANTICS 1
  20981. | #define _TANDEM_SOURCE 1
  20982. | #define HAVE_INFINITY 1
  20983. | #define HAVE_NAN 1
  20984. | #define RUBY_SYMBOL_EXPORT_BEGIN _Pragma("GCC visibility push(default)")
  20985. | #define RUBY_SYMBOL_EXPORT_END _Pragma("GCC visibility pop")
  20986. | #define HAVE_LIBCRYPT 1
  20987. | #define HAVE_LIBDL 1
  20988. | #define HAVE_DIRENT_H 1
  20989. | #define HAVE__BOOL 1
  20990. | #define HAVE_STDBOOL_H 1
  20991. | #define HAVE_SYS_WAIT_H 1
  20992. | #define HAVE_A_OUT_H 1
  20993. | #define HAVE_GRP_H 1
  20994. | #define HAVE_FCNTL_H 1
  20995. | #define HAVE_FLOAT_H 1
  20996. | #define HAVE_LANGINFO_H 1
  20997. | #define HAVE_LIMITS_H 1
  20998. | #define HAVE_LOCALE_H 1
  20999. | #define HAVE_MALLOC_H 1
  21000. | #define HAVE_PWD_H 1
  21001. | #define HAVE_SYS_FCNTL_H 1
  21002. | #define HAVE_SYS_FILE_H 1
  21003. | #define HAVE_SYS_IOCTL_H 1
  21004. | #define HAVE_SYS_PARAM_H 1
  21005. | #define HAVE_SYS_PRCTL_H 1
  21006. | #define HAVE_SYS_RESOURCE_H 1
  21007. | #define HAVE_SYS_SELECT_H 1
  21008. | #define HAVE_SYS_SENDFILE_H 1
  21009. | #define HAVE_SYS_SOCKET_H 1
  21010. | #define HAVE_SYS_SYSCALL_H 1
  21011. | #define HAVE_SYS_TIME_H 1
  21012. | #define HAVE_SYS_TIMES_H 1
  21013. | #define HAVE_SYS_UIO_H 1
  21014. | #define HAVE_SYSCALL_H 1
  21015. | #define HAVE_TIME_H 1
  21016. | #define HAVE_UCONTEXT_H 1
  21017. | #define HAVE_UTIME_H 1
  21018. | #define HAVE_GMP_H 1
  21019. | #define HAVE_LIBGMP 1
  21020. | #define HAVE_TYPEOF 1
  21021. | #define typeof __typeof__
  21022. | #define HAVE_LONG_LONG 1
  21023. | #define HAVE_OFF_T 1
  21024. | #define SIZEOF_INT 4
  21025. | #define SIZEOF_SHORT 2
  21026. | #define SIZEOF_LONG 8
  21027. | #define SIZEOF_LONG_LONG 8
  21028. | #define SIZEOF___INT64 0
  21029. | #define SIZEOF_OFF_T 8
  21030. | #define SIZEOF_VOIDP 8
  21031. | #define SIZEOF_FLOAT 4
  21032. | #define SIZEOF_DOUBLE 8
  21033. | #define SIZEOF_TIME_T 8
  21034. | #define SIZEOF_CLOCK_T 8
  21035. | #define PACKED_STRUCT(x) x __attribute__((packed))
  21036. | #define PACKED_STRUCT_UNALIGNED(x) x
  21037. | #define PRI_LL_PREFIX "ll"
  21038. | #define rb_pid_t pid_t
  21039. | #define SIGNEDNESS_OF_PID_T -1
  21040. | #define PIDT2NUM(v) INT2NUM(v)
  21041. | #define NUM2PIDT(v) NUM2INT(v)
  21042. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  21043. | #define rb_uid_t uid_t
  21044. | #define SIGNEDNESS_OF_UID_T +1
  21045. | #define UIDT2NUM(v) UINT2NUM(v)
  21046. | #define NUM2UIDT(v) NUM2UINT(v)
  21047. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  21048. | #define rb_gid_t gid_t
  21049. | #define SIGNEDNESS_OF_GID_T +1
  21050. | #define GIDT2NUM(v) UINT2NUM(v)
  21051. | #define NUM2GIDT(v) NUM2UINT(v)
  21052. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  21053. | #define rb_time_t time_t
  21054. | #define SIGNEDNESS_OF_TIME_T -1
  21055. | #define TIMET2NUM(v) LONG2NUM(v)
  21056. | #define NUM2TIMET(v) NUM2LONG(v)
  21057. | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
  21058. | #define rb_dev_t dev_t
  21059. | #define SIGNEDNESS_OF_DEV_T +1
  21060. | #define DEVT2NUM(v) ULONG2NUM(v)
  21061. | #define NUM2DEVT(v) NUM2ULONG(v)
  21062. | #define PRI_DEVT_PREFIX PRI_LONG_PREFIX
  21063. | #define rb_mode_t mode_t
  21064. | #define SIGNEDNESS_OF_MODE_T +1
  21065. | #define MODET2NUM(v) UINT2NUM(v)
  21066. | #define NUM2MODET(v) NUM2UINT(v)
  21067. | #define PRI_MODET_PREFIX PRI_INT_PREFIX
  21068. | #define rb_rlim_t rlim_t
  21069. | #define SIGNEDNESS_OF_RLIM_T +1
  21070. | #define RLIM2NUM(v) ULONG2NUM(v)
  21071. | #define NUM2RLIM(v) NUM2ULONG(v)
  21072. | #define PRI_RLIM_PREFIX PRI_LONG_PREFIX
  21073. | #define rb_off_t off_t
  21074. | #define SIGNEDNESS_OF_OFF_T -1
  21075. | #define OFFT2NUM(v) LONG2NUM(v)
  21076. | #define NUM2OFFT(v) NUM2LONG(v)
  21077. | #define PRI_OFFT_PREFIX PRI_LONG_PREFIX
  21078. | #define rb_clockid_t clockid_t
  21079. | #define SIGNEDNESS_OF_CLOCKID_T -1
  21080. | #define CLOCKID2NUM(v) INT2NUM(v)
  21081. | #define NUM2CLOCKID(v) NUM2INT(v)
  21082. | #define PRI_CLOCKID_PREFIX PRI_INT_PREFIX
  21083. | #define HAVE_PROTOTYPES 1
  21084. | #define TOKEN_PASTE(x,y) x##y
  21085. | #define STRINGIZE(expr) STRINGIZE0(expr)
  21086. | #define HAVE_STDARG_PROTOTYPES 1
  21087. | #define HAVE_VA_ARGS_MACRO 1
  21088. | #define NORETURN(x) __attribute__ ((noreturn)) x
  21089. | #define DEPRECATED(x) __attribute__ ((deprecated)) x
  21090. | #define DEPRECATED_BY(n,x) __attribute__ ((deprecated("by "#n))) x
  21091. | #define DEPRECATED_TYPE(mesg,x) __attribute__ ((deprecated mesg)) x
  21092. | #define NOINLINE(x) __attribute__ ((noinline)) x
  21093. | #define WEAK(x) __attribute__ ((weak)) x
  21094. | #define HAVE_FUNC_WEAK 1
  21095. | #define FUNC_UNOPTIMIZED(x) __attribute__ ((optimize("O0"))) x
  21096. | #define FUNC_MINIMIZED(x) __attribute__ ((optimize("-Os","-fomit-frame-pointer"))) x
  21097. | #define HAVE_ATTRIBUTE_FUNCTION_ALIAS 1
  21098. | #define RUBY_ALIAS_FUNCTION_TYPE(type, prot, name, args) type prot __attribute__((alias(#name)));
  21099. | #define RUBY_ALIAS_FUNCTION_VOID(prot, name, args) RUBY_ALIAS_FUNCTION_TYPE(void, prot, name, args)
  21100. | #define HAVE_GCC_ATOMIC_BUILTINS 1
  21101. | #define HAVE_GCC_SYNC_BUILTINS 1
  21102. | #define UNREACHABLE __builtin_unreachable()
  21103. | #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
  21104. | #define RUBY_FUNCTION_NAME_STRING __func__
  21105. | #define ENUM_OVER_INT 1
  21106. | #define HAVE_DECL_SYS_NERR 1
  21107. | #define HAVE_DECL_GETENV 1
  21108. | #define SIZEOF_SIZE_T 8
  21109. | #define SIZEOF_PTRDIFF_T 8
  21110. | #define PRI_SIZE_PREFIX "z"
  21111. | #define PRI_PTRDIFF_PREFIX "t"
  21112. | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
  21113. | #define HAVE_ST_BLKSIZE 1
  21114. | #define HAVE_STRUCT_STAT_ST_BLOCKS 1
  21115. | #define HAVE_ST_BLOCKS 1
  21116. | #define HAVE_STRUCT_STAT_ST_RDEV 1
  21117. | #define HAVE_ST_RDEV 1
  21118. | #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_OFF_T
  21119. | #define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_OFF_T
  21120. | #define SIZEOF_STRUCT_STAT_ST_INO SIZEOF_LONG
  21121. | #define HAVE_STRUCT_STAT_ST_ATIM 1
  21122. | #define HAVE_STRUCT_STAT_ST_MTIM 1
  21123. | #define HAVE_STRUCT_STAT_ST_CTIM 1
  21124. | #define HAVE_STRUCT_TIMEVAL 1
  21125. | #define SIZEOF_STRUCT_TIMEVAL_TV_SEC SIZEOF_TIME_T
  21126. | #define HAVE_STRUCT_TIMESPEC 1
  21127. | #define HAVE_STRUCT_TIMEZONE 1
  21128. | #define HAVE_CLOCKID_T 1
  21129. | #define HAVE_RB_FD_INIT 1
  21130. | #define HAVE_INT8_T 1
  21131. | #define SIZEOF_INT8_T 1
  21132. | #define HAVE_UINT8_T 1
  21133. | #define SIZEOF_UINT8_T 1
  21134. | #define HAVE_INT16_T 1
  21135. | #define SIZEOF_INT16_T 2
  21136. | #define HAVE_UINT16_T 1
  21137. | #define SIZEOF_UINT16_T 2
  21138. | #define HAVE_INT32_T 1
  21139. | #define SIZEOF_INT32_T 4
  21140. | #define HAVE_UINT32_T 1
  21141. | #define SIZEOF_UINT32_T 4
  21142. | #define HAVE_INT64_T 1
  21143. | #define SIZEOF_INT64_T 8
  21144. | #define HAVE_UINT64_T 1
  21145. | #define SIZEOF_UINT64_T 8
  21146. | #define HAVE_INTPTR_T 1
  21147. | #define SIZEOF_INTPTR_T 8
  21148. | #define HAVE_UINTPTR_T 1
  21149. | #define SIZEOF_UINTPTR_T 8
  21150. | #define HAVE_SSIZE_T 1
  21151. | #define SIZEOF_SSIZE_T 8
  21152. | #define STACK_END_ADDRESS __libc_stack_end
  21153. | #define GETGROUPS_T gid_t
  21154. | #define RETSIGTYPE void
  21155. | #define HAVE_ALLOCA_H 1
  21156. | #define HAVE_ALLOCA 1
  21157. | #define HAVE_ACOSH 1
  21158. | #define HAVE_CBRT 1
  21159. | #define HAVE_CRYPT 1
  21160. | #define HAVE_DUP2 1
  21161. | #define HAVE_ERF 1
  21162. | #define HAVE_EXPLICIT_BZERO 1
  21163. | #define HAVE_FFS 1
  21164. | #define HAVE_FINITE 1
  21165. | #define HAVE_FLOCK 1
  21166. | #define HAVE_HYPOT 1
  21167. | #define HAVE_ISINF 1
  21168. | #define HAVE_ISNAN 1
  21169. | #define HAVE_LGAMMA_R 1
  21170. | #define HAVE_MEMMOVE 1
  21171. | #define HAVE_NEXTAFTER 1
  21172. | #define HAVE_STRCHR 1
  21173. | #define HAVE_STRERROR 1
  21174. | #define HAVE_STRSTR 1
  21175. | #define HAVE_TGAMMA 1
  21176. | #define SPT_TYPE SPT_REUSEARGV
  21177. | #define HAVE_SIGNBIT 1
  21178. | #define HAVE_FORK 1
  21179. | #define HAVE_VFORK 1
  21180. | #define HAVE_WORKING_VFORK 1
  21181. | #define HAVE_WORKING_FORK 1
  21182. | #define HAVE__LONGJMP 1
  21183. | #define HAVE__SETJMP 1
  21184. | #define HAVE_ATAN2L 1
  21185. | #define HAVE_ATAN2F 1
  21186. | #define HAVE_CHROOT 1
  21187. | #define HAVE_CLOCK_GETTIME 1
  21188. | #define HAVE_COSH 1
  21189. | #define HAVE_DIRFD 1
  21190. | #define HAVE_DL_ITERATE_PHDR 1
  21191. | #define HAVE_DLOPEN 1
  21192. | #define HAVE_DLADDR 1
  21193. | #define HAVE_DUP 1
  21194. | #define HAVE_DUP3 1
  21195. | #define HAVE_EACCESS 1
  21196. | #define HAVE_ENDGRENT 1
  21197. | #define HAVE_FCHMOD 1
  21198. | #define HAVE_FCHOWN 1
  21199. | #define HAVE_FCNTL 1
  21200. | #define HAVE_FDATASYNC 1
  21201. | #define HAVE_FMOD 1
  21202. | #define HAVE_FSYNC 1
  21203. | #define HAVE_FTRUNCATE 1
  21204. | #define HAVE_FTRUNCATE64 1
  21205. | #define HAVE_GETCWD 1
  21206. | #define HAVE_GETGRNAM 1
  21207. | #define HAVE_GETGRNAM_R 1
  21208. | #define HAVE_GETGROUPS 1
  21209. | #define HAVE_GETPGID 1
  21210. | #define HAVE_GETPGRP 1
  21211. | #define HAVE_GETPRIORITY 1
  21212. | #define HAVE_GETPWNAM_R 1
  21213. | #define HAVE_GETRESGID 1
  21214. | #define HAVE_GETRESUID 1
  21215. | #define HAVE_GETRLIMIT 1
  21216. | #define HAVE_GETSID 1
  21217. | #define HAVE_GETTIMEOFDAY 1
  21218. | #define HAVE_GMTIME_R 1
  21219. | #define HAVE_INITGROUPS 1
  21220. | #define HAVE_IOCTL 1
  21221. | #define HAVE_KILLPG 1
  21222. | #define HAVE_LCHOWN 1
  21223. | #define HAVE_LINK 1
  21224. | #define HAVE_LLABS 1
  21225. | #define HAVE_LOCKF 1
  21226. | #define HAVE_LOG2 1
  21227. | #define HAVE_LSTAT 1
  21228. | #define HAVE_MALLOC_USABLE_SIZE 1
  21229. | #define HAVE_MBLEN 1
  21230. | #define HAVE_MEMALIGN 1
  21231. | #define HAVE_WRITEV 1
  21232. | #define HAVE_MEMRCHR 1
  21233. | #define HAVE_MEMMEM 1
  21234. | #define HAVE_MKFIFO 1
  21235. | #define HAVE_MKNOD 1
  21236. | #define HAVE_MKTIME 1
  21237. | #define HAVE_PIPE2 1
  21238. | #define HAVE_POLL 1
  21239. | #define HAVE_POSIX_FADVISE 1
  21240. | #define HAVE_POSIX_MEMALIGN 1
  21241. | #define HAVE_PPOLL 1
  21242. | #define HAVE_PREAD 1
  21243. | #define HAVE_QSORT_R 1
  21244. | #define HAVE_READLINK 1
  21245. | #define HAVE_ROUND 1
  21246. | #define HAVE_SCHED_GETAFFINITY 1
  21247. | #define HAVE_SEEKDIR 1
  21248. | #define HAVE_SENDFILE 1
  21249. | #define HAVE_SETEGID 1
  21250. | #define HAVE_SETENV 1
  21251. | #define HAVE_SETEUID 1
  21252. | #define HAVE_SETGID 1
  21253. | #define HAVE_SETGROUPS 1
  21254. | #define HAVE_SETPGID 1
  21255. | #define HAVE_SETPGRP 1
  21256. | #define HAVE_SETREGID 1
  21257. | #define HAVE_SETRESGID 1
  21258. | #define HAVE_SETRESUID 1
  21259. | #define HAVE_SETREUID 1
  21260. | #define HAVE_SETRLIMIT 1
  21261. | /* end confdefs.h. */
  21262. | /* Define setruid to an innocuous variant, in case <limits.h> declares setruid.
  21263. | For example, HP-UX 11i <limits.h> declares gettimeofday. */
  21264. | #define setruid innocuous_setruid
  21265. |
  21266. | /* System header to define __stub macros and hopefully few prototypes,
  21267. | which can conflict with char setruid (); below.
  21268. | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  21269. | <limits.h> exists even on freestanding compilers. */
  21270. |
  21271. | #ifdef __STDC__
  21272. | # include <limits.h>
  21273. | #else
  21274. | # include <assert.h>
  21275. | #endif
  21276. |
  21277. | #undef setruid
  21278. |
  21279. | /* Override any GCC internal prototype to avoid an error.
  21280. | Use char because int might match the return type of a GCC
  21281. | builtin and then its argument prototype would still apply. */
  21282. | #ifdef __cplusplus
  21283. | extern "C"
  21284. | #endif
  21285. | char setruid ();
  21286. | /* The GNU C library defines this for functions which it implements
  21287. | to always fail with ENOSYS. Some functions are actually named
  21288. | something starting with __ and the normal name is an alias. */
  21289. | #if defined __stub_setruid || defined __stub___setruid
  21290. | choke me
  21291. | #endif
  21292. |
  21293. | int
  21294. | main ()
  21295. | {
  21296. | return setruid ();
  21297. | ;
  21298. | return 0;
  21299. | }
  21300. configure:19896: result: no
  21301. configure:19907: checking for setsid
  21302. configure:19907: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  21303. configure:19907: $? = 0
  21304. configure:19907: result: yes
  21305. configure:19918: checking for setuid
  21306. configure:19918: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  21307. configure:19918: $? = 0
  21308. configure:19918: result: yes
  21309. configure:19929: checking for shutdown
  21310. configure:19929: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  21311. configure:19929: $? = 0
  21312. configure:19929: result: yes
  21313. configure:19940: checking for sigaction
  21314. configure:19940: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  21315. configure:19940: $? = 0
  21316. configure:19940: result: yes
  21317. configure:19951: checking for sigaltstack
  21318. configure:19951: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  21319. configure:19951: $? = 0
  21320. configure:19951: result: yes
  21321. configure:19962: checking for sigprocmask
  21322. configure:19962: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  21323. configure:19962: $? = 0
  21324. configure:19962: result: yes
  21325. configure:19973: checking for sinh
  21326. configure:19973: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  21327. conftest.c:333:6: warning: conflicting types for built-in function 'sinh' [-Wbuiltin-declaration-mismatch]
  21328. char sinh ();
  21329. ^~~~
  21330. configure:19973: $? = 0
  21331. configure:19973: result: yes
  21332. configure:19984: checking for spawnv
  21333. configure:19984: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  21334. /tmp/ccLjbRaf.o: In function `main':
  21335. /usr/share/rvm/src/ruby-2.3.0/conftest.c:345: undefined reference to `spawnv'
  21336. collect2: error: ld returned 1 exit status
  21337. configure:19984: $? = 1
  21338. configure: failed program was:
  21339. | /* confdefs.h */
  21340. | #define PACKAGE_NAME ""
  21341. | #define PACKAGE_TARNAME ""
  21342. | #define PACKAGE_VERSION ""
  21343. | #define PACKAGE_STRING ""
  21344. | #define PACKAGE_BUGREPORT ""
  21345. | #define PACKAGE_URL ""
  21346. | #define CANONICALIZATION_FOR_MATHN 1
  21347. | #define STDC_HEADERS 1
  21348. | #define HAVE_SYS_TYPES_H 1
  21349. | #define HAVE_SYS_STAT_H 1
  21350. | #define HAVE_STDLIB_H 1
  21351. | #define HAVE_STRING_H 1
  21352. | #define HAVE_MEMORY_H 1
  21353. | #define HAVE_STRINGS_H 1
  21354. | #define HAVE_INTTYPES_H 1
  21355. | #define HAVE_STDINT_H 1
  21356. | #define HAVE_UNISTD_H 1
  21357. | #define __EXTENSIONS__ 1
  21358. | #define _ALL_SOURCE 1
  21359. | #define _GNU_SOURCE 1
  21360. | #define _POSIX_PTHREAD_SEMANTICS 1
  21361. | #define _TANDEM_SOURCE 1
  21362. | #define HAVE_INFINITY 1
  21363. | #define HAVE_NAN 1
  21364. | #define RUBY_SYMBOL_EXPORT_BEGIN _Pragma("GCC visibility push(default)")
  21365. | #define RUBY_SYMBOL_EXPORT_END _Pragma("GCC visibility pop")
  21366. | #define HAVE_LIBCRYPT 1
  21367. | #define HAVE_LIBDL 1
  21368. | #define HAVE_DIRENT_H 1
  21369. | #define HAVE__BOOL 1
  21370. | #define HAVE_STDBOOL_H 1
  21371. | #define HAVE_SYS_WAIT_H 1
  21372. | #define HAVE_A_OUT_H 1
  21373. | #define HAVE_GRP_H 1
  21374. | #define HAVE_FCNTL_H 1
  21375. | #define HAVE_FLOAT_H 1
  21376. | #define HAVE_LANGINFO_H 1
  21377. | #define HAVE_LIMITS_H 1
  21378. | #define HAVE_LOCALE_H 1
  21379. | #define HAVE_MALLOC_H 1
  21380. | #define HAVE_PWD_H 1
  21381. | #define HAVE_SYS_FCNTL_H 1
  21382. | #define HAVE_SYS_FILE_H 1
  21383. | #define HAVE_SYS_IOCTL_H 1
  21384. | #define HAVE_SYS_PARAM_H 1
  21385. | #define HAVE_SYS_PRCTL_H 1
  21386. | #define HAVE_SYS_RESOURCE_H 1
  21387. | #define HAVE_SYS_SELECT_H 1
  21388. | #define HAVE_SYS_SENDFILE_H 1
  21389. | #define HAVE_SYS_SOCKET_H 1
  21390. | #define HAVE_SYS_SYSCALL_H 1
  21391. | #define HAVE_SYS_TIME_H 1
  21392. | #define HAVE_SYS_TIMES_H 1
  21393. | #define HAVE_SYS_UIO_H 1
  21394. | #define HAVE_SYSCALL_H 1
  21395. | #define HAVE_TIME_H 1
  21396. | #define HAVE_UCONTEXT_H 1
  21397. | #define HAVE_UTIME_H 1
  21398. | #define HAVE_GMP_H 1
  21399. | #define HAVE_LIBGMP 1
  21400. | #define HAVE_TYPEOF 1
  21401. | #define typeof __typeof__
  21402. | #define HAVE_LONG_LONG 1
  21403. | #define HAVE_OFF_T 1
  21404. | #define SIZEOF_INT 4
  21405. | #define SIZEOF_SHORT 2
  21406. | #define SIZEOF_LONG 8
  21407. | #define SIZEOF_LONG_LONG 8
  21408. | #define SIZEOF___INT64 0
  21409. | #define SIZEOF_OFF_T 8
  21410. | #define SIZEOF_VOIDP 8
  21411. | #define SIZEOF_FLOAT 4
  21412. | #define SIZEOF_DOUBLE 8
  21413. | #define SIZEOF_TIME_T 8
  21414. | #define SIZEOF_CLOCK_T 8
  21415. | #define PACKED_STRUCT(x) x __attribute__((packed))
  21416. | #define PACKED_STRUCT_UNALIGNED(x) x
  21417. | #define PRI_LL_PREFIX "ll"
  21418. | #define rb_pid_t pid_t
  21419. | #define SIGNEDNESS_OF_PID_T -1
  21420. | #define PIDT2NUM(v) INT2NUM(v)
  21421. | #define NUM2PIDT(v) NUM2INT(v)
  21422. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  21423. | #define rb_uid_t uid_t
  21424. | #define SIGNEDNESS_OF_UID_T +1
  21425. | #define UIDT2NUM(v) UINT2NUM(v)
  21426. | #define NUM2UIDT(v) NUM2UINT(v)
  21427. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  21428. | #define rb_gid_t gid_t
  21429. | #define SIGNEDNESS_OF_GID_T +1
  21430. | #define GIDT2NUM(v) UINT2NUM(v)
  21431. | #define NUM2GIDT(v) NUM2UINT(v)
  21432. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  21433. | #define rb_time_t time_t
  21434. | #define SIGNEDNESS_OF_TIME_T -1
  21435. | #define TIMET2NUM(v) LONG2NUM(v)
  21436. | #define NUM2TIMET(v) NUM2LONG(v)
  21437. | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
  21438. | #define rb_dev_t dev_t
  21439. | #define SIGNEDNESS_OF_DEV_T +1
  21440. | #define DEVT2NUM(v) ULONG2NUM(v)
  21441. | #define NUM2DEVT(v) NUM2ULONG(v)
  21442. | #define PRI_DEVT_PREFIX PRI_LONG_PREFIX
  21443. | #define rb_mode_t mode_t
  21444. | #define SIGNEDNESS_OF_MODE_T +1
  21445. | #define MODET2NUM(v) UINT2NUM(v)
  21446. | #define NUM2MODET(v) NUM2UINT(v)
  21447. | #define PRI_MODET_PREFIX PRI_INT_PREFIX
  21448. | #define rb_rlim_t rlim_t
  21449. | #define SIGNEDNESS_OF_RLIM_T +1
  21450. | #define RLIM2NUM(v) ULONG2NUM(v)
  21451. | #define NUM2RLIM(v) NUM2ULONG(v)
  21452. | #define PRI_RLIM_PREFIX PRI_LONG_PREFIX
  21453. | #define rb_off_t off_t
  21454. | #define SIGNEDNESS_OF_OFF_T -1
  21455. | #define OFFT2NUM(v) LONG2NUM(v)
  21456. | #define NUM2OFFT(v) NUM2LONG(v)
  21457. | #define PRI_OFFT_PREFIX PRI_LONG_PREFIX
  21458. | #define rb_clockid_t clockid_t
  21459. | #define SIGNEDNESS_OF_CLOCKID_T -1
  21460. | #define CLOCKID2NUM(v) INT2NUM(v)
  21461. | #define NUM2CLOCKID(v) NUM2INT(v)
  21462. | #define PRI_CLOCKID_PREFIX PRI_INT_PREFIX
  21463. | #define HAVE_PROTOTYPES 1
  21464. | #define TOKEN_PASTE(x,y) x##y
  21465. | #define STRINGIZE(expr) STRINGIZE0(expr)
  21466. | #define HAVE_STDARG_PROTOTYPES 1
  21467. | #define HAVE_VA_ARGS_MACRO 1
  21468. | #define NORETURN(x) __attribute__ ((noreturn)) x
  21469. | #define DEPRECATED(x) __attribute__ ((deprecated)) x
  21470. | #define DEPRECATED_BY(n,x) __attribute__ ((deprecated("by "#n))) x
  21471. | #define DEPRECATED_TYPE(mesg,x) __attribute__ ((deprecated mesg)) x
  21472. | #define NOINLINE(x) __attribute__ ((noinline)) x
  21473. | #define WEAK(x) __attribute__ ((weak)) x
  21474. | #define HAVE_FUNC_WEAK 1
  21475. | #define FUNC_UNOPTIMIZED(x) __attribute__ ((optimize("O0"))) x
  21476. | #define FUNC_MINIMIZED(x) __attribute__ ((optimize("-Os","-fomit-frame-pointer"))) x
  21477. | #define HAVE_ATTRIBUTE_FUNCTION_ALIAS 1
  21478. | #define RUBY_ALIAS_FUNCTION_TYPE(type, prot, name, args) type prot __attribute__((alias(#name)));
  21479. | #define RUBY_ALIAS_FUNCTION_VOID(prot, name, args) RUBY_ALIAS_FUNCTION_TYPE(void, prot, name, args)
  21480. | #define HAVE_GCC_ATOMIC_BUILTINS 1
  21481. | #define HAVE_GCC_SYNC_BUILTINS 1
  21482. | #define UNREACHABLE __builtin_unreachable()
  21483. | #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
  21484. | #define RUBY_FUNCTION_NAME_STRING __func__
  21485. | #define ENUM_OVER_INT 1
  21486. | #define HAVE_DECL_SYS_NERR 1
  21487. | #define HAVE_DECL_GETENV 1
  21488. | #define SIZEOF_SIZE_T 8
  21489. | #define SIZEOF_PTRDIFF_T 8
  21490. | #define PRI_SIZE_PREFIX "z"
  21491. | #define PRI_PTRDIFF_PREFIX "t"
  21492. | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
  21493. | #define HAVE_ST_BLKSIZE 1
  21494. | #define HAVE_STRUCT_STAT_ST_BLOCKS 1
  21495. | #define HAVE_ST_BLOCKS 1
  21496. | #define HAVE_STRUCT_STAT_ST_RDEV 1
  21497. | #define HAVE_ST_RDEV 1
  21498. | #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_OFF_T
  21499. | #define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_OFF_T
  21500. | #define SIZEOF_STRUCT_STAT_ST_INO SIZEOF_LONG
  21501. | #define HAVE_STRUCT_STAT_ST_ATIM 1
  21502. | #define HAVE_STRUCT_STAT_ST_MTIM 1
  21503. | #define HAVE_STRUCT_STAT_ST_CTIM 1
  21504. | #define HAVE_STRUCT_TIMEVAL 1
  21505. | #define SIZEOF_STRUCT_TIMEVAL_TV_SEC SIZEOF_TIME_T
  21506. | #define HAVE_STRUCT_TIMESPEC 1
  21507. | #define HAVE_STRUCT_TIMEZONE 1
  21508. | #define HAVE_CLOCKID_T 1
  21509. | #define HAVE_RB_FD_INIT 1
  21510. | #define HAVE_INT8_T 1
  21511. | #define SIZEOF_INT8_T 1
  21512. | #define HAVE_UINT8_T 1
  21513. | #define SIZEOF_UINT8_T 1
  21514. | #define HAVE_INT16_T 1
  21515. | #define SIZEOF_INT16_T 2
  21516. | #define HAVE_UINT16_T 1
  21517. | #define SIZEOF_UINT16_T 2
  21518. | #define HAVE_INT32_T 1
  21519. | #define SIZEOF_INT32_T 4
  21520. | #define HAVE_UINT32_T 1
  21521. | #define SIZEOF_UINT32_T 4
  21522. | #define HAVE_INT64_T 1
  21523. | #define SIZEOF_INT64_T 8
  21524. | #define HAVE_UINT64_T 1
  21525. | #define SIZEOF_UINT64_T 8
  21526. | #define HAVE_INTPTR_T 1
  21527. | #define SIZEOF_INTPTR_T 8
  21528. | #define HAVE_UINTPTR_T 1
  21529. | #define SIZEOF_UINTPTR_T 8
  21530. | #define HAVE_SSIZE_T 1
  21531. | #define SIZEOF_SSIZE_T 8
  21532. | #define STACK_END_ADDRESS __libc_stack_end
  21533. | #define GETGROUPS_T gid_t
  21534. | #define RETSIGTYPE void
  21535. | #define HAVE_ALLOCA_H 1
  21536. | #define HAVE_ALLOCA 1
  21537. | #define HAVE_ACOSH 1
  21538. | #define HAVE_CBRT 1
  21539. | #define HAVE_CRYPT 1
  21540. | #define HAVE_DUP2 1
  21541. | #define HAVE_ERF 1
  21542. | #define HAVE_EXPLICIT_BZERO 1
  21543. | #define HAVE_FFS 1
  21544. | #define HAVE_FINITE 1
  21545. | #define HAVE_FLOCK 1
  21546. | #define HAVE_HYPOT 1
  21547. | #define HAVE_ISINF 1
  21548. | #define HAVE_ISNAN 1
  21549. | #define HAVE_LGAMMA_R 1
  21550. | #define HAVE_MEMMOVE 1
  21551. | #define HAVE_NEXTAFTER 1
  21552. | #define HAVE_STRCHR 1
  21553. | #define HAVE_STRERROR 1
  21554. | #define HAVE_STRSTR 1
  21555. | #define HAVE_TGAMMA 1
  21556. | #define SPT_TYPE SPT_REUSEARGV
  21557. | #define HAVE_SIGNBIT 1
  21558. | #define HAVE_FORK 1
  21559. | #define HAVE_VFORK 1
  21560. | #define HAVE_WORKING_VFORK 1
  21561. | #define HAVE_WORKING_FORK 1
  21562. | #define HAVE__LONGJMP 1
  21563. | #define HAVE__SETJMP 1
  21564. | #define HAVE_ATAN2L 1
  21565. | #define HAVE_ATAN2F 1
  21566. | #define HAVE_CHROOT 1
  21567. | #define HAVE_CLOCK_GETTIME 1
  21568. | #define HAVE_COSH 1
  21569. | #define HAVE_DIRFD 1
  21570. | #define HAVE_DL_ITERATE_PHDR 1
  21571. | #define HAVE_DLOPEN 1
  21572. | #define HAVE_DLADDR 1
  21573. | #define HAVE_DUP 1
  21574. | #define HAVE_DUP3 1
  21575. | #define HAVE_EACCESS 1
  21576. | #define HAVE_ENDGRENT 1
  21577. | #define HAVE_FCHMOD 1
  21578. | #define HAVE_FCHOWN 1
  21579. | #define HAVE_FCNTL 1
  21580. | #define HAVE_FDATASYNC 1
  21581. | #define HAVE_FMOD 1
  21582. | #define HAVE_FSYNC 1
  21583. | #define HAVE_FTRUNCATE 1
  21584. | #define HAVE_FTRUNCATE64 1
  21585. | #define HAVE_GETCWD 1
  21586. | #define HAVE_GETGRNAM 1
  21587. | #define HAVE_GETGRNAM_R 1
  21588. | #define HAVE_GETGROUPS 1
  21589. | #define HAVE_GETPGID 1
  21590. | #define HAVE_GETPGRP 1
  21591. | #define HAVE_GETPRIORITY 1
  21592. | #define HAVE_GETPWNAM_R 1
  21593. | #define HAVE_GETRESGID 1
  21594. | #define HAVE_GETRESUID 1
  21595. | #define HAVE_GETRLIMIT 1
  21596. | #define HAVE_GETSID 1
  21597. | #define HAVE_GETTIMEOFDAY 1
  21598. | #define HAVE_GMTIME_R 1
  21599. | #define HAVE_INITGROUPS 1
  21600. | #define HAVE_IOCTL 1
  21601. | #define HAVE_KILLPG 1
  21602. | #define HAVE_LCHOWN 1
  21603. | #define HAVE_LINK 1
  21604. | #define HAVE_LLABS 1
  21605. | #define HAVE_LOCKF 1
  21606. | #define HAVE_LOG2 1
  21607. | #define HAVE_LSTAT 1
  21608. | #define HAVE_MALLOC_USABLE_SIZE 1
  21609. | #define HAVE_MBLEN 1
  21610. | #define HAVE_MEMALIGN 1
  21611. | #define HAVE_WRITEV 1
  21612. | #define HAVE_MEMRCHR 1
  21613. | #define HAVE_MEMMEM 1
  21614. | #define HAVE_MKFIFO 1
  21615. | #define HAVE_MKNOD 1
  21616. | #define HAVE_MKTIME 1
  21617. | #define HAVE_PIPE2 1
  21618. | #define HAVE_POLL 1
  21619. | #define HAVE_POSIX_FADVISE 1
  21620. | #define HAVE_POSIX_MEMALIGN 1
  21621. | #define HAVE_PPOLL 1
  21622. | #define HAVE_PREAD 1
  21623. | #define HAVE_QSORT_R 1
  21624. | #define HAVE_READLINK 1
  21625. | #define HAVE_ROUND 1
  21626. | #define HAVE_SCHED_GETAFFINITY 1
  21627. | #define HAVE_SEEKDIR 1
  21628. | #define HAVE_SENDFILE 1
  21629. | #define HAVE_SETEGID 1
  21630. | #define HAVE_SETENV 1
  21631. | #define HAVE_SETEUID 1
  21632. | #define HAVE_SETGID 1
  21633. | #define HAVE_SETGROUPS 1
  21634. | #define HAVE_SETPGID 1
  21635. | #define HAVE_SETPGRP 1
  21636. | #define HAVE_SETREGID 1
  21637. | #define HAVE_SETRESGID 1
  21638. | #define HAVE_SETRESUID 1
  21639. | #define HAVE_SETREUID 1
  21640. | #define HAVE_SETRLIMIT 1
  21641. | #define HAVE_SETSID 1
  21642. | #define HAVE_SETUID 1
  21643. | #define HAVE_SHUTDOWN 1
  21644. | #define HAVE_SIGACTION 1
  21645. | #define HAVE_SIGALTSTACK 1
  21646. | #define HAVE_SIGPROCMASK 1
  21647. | #define HAVE_SINH 1
  21648. | /* end confdefs.h. */
  21649. | /* Define spawnv to an innocuous variant, in case <limits.h> declares spawnv.
  21650. | For example, HP-UX 11i <limits.h> declares gettimeofday. */
  21651. | #define spawnv innocuous_spawnv
  21652. |
  21653. | /* System header to define __stub macros and hopefully few prototypes,
  21654. | which can conflict with char spawnv (); below.
  21655. | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  21656. | <limits.h> exists even on freestanding compilers. */
  21657. |
  21658. | #ifdef __STDC__
  21659. | # include <limits.h>
  21660. | #else
  21661. | # include <assert.h>
  21662. | #endif
  21663. |
  21664. | #undef spawnv
  21665. |
  21666. | /* Override any GCC internal prototype to avoid an error.
  21667. | Use char because int might match the return type of a GCC
  21668. | builtin and then its argument prototype would still apply. */
  21669. | #ifdef __cplusplus
  21670. | extern "C"
  21671. | #endif
  21672. | char spawnv ();
  21673. | /* The GNU C library defines this for functions which it implements
  21674. | to always fail with ENOSYS. Some functions are actually named
  21675. | something starting with __ and the normal name is an alias. */
  21676. | #if defined __stub_spawnv || defined __stub___spawnv
  21677. | choke me
  21678. | #endif
  21679. |
  21680. | int
  21681. | main ()
  21682. | {
  21683. | return spawnv ();
  21684. | ;
  21685. | return 0;
  21686. | }
  21687. configure:19984: result: no
  21688. configure:19995: checking for symlink
  21689. configure:19995: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  21690. configure:19995: $? = 0
  21691. configure:19995: result: yes
  21692. configure:20006: checking for syscall
  21693. configure:20006: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  21694. configure:20006: $? = 0
  21695. configure:20006: result: yes
  21696. configure:20017: checking for sysconf
  21697. configure:20017: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  21698. configure:20017: $? = 0
  21699. configure:20017: result: yes
  21700. configure:20028: checking for tanh
  21701. configure:20028: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  21702. conftest.c:337:6: warning: conflicting types for built-in function 'tanh' [-Wbuiltin-declaration-mismatch]
  21703. char tanh ();
  21704. ^~~~
  21705. configure:20028: $? = 0
  21706. configure:20028: result: yes
  21707. configure:20039: checking for telldir
  21708. configure:20039: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  21709. configure:20039: $? = 0
  21710. configure:20039: result: yes
  21711. configure:20050: checking for timegm
  21712. configure:20050: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  21713. configure:20050: $? = 0
  21714. configure:20050: result: yes
  21715. configure:20061: checking for times
  21716. configure:20061: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  21717. configure:20061: $? = 0
  21718. configure:20061: result: yes
  21719. configure:20072: checking for truncate
  21720. configure:20072: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  21721. configure:20072: $? = 0
  21722. configure:20072: result: yes
  21723. configure:20083: checking for truncate64
  21724. configure:20083: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  21725. configure:20083: $? = 0
  21726. configure:20083: result: yes
  21727. configure:20094: checking for unsetenv
  21728. configure:20094: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  21729. configure:20094: $? = 0
  21730. configure:20094: result: yes
  21731. configure:20105: checking for utimensat
  21732. configure:20105: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  21733. configure:20105: $? = 0
  21734. configure:20105: result: yes
  21735. configure:20116: checking for utimes
  21736. configure:20116: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  21737. configure:20116: $? = 0
  21738. configure:20116: result: yes
  21739. configure:20127: checking for wait4
  21740. configure:20127: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  21741. configure:20127: $? = 0
  21742. configure:20127: result: yes
  21743. configure:20138: checking for waitpid
  21744. configure:20138: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  21745. configure:20138: $? = 0
  21746. configure:20138: result: yes
  21747. configure:20163: checking if getcwd allocates buffer if NULL is given
  21748. configure:20199: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  21749. configure:20199: $? = 0
  21750. configure:20199: ./conftest
  21751. configure:20199: $? = 0
  21752. configure:20209: result: yes
  21753. configure:20219: checking for __builtin_bswap16
  21754. configure:20235: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  21755. configure:20235: $? = 0
  21756. configure:20243: result: yes
  21757. configure:20249: checking for __builtin_bswap32
  21758. configure:20265: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  21759. configure:20265: $? = 0
  21760. configure:20273: result: yes
  21761. configure:20279: checking for __builtin_bswap64
  21762. configure:20295: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  21763. configure:20295: $? = 0
  21764. configure:20303: result: yes
  21765. configure:20309: checking for __builtin_clz
  21766. configure:20325: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  21767. configure:20325: $? = 0
  21768. configure:20333: result: yes
  21769. configure:20339: checking for __builtin_clzl
  21770. configure:20355: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  21771. configure:20355: $? = 0
  21772. configure:20363: result: yes
  21773. configure:20369: checking for __builtin_clzll
  21774. configure:20385: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  21775. configure:20385: $? = 0
  21776. configure:20393: result: yes
  21777. configure:20399: checking for __builtin_choose_expr
  21778. configure:20418: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  21779. configure:20418: $? = 0
  21780. configure:20426: result: yes
  21781. configure:20433: checking for __builtin_choose_expr_constant_p
  21782. configure:20452: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  21783. configure:20452: $? = 0
  21784. configure:20460: result: yes
  21785. configure:20467: checking for __builtin_types_compatible_p
  21786. configure:20483: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  21787. configure:20483: $? = 0
  21788. configure:20491: result: yes
  21789. configure:20499: checking whether qsort_r is GNU version
  21790. configure:20520: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  21791. configure:20520: $? = 0
  21792. configure:20528: result: yes
  21793. configure:20530: checking whether qsort_r is BSD version
  21794. configure:20550: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  21795. conftest.c:336:6: error: conflicting types for 'qsort_r'
  21796. void qsort_r(void *base, size_t nmemb, size_t size,
  21797. ^~~~~~~
  21798. In file included from conftest.c:335:0:
  21799. /usr/include/stdlib.h:830:13: note: previous declaration of 'qsort_r' was here
  21800. extern void qsort_r (void *__base, size_t __nmemb, size_t __size,
  21801. ^~~~~~~
  21802. configure:20550: $? = 1
  21803. configure: failed program was:
  21804. | /* confdefs.h */
  21805. | #define PACKAGE_NAME ""
  21806. | #define PACKAGE_TARNAME ""
  21807. | #define PACKAGE_VERSION ""
  21808. | #define PACKAGE_STRING ""
  21809. | #define PACKAGE_BUGREPORT ""
  21810. | #define PACKAGE_URL ""
  21811. | #define CANONICALIZATION_FOR_MATHN 1
  21812. | #define STDC_HEADERS 1
  21813. | #define HAVE_SYS_TYPES_H 1
  21814. | #define HAVE_SYS_STAT_H 1
  21815. | #define HAVE_STDLIB_H 1
  21816. | #define HAVE_STRING_H 1
  21817. | #define HAVE_MEMORY_H 1
  21818. | #define HAVE_STRINGS_H 1
  21819. | #define HAVE_INTTYPES_H 1
  21820. | #define HAVE_STDINT_H 1
  21821. | #define HAVE_UNISTD_H 1
  21822. | #define __EXTENSIONS__ 1
  21823. | #define _ALL_SOURCE 1
  21824. | #define _GNU_SOURCE 1
  21825. | #define _POSIX_PTHREAD_SEMANTICS 1
  21826. | #define _TANDEM_SOURCE 1
  21827. | #define HAVE_INFINITY 1
  21828. | #define HAVE_NAN 1
  21829. | #define RUBY_SYMBOL_EXPORT_BEGIN _Pragma("GCC visibility push(default)")
  21830. | #define RUBY_SYMBOL_EXPORT_END _Pragma("GCC visibility pop")
  21831. | #define HAVE_LIBCRYPT 1
  21832. | #define HAVE_LIBDL 1
  21833. | #define HAVE_DIRENT_H 1
  21834. | #define HAVE__BOOL 1
  21835. | #define HAVE_STDBOOL_H 1
  21836. | #define HAVE_SYS_WAIT_H 1
  21837. | #define HAVE_A_OUT_H 1
  21838. | #define HAVE_GRP_H 1
  21839. | #define HAVE_FCNTL_H 1
  21840. | #define HAVE_FLOAT_H 1
  21841. | #define HAVE_LANGINFO_H 1
  21842. | #define HAVE_LIMITS_H 1
  21843. | #define HAVE_LOCALE_H 1
  21844. | #define HAVE_MALLOC_H 1
  21845. | #define HAVE_PWD_H 1
  21846. | #define HAVE_SYS_FCNTL_H 1
  21847. | #define HAVE_SYS_FILE_H 1
  21848. | #define HAVE_SYS_IOCTL_H 1
  21849. | #define HAVE_SYS_PARAM_H 1
  21850. | #define HAVE_SYS_PRCTL_H 1
  21851. | #define HAVE_SYS_RESOURCE_H 1
  21852. | #define HAVE_SYS_SELECT_H 1
  21853. | #define HAVE_SYS_SENDFILE_H 1
  21854. | #define HAVE_SYS_SOCKET_H 1
  21855. | #define HAVE_SYS_SYSCALL_H 1
  21856. | #define HAVE_SYS_TIME_H 1
  21857. | #define HAVE_SYS_TIMES_H 1
  21858. | #define HAVE_SYS_UIO_H 1
  21859. | #define HAVE_SYSCALL_H 1
  21860. | #define HAVE_TIME_H 1
  21861. | #define HAVE_UCONTEXT_H 1
  21862. | #define HAVE_UTIME_H 1
  21863. | #define HAVE_GMP_H 1
  21864. | #define HAVE_LIBGMP 1
  21865. | #define HAVE_TYPEOF 1
  21866. | #define typeof __typeof__
  21867. | #define HAVE_LONG_LONG 1
  21868. | #define HAVE_OFF_T 1
  21869. | #define SIZEOF_INT 4
  21870. | #define SIZEOF_SHORT 2
  21871. | #define SIZEOF_LONG 8
  21872. | #define SIZEOF_LONG_LONG 8
  21873. | #define SIZEOF___INT64 0
  21874. | #define SIZEOF_OFF_T 8
  21875. | #define SIZEOF_VOIDP 8
  21876. | #define SIZEOF_FLOAT 4
  21877. | #define SIZEOF_DOUBLE 8
  21878. | #define SIZEOF_TIME_T 8
  21879. | #define SIZEOF_CLOCK_T 8
  21880. | #define PACKED_STRUCT(x) x __attribute__((packed))
  21881. | #define PACKED_STRUCT_UNALIGNED(x) x
  21882. | #define PRI_LL_PREFIX "ll"
  21883. | #define rb_pid_t pid_t
  21884. | #define SIGNEDNESS_OF_PID_T -1
  21885. | #define PIDT2NUM(v) INT2NUM(v)
  21886. | #define NUM2PIDT(v) NUM2INT(v)
  21887. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  21888. | #define rb_uid_t uid_t
  21889. | #define SIGNEDNESS_OF_UID_T +1
  21890. | #define UIDT2NUM(v) UINT2NUM(v)
  21891. | #define NUM2UIDT(v) NUM2UINT(v)
  21892. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  21893. | #define rb_gid_t gid_t
  21894. | #define SIGNEDNESS_OF_GID_T +1
  21895. | #define GIDT2NUM(v) UINT2NUM(v)
  21896. | #define NUM2GIDT(v) NUM2UINT(v)
  21897. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  21898. | #define rb_time_t time_t
  21899. | #define SIGNEDNESS_OF_TIME_T -1
  21900. | #define TIMET2NUM(v) LONG2NUM(v)
  21901. | #define NUM2TIMET(v) NUM2LONG(v)
  21902. | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
  21903. | #define rb_dev_t dev_t
  21904. | #define SIGNEDNESS_OF_DEV_T +1
  21905. | #define DEVT2NUM(v) ULONG2NUM(v)
  21906. | #define NUM2DEVT(v) NUM2ULONG(v)
  21907. | #define PRI_DEVT_PREFIX PRI_LONG_PREFIX
  21908. | #define rb_mode_t mode_t
  21909. | #define SIGNEDNESS_OF_MODE_T +1
  21910. | #define MODET2NUM(v) UINT2NUM(v)
  21911. | #define NUM2MODET(v) NUM2UINT(v)
  21912. | #define PRI_MODET_PREFIX PRI_INT_PREFIX
  21913. | #define rb_rlim_t rlim_t
  21914. | #define SIGNEDNESS_OF_RLIM_T +1
  21915. | #define RLIM2NUM(v) ULONG2NUM(v)
  21916. | #define NUM2RLIM(v) NUM2ULONG(v)
  21917. | #define PRI_RLIM_PREFIX PRI_LONG_PREFIX
  21918. | #define rb_off_t off_t
  21919. | #define SIGNEDNESS_OF_OFF_T -1
  21920. | #define OFFT2NUM(v) LONG2NUM(v)
  21921. | #define NUM2OFFT(v) NUM2LONG(v)
  21922. | #define PRI_OFFT_PREFIX PRI_LONG_PREFIX
  21923. | #define rb_clockid_t clockid_t
  21924. | #define SIGNEDNESS_OF_CLOCKID_T -1
  21925. | #define CLOCKID2NUM(v) INT2NUM(v)
  21926. | #define NUM2CLOCKID(v) NUM2INT(v)
  21927. | #define PRI_CLOCKID_PREFIX PRI_INT_PREFIX
  21928. | #define HAVE_PROTOTYPES 1
  21929. | #define TOKEN_PASTE(x,y) x##y
  21930. | #define STRINGIZE(expr) STRINGIZE0(expr)
  21931. | #define HAVE_STDARG_PROTOTYPES 1
  21932. | #define HAVE_VA_ARGS_MACRO 1
  21933. | #define NORETURN(x) __attribute__ ((noreturn)) x
  21934. | #define DEPRECATED(x) __attribute__ ((deprecated)) x
  21935. | #define DEPRECATED_BY(n,x) __attribute__ ((deprecated("by "#n))) x
  21936. | #define DEPRECATED_TYPE(mesg,x) __attribute__ ((deprecated mesg)) x
  21937. | #define NOINLINE(x) __attribute__ ((noinline)) x
  21938. | #define WEAK(x) __attribute__ ((weak)) x
  21939. | #define HAVE_FUNC_WEAK 1
  21940. | #define FUNC_UNOPTIMIZED(x) __attribute__ ((optimize("O0"))) x
  21941. | #define FUNC_MINIMIZED(x) __attribute__ ((optimize("-Os","-fomit-frame-pointer"))) x
  21942. | #define HAVE_ATTRIBUTE_FUNCTION_ALIAS 1
  21943. | #define RUBY_ALIAS_FUNCTION_TYPE(type, prot, name, args) type prot __attribute__((alias(#name)));
  21944. | #define RUBY_ALIAS_FUNCTION_VOID(prot, name, args) RUBY_ALIAS_FUNCTION_TYPE(void, prot, name, args)
  21945. | #define HAVE_GCC_ATOMIC_BUILTINS 1
  21946. | #define HAVE_GCC_SYNC_BUILTINS 1
  21947. | #define UNREACHABLE __builtin_unreachable()
  21948. | #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
  21949. | #define RUBY_FUNCTION_NAME_STRING __func__
  21950. | #define ENUM_OVER_INT 1
  21951. | #define HAVE_DECL_SYS_NERR 1
  21952. | #define HAVE_DECL_GETENV 1
  21953. | #define SIZEOF_SIZE_T 8
  21954. | #define SIZEOF_PTRDIFF_T 8
  21955. | #define PRI_SIZE_PREFIX "z"
  21956. | #define PRI_PTRDIFF_PREFIX "t"
  21957. | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
  21958. | #define HAVE_ST_BLKSIZE 1
  21959. | #define HAVE_STRUCT_STAT_ST_BLOCKS 1
  21960. | #define HAVE_ST_BLOCKS 1
  21961. | #define HAVE_STRUCT_STAT_ST_RDEV 1
  21962. | #define HAVE_ST_RDEV 1
  21963. | #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_OFF_T
  21964. | #define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_OFF_T
  21965. | #define SIZEOF_STRUCT_STAT_ST_INO SIZEOF_LONG
  21966. | #define HAVE_STRUCT_STAT_ST_ATIM 1
  21967. | #define HAVE_STRUCT_STAT_ST_MTIM 1
  21968. | #define HAVE_STRUCT_STAT_ST_CTIM 1
  21969. | #define HAVE_STRUCT_TIMEVAL 1
  21970. | #define SIZEOF_STRUCT_TIMEVAL_TV_SEC SIZEOF_TIME_T
  21971. | #define HAVE_STRUCT_TIMESPEC 1
  21972. | #define HAVE_STRUCT_TIMEZONE 1
  21973. | #define HAVE_CLOCKID_T 1
  21974. | #define HAVE_RB_FD_INIT 1
  21975. | #define HAVE_INT8_T 1
  21976. | #define SIZEOF_INT8_T 1
  21977. | #define HAVE_UINT8_T 1
  21978. | #define SIZEOF_UINT8_T 1
  21979. | #define HAVE_INT16_T 1
  21980. | #define SIZEOF_INT16_T 2
  21981. | #define HAVE_UINT16_T 1
  21982. | #define SIZEOF_UINT16_T 2
  21983. | #define HAVE_INT32_T 1
  21984. | #define SIZEOF_INT32_T 4
  21985. | #define HAVE_UINT32_T 1
  21986. | #define SIZEOF_UINT32_T 4
  21987. | #define HAVE_INT64_T 1
  21988. | #define SIZEOF_INT64_T 8
  21989. | #define HAVE_UINT64_T 1
  21990. | #define SIZEOF_UINT64_T 8
  21991. | #define HAVE_INTPTR_T 1
  21992. | #define SIZEOF_INTPTR_T 8
  21993. | #define HAVE_UINTPTR_T 1
  21994. | #define SIZEOF_UINTPTR_T 8
  21995. | #define HAVE_SSIZE_T 1
  21996. | #define SIZEOF_SSIZE_T 8
  21997. | #define STACK_END_ADDRESS __libc_stack_end
  21998. | #define GETGROUPS_T gid_t
  21999. | #define RETSIGTYPE void
  22000. | #define HAVE_ALLOCA_H 1
  22001. | #define HAVE_ALLOCA 1
  22002. | #define HAVE_ACOSH 1
  22003. | #define HAVE_CBRT 1
  22004. | #define HAVE_CRYPT 1
  22005. | #define HAVE_DUP2 1
  22006. | #define HAVE_ERF 1
  22007. | #define HAVE_EXPLICIT_BZERO 1
  22008. | #define HAVE_FFS 1
  22009. | #define HAVE_FINITE 1
  22010. | #define HAVE_FLOCK 1
  22011. | #define HAVE_HYPOT 1
  22012. | #define HAVE_ISINF 1
  22013. | #define HAVE_ISNAN 1
  22014. | #define HAVE_LGAMMA_R 1
  22015. | #define HAVE_MEMMOVE 1
  22016. | #define HAVE_NEXTAFTER 1
  22017. | #define HAVE_STRCHR 1
  22018. | #define HAVE_STRERROR 1
  22019. | #define HAVE_STRSTR 1
  22020. | #define HAVE_TGAMMA 1
  22021. | #define SPT_TYPE SPT_REUSEARGV
  22022. | #define HAVE_SIGNBIT 1
  22023. | #define HAVE_FORK 1
  22024. | #define HAVE_VFORK 1
  22025. | #define HAVE_WORKING_VFORK 1
  22026. | #define HAVE_WORKING_FORK 1
  22027. | #define HAVE__LONGJMP 1
  22028. | #define HAVE__SETJMP 1
  22029. | #define HAVE_ATAN2L 1
  22030. | #define HAVE_ATAN2F 1
  22031. | #define HAVE_CHROOT 1
  22032. | #define HAVE_CLOCK_GETTIME 1
  22033. | #define HAVE_COSH 1
  22034. | #define HAVE_DIRFD 1
  22035. | #define HAVE_DL_ITERATE_PHDR 1
  22036. | #define HAVE_DLOPEN 1
  22037. | #define HAVE_DLADDR 1
  22038. | #define HAVE_DUP 1
  22039. | #define HAVE_DUP3 1
  22040. | #define HAVE_EACCESS 1
  22041. | #define HAVE_ENDGRENT 1
  22042. | #define HAVE_FCHMOD 1
  22043. | #define HAVE_FCHOWN 1
  22044. | #define HAVE_FCNTL 1
  22045. | #define HAVE_FDATASYNC 1
  22046. | #define HAVE_FMOD 1
  22047. | #define HAVE_FSYNC 1
  22048. | #define HAVE_FTRUNCATE 1
  22049. | #define HAVE_FTRUNCATE64 1
  22050. | #define HAVE_GETCWD 1
  22051. | #define HAVE_GETGRNAM 1
  22052. | #define HAVE_GETGRNAM_R 1
  22053. | #define HAVE_GETGROUPS 1
  22054. | #define HAVE_GETPGID 1
  22055. | #define HAVE_GETPGRP 1
  22056. | #define HAVE_GETPRIORITY 1
  22057. | #define HAVE_GETPWNAM_R 1
  22058. | #define HAVE_GETRESGID 1
  22059. | #define HAVE_GETRESUID 1
  22060. | #define HAVE_GETRLIMIT 1
  22061. | #define HAVE_GETSID 1
  22062. | #define HAVE_GETTIMEOFDAY 1
  22063. | #define HAVE_GMTIME_R 1
  22064. | #define HAVE_INITGROUPS 1
  22065. | #define HAVE_IOCTL 1
  22066. | #define HAVE_KILLPG 1
  22067. | #define HAVE_LCHOWN 1
  22068. | #define HAVE_LINK 1
  22069. | #define HAVE_LLABS 1
  22070. | #define HAVE_LOCKF 1
  22071. | #define HAVE_LOG2 1
  22072. | #define HAVE_LSTAT 1
  22073. | #define HAVE_MALLOC_USABLE_SIZE 1
  22074. | #define HAVE_MBLEN 1
  22075. | #define HAVE_MEMALIGN 1
  22076. | #define HAVE_WRITEV 1
  22077. | #define HAVE_MEMRCHR 1
  22078. | #define HAVE_MEMMEM 1
  22079. | #define HAVE_MKFIFO 1
  22080. | #define HAVE_MKNOD 1
  22081. | #define HAVE_MKTIME 1
  22082. | #define HAVE_PIPE2 1
  22083. | #define HAVE_POLL 1
  22084. | #define HAVE_POSIX_FADVISE 1
  22085. | #define HAVE_POSIX_MEMALIGN 1
  22086. | #define HAVE_PPOLL 1
  22087. | #define HAVE_PREAD 1
  22088. | #define HAVE_QSORT_R 1
  22089. | #define HAVE_READLINK 1
  22090. | #define HAVE_ROUND 1
  22091. | #define HAVE_SCHED_GETAFFINITY 1
  22092. | #define HAVE_SEEKDIR 1
  22093. | #define HAVE_SENDFILE 1
  22094. | #define HAVE_SETEGID 1
  22095. | #define HAVE_SETENV 1
  22096. | #define HAVE_SETEUID 1
  22097. | #define HAVE_SETGID 1
  22098. | #define HAVE_SETGROUPS 1
  22099. | #define HAVE_SETPGID 1
  22100. | #define HAVE_SETPGRP 1
  22101. | #define HAVE_SETREGID 1
  22102. | #define HAVE_SETRESGID 1
  22103. | #define HAVE_SETRESUID 1
  22104. | #define HAVE_SETREUID 1
  22105. | #define HAVE_SETRLIMIT 1
  22106. | #define HAVE_SETSID 1
  22107. | #define HAVE_SETUID 1
  22108. | #define HAVE_SHUTDOWN 1
  22109. | #define HAVE_SIGACTION 1
  22110. | #define HAVE_SIGALTSTACK 1
  22111. | #define HAVE_SIGPROCMASK 1
  22112. | #define HAVE_SINH 1
  22113. | #define HAVE_SYMLINK 1
  22114. | #define HAVE_SYSCALL 1
  22115. | #define HAVE_SYSCONF 1
  22116. | #define HAVE_TANH 1
  22117. | #define HAVE_TELLDIR 1
  22118. | #define HAVE_TIMEGM 1
  22119. | #define HAVE_TIMES 1
  22120. | #define HAVE_TRUNCATE 1
  22121. | #define HAVE_TRUNCATE64 1
  22122. | #define HAVE_UNSETENV 1
  22123. | #define HAVE_UTIMENSAT 1
  22124. | #define HAVE_UTIMES 1
  22125. | #define HAVE_WAIT4 1
  22126. | #define HAVE_WAITPID 1
  22127. | #define HAVE_BUILTIN___BUILTIN_BSWAP16 1
  22128. | #define HAVE_BUILTIN___BUILTIN_BSWAP32 1
  22129. | #define HAVE_BUILTIN___BUILTIN_BSWAP64 1
  22130. | #define HAVE_BUILTIN___BUILTIN_CLZ 1
  22131. | #define HAVE_BUILTIN___BUILTIN_CLZL 1
  22132. | #define HAVE_BUILTIN___BUILTIN_CLZLL 1
  22133. | #define HAVE_BUILTIN___BUILTIN_CHOOSE_EXPR 1
  22134. | #define HAVE_BUILTIN___BUILTIN_CHOOSE_EXPR_CONSTANT_P 1
  22135. | #define HAVE_BUILTIN___BUILTIN_TYPES_COMPATIBLE_P 1
  22136. | /* end confdefs.h. */
  22137. |
  22138. | #include <stdlib.h>
  22139. | void qsort_r(void *base, size_t nmemb, size_t size,
  22140. | void *arg, int (*compar)(void *, const void *, const void *));
  22141. |
  22142. | int
  22143. | main ()
  22144. | {
  22145. |
  22146. | ;
  22147. | return 0;
  22148. | }
  22149. configure:20558: result: no
  22150. configure:20576: checking whether atan2 handles Inf as C99
  22151. configure:20615: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  22152. configure:20615: $? = 0
  22153. configure:20615: ./conftest
  22154. configure:20615: $? = 0
  22155. configure:20630: result: yes
  22156. configure:20693: checking for clock_getres
  22157. configure:20693: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  22158. configure:20693: $? = 0
  22159. configure:20693: result: yes
  22160. configure:20703: checking for unsetenv returns a value
  22161. configure:20721: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  22162. configure:20721: $? = 0
  22163. configure:20728: result: yes
  22164. configure:20736: checking for sigsetjmp as a macro or function
  22165. configure:20754: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  22166. configure:20754: $? = 0
  22167. configure:20761: result: yes
  22168. configure:20780: checking whether struct tm is in sys/time.h or time.h
  22169. configure:20800: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  22170. configure:20800: $? = 0
  22171. configure:20807: result: time.h
  22172. configure:20815: checking for struct tm.tm_zone
  22173. configure:20815: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  22174. configure:20815: $? = 0
  22175. configure:20815: result: yes
  22176. configure:20882: checking for struct tm.tm_gmtoff
  22177. configure:20898: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  22178. configure:20898: $? = 0
  22179. configure:20905: result: yes
  22180. configure:20911: checking for external int daylight
  22181. configure:20928: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  22182. configure:20928: $? = 0
  22183. configure:20936: result: yes
  22184. configure:20943: checking for external timezone
  22185. configure:20966: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  22186. configure:20966: $? = 0
  22187. configure:20986: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  22188. configure:20986: $? = 0
  22189. configure:20994: result: long
  22190. configure:21004: checking for external altzone
  22191. configure:21027: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  22192. conftest.c: In function 'main':
  22193. conftest.c:353:8: error: 'altzone' undeclared (first use in this function); did you mean 'timezone'?
  22194. t = &(&altzone)[0];
  22195. ^~~~~~~
  22196. timezone
  22197. conftest.c:353:8: note: each undeclared identifier is reported only once for each function it appears in
  22198. configure:21027: $? = 1
  22199. configure: failed program was:
  22200. | /* confdefs.h */
  22201. | #define PACKAGE_NAME ""
  22202. | #define PACKAGE_TARNAME ""
  22203. | #define PACKAGE_VERSION ""
  22204. | #define PACKAGE_STRING ""
  22205. | #define PACKAGE_BUGREPORT ""
  22206. | #define PACKAGE_URL ""
  22207. | #define CANONICALIZATION_FOR_MATHN 1
  22208. | #define STDC_HEADERS 1
  22209. | #define HAVE_SYS_TYPES_H 1
  22210. | #define HAVE_SYS_STAT_H 1
  22211. | #define HAVE_STDLIB_H 1
  22212. | #define HAVE_STRING_H 1
  22213. | #define HAVE_MEMORY_H 1
  22214. | #define HAVE_STRINGS_H 1
  22215. | #define HAVE_INTTYPES_H 1
  22216. | #define HAVE_STDINT_H 1
  22217. | #define HAVE_UNISTD_H 1
  22218. | #define __EXTENSIONS__ 1
  22219. | #define _ALL_SOURCE 1
  22220. | #define _GNU_SOURCE 1
  22221. | #define _POSIX_PTHREAD_SEMANTICS 1
  22222. | #define _TANDEM_SOURCE 1
  22223. | #define HAVE_INFINITY 1
  22224. | #define HAVE_NAN 1
  22225. | #define RUBY_SYMBOL_EXPORT_BEGIN _Pragma("GCC visibility push(default)")
  22226. | #define RUBY_SYMBOL_EXPORT_END _Pragma("GCC visibility pop")
  22227. | #define HAVE_LIBCRYPT 1
  22228. | #define HAVE_LIBDL 1
  22229. | #define HAVE_DIRENT_H 1
  22230. | #define HAVE__BOOL 1
  22231. | #define HAVE_STDBOOL_H 1
  22232. | #define HAVE_SYS_WAIT_H 1
  22233. | #define HAVE_A_OUT_H 1
  22234. | #define HAVE_GRP_H 1
  22235. | #define HAVE_FCNTL_H 1
  22236. | #define HAVE_FLOAT_H 1
  22237. | #define HAVE_LANGINFO_H 1
  22238. | #define HAVE_LIMITS_H 1
  22239. | #define HAVE_LOCALE_H 1
  22240. | #define HAVE_MALLOC_H 1
  22241. | #define HAVE_PWD_H 1
  22242. | #define HAVE_SYS_FCNTL_H 1
  22243. | #define HAVE_SYS_FILE_H 1
  22244. | #define HAVE_SYS_IOCTL_H 1
  22245. | #define HAVE_SYS_PARAM_H 1
  22246. | #define HAVE_SYS_PRCTL_H 1
  22247. | #define HAVE_SYS_RESOURCE_H 1
  22248. | #define HAVE_SYS_SELECT_H 1
  22249. | #define HAVE_SYS_SENDFILE_H 1
  22250. | #define HAVE_SYS_SOCKET_H 1
  22251. | #define HAVE_SYS_SYSCALL_H 1
  22252. | #define HAVE_SYS_TIME_H 1
  22253. | #define HAVE_SYS_TIMES_H 1
  22254. | #define HAVE_SYS_UIO_H 1
  22255. | #define HAVE_SYSCALL_H 1
  22256. | #define HAVE_TIME_H 1
  22257. | #define HAVE_UCONTEXT_H 1
  22258. | #define HAVE_UTIME_H 1
  22259. | #define HAVE_GMP_H 1
  22260. | #define HAVE_LIBGMP 1
  22261. | #define HAVE_TYPEOF 1
  22262. | #define typeof __typeof__
  22263. | #define HAVE_LONG_LONG 1
  22264. | #define HAVE_OFF_T 1
  22265. | #define SIZEOF_INT 4
  22266. | #define SIZEOF_SHORT 2
  22267. | #define SIZEOF_LONG 8
  22268. | #define SIZEOF_LONG_LONG 8
  22269. | #define SIZEOF___INT64 0
  22270. | #define SIZEOF_OFF_T 8
  22271. | #define SIZEOF_VOIDP 8
  22272. | #define SIZEOF_FLOAT 4
  22273. | #define SIZEOF_DOUBLE 8
  22274. | #define SIZEOF_TIME_T 8
  22275. | #define SIZEOF_CLOCK_T 8
  22276. | #define PACKED_STRUCT(x) x __attribute__((packed))
  22277. | #define PACKED_STRUCT_UNALIGNED(x) x
  22278. | #define PRI_LL_PREFIX "ll"
  22279. | #define rb_pid_t pid_t
  22280. | #define SIGNEDNESS_OF_PID_T -1
  22281. | #define PIDT2NUM(v) INT2NUM(v)
  22282. | #define NUM2PIDT(v) NUM2INT(v)
  22283. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  22284. | #define rb_uid_t uid_t
  22285. | #define SIGNEDNESS_OF_UID_T +1
  22286. | #define UIDT2NUM(v) UINT2NUM(v)
  22287. | #define NUM2UIDT(v) NUM2UINT(v)
  22288. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  22289. | #define rb_gid_t gid_t
  22290. | #define SIGNEDNESS_OF_GID_T +1
  22291. | #define GIDT2NUM(v) UINT2NUM(v)
  22292. | #define NUM2GIDT(v) NUM2UINT(v)
  22293. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  22294. | #define rb_time_t time_t
  22295. | #define SIGNEDNESS_OF_TIME_T -1
  22296. | #define TIMET2NUM(v) LONG2NUM(v)
  22297. | #define NUM2TIMET(v) NUM2LONG(v)
  22298. | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
  22299. | #define rb_dev_t dev_t
  22300. | #define SIGNEDNESS_OF_DEV_T +1
  22301. | #define DEVT2NUM(v) ULONG2NUM(v)
  22302. | #define NUM2DEVT(v) NUM2ULONG(v)
  22303. | #define PRI_DEVT_PREFIX PRI_LONG_PREFIX
  22304. | #define rb_mode_t mode_t
  22305. | #define SIGNEDNESS_OF_MODE_T +1
  22306. | #define MODET2NUM(v) UINT2NUM(v)
  22307. | #define NUM2MODET(v) NUM2UINT(v)
  22308. | #define PRI_MODET_PREFIX PRI_INT_PREFIX
  22309. | #define rb_rlim_t rlim_t
  22310. | #define SIGNEDNESS_OF_RLIM_T +1
  22311. | #define RLIM2NUM(v) ULONG2NUM(v)
  22312. | #define NUM2RLIM(v) NUM2ULONG(v)
  22313. | #define PRI_RLIM_PREFIX PRI_LONG_PREFIX
  22314. | #define rb_off_t off_t
  22315. | #define SIGNEDNESS_OF_OFF_T -1
  22316. | #define OFFT2NUM(v) LONG2NUM(v)
  22317. | #define NUM2OFFT(v) NUM2LONG(v)
  22318. | #define PRI_OFFT_PREFIX PRI_LONG_PREFIX
  22319. | #define rb_clockid_t clockid_t
  22320. | #define SIGNEDNESS_OF_CLOCKID_T -1
  22321. | #define CLOCKID2NUM(v) INT2NUM(v)
  22322. | #define NUM2CLOCKID(v) NUM2INT(v)
  22323. | #define PRI_CLOCKID_PREFIX PRI_INT_PREFIX
  22324. | #define HAVE_PROTOTYPES 1
  22325. | #define TOKEN_PASTE(x,y) x##y
  22326. | #define STRINGIZE(expr) STRINGIZE0(expr)
  22327. | #define HAVE_STDARG_PROTOTYPES 1
  22328. | #define HAVE_VA_ARGS_MACRO 1
  22329. | #define NORETURN(x) __attribute__ ((noreturn)) x
  22330. | #define DEPRECATED(x) __attribute__ ((deprecated)) x
  22331. | #define DEPRECATED_BY(n,x) __attribute__ ((deprecated("by "#n))) x
  22332. | #define DEPRECATED_TYPE(mesg,x) __attribute__ ((deprecated mesg)) x
  22333. | #define NOINLINE(x) __attribute__ ((noinline)) x
  22334. | #define WEAK(x) __attribute__ ((weak)) x
  22335. | #define HAVE_FUNC_WEAK 1
  22336. | #define FUNC_UNOPTIMIZED(x) __attribute__ ((optimize("O0"))) x
  22337. | #define FUNC_MINIMIZED(x) __attribute__ ((optimize("-Os","-fomit-frame-pointer"))) x
  22338. | #define HAVE_ATTRIBUTE_FUNCTION_ALIAS 1
  22339. | #define RUBY_ALIAS_FUNCTION_TYPE(type, prot, name, args) type prot __attribute__((alias(#name)));
  22340. | #define RUBY_ALIAS_FUNCTION_VOID(prot, name, args) RUBY_ALIAS_FUNCTION_TYPE(void, prot, name, args)
  22341. | #define HAVE_GCC_ATOMIC_BUILTINS 1
  22342. | #define HAVE_GCC_SYNC_BUILTINS 1
  22343. | #define UNREACHABLE __builtin_unreachable()
  22344. | #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
  22345. | #define RUBY_FUNCTION_NAME_STRING __func__
  22346. | #define ENUM_OVER_INT 1
  22347. | #define HAVE_DECL_SYS_NERR 1
  22348. | #define HAVE_DECL_GETENV 1
  22349. | #define SIZEOF_SIZE_T 8
  22350. | #define SIZEOF_PTRDIFF_T 8
  22351. | #define PRI_SIZE_PREFIX "z"
  22352. | #define PRI_PTRDIFF_PREFIX "t"
  22353. | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
  22354. | #define HAVE_ST_BLKSIZE 1
  22355. | #define HAVE_STRUCT_STAT_ST_BLOCKS 1
  22356. | #define HAVE_ST_BLOCKS 1
  22357. | #define HAVE_STRUCT_STAT_ST_RDEV 1
  22358. | #define HAVE_ST_RDEV 1
  22359. | #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_OFF_T
  22360. | #define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_OFF_T
  22361. | #define SIZEOF_STRUCT_STAT_ST_INO SIZEOF_LONG
  22362. | #define HAVE_STRUCT_STAT_ST_ATIM 1
  22363. | #define HAVE_STRUCT_STAT_ST_MTIM 1
  22364. | #define HAVE_STRUCT_STAT_ST_CTIM 1
  22365. | #define HAVE_STRUCT_TIMEVAL 1
  22366. | #define SIZEOF_STRUCT_TIMEVAL_TV_SEC SIZEOF_TIME_T
  22367. | #define HAVE_STRUCT_TIMESPEC 1
  22368. | #define HAVE_STRUCT_TIMEZONE 1
  22369. | #define HAVE_CLOCKID_T 1
  22370. | #define HAVE_RB_FD_INIT 1
  22371. | #define HAVE_INT8_T 1
  22372. | #define SIZEOF_INT8_T 1
  22373. | #define HAVE_UINT8_T 1
  22374. | #define SIZEOF_UINT8_T 1
  22375. | #define HAVE_INT16_T 1
  22376. | #define SIZEOF_INT16_T 2
  22377. | #define HAVE_UINT16_T 1
  22378. | #define SIZEOF_UINT16_T 2
  22379. | #define HAVE_INT32_T 1
  22380. | #define SIZEOF_INT32_T 4
  22381. | #define HAVE_UINT32_T 1
  22382. | #define SIZEOF_UINT32_T 4
  22383. | #define HAVE_INT64_T 1
  22384. | #define SIZEOF_INT64_T 8
  22385. | #define HAVE_UINT64_T 1
  22386. | #define SIZEOF_UINT64_T 8
  22387. | #define HAVE_INTPTR_T 1
  22388. | #define SIZEOF_INTPTR_T 8
  22389. | #define HAVE_UINTPTR_T 1
  22390. | #define SIZEOF_UINTPTR_T 8
  22391. | #define HAVE_SSIZE_T 1
  22392. | #define SIZEOF_SSIZE_T 8
  22393. | #define STACK_END_ADDRESS __libc_stack_end
  22394. | #define GETGROUPS_T gid_t
  22395. | #define RETSIGTYPE void
  22396. | #define HAVE_ALLOCA_H 1
  22397. | #define HAVE_ALLOCA 1
  22398. | #define HAVE_ACOSH 1
  22399. | #define HAVE_CBRT 1
  22400. | #define HAVE_CRYPT 1
  22401. | #define HAVE_DUP2 1
  22402. | #define HAVE_ERF 1
  22403. | #define HAVE_EXPLICIT_BZERO 1
  22404. | #define HAVE_FFS 1
  22405. | #define HAVE_FINITE 1
  22406. | #define HAVE_FLOCK 1
  22407. | #define HAVE_HYPOT 1
  22408. | #define HAVE_ISINF 1
  22409. | #define HAVE_ISNAN 1
  22410. | #define HAVE_LGAMMA_R 1
  22411. | #define HAVE_MEMMOVE 1
  22412. | #define HAVE_NEXTAFTER 1
  22413. | #define HAVE_STRCHR 1
  22414. | #define HAVE_STRERROR 1
  22415. | #define HAVE_STRSTR 1
  22416. | #define HAVE_TGAMMA 1
  22417. | #define SPT_TYPE SPT_REUSEARGV
  22418. | #define HAVE_SIGNBIT 1
  22419. | #define HAVE_FORK 1
  22420. | #define HAVE_VFORK 1
  22421. | #define HAVE_WORKING_VFORK 1
  22422. | #define HAVE_WORKING_FORK 1
  22423. | #define HAVE__LONGJMP 1
  22424. | #define HAVE__SETJMP 1
  22425. | #define HAVE_ATAN2L 1
  22426. | #define HAVE_ATAN2F 1
  22427. | #define HAVE_CHROOT 1
  22428. | #define HAVE_CLOCK_GETTIME 1
  22429. | #define HAVE_COSH 1
  22430. | #define HAVE_DIRFD 1
  22431. | #define HAVE_DL_ITERATE_PHDR 1
  22432. | #define HAVE_DLOPEN 1
  22433. | #define HAVE_DLADDR 1
  22434. | #define HAVE_DUP 1
  22435. | #define HAVE_DUP3 1
  22436. | #define HAVE_EACCESS 1
  22437. | #define HAVE_ENDGRENT 1
  22438. | #define HAVE_FCHMOD 1
  22439. | #define HAVE_FCHOWN 1
  22440. | #define HAVE_FCNTL 1
  22441. | #define HAVE_FDATASYNC 1
  22442. | #define HAVE_FMOD 1
  22443. | #define HAVE_FSYNC 1
  22444. | #define HAVE_FTRUNCATE 1
  22445. | #define HAVE_FTRUNCATE64 1
  22446. | #define HAVE_GETCWD 1
  22447. | #define HAVE_GETGRNAM 1
  22448. | #define HAVE_GETGRNAM_R 1
  22449. | #define HAVE_GETGROUPS 1
  22450. | #define HAVE_GETPGID 1
  22451. | #define HAVE_GETPGRP 1
  22452. | #define HAVE_GETPRIORITY 1
  22453. | #define HAVE_GETPWNAM_R 1
  22454. | #define HAVE_GETRESGID 1
  22455. | #define HAVE_GETRESUID 1
  22456. | #define HAVE_GETRLIMIT 1
  22457. | #define HAVE_GETSID 1
  22458. | #define HAVE_GETTIMEOFDAY 1
  22459. | #define HAVE_GMTIME_R 1
  22460. | #define HAVE_INITGROUPS 1
  22461. | #define HAVE_IOCTL 1
  22462. | #define HAVE_KILLPG 1
  22463. | #define HAVE_LCHOWN 1
  22464. | #define HAVE_LINK 1
  22465. | #define HAVE_LLABS 1
  22466. | #define HAVE_LOCKF 1
  22467. | #define HAVE_LOG2 1
  22468. | #define HAVE_LSTAT 1
  22469. | #define HAVE_MALLOC_USABLE_SIZE 1
  22470. | #define HAVE_MBLEN 1
  22471. | #define HAVE_MEMALIGN 1
  22472. | #define HAVE_WRITEV 1
  22473. | #define HAVE_MEMRCHR 1
  22474. | #define HAVE_MEMMEM 1
  22475. | #define HAVE_MKFIFO 1
  22476. | #define HAVE_MKNOD 1
  22477. | #define HAVE_MKTIME 1
  22478. | #define HAVE_PIPE2 1
  22479. | #define HAVE_POLL 1
  22480. | #define HAVE_POSIX_FADVISE 1
  22481. | #define HAVE_POSIX_MEMALIGN 1
  22482. | #define HAVE_PPOLL 1
  22483. | #define HAVE_PREAD 1
  22484. | #define HAVE_QSORT_R 1
  22485. | #define HAVE_READLINK 1
  22486. | #define HAVE_ROUND 1
  22487. | #define HAVE_SCHED_GETAFFINITY 1
  22488. | #define HAVE_SEEKDIR 1
  22489. | #define HAVE_SENDFILE 1
  22490. | #define HAVE_SETEGID 1
  22491. | #define HAVE_SETENV 1
  22492. | #define HAVE_SETEUID 1
  22493. | #define HAVE_SETGID 1
  22494. | #define HAVE_SETGROUPS 1
  22495. | #define HAVE_SETPGID 1
  22496. | #define HAVE_SETPGRP 1
  22497. | #define HAVE_SETREGID 1
  22498. | #define HAVE_SETRESGID 1
  22499. | #define HAVE_SETRESUID 1
  22500. | #define HAVE_SETREUID 1
  22501. | #define HAVE_SETRLIMIT 1
  22502. | #define HAVE_SETSID 1
  22503. | #define HAVE_SETUID 1
  22504. | #define HAVE_SHUTDOWN 1
  22505. | #define HAVE_SIGACTION 1
  22506. | #define HAVE_SIGALTSTACK 1
  22507. | #define HAVE_SIGPROCMASK 1
  22508. | #define HAVE_SINH 1
  22509. | #define HAVE_SYMLINK 1
  22510. | #define HAVE_SYSCALL 1
  22511. | #define HAVE_SYSCONF 1
  22512. | #define HAVE_TANH 1
  22513. | #define HAVE_TELLDIR 1
  22514. | #define HAVE_TIMEGM 1
  22515. | #define HAVE_TIMES 1
  22516. | #define HAVE_TRUNCATE 1
  22517. | #define HAVE_TRUNCATE64 1
  22518. | #define HAVE_UNSETENV 1
  22519. | #define HAVE_UTIMENSAT 1
  22520. | #define HAVE_UTIMES 1
  22521. | #define HAVE_WAIT4 1
  22522. | #define HAVE_WAITPID 1
  22523. | #define HAVE_BUILTIN___BUILTIN_BSWAP16 1
  22524. | #define HAVE_BUILTIN___BUILTIN_BSWAP32 1
  22525. | #define HAVE_BUILTIN___BUILTIN_BSWAP64 1
  22526. | #define HAVE_BUILTIN___BUILTIN_CLZ 1
  22527. | #define HAVE_BUILTIN___BUILTIN_CLZL 1
  22528. | #define HAVE_BUILTIN___BUILTIN_CLZLL 1
  22529. | #define HAVE_BUILTIN___BUILTIN_CHOOSE_EXPR 1
  22530. | #define HAVE_BUILTIN___BUILTIN_CHOOSE_EXPR_CONSTANT_P 1
  22531. | #define HAVE_BUILTIN___BUILTIN_TYPES_COMPATIBLE_P 1
  22532. | #define HAVE_GNU_QSORT_R 1
  22533. | #define ATAN2_INF_C99 1
  22534. | #define HAVE_CLOCK_GETRES 1
  22535. | #define HAVE_STRUCT_TM_TM_ZONE 1
  22536. | #define HAVE_TM_ZONE 1
  22537. | #define HAVE_STRUCT_TM_TM_GMTOFF 1
  22538. | #define HAVE_DAYLIGHT 1
  22539. | #define HAVE_VAR_TIMEZONE 1
  22540. | #define TYPEOF_VAR_TIMEZONE long
  22541. | /* end confdefs.h. */
  22542. |
  22543. | #ifndef _XOPEN_SOURCE
  22544. | #define _XOPEN_SOURCE 1
  22545. | #endif
  22546. | #include <time.h>
  22547. | ;
  22548. | const volatile void *volatile t;
  22549. | int
  22550. | main ()
  22551. | {
  22552. | t = &(&altzone)[0];
  22553. | ;
  22554. | return 0;
  22555. | }
  22556. configure:21055: result: no
  22557. configure:21067: checking for timezone
  22558. configure:21067: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  22559. configure:21067: $? = 0
  22560. configure:21067: result: yes
  22561. configure:21077: checking whether timezone requires zero arguments
  22562. configure:21093: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  22563. conftest.c: In function 'main':
  22564. conftest.c:348:7: error: called object 'timezone' is not a function or function pointer
  22565. (void)timezone(0, 0);
  22566. ^~~~~~~~
  22567. In file included from conftest.c:344:0:
  22568. /usr/include/time.h:175:17: note: declared here
  22569. extern long int timezone;
  22570. ^~~~~~~~
  22571. configure:21093: $? = 1
  22572. configure: failed program was:
  22573. | /* confdefs.h */
  22574. | #define PACKAGE_NAME ""
  22575. | #define PACKAGE_TARNAME ""
  22576. | #define PACKAGE_VERSION ""
  22577. | #define PACKAGE_STRING ""
  22578. | #define PACKAGE_BUGREPORT ""
  22579. | #define PACKAGE_URL ""
  22580. | #define CANONICALIZATION_FOR_MATHN 1
  22581. | #define STDC_HEADERS 1
  22582. | #define HAVE_SYS_TYPES_H 1
  22583. | #define HAVE_SYS_STAT_H 1
  22584. | #define HAVE_STDLIB_H 1
  22585. | #define HAVE_STRING_H 1
  22586. | #define HAVE_MEMORY_H 1
  22587. | #define HAVE_STRINGS_H 1
  22588. | #define HAVE_INTTYPES_H 1
  22589. | #define HAVE_STDINT_H 1
  22590. | #define HAVE_UNISTD_H 1
  22591. | #define __EXTENSIONS__ 1
  22592. | #define _ALL_SOURCE 1
  22593. | #define _GNU_SOURCE 1
  22594. | #define _POSIX_PTHREAD_SEMANTICS 1
  22595. | #define _TANDEM_SOURCE 1
  22596. | #define HAVE_INFINITY 1
  22597. | #define HAVE_NAN 1
  22598. | #define RUBY_SYMBOL_EXPORT_BEGIN _Pragma("GCC visibility push(default)")
  22599. | #define RUBY_SYMBOL_EXPORT_END _Pragma("GCC visibility pop")
  22600. | #define HAVE_LIBCRYPT 1
  22601. | #define HAVE_LIBDL 1
  22602. | #define HAVE_DIRENT_H 1
  22603. | #define HAVE__BOOL 1
  22604. | #define HAVE_STDBOOL_H 1
  22605. | #define HAVE_SYS_WAIT_H 1
  22606. | #define HAVE_A_OUT_H 1
  22607. | #define HAVE_GRP_H 1
  22608. | #define HAVE_FCNTL_H 1
  22609. | #define HAVE_FLOAT_H 1
  22610. | #define HAVE_LANGINFO_H 1
  22611. | #define HAVE_LIMITS_H 1
  22612. | #define HAVE_LOCALE_H 1
  22613. | #define HAVE_MALLOC_H 1
  22614. | #define HAVE_PWD_H 1
  22615. | #define HAVE_SYS_FCNTL_H 1
  22616. | #define HAVE_SYS_FILE_H 1
  22617. | #define HAVE_SYS_IOCTL_H 1
  22618. | #define HAVE_SYS_PARAM_H 1
  22619. | #define HAVE_SYS_PRCTL_H 1
  22620. | #define HAVE_SYS_RESOURCE_H 1
  22621. | #define HAVE_SYS_SELECT_H 1
  22622. | #define HAVE_SYS_SENDFILE_H 1
  22623. | #define HAVE_SYS_SOCKET_H 1
  22624. | #define HAVE_SYS_SYSCALL_H 1
  22625. | #define HAVE_SYS_TIME_H 1
  22626. | #define HAVE_SYS_TIMES_H 1
  22627. | #define HAVE_SYS_UIO_H 1
  22628. | #define HAVE_SYSCALL_H 1
  22629. | #define HAVE_TIME_H 1
  22630. | #define HAVE_UCONTEXT_H 1
  22631. | #define HAVE_UTIME_H 1
  22632. | #define HAVE_GMP_H 1
  22633. | #define HAVE_LIBGMP 1
  22634. | #define HAVE_TYPEOF 1
  22635. | #define typeof __typeof__
  22636. | #define HAVE_LONG_LONG 1
  22637. | #define HAVE_OFF_T 1
  22638. | #define SIZEOF_INT 4
  22639. | #define SIZEOF_SHORT 2
  22640. | #define SIZEOF_LONG 8
  22641. | #define SIZEOF_LONG_LONG 8
  22642. | #define SIZEOF___INT64 0
  22643. | #define SIZEOF_OFF_T 8
  22644. | #define SIZEOF_VOIDP 8
  22645. | #define SIZEOF_FLOAT 4
  22646. | #define SIZEOF_DOUBLE 8
  22647. | #define SIZEOF_TIME_T 8
  22648. | #define SIZEOF_CLOCK_T 8
  22649. | #define PACKED_STRUCT(x) x __attribute__((packed))
  22650. | #define PACKED_STRUCT_UNALIGNED(x) x
  22651. | #define PRI_LL_PREFIX "ll"
  22652. | #define rb_pid_t pid_t
  22653. | #define SIGNEDNESS_OF_PID_T -1
  22654. | #define PIDT2NUM(v) INT2NUM(v)
  22655. | #define NUM2PIDT(v) NUM2INT(v)
  22656. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  22657. | #define rb_uid_t uid_t
  22658. | #define SIGNEDNESS_OF_UID_T +1
  22659. | #define UIDT2NUM(v) UINT2NUM(v)
  22660. | #define NUM2UIDT(v) NUM2UINT(v)
  22661. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  22662. | #define rb_gid_t gid_t
  22663. | #define SIGNEDNESS_OF_GID_T +1
  22664. | #define GIDT2NUM(v) UINT2NUM(v)
  22665. | #define NUM2GIDT(v) NUM2UINT(v)
  22666. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  22667. | #define rb_time_t time_t
  22668. | #define SIGNEDNESS_OF_TIME_T -1
  22669. | #define TIMET2NUM(v) LONG2NUM(v)
  22670. | #define NUM2TIMET(v) NUM2LONG(v)
  22671. | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
  22672. | #define rb_dev_t dev_t
  22673. | #define SIGNEDNESS_OF_DEV_T +1
  22674. | #define DEVT2NUM(v) ULONG2NUM(v)
  22675. | #define NUM2DEVT(v) NUM2ULONG(v)
  22676. | #define PRI_DEVT_PREFIX PRI_LONG_PREFIX
  22677. | #define rb_mode_t mode_t
  22678. | #define SIGNEDNESS_OF_MODE_T +1
  22679. | #define MODET2NUM(v) UINT2NUM(v)
  22680. | #define NUM2MODET(v) NUM2UINT(v)
  22681. | #define PRI_MODET_PREFIX PRI_INT_PREFIX
  22682. | #define rb_rlim_t rlim_t
  22683. | #define SIGNEDNESS_OF_RLIM_T +1
  22684. | #define RLIM2NUM(v) ULONG2NUM(v)
  22685. | #define NUM2RLIM(v) NUM2ULONG(v)
  22686. | #define PRI_RLIM_PREFIX PRI_LONG_PREFIX
  22687. | #define rb_off_t off_t
  22688. | #define SIGNEDNESS_OF_OFF_T -1
  22689. | #define OFFT2NUM(v) LONG2NUM(v)
  22690. | #define NUM2OFFT(v) NUM2LONG(v)
  22691. | #define PRI_OFFT_PREFIX PRI_LONG_PREFIX
  22692. | #define rb_clockid_t clockid_t
  22693. | #define SIGNEDNESS_OF_CLOCKID_T -1
  22694. | #define CLOCKID2NUM(v) INT2NUM(v)
  22695. | #define NUM2CLOCKID(v) NUM2INT(v)
  22696. | #define PRI_CLOCKID_PREFIX PRI_INT_PREFIX
  22697. | #define HAVE_PROTOTYPES 1
  22698. | #define TOKEN_PASTE(x,y) x##y
  22699. | #define STRINGIZE(expr) STRINGIZE0(expr)
  22700. | #define HAVE_STDARG_PROTOTYPES 1
  22701. | #define HAVE_VA_ARGS_MACRO 1
  22702. | #define NORETURN(x) __attribute__ ((noreturn)) x
  22703. | #define DEPRECATED(x) __attribute__ ((deprecated)) x
  22704. | #define DEPRECATED_BY(n,x) __attribute__ ((deprecated("by "#n))) x
  22705. | #define DEPRECATED_TYPE(mesg,x) __attribute__ ((deprecated mesg)) x
  22706. | #define NOINLINE(x) __attribute__ ((noinline)) x
  22707. | #define WEAK(x) __attribute__ ((weak)) x
  22708. | #define HAVE_FUNC_WEAK 1
  22709. | #define FUNC_UNOPTIMIZED(x) __attribute__ ((optimize("O0"))) x
  22710. | #define FUNC_MINIMIZED(x) __attribute__ ((optimize("-Os","-fomit-frame-pointer"))) x
  22711. | #define HAVE_ATTRIBUTE_FUNCTION_ALIAS 1
  22712. | #define RUBY_ALIAS_FUNCTION_TYPE(type, prot, name, args) type prot __attribute__((alias(#name)));
  22713. | #define RUBY_ALIAS_FUNCTION_VOID(prot, name, args) RUBY_ALIAS_FUNCTION_TYPE(void, prot, name, args)
  22714. | #define HAVE_GCC_ATOMIC_BUILTINS 1
  22715. | #define HAVE_GCC_SYNC_BUILTINS 1
  22716. | #define UNREACHABLE __builtin_unreachable()
  22717. | #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
  22718. | #define RUBY_FUNCTION_NAME_STRING __func__
  22719. | #define ENUM_OVER_INT 1
  22720. | #define HAVE_DECL_SYS_NERR 1
  22721. | #define HAVE_DECL_GETENV 1
  22722. | #define SIZEOF_SIZE_T 8
  22723. | #define SIZEOF_PTRDIFF_T 8
  22724. | #define PRI_SIZE_PREFIX "z"
  22725. | #define PRI_PTRDIFF_PREFIX "t"
  22726. | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
  22727. | #define HAVE_ST_BLKSIZE 1
  22728. | #define HAVE_STRUCT_STAT_ST_BLOCKS 1
  22729. | #define HAVE_ST_BLOCKS 1
  22730. | #define HAVE_STRUCT_STAT_ST_RDEV 1
  22731. | #define HAVE_ST_RDEV 1
  22732. | #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_OFF_T
  22733. | #define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_OFF_T
  22734. | #define SIZEOF_STRUCT_STAT_ST_INO SIZEOF_LONG
  22735. | #define HAVE_STRUCT_STAT_ST_ATIM 1
  22736. | #define HAVE_STRUCT_STAT_ST_MTIM 1
  22737. | #define HAVE_STRUCT_STAT_ST_CTIM 1
  22738. | #define HAVE_STRUCT_TIMEVAL 1
  22739. | #define SIZEOF_STRUCT_TIMEVAL_TV_SEC SIZEOF_TIME_T
  22740. | #define HAVE_STRUCT_TIMESPEC 1
  22741. | #define HAVE_STRUCT_TIMEZONE 1
  22742. | #define HAVE_CLOCKID_T 1
  22743. | #define HAVE_RB_FD_INIT 1
  22744. | #define HAVE_INT8_T 1
  22745. | #define SIZEOF_INT8_T 1
  22746. | #define HAVE_UINT8_T 1
  22747. | #define SIZEOF_UINT8_T 1
  22748. | #define HAVE_INT16_T 1
  22749. | #define SIZEOF_INT16_T 2
  22750. | #define HAVE_UINT16_T 1
  22751. | #define SIZEOF_UINT16_T 2
  22752. | #define HAVE_INT32_T 1
  22753. | #define SIZEOF_INT32_T 4
  22754. | #define HAVE_UINT32_T 1
  22755. | #define SIZEOF_UINT32_T 4
  22756. | #define HAVE_INT64_T 1
  22757. | #define SIZEOF_INT64_T 8
  22758. | #define HAVE_UINT64_T 1
  22759. | #define SIZEOF_UINT64_T 8
  22760. | #define HAVE_INTPTR_T 1
  22761. | #define SIZEOF_INTPTR_T 8
  22762. | #define HAVE_UINTPTR_T 1
  22763. | #define SIZEOF_UINTPTR_T 8
  22764. | #define HAVE_SSIZE_T 1
  22765. | #define SIZEOF_SSIZE_T 8
  22766. | #define STACK_END_ADDRESS __libc_stack_end
  22767. | #define GETGROUPS_T gid_t
  22768. | #define RETSIGTYPE void
  22769. | #define HAVE_ALLOCA_H 1
  22770. | #define HAVE_ALLOCA 1
  22771. | #define HAVE_ACOSH 1
  22772. | #define HAVE_CBRT 1
  22773. | #define HAVE_CRYPT 1
  22774. | #define HAVE_DUP2 1
  22775. | #define HAVE_ERF 1
  22776. | #define HAVE_EXPLICIT_BZERO 1
  22777. | #define HAVE_FFS 1
  22778. | #define HAVE_FINITE 1
  22779. | #define HAVE_FLOCK 1
  22780. | #define HAVE_HYPOT 1
  22781. | #define HAVE_ISINF 1
  22782. | #define HAVE_ISNAN 1
  22783. | #define HAVE_LGAMMA_R 1
  22784. | #define HAVE_MEMMOVE 1
  22785. | #define HAVE_NEXTAFTER 1
  22786. | #define HAVE_STRCHR 1
  22787. | #define HAVE_STRERROR 1
  22788. | #define HAVE_STRSTR 1
  22789. | #define HAVE_TGAMMA 1
  22790. | #define SPT_TYPE SPT_REUSEARGV
  22791. | #define HAVE_SIGNBIT 1
  22792. | #define HAVE_FORK 1
  22793. | #define HAVE_VFORK 1
  22794. | #define HAVE_WORKING_VFORK 1
  22795. | #define HAVE_WORKING_FORK 1
  22796. | #define HAVE__LONGJMP 1
  22797. | #define HAVE__SETJMP 1
  22798. | #define HAVE_ATAN2L 1
  22799. | #define HAVE_ATAN2F 1
  22800. | #define HAVE_CHROOT 1
  22801. | #define HAVE_CLOCK_GETTIME 1
  22802. | #define HAVE_COSH 1
  22803. | #define HAVE_DIRFD 1
  22804. | #define HAVE_DL_ITERATE_PHDR 1
  22805. | #define HAVE_DLOPEN 1
  22806. | #define HAVE_DLADDR 1
  22807. | #define HAVE_DUP 1
  22808. | #define HAVE_DUP3 1
  22809. | #define HAVE_EACCESS 1
  22810. | #define HAVE_ENDGRENT 1
  22811. | #define HAVE_FCHMOD 1
  22812. | #define HAVE_FCHOWN 1
  22813. | #define HAVE_FCNTL 1
  22814. | #define HAVE_FDATASYNC 1
  22815. | #define HAVE_FMOD 1
  22816. | #define HAVE_FSYNC 1
  22817. | #define HAVE_FTRUNCATE 1
  22818. | #define HAVE_FTRUNCATE64 1
  22819. | #define HAVE_GETCWD 1
  22820. | #define HAVE_GETGRNAM 1
  22821. | #define HAVE_GETGRNAM_R 1
  22822. | #define HAVE_GETGROUPS 1
  22823. | #define HAVE_GETPGID 1
  22824. | #define HAVE_GETPGRP 1
  22825. | #define HAVE_GETPRIORITY 1
  22826. | #define HAVE_GETPWNAM_R 1
  22827. | #define HAVE_GETRESGID 1
  22828. | #define HAVE_GETRESUID 1
  22829. | #define HAVE_GETRLIMIT 1
  22830. | #define HAVE_GETSID 1
  22831. | #define HAVE_GETTIMEOFDAY 1
  22832. | #define HAVE_GMTIME_R 1
  22833. | #define HAVE_INITGROUPS 1
  22834. | #define HAVE_IOCTL 1
  22835. | #define HAVE_KILLPG 1
  22836. | #define HAVE_LCHOWN 1
  22837. | #define HAVE_LINK 1
  22838. | #define HAVE_LLABS 1
  22839. | #define HAVE_LOCKF 1
  22840. | #define HAVE_LOG2 1
  22841. | #define HAVE_LSTAT 1
  22842. | #define HAVE_MALLOC_USABLE_SIZE 1
  22843. | #define HAVE_MBLEN 1
  22844. | #define HAVE_MEMALIGN 1
  22845. | #define HAVE_WRITEV 1
  22846. | #define HAVE_MEMRCHR 1
  22847. | #define HAVE_MEMMEM 1
  22848. | #define HAVE_MKFIFO 1
  22849. | #define HAVE_MKNOD 1
  22850. | #define HAVE_MKTIME 1
  22851. | #define HAVE_PIPE2 1
  22852. | #define HAVE_POLL 1
  22853. | #define HAVE_POSIX_FADVISE 1
  22854. | #define HAVE_POSIX_MEMALIGN 1
  22855. | #define HAVE_PPOLL 1
  22856. | #define HAVE_PREAD 1
  22857. | #define HAVE_QSORT_R 1
  22858. | #define HAVE_READLINK 1
  22859. | #define HAVE_ROUND 1
  22860. | #define HAVE_SCHED_GETAFFINITY 1
  22861. | #define HAVE_SEEKDIR 1
  22862. | #define HAVE_SENDFILE 1
  22863. | #define HAVE_SETEGID 1
  22864. | #define HAVE_SETENV 1
  22865. | #define HAVE_SETEUID 1
  22866. | #define HAVE_SETGID 1
  22867. | #define HAVE_SETGROUPS 1
  22868. | #define HAVE_SETPGID 1
  22869. | #define HAVE_SETPGRP 1
  22870. | #define HAVE_SETREGID 1
  22871. | #define HAVE_SETRESGID 1
  22872. | #define HAVE_SETRESUID 1
  22873. | #define HAVE_SETREUID 1
  22874. | #define HAVE_SETRLIMIT 1
  22875. | #define HAVE_SETSID 1
  22876. | #define HAVE_SETUID 1
  22877. | #define HAVE_SHUTDOWN 1
  22878. | #define HAVE_SIGACTION 1
  22879. | #define HAVE_SIGALTSTACK 1
  22880. | #define HAVE_SIGPROCMASK 1
  22881. | #define HAVE_SINH 1
  22882. | #define HAVE_SYMLINK 1
  22883. | #define HAVE_SYSCALL 1
  22884. | #define HAVE_SYSCONF 1
  22885. | #define HAVE_TANH 1
  22886. | #define HAVE_TELLDIR 1
  22887. | #define HAVE_TIMEGM 1
  22888. | #define HAVE_TIMES 1
  22889. | #define HAVE_TRUNCATE 1
  22890. | #define HAVE_TRUNCATE64 1
  22891. | #define HAVE_UNSETENV 1
  22892. | #define HAVE_UTIMENSAT 1
  22893. | #define HAVE_UTIMES 1
  22894. | #define HAVE_WAIT4 1
  22895. | #define HAVE_WAITPID 1
  22896. | #define HAVE_BUILTIN___BUILTIN_BSWAP16 1
  22897. | #define HAVE_BUILTIN___BUILTIN_BSWAP32 1
  22898. | #define HAVE_BUILTIN___BUILTIN_BSWAP64 1
  22899. | #define HAVE_BUILTIN___BUILTIN_CLZ 1
  22900. | #define HAVE_BUILTIN___BUILTIN_CLZL 1
  22901. | #define HAVE_BUILTIN___BUILTIN_CLZLL 1
  22902. | #define HAVE_BUILTIN___BUILTIN_CHOOSE_EXPR 1
  22903. | #define HAVE_BUILTIN___BUILTIN_CHOOSE_EXPR_CONSTANT_P 1
  22904. | #define HAVE_BUILTIN___BUILTIN_TYPES_COMPATIBLE_P 1
  22905. | #define HAVE_GNU_QSORT_R 1
  22906. | #define ATAN2_INF_C99 1
  22907. | #define HAVE_CLOCK_GETRES 1
  22908. | #define HAVE_STRUCT_TM_TM_ZONE 1
  22909. | #define HAVE_TM_ZONE 1
  22910. | #define HAVE_STRUCT_TM_TM_GMTOFF 1
  22911. | #define HAVE_DAYLIGHT 1
  22912. | #define HAVE_VAR_TIMEZONE 1
  22913. | #define TYPEOF_VAR_TIMEZONE long
  22914. | #define HAVE_TIMEZONE 1
  22915. | /* end confdefs.h. */
  22916. | #include <time.h>
  22917. | int
  22918. | main ()
  22919. | {
  22920. | (void)timezone(0, 0);
  22921. | ;
  22922. | return 0;
  22923. | }
  22924. configure:21101: result: yes
  22925. configure:21109: checking for negative time_t for gmtime(3)
  22926. configure:21151: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  22927. configure:21151: $? = 0
  22928. configure:21151: ./conftest
  22929. configure:21151: $? = 0
  22930. configure:21161: result: yes
  22931. configure:21170: checking for localtime(3) overflow correctly
  22932. configure:21214: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lgmp -ldl -lcrypt -lm >&5
  22933. configure:21214: $? = 0
  22934. configure:21214: ./conftest
  22935. configure:21214: $? = 0
  22936. configure:21224: result: yes
  22937. configure:21453: checking whether right shift preserve sign bit
  22938. configure:21472: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  22939. configure:21472: $? = 0
  22940. configure:21479: result: yes
  22941. configure:21495: checking whether _SC_CLK_TCK is supported
  22942. configure:21512: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  22943. configure:21512: $? = 0
  22944. configure:21520: result: yes
  22945. configure:21629: checking stack growing direction on x86_64
  22946. configure:21680: result: -1
  22947. configure:21693: checking for pthread_kill in -lthr
  22948. configure:21718: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lthr -lgmp -ldl -lcrypt -lm >&5
  22949. /usr/bin/x86_64-linux-gnu-ld: cannot find -lthr
  22950. collect2: error: ld returned 1 exit status
  22951. configure:21718: $? = 1
  22952. configure: failed program was:
  22953. | /* confdefs.h */
  22954. | #define PACKAGE_NAME ""
  22955. | #define PACKAGE_TARNAME ""
  22956. | #define PACKAGE_VERSION ""
  22957. | #define PACKAGE_STRING ""
  22958. | #define PACKAGE_BUGREPORT ""
  22959. | #define PACKAGE_URL ""
  22960. | #define CANONICALIZATION_FOR_MATHN 1
  22961. | #define STDC_HEADERS 1
  22962. | #define HAVE_SYS_TYPES_H 1
  22963. | #define HAVE_SYS_STAT_H 1
  22964. | #define HAVE_STDLIB_H 1
  22965. | #define HAVE_STRING_H 1
  22966. | #define HAVE_MEMORY_H 1
  22967. | #define HAVE_STRINGS_H 1
  22968. | #define HAVE_INTTYPES_H 1
  22969. | #define HAVE_STDINT_H 1
  22970. | #define HAVE_UNISTD_H 1
  22971. | #define __EXTENSIONS__ 1
  22972. | #define _ALL_SOURCE 1
  22973. | #define _GNU_SOURCE 1
  22974. | #define _POSIX_PTHREAD_SEMANTICS 1
  22975. | #define _TANDEM_SOURCE 1
  22976. | #define HAVE_INFINITY 1
  22977. | #define HAVE_NAN 1
  22978. | #define RUBY_SYMBOL_EXPORT_BEGIN _Pragma("GCC visibility push(default)")
  22979. | #define RUBY_SYMBOL_EXPORT_END _Pragma("GCC visibility pop")
  22980. | #define HAVE_LIBCRYPT 1
  22981. | #define HAVE_LIBDL 1
  22982. | #define HAVE_DIRENT_H 1
  22983. | #define HAVE__BOOL 1
  22984. | #define HAVE_STDBOOL_H 1
  22985. | #define HAVE_SYS_WAIT_H 1
  22986. | #define HAVE_A_OUT_H 1
  22987. | #define HAVE_GRP_H 1
  22988. | #define HAVE_FCNTL_H 1
  22989. | #define HAVE_FLOAT_H 1
  22990. | #define HAVE_LANGINFO_H 1
  22991. | #define HAVE_LIMITS_H 1
  22992. | #define HAVE_LOCALE_H 1
  22993. | #define HAVE_MALLOC_H 1
  22994. | #define HAVE_PWD_H 1
  22995. | #define HAVE_SYS_FCNTL_H 1
  22996. | #define HAVE_SYS_FILE_H 1
  22997. | #define HAVE_SYS_IOCTL_H 1
  22998. | #define HAVE_SYS_PARAM_H 1
  22999. | #define HAVE_SYS_PRCTL_H 1
  23000. | #define HAVE_SYS_RESOURCE_H 1
  23001. | #define HAVE_SYS_SELECT_H 1
  23002. | #define HAVE_SYS_SENDFILE_H 1
  23003. | #define HAVE_SYS_SOCKET_H 1
  23004. | #define HAVE_SYS_SYSCALL_H 1
  23005. | #define HAVE_SYS_TIME_H 1
  23006. | #define HAVE_SYS_TIMES_H 1
  23007. | #define HAVE_SYS_UIO_H 1
  23008. | #define HAVE_SYSCALL_H 1
  23009. | #define HAVE_TIME_H 1
  23010. | #define HAVE_UCONTEXT_H 1
  23011. | #define HAVE_UTIME_H 1
  23012. | #define HAVE_GMP_H 1
  23013. | #define HAVE_LIBGMP 1
  23014. | #define HAVE_TYPEOF 1
  23015. | #define typeof __typeof__
  23016. | #define HAVE_LONG_LONG 1
  23017. | #define HAVE_OFF_T 1
  23018. | #define SIZEOF_INT 4
  23019. | #define SIZEOF_SHORT 2
  23020. | #define SIZEOF_LONG 8
  23021. | #define SIZEOF_LONG_LONG 8
  23022. | #define SIZEOF___INT64 0
  23023. | #define SIZEOF_OFF_T 8
  23024. | #define SIZEOF_VOIDP 8
  23025. | #define SIZEOF_FLOAT 4
  23026. | #define SIZEOF_DOUBLE 8
  23027. | #define SIZEOF_TIME_T 8
  23028. | #define SIZEOF_CLOCK_T 8
  23029. | #define PACKED_STRUCT(x) x __attribute__((packed))
  23030. | #define PACKED_STRUCT_UNALIGNED(x) x
  23031. | #define PRI_LL_PREFIX "ll"
  23032. | #define rb_pid_t pid_t
  23033. | #define SIGNEDNESS_OF_PID_T -1
  23034. | #define PIDT2NUM(v) INT2NUM(v)
  23035. | #define NUM2PIDT(v) NUM2INT(v)
  23036. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  23037. | #define rb_uid_t uid_t
  23038. | #define SIGNEDNESS_OF_UID_T +1
  23039. | #define UIDT2NUM(v) UINT2NUM(v)
  23040. | #define NUM2UIDT(v) NUM2UINT(v)
  23041. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  23042. | #define rb_gid_t gid_t
  23043. | #define SIGNEDNESS_OF_GID_T +1
  23044. | #define GIDT2NUM(v) UINT2NUM(v)
  23045. | #define NUM2GIDT(v) NUM2UINT(v)
  23046. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  23047. | #define rb_time_t time_t
  23048. | #define SIGNEDNESS_OF_TIME_T -1
  23049. | #define TIMET2NUM(v) LONG2NUM(v)
  23050. | #define NUM2TIMET(v) NUM2LONG(v)
  23051. | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
  23052. | #define rb_dev_t dev_t
  23053. | #define SIGNEDNESS_OF_DEV_T +1
  23054. | #define DEVT2NUM(v) ULONG2NUM(v)
  23055. | #define NUM2DEVT(v) NUM2ULONG(v)
  23056. | #define PRI_DEVT_PREFIX PRI_LONG_PREFIX
  23057. | #define rb_mode_t mode_t
  23058. | #define SIGNEDNESS_OF_MODE_T +1
  23059. | #define MODET2NUM(v) UINT2NUM(v)
  23060. | #define NUM2MODET(v) NUM2UINT(v)
  23061. | #define PRI_MODET_PREFIX PRI_INT_PREFIX
  23062. | #define rb_rlim_t rlim_t
  23063. | #define SIGNEDNESS_OF_RLIM_T +1
  23064. | #define RLIM2NUM(v) ULONG2NUM(v)
  23065. | #define NUM2RLIM(v) NUM2ULONG(v)
  23066. | #define PRI_RLIM_PREFIX PRI_LONG_PREFIX
  23067. | #define rb_off_t off_t
  23068. | #define SIGNEDNESS_OF_OFF_T -1
  23069. | #define OFFT2NUM(v) LONG2NUM(v)
  23070. | #define NUM2OFFT(v) NUM2LONG(v)
  23071. | #define PRI_OFFT_PREFIX PRI_LONG_PREFIX
  23072. | #define rb_clockid_t clockid_t
  23073. | #define SIGNEDNESS_OF_CLOCKID_T -1
  23074. | #define CLOCKID2NUM(v) INT2NUM(v)
  23075. | #define NUM2CLOCKID(v) NUM2INT(v)
  23076. | #define PRI_CLOCKID_PREFIX PRI_INT_PREFIX
  23077. | #define HAVE_PROTOTYPES 1
  23078. | #define TOKEN_PASTE(x,y) x##y
  23079. | #define STRINGIZE(expr) STRINGIZE0(expr)
  23080. | #define HAVE_STDARG_PROTOTYPES 1
  23081. | #define HAVE_VA_ARGS_MACRO 1
  23082. | #define NORETURN(x) __attribute__ ((noreturn)) x
  23083. | #define DEPRECATED(x) __attribute__ ((deprecated)) x
  23084. | #define DEPRECATED_BY(n,x) __attribute__ ((deprecated("by "#n))) x
  23085. | #define DEPRECATED_TYPE(mesg,x) __attribute__ ((deprecated mesg)) x
  23086. | #define NOINLINE(x) __attribute__ ((noinline)) x
  23087. | #define WEAK(x) __attribute__ ((weak)) x
  23088. | #define HAVE_FUNC_WEAK 1
  23089. | #define FUNC_UNOPTIMIZED(x) __attribute__ ((optimize("O0"))) x
  23090. | #define FUNC_MINIMIZED(x) __attribute__ ((optimize("-Os","-fomit-frame-pointer"))) x
  23091. | #define HAVE_ATTRIBUTE_FUNCTION_ALIAS 1
  23092. | #define RUBY_ALIAS_FUNCTION_TYPE(type, prot, name, args) type prot __attribute__((alias(#name)));
  23093. | #define RUBY_ALIAS_FUNCTION_VOID(prot, name, args) RUBY_ALIAS_FUNCTION_TYPE(void, prot, name, args)
  23094. | #define HAVE_GCC_ATOMIC_BUILTINS 1
  23095. | #define HAVE_GCC_SYNC_BUILTINS 1
  23096. | #define UNREACHABLE __builtin_unreachable()
  23097. | #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
  23098. | #define RUBY_FUNCTION_NAME_STRING __func__
  23099. | #define ENUM_OVER_INT 1
  23100. | #define HAVE_DECL_SYS_NERR 1
  23101. | #define HAVE_DECL_GETENV 1
  23102. | #define SIZEOF_SIZE_T 8
  23103. | #define SIZEOF_PTRDIFF_T 8
  23104. | #define PRI_SIZE_PREFIX "z"
  23105. | #define PRI_PTRDIFF_PREFIX "t"
  23106. | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
  23107. | #define HAVE_ST_BLKSIZE 1
  23108. | #define HAVE_STRUCT_STAT_ST_BLOCKS 1
  23109. | #define HAVE_ST_BLOCKS 1
  23110. | #define HAVE_STRUCT_STAT_ST_RDEV 1
  23111. | #define HAVE_ST_RDEV 1
  23112. | #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_OFF_T
  23113. | #define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_OFF_T
  23114. | #define SIZEOF_STRUCT_STAT_ST_INO SIZEOF_LONG
  23115. | #define HAVE_STRUCT_STAT_ST_ATIM 1
  23116. | #define HAVE_STRUCT_STAT_ST_MTIM 1
  23117. | #define HAVE_STRUCT_STAT_ST_CTIM 1
  23118. | #define HAVE_STRUCT_TIMEVAL 1
  23119. | #define SIZEOF_STRUCT_TIMEVAL_TV_SEC SIZEOF_TIME_T
  23120. | #define HAVE_STRUCT_TIMESPEC 1
  23121. | #define HAVE_STRUCT_TIMEZONE 1
  23122. | #define HAVE_CLOCKID_T 1
  23123. | #define HAVE_RB_FD_INIT 1
  23124. | #define HAVE_INT8_T 1
  23125. | #define SIZEOF_INT8_T 1
  23126. | #define HAVE_UINT8_T 1
  23127. | #define SIZEOF_UINT8_T 1
  23128. | #define HAVE_INT16_T 1
  23129. | #define SIZEOF_INT16_T 2
  23130. | #define HAVE_UINT16_T 1
  23131. | #define SIZEOF_UINT16_T 2
  23132. | #define HAVE_INT32_T 1
  23133. | #define SIZEOF_INT32_T 4
  23134. | #define HAVE_UINT32_T 1
  23135. | #define SIZEOF_UINT32_T 4
  23136. | #define HAVE_INT64_T 1
  23137. | #define SIZEOF_INT64_T 8
  23138. | #define HAVE_UINT64_T 1
  23139. | #define SIZEOF_UINT64_T 8
  23140. | #define HAVE_INTPTR_T 1
  23141. | #define SIZEOF_INTPTR_T 8
  23142. | #define HAVE_UINTPTR_T 1
  23143. | #define SIZEOF_UINTPTR_T 8
  23144. | #define HAVE_SSIZE_T 1
  23145. | #define SIZEOF_SSIZE_T 8
  23146. | #define STACK_END_ADDRESS __libc_stack_end
  23147. | #define GETGROUPS_T gid_t
  23148. | #define RETSIGTYPE void
  23149. | #define HAVE_ALLOCA_H 1
  23150. | #define HAVE_ALLOCA 1
  23151. | #define HAVE_ACOSH 1
  23152. | #define HAVE_CBRT 1
  23153. | #define HAVE_CRYPT 1
  23154. | #define HAVE_DUP2 1
  23155. | #define HAVE_ERF 1
  23156. | #define HAVE_EXPLICIT_BZERO 1
  23157. | #define HAVE_FFS 1
  23158. | #define HAVE_FINITE 1
  23159. | #define HAVE_FLOCK 1
  23160. | #define HAVE_HYPOT 1
  23161. | #define HAVE_ISINF 1
  23162. | #define HAVE_ISNAN 1
  23163. | #define HAVE_LGAMMA_R 1
  23164. | #define HAVE_MEMMOVE 1
  23165. | #define HAVE_NEXTAFTER 1
  23166. | #define HAVE_STRCHR 1
  23167. | #define HAVE_STRERROR 1
  23168. | #define HAVE_STRSTR 1
  23169. | #define HAVE_TGAMMA 1
  23170. | #define SPT_TYPE SPT_REUSEARGV
  23171. | #define HAVE_SIGNBIT 1
  23172. | #define HAVE_FORK 1
  23173. | #define HAVE_VFORK 1
  23174. | #define HAVE_WORKING_VFORK 1
  23175. | #define HAVE_WORKING_FORK 1
  23176. | #define HAVE__LONGJMP 1
  23177. | #define HAVE__SETJMP 1
  23178. | #define HAVE_ATAN2L 1
  23179. | #define HAVE_ATAN2F 1
  23180. | #define HAVE_CHROOT 1
  23181. | #define HAVE_CLOCK_GETTIME 1
  23182. | #define HAVE_COSH 1
  23183. | #define HAVE_DIRFD 1
  23184. | #define HAVE_DL_ITERATE_PHDR 1
  23185. | #define HAVE_DLOPEN 1
  23186. | #define HAVE_DLADDR 1
  23187. | #define HAVE_DUP 1
  23188. | #define HAVE_DUP3 1
  23189. | #define HAVE_EACCESS 1
  23190. | #define HAVE_ENDGRENT 1
  23191. | #define HAVE_FCHMOD 1
  23192. | #define HAVE_FCHOWN 1
  23193. | #define HAVE_FCNTL 1
  23194. | #define HAVE_FDATASYNC 1
  23195. | #define HAVE_FMOD 1
  23196. | #define HAVE_FSYNC 1
  23197. | #define HAVE_FTRUNCATE 1
  23198. | #define HAVE_FTRUNCATE64 1
  23199. | #define HAVE_GETCWD 1
  23200. | #define HAVE_GETGRNAM 1
  23201. | #define HAVE_GETGRNAM_R 1
  23202. | #define HAVE_GETGROUPS 1
  23203. | #define HAVE_GETPGID 1
  23204. | #define HAVE_GETPGRP 1
  23205. | #define HAVE_GETPRIORITY 1
  23206. | #define HAVE_GETPWNAM_R 1
  23207. | #define HAVE_GETRESGID 1
  23208. | #define HAVE_GETRESUID 1
  23209. | #define HAVE_GETRLIMIT 1
  23210. | #define HAVE_GETSID 1
  23211. | #define HAVE_GETTIMEOFDAY 1
  23212. | #define HAVE_GMTIME_R 1
  23213. | #define HAVE_INITGROUPS 1
  23214. | #define HAVE_IOCTL 1
  23215. | #define HAVE_KILLPG 1
  23216. | #define HAVE_LCHOWN 1
  23217. | #define HAVE_LINK 1
  23218. | #define HAVE_LLABS 1
  23219. | #define HAVE_LOCKF 1
  23220. | #define HAVE_LOG2 1
  23221. | #define HAVE_LSTAT 1
  23222. | #define HAVE_MALLOC_USABLE_SIZE 1
  23223. | #define HAVE_MBLEN 1
  23224. | #define HAVE_MEMALIGN 1
  23225. | #define HAVE_WRITEV 1
  23226. | #define HAVE_MEMRCHR 1
  23227. | #define HAVE_MEMMEM 1
  23228. | #define HAVE_MKFIFO 1
  23229. | #define HAVE_MKNOD 1
  23230. | #define HAVE_MKTIME 1
  23231. | #define HAVE_PIPE2 1
  23232. | #define HAVE_POLL 1
  23233. | #define HAVE_POSIX_FADVISE 1
  23234. | #define HAVE_POSIX_MEMALIGN 1
  23235. | #define HAVE_PPOLL 1
  23236. | #define HAVE_PREAD 1
  23237. | #define HAVE_QSORT_R 1
  23238. | #define HAVE_READLINK 1
  23239. | #define HAVE_ROUND 1
  23240. | #define HAVE_SCHED_GETAFFINITY 1
  23241. | #define HAVE_SEEKDIR 1
  23242. | #define HAVE_SENDFILE 1
  23243. | #define HAVE_SETEGID 1
  23244. | #define HAVE_SETENV 1
  23245. | #define HAVE_SETEUID 1
  23246. | #define HAVE_SETGID 1
  23247. | #define HAVE_SETGROUPS 1
  23248. | #define HAVE_SETPGID 1
  23249. | #define HAVE_SETPGRP 1
  23250. | #define HAVE_SETREGID 1
  23251. | #define HAVE_SETRESGID 1
  23252. | #define HAVE_SETRESUID 1
  23253. | #define HAVE_SETREUID 1
  23254. | #define HAVE_SETRLIMIT 1
  23255. | #define HAVE_SETSID 1
  23256. | #define HAVE_SETUID 1
  23257. | #define HAVE_SHUTDOWN 1
  23258. | #define HAVE_SIGACTION 1
  23259. | #define HAVE_SIGALTSTACK 1
  23260. | #define HAVE_SIGPROCMASK 1
  23261. | #define HAVE_SINH 1
  23262. | #define HAVE_SYMLINK 1
  23263. | #define HAVE_SYSCALL 1
  23264. | #define HAVE_SYSCONF 1
  23265. | #define HAVE_TANH 1
  23266. | #define HAVE_TELLDIR 1
  23267. | #define HAVE_TIMEGM 1
  23268. | #define HAVE_TIMES 1
  23269. | #define HAVE_TRUNCATE 1
  23270. | #define HAVE_TRUNCATE64 1
  23271. | #define HAVE_UNSETENV 1
  23272. | #define HAVE_UTIMENSAT 1
  23273. | #define HAVE_UTIMES 1
  23274. | #define HAVE_WAIT4 1
  23275. | #define HAVE_WAITPID 1
  23276. | #define HAVE_BUILTIN___BUILTIN_BSWAP16 1
  23277. | #define HAVE_BUILTIN___BUILTIN_BSWAP32 1
  23278. | #define HAVE_BUILTIN___BUILTIN_BSWAP64 1
  23279. | #define HAVE_BUILTIN___BUILTIN_CLZ 1
  23280. | #define HAVE_BUILTIN___BUILTIN_CLZL 1
  23281. | #define HAVE_BUILTIN___BUILTIN_CLZLL 1
  23282. | #define HAVE_BUILTIN___BUILTIN_CHOOSE_EXPR 1
  23283. | #define HAVE_BUILTIN___BUILTIN_CHOOSE_EXPR_CONSTANT_P 1
  23284. | #define HAVE_BUILTIN___BUILTIN_TYPES_COMPATIBLE_P 1
  23285. | #define HAVE_GNU_QSORT_R 1
  23286. | #define ATAN2_INF_C99 1
  23287. | #define HAVE_CLOCK_GETRES 1
  23288. | #define HAVE_STRUCT_TM_TM_ZONE 1
  23289. | #define HAVE_TM_ZONE 1
  23290. | #define HAVE_STRUCT_TM_TM_GMTOFF 1
  23291. | #define HAVE_DAYLIGHT 1
  23292. | #define HAVE_VAR_TIMEZONE 1
  23293. | #define TYPEOF_VAR_TIMEZONE long
  23294. | #define HAVE_TIMEZONE 1
  23295. | #define TIMEZONE_VOID 1
  23296. | #define NEGATIVE_TIME_T 1
  23297. | #define POSIX_SIGNAL 1
  23298. | #define RSHIFT(x,y) ((x)>>(int)(y))
  23299. | #define HAVE__SC_CLK_TCK 1
  23300. | #define STACK_GROW_DIRECTION -1
  23301. | /* end confdefs.h. */
  23302. |
  23303. | /* Override any GCC internal prototype to avoid an error.
  23304. | Use char because int might match the return type of a GCC
  23305. | builtin and then its argument prototype would still apply. */
  23306. | #ifdef __cplusplus
  23307. | extern "C"
  23308. | #endif
  23309. | char pthread_kill ();
  23310. | int
  23311. | main ()
  23312. | {
  23313. | return pthread_kill ();
  23314. | ;
  23315. | return 0;
  23316. | }
  23317. configure:21728: result: no
  23318. configure:21693: checking for pthread_kill in -lpthread
  23319. configure:21718: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lpthread -lgmp -ldl -lcrypt -lm >&5
  23320. configure:21718: $? = 0
  23321. configure:21728: result: yes
  23322. configure:21747: checking for pthread_np.h
  23323. configure:21747: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  23324. conftest.c:355:10: fatal error: pthread_np.h: No such file or directory
  23325. #include <pthread_np.h>
  23326. ^~~~~~~~~~~~~~
  23327. compilation terminated.
  23328. configure:21747: $? = 1
  23329. configure: failed program was:
  23330. | /* confdefs.h */
  23331. | #define PACKAGE_NAME ""
  23332. | #define PACKAGE_TARNAME ""
  23333. | #define PACKAGE_VERSION ""
  23334. | #define PACKAGE_STRING ""
  23335. | #define PACKAGE_BUGREPORT ""
  23336. | #define PACKAGE_URL ""
  23337. | #define CANONICALIZATION_FOR_MATHN 1
  23338. | #define STDC_HEADERS 1
  23339. | #define HAVE_SYS_TYPES_H 1
  23340. | #define HAVE_SYS_STAT_H 1
  23341. | #define HAVE_STDLIB_H 1
  23342. | #define HAVE_STRING_H 1
  23343. | #define HAVE_MEMORY_H 1
  23344. | #define HAVE_STRINGS_H 1
  23345. | #define HAVE_INTTYPES_H 1
  23346. | #define HAVE_STDINT_H 1
  23347. | #define HAVE_UNISTD_H 1
  23348. | #define __EXTENSIONS__ 1
  23349. | #define _ALL_SOURCE 1
  23350. | #define _GNU_SOURCE 1
  23351. | #define _POSIX_PTHREAD_SEMANTICS 1
  23352. | #define _TANDEM_SOURCE 1
  23353. | #define HAVE_INFINITY 1
  23354. | #define HAVE_NAN 1
  23355. | #define RUBY_SYMBOL_EXPORT_BEGIN _Pragma("GCC visibility push(default)")
  23356. | #define RUBY_SYMBOL_EXPORT_END _Pragma("GCC visibility pop")
  23357. | #define HAVE_LIBCRYPT 1
  23358. | #define HAVE_LIBDL 1
  23359. | #define HAVE_DIRENT_H 1
  23360. | #define HAVE__BOOL 1
  23361. | #define HAVE_STDBOOL_H 1
  23362. | #define HAVE_SYS_WAIT_H 1
  23363. | #define HAVE_A_OUT_H 1
  23364. | #define HAVE_GRP_H 1
  23365. | #define HAVE_FCNTL_H 1
  23366. | #define HAVE_FLOAT_H 1
  23367. | #define HAVE_LANGINFO_H 1
  23368. | #define HAVE_LIMITS_H 1
  23369. | #define HAVE_LOCALE_H 1
  23370. | #define HAVE_MALLOC_H 1
  23371. | #define HAVE_PWD_H 1
  23372. | #define HAVE_SYS_FCNTL_H 1
  23373. | #define HAVE_SYS_FILE_H 1
  23374. | #define HAVE_SYS_IOCTL_H 1
  23375. | #define HAVE_SYS_PARAM_H 1
  23376. | #define HAVE_SYS_PRCTL_H 1
  23377. | #define HAVE_SYS_RESOURCE_H 1
  23378. | #define HAVE_SYS_SELECT_H 1
  23379. | #define HAVE_SYS_SENDFILE_H 1
  23380. | #define HAVE_SYS_SOCKET_H 1
  23381. | #define HAVE_SYS_SYSCALL_H 1
  23382. | #define HAVE_SYS_TIME_H 1
  23383. | #define HAVE_SYS_TIMES_H 1
  23384. | #define HAVE_SYS_UIO_H 1
  23385. | #define HAVE_SYSCALL_H 1
  23386. | #define HAVE_TIME_H 1
  23387. | #define HAVE_UCONTEXT_H 1
  23388. | #define HAVE_UTIME_H 1
  23389. | #define HAVE_GMP_H 1
  23390. | #define HAVE_LIBGMP 1
  23391. | #define HAVE_TYPEOF 1
  23392. | #define typeof __typeof__
  23393. | #define HAVE_LONG_LONG 1
  23394. | #define HAVE_OFF_T 1
  23395. | #define SIZEOF_INT 4
  23396. | #define SIZEOF_SHORT 2
  23397. | #define SIZEOF_LONG 8
  23398. | #define SIZEOF_LONG_LONG 8
  23399. | #define SIZEOF___INT64 0
  23400. | #define SIZEOF_OFF_T 8
  23401. | #define SIZEOF_VOIDP 8
  23402. | #define SIZEOF_FLOAT 4
  23403. | #define SIZEOF_DOUBLE 8
  23404. | #define SIZEOF_TIME_T 8
  23405. | #define SIZEOF_CLOCK_T 8
  23406. | #define PACKED_STRUCT(x) x __attribute__((packed))
  23407. | #define PACKED_STRUCT_UNALIGNED(x) x
  23408. | #define PRI_LL_PREFIX "ll"
  23409. | #define rb_pid_t pid_t
  23410. | #define SIGNEDNESS_OF_PID_T -1
  23411. | #define PIDT2NUM(v) INT2NUM(v)
  23412. | #define NUM2PIDT(v) NUM2INT(v)
  23413. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  23414. | #define rb_uid_t uid_t
  23415. | #define SIGNEDNESS_OF_UID_T +1
  23416. | #define UIDT2NUM(v) UINT2NUM(v)
  23417. | #define NUM2UIDT(v) NUM2UINT(v)
  23418. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  23419. | #define rb_gid_t gid_t
  23420. | #define SIGNEDNESS_OF_GID_T +1
  23421. | #define GIDT2NUM(v) UINT2NUM(v)
  23422. | #define NUM2GIDT(v) NUM2UINT(v)
  23423. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  23424. | #define rb_time_t time_t
  23425. | #define SIGNEDNESS_OF_TIME_T -1
  23426. | #define TIMET2NUM(v) LONG2NUM(v)
  23427. | #define NUM2TIMET(v) NUM2LONG(v)
  23428. | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
  23429. | #define rb_dev_t dev_t
  23430. | #define SIGNEDNESS_OF_DEV_T +1
  23431. | #define DEVT2NUM(v) ULONG2NUM(v)
  23432. | #define NUM2DEVT(v) NUM2ULONG(v)
  23433. | #define PRI_DEVT_PREFIX PRI_LONG_PREFIX
  23434. | #define rb_mode_t mode_t
  23435. | #define SIGNEDNESS_OF_MODE_T +1
  23436. | #define MODET2NUM(v) UINT2NUM(v)
  23437. | #define NUM2MODET(v) NUM2UINT(v)
  23438. | #define PRI_MODET_PREFIX PRI_INT_PREFIX
  23439. | #define rb_rlim_t rlim_t
  23440. | #define SIGNEDNESS_OF_RLIM_T +1
  23441. | #define RLIM2NUM(v) ULONG2NUM(v)
  23442. | #define NUM2RLIM(v) NUM2ULONG(v)
  23443. | #define PRI_RLIM_PREFIX PRI_LONG_PREFIX
  23444. | #define rb_off_t off_t
  23445. | #define SIGNEDNESS_OF_OFF_T -1
  23446. | #define OFFT2NUM(v) LONG2NUM(v)
  23447. | #define NUM2OFFT(v) NUM2LONG(v)
  23448. | #define PRI_OFFT_PREFIX PRI_LONG_PREFIX
  23449. | #define rb_clockid_t clockid_t
  23450. | #define SIGNEDNESS_OF_CLOCKID_T -1
  23451. | #define CLOCKID2NUM(v) INT2NUM(v)
  23452. | #define NUM2CLOCKID(v) NUM2INT(v)
  23453. | #define PRI_CLOCKID_PREFIX PRI_INT_PREFIX
  23454. | #define HAVE_PROTOTYPES 1
  23455. | #define TOKEN_PASTE(x,y) x##y
  23456. | #define STRINGIZE(expr) STRINGIZE0(expr)
  23457. | #define HAVE_STDARG_PROTOTYPES 1
  23458. | #define HAVE_VA_ARGS_MACRO 1
  23459. | #define NORETURN(x) __attribute__ ((noreturn)) x
  23460. | #define DEPRECATED(x) __attribute__ ((deprecated)) x
  23461. | #define DEPRECATED_BY(n,x) __attribute__ ((deprecated("by "#n))) x
  23462. | #define DEPRECATED_TYPE(mesg,x) __attribute__ ((deprecated mesg)) x
  23463. | #define NOINLINE(x) __attribute__ ((noinline)) x
  23464. | #define WEAK(x) __attribute__ ((weak)) x
  23465. | #define HAVE_FUNC_WEAK 1
  23466. | #define FUNC_UNOPTIMIZED(x) __attribute__ ((optimize("O0"))) x
  23467. | #define FUNC_MINIMIZED(x) __attribute__ ((optimize("-Os","-fomit-frame-pointer"))) x
  23468. | #define HAVE_ATTRIBUTE_FUNCTION_ALIAS 1
  23469. | #define RUBY_ALIAS_FUNCTION_TYPE(type, prot, name, args) type prot __attribute__((alias(#name)));
  23470. | #define RUBY_ALIAS_FUNCTION_VOID(prot, name, args) RUBY_ALIAS_FUNCTION_TYPE(void, prot, name, args)
  23471. | #define HAVE_GCC_ATOMIC_BUILTINS 1
  23472. | #define HAVE_GCC_SYNC_BUILTINS 1
  23473. | #define UNREACHABLE __builtin_unreachable()
  23474. | #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
  23475. | #define RUBY_FUNCTION_NAME_STRING __func__
  23476. | #define ENUM_OVER_INT 1
  23477. | #define HAVE_DECL_SYS_NERR 1
  23478. | #define HAVE_DECL_GETENV 1
  23479. | #define SIZEOF_SIZE_T 8
  23480. | #define SIZEOF_PTRDIFF_T 8
  23481. | #define PRI_SIZE_PREFIX "z"
  23482. | #define PRI_PTRDIFF_PREFIX "t"
  23483. | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
  23484. | #define HAVE_ST_BLKSIZE 1
  23485. | #define HAVE_STRUCT_STAT_ST_BLOCKS 1
  23486. | #define HAVE_ST_BLOCKS 1
  23487. | #define HAVE_STRUCT_STAT_ST_RDEV 1
  23488. | #define HAVE_ST_RDEV 1
  23489. | #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_OFF_T
  23490. | #define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_OFF_T
  23491. | #define SIZEOF_STRUCT_STAT_ST_INO SIZEOF_LONG
  23492. | #define HAVE_STRUCT_STAT_ST_ATIM 1
  23493. | #define HAVE_STRUCT_STAT_ST_MTIM 1
  23494. | #define HAVE_STRUCT_STAT_ST_CTIM 1
  23495. | #define HAVE_STRUCT_TIMEVAL 1
  23496. | #define SIZEOF_STRUCT_TIMEVAL_TV_SEC SIZEOF_TIME_T
  23497. | #define HAVE_STRUCT_TIMESPEC 1
  23498. | #define HAVE_STRUCT_TIMEZONE 1
  23499. | #define HAVE_CLOCKID_T 1
  23500. | #define HAVE_RB_FD_INIT 1
  23501. | #define HAVE_INT8_T 1
  23502. | #define SIZEOF_INT8_T 1
  23503. | #define HAVE_UINT8_T 1
  23504. | #define SIZEOF_UINT8_T 1
  23505. | #define HAVE_INT16_T 1
  23506. | #define SIZEOF_INT16_T 2
  23507. | #define HAVE_UINT16_T 1
  23508. | #define SIZEOF_UINT16_T 2
  23509. | #define HAVE_INT32_T 1
  23510. | #define SIZEOF_INT32_T 4
  23511. | #define HAVE_UINT32_T 1
  23512. | #define SIZEOF_UINT32_T 4
  23513. | #define HAVE_INT64_T 1
  23514. | #define SIZEOF_INT64_T 8
  23515. | #define HAVE_UINT64_T 1
  23516. | #define SIZEOF_UINT64_T 8
  23517. | #define HAVE_INTPTR_T 1
  23518. | #define SIZEOF_INTPTR_T 8
  23519. | #define HAVE_UINTPTR_T 1
  23520. | #define SIZEOF_UINTPTR_T 8
  23521. | #define HAVE_SSIZE_T 1
  23522. | #define SIZEOF_SSIZE_T 8
  23523. | #define STACK_END_ADDRESS __libc_stack_end
  23524. | #define GETGROUPS_T gid_t
  23525. | #define RETSIGTYPE void
  23526. | #define HAVE_ALLOCA_H 1
  23527. | #define HAVE_ALLOCA 1
  23528. | #define HAVE_ACOSH 1
  23529. | #define HAVE_CBRT 1
  23530. | #define HAVE_CRYPT 1
  23531. | #define HAVE_DUP2 1
  23532. | #define HAVE_ERF 1
  23533. | #define HAVE_EXPLICIT_BZERO 1
  23534. | #define HAVE_FFS 1
  23535. | #define HAVE_FINITE 1
  23536. | #define HAVE_FLOCK 1
  23537. | #define HAVE_HYPOT 1
  23538. | #define HAVE_ISINF 1
  23539. | #define HAVE_ISNAN 1
  23540. | #define HAVE_LGAMMA_R 1
  23541. | #define HAVE_MEMMOVE 1
  23542. | #define HAVE_NEXTAFTER 1
  23543. | #define HAVE_STRCHR 1
  23544. | #define HAVE_STRERROR 1
  23545. | #define HAVE_STRSTR 1
  23546. | #define HAVE_TGAMMA 1
  23547. | #define SPT_TYPE SPT_REUSEARGV
  23548. | #define HAVE_SIGNBIT 1
  23549. | #define HAVE_FORK 1
  23550. | #define HAVE_VFORK 1
  23551. | #define HAVE_WORKING_VFORK 1
  23552. | #define HAVE_WORKING_FORK 1
  23553. | #define HAVE__LONGJMP 1
  23554. | #define HAVE__SETJMP 1
  23555. | #define HAVE_ATAN2L 1
  23556. | #define HAVE_ATAN2F 1
  23557. | #define HAVE_CHROOT 1
  23558. | #define HAVE_CLOCK_GETTIME 1
  23559. | #define HAVE_COSH 1
  23560. | #define HAVE_DIRFD 1
  23561. | #define HAVE_DL_ITERATE_PHDR 1
  23562. | #define HAVE_DLOPEN 1
  23563. | #define HAVE_DLADDR 1
  23564. | #define HAVE_DUP 1
  23565. | #define HAVE_DUP3 1
  23566. | #define HAVE_EACCESS 1
  23567. | #define HAVE_ENDGRENT 1
  23568. | #define HAVE_FCHMOD 1
  23569. | #define HAVE_FCHOWN 1
  23570. | #define HAVE_FCNTL 1
  23571. | #define HAVE_FDATASYNC 1
  23572. | #define HAVE_FMOD 1
  23573. | #define HAVE_FSYNC 1
  23574. | #define HAVE_FTRUNCATE 1
  23575. | #define HAVE_FTRUNCATE64 1
  23576. | #define HAVE_GETCWD 1
  23577. | #define HAVE_GETGRNAM 1
  23578. | #define HAVE_GETGRNAM_R 1
  23579. | #define HAVE_GETGROUPS 1
  23580. | #define HAVE_GETPGID 1
  23581. | #define HAVE_GETPGRP 1
  23582. | #define HAVE_GETPRIORITY 1
  23583. | #define HAVE_GETPWNAM_R 1
  23584. | #define HAVE_GETRESGID 1
  23585. | #define HAVE_GETRESUID 1
  23586. | #define HAVE_GETRLIMIT 1
  23587. | #define HAVE_GETSID 1
  23588. | #define HAVE_GETTIMEOFDAY 1
  23589. | #define HAVE_GMTIME_R 1
  23590. | #define HAVE_INITGROUPS 1
  23591. | #define HAVE_IOCTL 1
  23592. | #define HAVE_KILLPG 1
  23593. | #define HAVE_LCHOWN 1
  23594. | #define HAVE_LINK 1
  23595. | #define HAVE_LLABS 1
  23596. | #define HAVE_LOCKF 1
  23597. | #define HAVE_LOG2 1
  23598. | #define HAVE_LSTAT 1
  23599. | #define HAVE_MALLOC_USABLE_SIZE 1
  23600. | #define HAVE_MBLEN 1
  23601. | #define HAVE_MEMALIGN 1
  23602. | #define HAVE_WRITEV 1
  23603. | #define HAVE_MEMRCHR 1
  23604. | #define HAVE_MEMMEM 1
  23605. | #define HAVE_MKFIFO 1
  23606. | #define HAVE_MKNOD 1
  23607. | #define HAVE_MKTIME 1
  23608. | #define HAVE_PIPE2 1
  23609. | #define HAVE_POLL 1
  23610. | #define HAVE_POSIX_FADVISE 1
  23611. | #define HAVE_POSIX_MEMALIGN 1
  23612. | #define HAVE_PPOLL 1
  23613. | #define HAVE_PREAD 1
  23614. | #define HAVE_QSORT_R 1
  23615. | #define HAVE_READLINK 1
  23616. | #define HAVE_ROUND 1
  23617. | #define HAVE_SCHED_GETAFFINITY 1
  23618. | #define HAVE_SEEKDIR 1
  23619. | #define HAVE_SENDFILE 1
  23620. | #define HAVE_SETEGID 1
  23621. | #define HAVE_SETENV 1
  23622. | #define HAVE_SETEUID 1
  23623. | #define HAVE_SETGID 1
  23624. | #define HAVE_SETGROUPS 1
  23625. | #define HAVE_SETPGID 1
  23626. | #define HAVE_SETPGRP 1
  23627. | #define HAVE_SETREGID 1
  23628. | #define HAVE_SETRESGID 1
  23629. | #define HAVE_SETRESUID 1
  23630. | #define HAVE_SETREUID 1
  23631. | #define HAVE_SETRLIMIT 1
  23632. | #define HAVE_SETSID 1
  23633. | #define HAVE_SETUID 1
  23634. | #define HAVE_SHUTDOWN 1
  23635. | #define HAVE_SIGACTION 1
  23636. | #define HAVE_SIGALTSTACK 1
  23637. | #define HAVE_SIGPROCMASK 1
  23638. | #define HAVE_SINH 1
  23639. | #define HAVE_SYMLINK 1
  23640. | #define HAVE_SYSCALL 1
  23641. | #define HAVE_SYSCONF 1
  23642. | #define HAVE_TANH 1
  23643. | #define HAVE_TELLDIR 1
  23644. | #define HAVE_TIMEGM 1
  23645. | #define HAVE_TIMES 1
  23646. | #define HAVE_TRUNCATE 1
  23647. | #define HAVE_TRUNCATE64 1
  23648. | #define HAVE_UNSETENV 1
  23649. | #define HAVE_UTIMENSAT 1
  23650. | #define HAVE_UTIMES 1
  23651. | #define HAVE_WAIT4 1
  23652. | #define HAVE_WAITPID 1
  23653. | #define HAVE_BUILTIN___BUILTIN_BSWAP16 1
  23654. | #define HAVE_BUILTIN___BUILTIN_BSWAP32 1
  23655. | #define HAVE_BUILTIN___BUILTIN_BSWAP64 1
  23656. | #define HAVE_BUILTIN___BUILTIN_CLZ 1
  23657. | #define HAVE_BUILTIN___BUILTIN_CLZL 1
  23658. | #define HAVE_BUILTIN___BUILTIN_CLZLL 1
  23659. | #define HAVE_BUILTIN___BUILTIN_CHOOSE_EXPR 1
  23660. | #define HAVE_BUILTIN___BUILTIN_CHOOSE_EXPR_CONSTANT_P 1
  23661. | #define HAVE_BUILTIN___BUILTIN_TYPES_COMPATIBLE_P 1
  23662. | #define HAVE_GNU_QSORT_R 1
  23663. | #define ATAN2_INF_C99 1
  23664. | #define HAVE_CLOCK_GETRES 1
  23665. | #define HAVE_STRUCT_TM_TM_ZONE 1
  23666. | #define HAVE_TM_ZONE 1
  23667. | #define HAVE_STRUCT_TM_TM_GMTOFF 1
  23668. | #define HAVE_DAYLIGHT 1
  23669. | #define HAVE_VAR_TIMEZONE 1
  23670. | #define TYPEOF_VAR_TIMEZONE long
  23671. | #define HAVE_TIMEZONE 1
  23672. | #define TIMEZONE_VOID 1
  23673. | #define NEGATIVE_TIME_T 1
  23674. | #define POSIX_SIGNAL 1
  23675. | #define RSHIFT(x,y) ((x)>>(int)(y))
  23676. | #define HAVE__SC_CLK_TCK 1
  23677. | #define STACK_GROW_DIRECTION -1
  23678. | #define _REENTRANT 1
  23679. | #define _THREAD_SAFE 1
  23680. | #define HAVE_LIBPTHREAD 1
  23681. | /* end confdefs.h. */
  23682. | #include <pthread.h>
  23683. |
  23684. | #include <pthread_np.h>
  23685. configure:21747: result: no
  23686. configure:21777: checking whether pthread_t is scalar type
  23687. configure:21800: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  23688. configure:21800: $? = 0
  23689. configure:21808: result: yes
  23690. configure:21824: checking for sched_yield
  23691. configure:21824: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lpthread -lgmp -ldl -lcrypt -lm >&5
  23692. configure:21824: $? = 0
  23693. configure:21824: result: yes
  23694. configure:21824: checking for pthread_attr_setinheritsched
  23695. configure:21824: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lpthread -lgmp -ldl -lcrypt -lm >&5
  23696. configure:21824: $? = 0
  23697. configure:21824: result: yes
  23698. configure:21824: checking for pthread_attr_get_np
  23699. configure:21824: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lpthread -lgmp -ldl -lcrypt -lm >&5
  23700. /tmp/ccFu7bZH.o: In function `main':
  23701. /usr/share/rvm/src/ruby-2.3.0/conftest.c:389: undefined reference to `pthread_attr_get_np'
  23702. collect2: error: ld returned 1 exit status
  23703. configure:21824: $? = 1
  23704. configure: failed program was:
  23705. | /* confdefs.h */
  23706. | #define PACKAGE_NAME ""
  23707. | #define PACKAGE_TARNAME ""
  23708. | #define PACKAGE_VERSION ""
  23709. | #define PACKAGE_STRING ""
  23710. | #define PACKAGE_BUGREPORT ""
  23711. | #define PACKAGE_URL ""
  23712. | #define CANONICALIZATION_FOR_MATHN 1
  23713. | #define STDC_HEADERS 1
  23714. | #define HAVE_SYS_TYPES_H 1
  23715. | #define HAVE_SYS_STAT_H 1
  23716. | #define HAVE_STDLIB_H 1
  23717. | #define HAVE_STRING_H 1
  23718. | #define HAVE_MEMORY_H 1
  23719. | #define HAVE_STRINGS_H 1
  23720. | #define HAVE_INTTYPES_H 1
  23721. | #define HAVE_STDINT_H 1
  23722. | #define HAVE_UNISTD_H 1
  23723. | #define __EXTENSIONS__ 1
  23724. | #define _ALL_SOURCE 1
  23725. | #define _GNU_SOURCE 1
  23726. | #define _POSIX_PTHREAD_SEMANTICS 1
  23727. | #define _TANDEM_SOURCE 1
  23728. | #define HAVE_INFINITY 1
  23729. | #define HAVE_NAN 1
  23730. | #define RUBY_SYMBOL_EXPORT_BEGIN _Pragma("GCC visibility push(default)")
  23731. | #define RUBY_SYMBOL_EXPORT_END _Pragma("GCC visibility pop")
  23732. | #define HAVE_LIBCRYPT 1
  23733. | #define HAVE_LIBDL 1
  23734. | #define HAVE_DIRENT_H 1
  23735. | #define HAVE__BOOL 1
  23736. | #define HAVE_STDBOOL_H 1
  23737. | #define HAVE_SYS_WAIT_H 1
  23738. | #define HAVE_A_OUT_H 1
  23739. | #define HAVE_GRP_H 1
  23740. | #define HAVE_FCNTL_H 1
  23741. | #define HAVE_FLOAT_H 1
  23742. | #define HAVE_LANGINFO_H 1
  23743. | #define HAVE_LIMITS_H 1
  23744. | #define HAVE_LOCALE_H 1
  23745. | #define HAVE_MALLOC_H 1
  23746. | #define HAVE_PWD_H 1
  23747. | #define HAVE_SYS_FCNTL_H 1
  23748. | #define HAVE_SYS_FILE_H 1
  23749. | #define HAVE_SYS_IOCTL_H 1
  23750. | #define HAVE_SYS_PARAM_H 1
  23751. | #define HAVE_SYS_PRCTL_H 1
  23752. | #define HAVE_SYS_RESOURCE_H 1
  23753. | #define HAVE_SYS_SELECT_H 1
  23754. | #define HAVE_SYS_SENDFILE_H 1
  23755. | #define HAVE_SYS_SOCKET_H 1
  23756. | #define HAVE_SYS_SYSCALL_H 1
  23757. | #define HAVE_SYS_TIME_H 1
  23758. | #define HAVE_SYS_TIMES_H 1
  23759. | #define HAVE_SYS_UIO_H 1
  23760. | #define HAVE_SYSCALL_H 1
  23761. | #define HAVE_TIME_H 1
  23762. | #define HAVE_UCONTEXT_H 1
  23763. | #define HAVE_UTIME_H 1
  23764. | #define HAVE_GMP_H 1
  23765. | #define HAVE_LIBGMP 1
  23766. | #define HAVE_TYPEOF 1
  23767. | #define typeof __typeof__
  23768. | #define HAVE_LONG_LONG 1
  23769. | #define HAVE_OFF_T 1
  23770. | #define SIZEOF_INT 4
  23771. | #define SIZEOF_SHORT 2
  23772. | #define SIZEOF_LONG 8
  23773. | #define SIZEOF_LONG_LONG 8
  23774. | #define SIZEOF___INT64 0
  23775. | #define SIZEOF_OFF_T 8
  23776. | #define SIZEOF_VOIDP 8
  23777. | #define SIZEOF_FLOAT 4
  23778. | #define SIZEOF_DOUBLE 8
  23779. | #define SIZEOF_TIME_T 8
  23780. | #define SIZEOF_CLOCK_T 8
  23781. | #define PACKED_STRUCT(x) x __attribute__((packed))
  23782. | #define PACKED_STRUCT_UNALIGNED(x) x
  23783. | #define PRI_LL_PREFIX "ll"
  23784. | #define rb_pid_t pid_t
  23785. | #define SIGNEDNESS_OF_PID_T -1
  23786. | #define PIDT2NUM(v) INT2NUM(v)
  23787. | #define NUM2PIDT(v) NUM2INT(v)
  23788. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  23789. | #define rb_uid_t uid_t
  23790. | #define SIGNEDNESS_OF_UID_T +1
  23791. | #define UIDT2NUM(v) UINT2NUM(v)
  23792. | #define NUM2UIDT(v) NUM2UINT(v)
  23793. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  23794. | #define rb_gid_t gid_t
  23795. | #define SIGNEDNESS_OF_GID_T +1
  23796. | #define GIDT2NUM(v) UINT2NUM(v)
  23797. | #define NUM2GIDT(v) NUM2UINT(v)
  23798. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  23799. | #define rb_time_t time_t
  23800. | #define SIGNEDNESS_OF_TIME_T -1
  23801. | #define TIMET2NUM(v) LONG2NUM(v)
  23802. | #define NUM2TIMET(v) NUM2LONG(v)
  23803. | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
  23804. | #define rb_dev_t dev_t
  23805. | #define SIGNEDNESS_OF_DEV_T +1
  23806. | #define DEVT2NUM(v) ULONG2NUM(v)
  23807. | #define NUM2DEVT(v) NUM2ULONG(v)
  23808. | #define PRI_DEVT_PREFIX PRI_LONG_PREFIX
  23809. | #define rb_mode_t mode_t
  23810. | #define SIGNEDNESS_OF_MODE_T +1
  23811. | #define MODET2NUM(v) UINT2NUM(v)
  23812. | #define NUM2MODET(v) NUM2UINT(v)
  23813. | #define PRI_MODET_PREFIX PRI_INT_PREFIX
  23814. | #define rb_rlim_t rlim_t
  23815. | #define SIGNEDNESS_OF_RLIM_T +1
  23816. | #define RLIM2NUM(v) ULONG2NUM(v)
  23817. | #define NUM2RLIM(v) NUM2ULONG(v)
  23818. | #define PRI_RLIM_PREFIX PRI_LONG_PREFIX
  23819. | #define rb_off_t off_t
  23820. | #define SIGNEDNESS_OF_OFF_T -1
  23821. | #define OFFT2NUM(v) LONG2NUM(v)
  23822. | #define NUM2OFFT(v) NUM2LONG(v)
  23823. | #define PRI_OFFT_PREFIX PRI_LONG_PREFIX
  23824. | #define rb_clockid_t clockid_t
  23825. | #define SIGNEDNESS_OF_CLOCKID_T -1
  23826. | #define CLOCKID2NUM(v) INT2NUM(v)
  23827. | #define NUM2CLOCKID(v) NUM2INT(v)
  23828. | #define PRI_CLOCKID_PREFIX PRI_INT_PREFIX
  23829. | #define HAVE_PROTOTYPES 1
  23830. | #define TOKEN_PASTE(x,y) x##y
  23831. | #define STRINGIZE(expr) STRINGIZE0(expr)
  23832. | #define HAVE_STDARG_PROTOTYPES 1
  23833. | #define HAVE_VA_ARGS_MACRO 1
  23834. | #define NORETURN(x) __attribute__ ((noreturn)) x
  23835. | #define DEPRECATED(x) __attribute__ ((deprecated)) x
  23836. | #define DEPRECATED_BY(n,x) __attribute__ ((deprecated("by "#n))) x
  23837. | #define DEPRECATED_TYPE(mesg,x) __attribute__ ((deprecated mesg)) x
  23838. | #define NOINLINE(x) __attribute__ ((noinline)) x
  23839. | #define WEAK(x) __attribute__ ((weak)) x
  23840. | #define HAVE_FUNC_WEAK 1
  23841. | #define FUNC_UNOPTIMIZED(x) __attribute__ ((optimize("O0"))) x
  23842. | #define FUNC_MINIMIZED(x) __attribute__ ((optimize("-Os","-fomit-frame-pointer"))) x
  23843. | #define HAVE_ATTRIBUTE_FUNCTION_ALIAS 1
  23844. | #define RUBY_ALIAS_FUNCTION_TYPE(type, prot, name, args) type prot __attribute__((alias(#name)));
  23845. | #define RUBY_ALIAS_FUNCTION_VOID(prot, name, args) RUBY_ALIAS_FUNCTION_TYPE(void, prot, name, args)
  23846. | #define HAVE_GCC_ATOMIC_BUILTINS 1
  23847. | #define HAVE_GCC_SYNC_BUILTINS 1
  23848. | #define UNREACHABLE __builtin_unreachable()
  23849. | #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
  23850. | #define RUBY_FUNCTION_NAME_STRING __func__
  23851. | #define ENUM_OVER_INT 1
  23852. | #define HAVE_DECL_SYS_NERR 1
  23853. | #define HAVE_DECL_GETENV 1
  23854. | #define SIZEOF_SIZE_T 8
  23855. | #define SIZEOF_PTRDIFF_T 8
  23856. | #define PRI_SIZE_PREFIX "z"
  23857. | #define PRI_PTRDIFF_PREFIX "t"
  23858. | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
  23859. | #define HAVE_ST_BLKSIZE 1
  23860. | #define HAVE_STRUCT_STAT_ST_BLOCKS 1
  23861. | #define HAVE_ST_BLOCKS 1
  23862. | #define HAVE_STRUCT_STAT_ST_RDEV 1
  23863. | #define HAVE_ST_RDEV 1
  23864. | #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_OFF_T
  23865. | #define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_OFF_T
  23866. | #define SIZEOF_STRUCT_STAT_ST_INO SIZEOF_LONG
  23867. | #define HAVE_STRUCT_STAT_ST_ATIM 1
  23868. | #define HAVE_STRUCT_STAT_ST_MTIM 1
  23869. | #define HAVE_STRUCT_STAT_ST_CTIM 1
  23870. | #define HAVE_STRUCT_TIMEVAL 1
  23871. | #define SIZEOF_STRUCT_TIMEVAL_TV_SEC SIZEOF_TIME_T
  23872. | #define HAVE_STRUCT_TIMESPEC 1
  23873. | #define HAVE_STRUCT_TIMEZONE 1
  23874. | #define HAVE_CLOCKID_T 1
  23875. | #define HAVE_RB_FD_INIT 1
  23876. | #define HAVE_INT8_T 1
  23877. | #define SIZEOF_INT8_T 1
  23878. | #define HAVE_UINT8_T 1
  23879. | #define SIZEOF_UINT8_T 1
  23880. | #define HAVE_INT16_T 1
  23881. | #define SIZEOF_INT16_T 2
  23882. | #define HAVE_UINT16_T 1
  23883. | #define SIZEOF_UINT16_T 2
  23884. | #define HAVE_INT32_T 1
  23885. | #define SIZEOF_INT32_T 4
  23886. | #define HAVE_UINT32_T 1
  23887. | #define SIZEOF_UINT32_T 4
  23888. | #define HAVE_INT64_T 1
  23889. | #define SIZEOF_INT64_T 8
  23890. | #define HAVE_UINT64_T 1
  23891. | #define SIZEOF_UINT64_T 8
  23892. | #define HAVE_INTPTR_T 1
  23893. | #define SIZEOF_INTPTR_T 8
  23894. | #define HAVE_UINTPTR_T 1
  23895. | #define SIZEOF_UINTPTR_T 8
  23896. | #define HAVE_SSIZE_T 1
  23897. | #define SIZEOF_SSIZE_T 8
  23898. | #define STACK_END_ADDRESS __libc_stack_end
  23899. | #define GETGROUPS_T gid_t
  23900. | #define RETSIGTYPE void
  23901. | #define HAVE_ALLOCA_H 1
  23902. | #define HAVE_ALLOCA 1
  23903. | #define HAVE_ACOSH 1
  23904. | #define HAVE_CBRT 1
  23905. | #define HAVE_CRYPT 1
  23906. | #define HAVE_DUP2 1
  23907. | #define HAVE_ERF 1
  23908. | #define HAVE_EXPLICIT_BZERO 1
  23909. | #define HAVE_FFS 1
  23910. | #define HAVE_FINITE 1
  23911. | #define HAVE_FLOCK 1
  23912. | #define HAVE_HYPOT 1
  23913. | #define HAVE_ISINF 1
  23914. | #define HAVE_ISNAN 1
  23915. | #define HAVE_LGAMMA_R 1
  23916. | #define HAVE_MEMMOVE 1
  23917. | #define HAVE_NEXTAFTER 1
  23918. | #define HAVE_STRCHR 1
  23919. | #define HAVE_STRERROR 1
  23920. | #define HAVE_STRSTR 1
  23921. | #define HAVE_TGAMMA 1
  23922. | #define SPT_TYPE SPT_REUSEARGV
  23923. | #define HAVE_SIGNBIT 1
  23924. | #define HAVE_FORK 1
  23925. | #define HAVE_VFORK 1
  23926. | #define HAVE_WORKING_VFORK 1
  23927. | #define HAVE_WORKING_FORK 1
  23928. | #define HAVE__LONGJMP 1
  23929. | #define HAVE__SETJMP 1
  23930. | #define HAVE_ATAN2L 1
  23931. | #define HAVE_ATAN2F 1
  23932. | #define HAVE_CHROOT 1
  23933. | #define HAVE_CLOCK_GETTIME 1
  23934. | #define HAVE_COSH 1
  23935. | #define HAVE_DIRFD 1
  23936. | #define HAVE_DL_ITERATE_PHDR 1
  23937. | #define HAVE_DLOPEN 1
  23938. | #define HAVE_DLADDR 1
  23939. | #define HAVE_DUP 1
  23940. | #define HAVE_DUP3 1
  23941. | #define HAVE_EACCESS 1
  23942. | #define HAVE_ENDGRENT 1
  23943. | #define HAVE_FCHMOD 1
  23944. | #define HAVE_FCHOWN 1
  23945. | #define HAVE_FCNTL 1
  23946. | #define HAVE_FDATASYNC 1
  23947. | #define HAVE_FMOD 1
  23948. | #define HAVE_FSYNC 1
  23949. | #define HAVE_FTRUNCATE 1
  23950. | #define HAVE_FTRUNCATE64 1
  23951. | #define HAVE_GETCWD 1
  23952. | #define HAVE_GETGRNAM 1
  23953. | #define HAVE_GETGRNAM_R 1
  23954. | #define HAVE_GETGROUPS 1
  23955. | #define HAVE_GETPGID 1
  23956. | #define HAVE_GETPGRP 1
  23957. | #define HAVE_GETPRIORITY 1
  23958. | #define HAVE_GETPWNAM_R 1
  23959. | #define HAVE_GETRESGID 1
  23960. | #define HAVE_GETRESUID 1
  23961. | #define HAVE_GETRLIMIT 1
  23962. | #define HAVE_GETSID 1
  23963. | #define HAVE_GETTIMEOFDAY 1
  23964. | #define HAVE_GMTIME_R 1
  23965. | #define HAVE_INITGROUPS 1
  23966. | #define HAVE_IOCTL 1
  23967. | #define HAVE_KILLPG 1
  23968. | #define HAVE_LCHOWN 1
  23969. | #define HAVE_LINK 1
  23970. | #define HAVE_LLABS 1
  23971. | #define HAVE_LOCKF 1
  23972. | #define HAVE_LOG2 1
  23973. | #define HAVE_LSTAT 1
  23974. | #define HAVE_MALLOC_USABLE_SIZE 1
  23975. | #define HAVE_MBLEN 1
  23976. | #define HAVE_MEMALIGN 1
  23977. | #define HAVE_WRITEV 1
  23978. | #define HAVE_MEMRCHR 1
  23979. | #define HAVE_MEMMEM 1
  23980. | #define HAVE_MKFIFO 1
  23981. | #define HAVE_MKNOD 1
  23982. | #define HAVE_MKTIME 1
  23983. | #define HAVE_PIPE2 1
  23984. | #define HAVE_POLL 1
  23985. | #define HAVE_POSIX_FADVISE 1
  23986. | #define HAVE_POSIX_MEMALIGN 1
  23987. | #define HAVE_PPOLL 1
  23988. | #define HAVE_PREAD 1
  23989. | #define HAVE_QSORT_R 1
  23990. | #define HAVE_READLINK 1
  23991. | #define HAVE_ROUND 1
  23992. | #define HAVE_SCHED_GETAFFINITY 1
  23993. | #define HAVE_SEEKDIR 1
  23994. | #define HAVE_SENDFILE 1
  23995. | #define HAVE_SETEGID 1
  23996. | #define HAVE_SETENV 1
  23997. | #define HAVE_SETEUID 1
  23998. | #define HAVE_SETGID 1
  23999. | #define HAVE_SETGROUPS 1
  24000. | #define HAVE_SETPGID 1
  24001. | #define HAVE_SETPGRP 1
  24002. | #define HAVE_SETREGID 1
  24003. | #define HAVE_SETRESGID 1
  24004. | #define HAVE_SETRESUID 1
  24005. | #define HAVE_SETREUID 1
  24006. | #define HAVE_SETRLIMIT 1
  24007. | #define HAVE_SETSID 1
  24008. | #define HAVE_SETUID 1
  24009. | #define HAVE_SHUTDOWN 1
  24010. | #define HAVE_SIGACTION 1
  24011. | #define HAVE_SIGALTSTACK 1
  24012. | #define HAVE_SIGPROCMASK 1
  24013. | #define HAVE_SINH 1
  24014. | #define HAVE_SYMLINK 1
  24015. | #define HAVE_SYSCALL 1
  24016. | #define HAVE_SYSCONF 1
  24017. | #define HAVE_TANH 1
  24018. | #define HAVE_TELLDIR 1
  24019. | #define HAVE_TIMEGM 1
  24020. | #define HAVE_TIMES 1
  24021. | #define HAVE_TRUNCATE 1
  24022. | #define HAVE_TRUNCATE64 1
  24023. | #define HAVE_UNSETENV 1
  24024. | #define HAVE_UTIMENSAT 1
  24025. | #define HAVE_UTIMES 1
  24026. | #define HAVE_WAIT4 1
  24027. | #define HAVE_WAITPID 1
  24028. | #define HAVE_BUILTIN___BUILTIN_BSWAP16 1
  24029. | #define HAVE_BUILTIN___BUILTIN_BSWAP32 1
  24030. | #define HAVE_BUILTIN___BUILTIN_BSWAP64 1
  24031. | #define HAVE_BUILTIN___BUILTIN_CLZ 1
  24032. | #define HAVE_BUILTIN___BUILTIN_CLZL 1
  24033. | #define HAVE_BUILTIN___BUILTIN_CLZLL 1
  24034. | #define HAVE_BUILTIN___BUILTIN_CHOOSE_EXPR 1
  24035. | #define HAVE_BUILTIN___BUILTIN_CHOOSE_EXPR_CONSTANT_P 1
  24036. | #define HAVE_BUILTIN___BUILTIN_TYPES_COMPATIBLE_P 1
  24037. | #define HAVE_GNU_QSORT_R 1
  24038. | #define ATAN2_INF_C99 1
  24039. | #define HAVE_CLOCK_GETRES 1
  24040. | #define HAVE_STRUCT_TM_TM_ZONE 1
  24041. | #define HAVE_TM_ZONE 1
  24042. | #define HAVE_STRUCT_TM_TM_GMTOFF 1
  24043. | #define HAVE_DAYLIGHT 1
  24044. | #define HAVE_VAR_TIMEZONE 1
  24045. | #define TYPEOF_VAR_TIMEZONE long
  24046. | #define HAVE_TIMEZONE 1
  24047. | #define TIMEZONE_VOID 1
  24048. | #define NEGATIVE_TIME_T 1
  24049. | #define POSIX_SIGNAL 1
  24050. | #define RSHIFT(x,y) ((x)>>(int)(y))
  24051. | #define HAVE__SC_CLK_TCK 1
  24052. | #define STACK_GROW_DIRECTION -1
  24053. | #define _REENTRANT 1
  24054. | #define _THREAD_SAFE 1
  24055. | #define HAVE_LIBPTHREAD 1
  24056. | #define HAVE_SCHED_YIELD 1
  24057. | #define HAVE_PTHREAD_ATTR_SETINHERITSCHED 1
  24058. | /* end confdefs.h. */
  24059. | /* Define pthread_attr_get_np to an innocuous variant, in case <limits.h> declares pthread_attr_get_np.
  24060. | For example, HP-UX 11i <limits.h> declares gettimeofday. */
  24061. | #define pthread_attr_get_np innocuous_pthread_attr_get_np
  24062. |
  24063. | /* System header to define __stub macros and hopefully few prototypes,
  24064. | which can conflict with char pthread_attr_get_np (); below.
  24065. | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  24066. | <limits.h> exists even on freestanding compilers. */
  24067. |
  24068. | #ifdef __STDC__
  24069. | # include <limits.h>
  24070. | #else
  24071. | # include <assert.h>
  24072. | #endif
  24073. |
  24074. | #undef pthread_attr_get_np
  24075. |
  24076. | /* Override any GCC internal prototype to avoid an error.
  24077. | Use char because int might match the return type of a GCC
  24078. | builtin and then its argument prototype would still apply. */
  24079. | #ifdef __cplusplus
  24080. | extern "C"
  24081. | #endif
  24082. | char pthread_attr_get_np ();
  24083. | /* The GNU C library defines this for functions which it implements
  24084. | to always fail with ENOSYS. Some functions are actually named
  24085. | something starting with __ and the normal name is an alias. */
  24086. | #if defined __stub_pthread_attr_get_np || defined __stub___pthread_attr_get_np
  24087. | choke me
  24088. | #endif
  24089. |
  24090. | int
  24091. | main ()
  24092. | {
  24093. | return pthread_attr_get_np ();
  24094. | ;
  24095. | return 0;
  24096. | }
  24097. configure:21824: result: no
  24098. configure:21824: checking for pthread_attr_getstack
  24099. configure:21824: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lpthread -lgmp -ldl -lcrypt -lm >&5
  24100. configure:21824: $? = 0
  24101. configure:21824: result: yes
  24102. configure:21824: checking for pthread_get_stackaddr_np
  24103. configure:21824: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lpthread -lgmp -ldl -lcrypt -lm >&5
  24104. /tmp/ccOLJ1mU.o: In function `main':
  24105. /usr/share/rvm/src/ruby-2.3.0/conftest.c:390: undefined reference to `pthread_get_stackaddr_np'
  24106. collect2: error: ld returned 1 exit status
  24107. configure:21824: $? = 1
  24108. configure: failed program was:
  24109. | /* confdefs.h */
  24110. | #define PACKAGE_NAME ""
  24111. | #define PACKAGE_TARNAME ""
  24112. | #define PACKAGE_VERSION ""
  24113. | #define PACKAGE_STRING ""
  24114. | #define PACKAGE_BUGREPORT ""
  24115. | #define PACKAGE_URL ""
  24116. | #define CANONICALIZATION_FOR_MATHN 1
  24117. | #define STDC_HEADERS 1
  24118. | #define HAVE_SYS_TYPES_H 1
  24119. | #define HAVE_SYS_STAT_H 1
  24120. | #define HAVE_STDLIB_H 1
  24121. | #define HAVE_STRING_H 1
  24122. | #define HAVE_MEMORY_H 1
  24123. | #define HAVE_STRINGS_H 1
  24124. | #define HAVE_INTTYPES_H 1
  24125. | #define HAVE_STDINT_H 1
  24126. | #define HAVE_UNISTD_H 1
  24127. | #define __EXTENSIONS__ 1
  24128. | #define _ALL_SOURCE 1
  24129. | #define _GNU_SOURCE 1
  24130. | #define _POSIX_PTHREAD_SEMANTICS 1
  24131. | #define _TANDEM_SOURCE 1
  24132. | #define HAVE_INFINITY 1
  24133. | #define HAVE_NAN 1
  24134. | #define RUBY_SYMBOL_EXPORT_BEGIN _Pragma("GCC visibility push(default)")
  24135. | #define RUBY_SYMBOL_EXPORT_END _Pragma("GCC visibility pop")
  24136. | #define HAVE_LIBCRYPT 1
  24137. | #define HAVE_LIBDL 1
  24138. | #define HAVE_DIRENT_H 1
  24139. | #define HAVE__BOOL 1
  24140. | #define HAVE_STDBOOL_H 1
  24141. | #define HAVE_SYS_WAIT_H 1
  24142. | #define HAVE_A_OUT_H 1
  24143. | #define HAVE_GRP_H 1
  24144. | #define HAVE_FCNTL_H 1
  24145. | #define HAVE_FLOAT_H 1
  24146. | #define HAVE_LANGINFO_H 1
  24147. | #define HAVE_LIMITS_H 1
  24148. | #define HAVE_LOCALE_H 1
  24149. | #define HAVE_MALLOC_H 1
  24150. | #define HAVE_PWD_H 1
  24151. | #define HAVE_SYS_FCNTL_H 1
  24152. | #define HAVE_SYS_FILE_H 1
  24153. | #define HAVE_SYS_IOCTL_H 1
  24154. | #define HAVE_SYS_PARAM_H 1
  24155. | #define HAVE_SYS_PRCTL_H 1
  24156. | #define HAVE_SYS_RESOURCE_H 1
  24157. | #define HAVE_SYS_SELECT_H 1
  24158. | #define HAVE_SYS_SENDFILE_H 1
  24159. | #define HAVE_SYS_SOCKET_H 1
  24160. | #define HAVE_SYS_SYSCALL_H 1
  24161. | #define HAVE_SYS_TIME_H 1
  24162. | #define HAVE_SYS_TIMES_H 1
  24163. | #define HAVE_SYS_UIO_H 1
  24164. | #define HAVE_SYSCALL_H 1
  24165. | #define HAVE_TIME_H 1
  24166. | #define HAVE_UCONTEXT_H 1
  24167. | #define HAVE_UTIME_H 1
  24168. | #define HAVE_GMP_H 1
  24169. | #define HAVE_LIBGMP 1
  24170. | #define HAVE_TYPEOF 1
  24171. | #define typeof __typeof__
  24172. | #define HAVE_LONG_LONG 1
  24173. | #define HAVE_OFF_T 1
  24174. | #define SIZEOF_INT 4
  24175. | #define SIZEOF_SHORT 2
  24176. | #define SIZEOF_LONG 8
  24177. | #define SIZEOF_LONG_LONG 8
  24178. | #define SIZEOF___INT64 0
  24179. | #define SIZEOF_OFF_T 8
  24180. | #define SIZEOF_VOIDP 8
  24181. | #define SIZEOF_FLOAT 4
  24182. | #define SIZEOF_DOUBLE 8
  24183. | #define SIZEOF_TIME_T 8
  24184. | #define SIZEOF_CLOCK_T 8
  24185. | #define PACKED_STRUCT(x) x __attribute__((packed))
  24186. | #define PACKED_STRUCT_UNALIGNED(x) x
  24187. | #define PRI_LL_PREFIX "ll"
  24188. | #define rb_pid_t pid_t
  24189. | #define SIGNEDNESS_OF_PID_T -1
  24190. | #define PIDT2NUM(v) INT2NUM(v)
  24191. | #define NUM2PIDT(v) NUM2INT(v)
  24192. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  24193. | #define rb_uid_t uid_t
  24194. | #define SIGNEDNESS_OF_UID_T +1
  24195. | #define UIDT2NUM(v) UINT2NUM(v)
  24196. | #define NUM2UIDT(v) NUM2UINT(v)
  24197. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  24198. | #define rb_gid_t gid_t
  24199. | #define SIGNEDNESS_OF_GID_T +1
  24200. | #define GIDT2NUM(v) UINT2NUM(v)
  24201. | #define NUM2GIDT(v) NUM2UINT(v)
  24202. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  24203. | #define rb_time_t time_t
  24204. | #define SIGNEDNESS_OF_TIME_T -1
  24205. | #define TIMET2NUM(v) LONG2NUM(v)
  24206. | #define NUM2TIMET(v) NUM2LONG(v)
  24207. | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
  24208. | #define rb_dev_t dev_t
  24209. | #define SIGNEDNESS_OF_DEV_T +1
  24210. | #define DEVT2NUM(v) ULONG2NUM(v)
  24211. | #define NUM2DEVT(v) NUM2ULONG(v)
  24212. | #define PRI_DEVT_PREFIX PRI_LONG_PREFIX
  24213. | #define rb_mode_t mode_t
  24214. | #define SIGNEDNESS_OF_MODE_T +1
  24215. | #define MODET2NUM(v) UINT2NUM(v)
  24216. | #define NUM2MODET(v) NUM2UINT(v)
  24217. | #define PRI_MODET_PREFIX PRI_INT_PREFIX
  24218. | #define rb_rlim_t rlim_t
  24219. | #define SIGNEDNESS_OF_RLIM_T +1
  24220. | #define RLIM2NUM(v) ULONG2NUM(v)
  24221. | #define NUM2RLIM(v) NUM2ULONG(v)
  24222. | #define PRI_RLIM_PREFIX PRI_LONG_PREFIX
  24223. | #define rb_off_t off_t
  24224. | #define SIGNEDNESS_OF_OFF_T -1
  24225. | #define OFFT2NUM(v) LONG2NUM(v)
  24226. | #define NUM2OFFT(v) NUM2LONG(v)
  24227. | #define PRI_OFFT_PREFIX PRI_LONG_PREFIX
  24228. | #define rb_clockid_t clockid_t
  24229. | #define SIGNEDNESS_OF_CLOCKID_T -1
  24230. | #define CLOCKID2NUM(v) INT2NUM(v)
  24231. | #define NUM2CLOCKID(v) NUM2INT(v)
  24232. | #define PRI_CLOCKID_PREFIX PRI_INT_PREFIX
  24233. | #define HAVE_PROTOTYPES 1
  24234. | #define TOKEN_PASTE(x,y) x##y
  24235. | #define STRINGIZE(expr) STRINGIZE0(expr)
  24236. | #define HAVE_STDARG_PROTOTYPES 1
  24237. | #define HAVE_VA_ARGS_MACRO 1
  24238. | #define NORETURN(x) __attribute__ ((noreturn)) x
  24239. | #define DEPRECATED(x) __attribute__ ((deprecated)) x
  24240. | #define DEPRECATED_BY(n,x) __attribute__ ((deprecated("by "#n))) x
  24241. | #define DEPRECATED_TYPE(mesg,x) __attribute__ ((deprecated mesg)) x
  24242. | #define NOINLINE(x) __attribute__ ((noinline)) x
  24243. | #define WEAK(x) __attribute__ ((weak)) x
  24244. | #define HAVE_FUNC_WEAK 1
  24245. | #define FUNC_UNOPTIMIZED(x) __attribute__ ((optimize("O0"))) x
  24246. | #define FUNC_MINIMIZED(x) __attribute__ ((optimize("-Os","-fomit-frame-pointer"))) x
  24247. | #define HAVE_ATTRIBUTE_FUNCTION_ALIAS 1
  24248. | #define RUBY_ALIAS_FUNCTION_TYPE(type, prot, name, args) type prot __attribute__((alias(#name)));
  24249. | #define RUBY_ALIAS_FUNCTION_VOID(prot, name, args) RUBY_ALIAS_FUNCTION_TYPE(void, prot, name, args)
  24250. | #define HAVE_GCC_ATOMIC_BUILTINS 1
  24251. | #define HAVE_GCC_SYNC_BUILTINS 1
  24252. | #define UNREACHABLE __builtin_unreachable()
  24253. | #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
  24254. | #define RUBY_FUNCTION_NAME_STRING __func__
  24255. | #define ENUM_OVER_INT 1
  24256. | #define HAVE_DECL_SYS_NERR 1
  24257. | #define HAVE_DECL_GETENV 1
  24258. | #define SIZEOF_SIZE_T 8
  24259. | #define SIZEOF_PTRDIFF_T 8
  24260. | #define PRI_SIZE_PREFIX "z"
  24261. | #define PRI_PTRDIFF_PREFIX "t"
  24262. | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
  24263. | #define HAVE_ST_BLKSIZE 1
  24264. | #define HAVE_STRUCT_STAT_ST_BLOCKS 1
  24265. | #define HAVE_ST_BLOCKS 1
  24266. | #define HAVE_STRUCT_STAT_ST_RDEV 1
  24267. | #define HAVE_ST_RDEV 1
  24268. | #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_OFF_T
  24269. | #define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_OFF_T
  24270. | #define SIZEOF_STRUCT_STAT_ST_INO SIZEOF_LONG
  24271. | #define HAVE_STRUCT_STAT_ST_ATIM 1
  24272. | #define HAVE_STRUCT_STAT_ST_MTIM 1
  24273. | #define HAVE_STRUCT_STAT_ST_CTIM 1
  24274. | #define HAVE_STRUCT_TIMEVAL 1
  24275. | #define SIZEOF_STRUCT_TIMEVAL_TV_SEC SIZEOF_TIME_T
  24276. | #define HAVE_STRUCT_TIMESPEC 1
  24277. | #define HAVE_STRUCT_TIMEZONE 1
  24278. | #define HAVE_CLOCKID_T 1
  24279. | #define HAVE_RB_FD_INIT 1
  24280. | #define HAVE_INT8_T 1
  24281. | #define SIZEOF_INT8_T 1
  24282. | #define HAVE_UINT8_T 1
  24283. | #define SIZEOF_UINT8_T 1
  24284. | #define HAVE_INT16_T 1
  24285. | #define SIZEOF_INT16_T 2
  24286. | #define HAVE_UINT16_T 1
  24287. | #define SIZEOF_UINT16_T 2
  24288. | #define HAVE_INT32_T 1
  24289. | #define SIZEOF_INT32_T 4
  24290. | #define HAVE_UINT32_T 1
  24291. | #define SIZEOF_UINT32_T 4
  24292. | #define HAVE_INT64_T 1
  24293. | #define SIZEOF_INT64_T 8
  24294. | #define HAVE_UINT64_T 1
  24295. | #define SIZEOF_UINT64_T 8
  24296. | #define HAVE_INTPTR_T 1
  24297. | #define SIZEOF_INTPTR_T 8
  24298. | #define HAVE_UINTPTR_T 1
  24299. | #define SIZEOF_UINTPTR_T 8
  24300. | #define HAVE_SSIZE_T 1
  24301. | #define SIZEOF_SSIZE_T 8
  24302. | #define STACK_END_ADDRESS __libc_stack_end
  24303. | #define GETGROUPS_T gid_t
  24304. | #define RETSIGTYPE void
  24305. | #define HAVE_ALLOCA_H 1
  24306. | #define HAVE_ALLOCA 1
  24307. | #define HAVE_ACOSH 1
  24308. | #define HAVE_CBRT 1
  24309. | #define HAVE_CRYPT 1
  24310. | #define HAVE_DUP2 1
  24311. | #define HAVE_ERF 1
  24312. | #define HAVE_EXPLICIT_BZERO 1
  24313. | #define HAVE_FFS 1
  24314. | #define HAVE_FINITE 1
  24315. | #define HAVE_FLOCK 1
  24316. | #define HAVE_HYPOT 1
  24317. | #define HAVE_ISINF 1
  24318. | #define HAVE_ISNAN 1
  24319. | #define HAVE_LGAMMA_R 1
  24320. | #define HAVE_MEMMOVE 1
  24321. | #define HAVE_NEXTAFTER 1
  24322. | #define HAVE_STRCHR 1
  24323. | #define HAVE_STRERROR 1
  24324. | #define HAVE_STRSTR 1
  24325. | #define HAVE_TGAMMA 1
  24326. | #define SPT_TYPE SPT_REUSEARGV
  24327. | #define HAVE_SIGNBIT 1
  24328. | #define HAVE_FORK 1
  24329. | #define HAVE_VFORK 1
  24330. | #define HAVE_WORKING_VFORK 1
  24331. | #define HAVE_WORKING_FORK 1
  24332. | #define HAVE__LONGJMP 1
  24333. | #define HAVE__SETJMP 1
  24334. | #define HAVE_ATAN2L 1
  24335. | #define HAVE_ATAN2F 1
  24336. | #define HAVE_CHROOT 1
  24337. | #define HAVE_CLOCK_GETTIME 1
  24338. | #define HAVE_COSH 1
  24339. | #define HAVE_DIRFD 1
  24340. | #define HAVE_DL_ITERATE_PHDR 1
  24341. | #define HAVE_DLOPEN 1
  24342. | #define HAVE_DLADDR 1
  24343. | #define HAVE_DUP 1
  24344. | #define HAVE_DUP3 1
  24345. | #define HAVE_EACCESS 1
  24346. | #define HAVE_ENDGRENT 1
  24347. | #define HAVE_FCHMOD 1
  24348. | #define HAVE_FCHOWN 1
  24349. | #define HAVE_FCNTL 1
  24350. | #define HAVE_FDATASYNC 1
  24351. | #define HAVE_FMOD 1
  24352. | #define HAVE_FSYNC 1
  24353. | #define HAVE_FTRUNCATE 1
  24354. | #define HAVE_FTRUNCATE64 1
  24355. | #define HAVE_GETCWD 1
  24356. | #define HAVE_GETGRNAM 1
  24357. | #define HAVE_GETGRNAM_R 1
  24358. | #define HAVE_GETGROUPS 1
  24359. | #define HAVE_GETPGID 1
  24360. | #define HAVE_GETPGRP 1
  24361. | #define HAVE_GETPRIORITY 1
  24362. | #define HAVE_GETPWNAM_R 1
  24363. | #define HAVE_GETRESGID 1
  24364. | #define HAVE_GETRESUID 1
  24365. | #define HAVE_GETRLIMIT 1
  24366. | #define HAVE_GETSID 1
  24367. | #define HAVE_GETTIMEOFDAY 1
  24368. | #define HAVE_GMTIME_R 1
  24369. | #define HAVE_INITGROUPS 1
  24370. | #define HAVE_IOCTL 1
  24371. | #define HAVE_KILLPG 1
  24372. | #define HAVE_LCHOWN 1
  24373. | #define HAVE_LINK 1
  24374. | #define HAVE_LLABS 1
  24375. | #define HAVE_LOCKF 1
  24376. | #define HAVE_LOG2 1
  24377. | #define HAVE_LSTAT 1
  24378. | #define HAVE_MALLOC_USABLE_SIZE 1
  24379. | #define HAVE_MBLEN 1
  24380. | #define HAVE_MEMALIGN 1
  24381. | #define HAVE_WRITEV 1
  24382. | #define HAVE_MEMRCHR 1
  24383. | #define HAVE_MEMMEM 1
  24384. | #define HAVE_MKFIFO 1
  24385. | #define HAVE_MKNOD 1
  24386. | #define HAVE_MKTIME 1
  24387. | #define HAVE_PIPE2 1
  24388. | #define HAVE_POLL 1
  24389. | #define HAVE_POSIX_FADVISE 1
  24390. | #define HAVE_POSIX_MEMALIGN 1
  24391. | #define HAVE_PPOLL 1
  24392. | #define HAVE_PREAD 1
  24393. | #define HAVE_QSORT_R 1
  24394. | #define HAVE_READLINK 1
  24395. | #define HAVE_ROUND 1
  24396. | #define HAVE_SCHED_GETAFFINITY 1
  24397. | #define HAVE_SEEKDIR 1
  24398. | #define HAVE_SENDFILE 1
  24399. | #define HAVE_SETEGID 1
  24400. | #define HAVE_SETENV 1
  24401. | #define HAVE_SETEUID 1
  24402. | #define HAVE_SETGID 1
  24403. | #define HAVE_SETGROUPS 1
  24404. | #define HAVE_SETPGID 1
  24405. | #define HAVE_SETPGRP 1
  24406. | #define HAVE_SETREGID 1
  24407. | #define HAVE_SETRESGID 1
  24408. | #define HAVE_SETRESUID 1
  24409. | #define HAVE_SETREUID 1
  24410. | #define HAVE_SETRLIMIT 1
  24411. | #define HAVE_SETSID 1
  24412. | #define HAVE_SETUID 1
  24413. | #define HAVE_SHUTDOWN 1
  24414. | #define HAVE_SIGACTION 1
  24415. | #define HAVE_SIGALTSTACK 1
  24416. | #define HAVE_SIGPROCMASK 1
  24417. | #define HAVE_SINH 1
  24418. | #define HAVE_SYMLINK 1
  24419. | #define HAVE_SYSCALL 1
  24420. | #define HAVE_SYSCONF 1
  24421. | #define HAVE_TANH 1
  24422. | #define HAVE_TELLDIR 1
  24423. | #define HAVE_TIMEGM 1
  24424. | #define HAVE_TIMES 1
  24425. | #define HAVE_TRUNCATE 1
  24426. | #define HAVE_TRUNCATE64 1
  24427. | #define HAVE_UNSETENV 1
  24428. | #define HAVE_UTIMENSAT 1
  24429. | #define HAVE_UTIMES 1
  24430. | #define HAVE_WAIT4 1
  24431. | #define HAVE_WAITPID 1
  24432. | #define HAVE_BUILTIN___BUILTIN_BSWAP16 1
  24433. | #define HAVE_BUILTIN___BUILTIN_BSWAP32 1
  24434. | #define HAVE_BUILTIN___BUILTIN_BSWAP64 1
  24435. | #define HAVE_BUILTIN___BUILTIN_CLZ 1
  24436. | #define HAVE_BUILTIN___BUILTIN_CLZL 1
  24437. | #define HAVE_BUILTIN___BUILTIN_CLZLL 1
  24438. | #define HAVE_BUILTIN___BUILTIN_CHOOSE_EXPR 1
  24439. | #define HAVE_BUILTIN___BUILTIN_CHOOSE_EXPR_CONSTANT_P 1
  24440. | #define HAVE_BUILTIN___BUILTIN_TYPES_COMPATIBLE_P 1
  24441. | #define HAVE_GNU_QSORT_R 1
  24442. | #define ATAN2_INF_C99 1
  24443. | #define HAVE_CLOCK_GETRES 1
  24444. | #define HAVE_STRUCT_TM_TM_ZONE 1
  24445. | #define HAVE_TM_ZONE 1
  24446. | #define HAVE_STRUCT_TM_TM_GMTOFF 1
  24447. | #define HAVE_DAYLIGHT 1
  24448. | #define HAVE_VAR_TIMEZONE 1
  24449. | #define TYPEOF_VAR_TIMEZONE long
  24450. | #define HAVE_TIMEZONE 1
  24451. | #define TIMEZONE_VOID 1
  24452. | #define NEGATIVE_TIME_T 1
  24453. | #define POSIX_SIGNAL 1
  24454. | #define RSHIFT(x,y) ((x)>>(int)(y))
  24455. | #define HAVE__SC_CLK_TCK 1
  24456. | #define STACK_GROW_DIRECTION -1
  24457. | #define _REENTRANT 1
  24458. | #define _THREAD_SAFE 1
  24459. | #define HAVE_LIBPTHREAD 1
  24460. | #define HAVE_SCHED_YIELD 1
  24461. | #define HAVE_PTHREAD_ATTR_SETINHERITSCHED 1
  24462. | #define HAVE_PTHREAD_ATTR_GETSTACK 1
  24463. | /* end confdefs.h. */
  24464. | /* Define pthread_get_stackaddr_np to an innocuous variant, in case <limits.h> declares pthread_get_stackaddr_np.
  24465. | For example, HP-UX 11i <limits.h> declares gettimeofday. */
  24466. | #define pthread_get_stackaddr_np innocuous_pthread_get_stackaddr_np
  24467. |
  24468. | /* System header to define __stub macros and hopefully few prototypes,
  24469. | which can conflict with char pthread_get_stackaddr_np (); below.
  24470. | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  24471. | <limits.h> exists even on freestanding compilers. */
  24472. |
  24473. | #ifdef __STDC__
  24474. | # include <limits.h>
  24475. | #else
  24476. | # include <assert.h>
  24477. | #endif
  24478. |
  24479. | #undef pthread_get_stackaddr_np
  24480. |
  24481. | /* Override any GCC internal prototype to avoid an error.
  24482. | Use char because int might match the return type of a GCC
  24483. | builtin and then its argument prototype would still apply. */
  24484. | #ifdef __cplusplus
  24485. | extern "C"
  24486. | #endif
  24487. | char pthread_get_stackaddr_np ();
  24488. | /* The GNU C library defines this for functions which it implements
  24489. | to always fail with ENOSYS. Some functions are actually named
  24490. | something starting with __ and the normal name is an alias. */
  24491. | #if defined __stub_pthread_get_stackaddr_np || defined __stub___pthread_get_stackaddr_np
  24492. | choke me
  24493. | #endif
  24494. |
  24495. | int
  24496. | main ()
  24497. | {
  24498. | return pthread_get_stackaddr_np ();
  24499. | ;
  24500. | return 0;
  24501. | }
  24502. configure:21824: result: no
  24503. configure:21824: checking for pthread_get_stacksize_np
  24504. configure:21824: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lpthread -lgmp -ldl -lcrypt -lm >&5
  24505. /tmp/cc5EbA12.o: In function `main':
  24506. /usr/share/rvm/src/ruby-2.3.0/conftest.c:390: undefined reference to `pthread_get_stacksize_np'
  24507. collect2: error: ld returned 1 exit status
  24508. configure:21824: $? = 1
  24509. configure: failed program was:
  24510. | /* confdefs.h */
  24511. | #define PACKAGE_NAME ""
  24512. | #define PACKAGE_TARNAME ""
  24513. | #define PACKAGE_VERSION ""
  24514. | #define PACKAGE_STRING ""
  24515. | #define PACKAGE_BUGREPORT ""
  24516. | #define PACKAGE_URL ""
  24517. | #define CANONICALIZATION_FOR_MATHN 1
  24518. | #define STDC_HEADERS 1
  24519. | #define HAVE_SYS_TYPES_H 1
  24520. | #define HAVE_SYS_STAT_H 1
  24521. | #define HAVE_STDLIB_H 1
  24522. | #define HAVE_STRING_H 1
  24523. | #define HAVE_MEMORY_H 1
  24524. | #define HAVE_STRINGS_H 1
  24525. | #define HAVE_INTTYPES_H 1
  24526. | #define HAVE_STDINT_H 1
  24527. | #define HAVE_UNISTD_H 1
  24528. | #define __EXTENSIONS__ 1
  24529. | #define _ALL_SOURCE 1
  24530. | #define _GNU_SOURCE 1
  24531. | #define _POSIX_PTHREAD_SEMANTICS 1
  24532. | #define _TANDEM_SOURCE 1
  24533. | #define HAVE_INFINITY 1
  24534. | #define HAVE_NAN 1
  24535. | #define RUBY_SYMBOL_EXPORT_BEGIN _Pragma("GCC visibility push(default)")
  24536. | #define RUBY_SYMBOL_EXPORT_END _Pragma("GCC visibility pop")
  24537. | #define HAVE_LIBCRYPT 1
  24538. | #define HAVE_LIBDL 1
  24539. | #define HAVE_DIRENT_H 1
  24540. | #define HAVE__BOOL 1
  24541. | #define HAVE_STDBOOL_H 1
  24542. | #define HAVE_SYS_WAIT_H 1
  24543. | #define HAVE_A_OUT_H 1
  24544. | #define HAVE_GRP_H 1
  24545. | #define HAVE_FCNTL_H 1
  24546. | #define HAVE_FLOAT_H 1
  24547. | #define HAVE_LANGINFO_H 1
  24548. | #define HAVE_LIMITS_H 1
  24549. | #define HAVE_LOCALE_H 1
  24550. | #define HAVE_MALLOC_H 1
  24551. | #define HAVE_PWD_H 1
  24552. | #define HAVE_SYS_FCNTL_H 1
  24553. | #define HAVE_SYS_FILE_H 1
  24554. | #define HAVE_SYS_IOCTL_H 1
  24555. | #define HAVE_SYS_PARAM_H 1
  24556. | #define HAVE_SYS_PRCTL_H 1
  24557. | #define HAVE_SYS_RESOURCE_H 1
  24558. | #define HAVE_SYS_SELECT_H 1
  24559. | #define HAVE_SYS_SENDFILE_H 1
  24560. | #define HAVE_SYS_SOCKET_H 1
  24561. | #define HAVE_SYS_SYSCALL_H 1
  24562. | #define HAVE_SYS_TIME_H 1
  24563. | #define HAVE_SYS_TIMES_H 1
  24564. | #define HAVE_SYS_UIO_H 1
  24565. | #define HAVE_SYSCALL_H 1
  24566. | #define HAVE_TIME_H 1
  24567. | #define HAVE_UCONTEXT_H 1
  24568. | #define HAVE_UTIME_H 1
  24569. | #define HAVE_GMP_H 1
  24570. | #define HAVE_LIBGMP 1
  24571. | #define HAVE_TYPEOF 1
  24572. | #define typeof __typeof__
  24573. | #define HAVE_LONG_LONG 1
  24574. | #define HAVE_OFF_T 1
  24575. | #define SIZEOF_INT 4
  24576. | #define SIZEOF_SHORT 2
  24577. | #define SIZEOF_LONG 8
  24578. | #define SIZEOF_LONG_LONG 8
  24579. | #define SIZEOF___INT64 0
  24580. | #define SIZEOF_OFF_T 8
  24581. | #define SIZEOF_VOIDP 8
  24582. | #define SIZEOF_FLOAT 4
  24583. | #define SIZEOF_DOUBLE 8
  24584. | #define SIZEOF_TIME_T 8
  24585. | #define SIZEOF_CLOCK_T 8
  24586. | #define PACKED_STRUCT(x) x __attribute__((packed))
  24587. | #define PACKED_STRUCT_UNALIGNED(x) x
  24588. | #define PRI_LL_PREFIX "ll"
  24589. | #define rb_pid_t pid_t
  24590. | #define SIGNEDNESS_OF_PID_T -1
  24591. | #define PIDT2NUM(v) INT2NUM(v)
  24592. | #define NUM2PIDT(v) NUM2INT(v)
  24593. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  24594. | #define rb_uid_t uid_t
  24595. | #define SIGNEDNESS_OF_UID_T +1
  24596. | #define UIDT2NUM(v) UINT2NUM(v)
  24597. | #define NUM2UIDT(v) NUM2UINT(v)
  24598. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  24599. | #define rb_gid_t gid_t
  24600. | #define SIGNEDNESS_OF_GID_T +1
  24601. | #define GIDT2NUM(v) UINT2NUM(v)
  24602. | #define NUM2GIDT(v) NUM2UINT(v)
  24603. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  24604. | #define rb_time_t time_t
  24605. | #define SIGNEDNESS_OF_TIME_T -1
  24606. | #define TIMET2NUM(v) LONG2NUM(v)
  24607. | #define NUM2TIMET(v) NUM2LONG(v)
  24608. | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
  24609. | #define rb_dev_t dev_t
  24610. | #define SIGNEDNESS_OF_DEV_T +1
  24611. | #define DEVT2NUM(v) ULONG2NUM(v)
  24612. | #define NUM2DEVT(v) NUM2ULONG(v)
  24613. | #define PRI_DEVT_PREFIX PRI_LONG_PREFIX
  24614. | #define rb_mode_t mode_t
  24615. | #define SIGNEDNESS_OF_MODE_T +1
  24616. | #define MODET2NUM(v) UINT2NUM(v)
  24617. | #define NUM2MODET(v) NUM2UINT(v)
  24618. | #define PRI_MODET_PREFIX PRI_INT_PREFIX
  24619. | #define rb_rlim_t rlim_t
  24620. | #define SIGNEDNESS_OF_RLIM_T +1
  24621. | #define RLIM2NUM(v) ULONG2NUM(v)
  24622. | #define NUM2RLIM(v) NUM2ULONG(v)
  24623. | #define PRI_RLIM_PREFIX PRI_LONG_PREFIX
  24624. | #define rb_off_t off_t
  24625. | #define SIGNEDNESS_OF_OFF_T -1
  24626. | #define OFFT2NUM(v) LONG2NUM(v)
  24627. | #define NUM2OFFT(v) NUM2LONG(v)
  24628. | #define PRI_OFFT_PREFIX PRI_LONG_PREFIX
  24629. | #define rb_clockid_t clockid_t
  24630. | #define SIGNEDNESS_OF_CLOCKID_T -1
  24631. | #define CLOCKID2NUM(v) INT2NUM(v)
  24632. | #define NUM2CLOCKID(v) NUM2INT(v)
  24633. | #define PRI_CLOCKID_PREFIX PRI_INT_PREFIX
  24634. | #define HAVE_PROTOTYPES 1
  24635. | #define TOKEN_PASTE(x,y) x##y
  24636. | #define STRINGIZE(expr) STRINGIZE0(expr)
  24637. | #define HAVE_STDARG_PROTOTYPES 1
  24638. | #define HAVE_VA_ARGS_MACRO 1
  24639. | #define NORETURN(x) __attribute__ ((noreturn)) x
  24640. | #define DEPRECATED(x) __attribute__ ((deprecated)) x
  24641. | #define DEPRECATED_BY(n,x) __attribute__ ((deprecated("by "#n))) x
  24642. | #define DEPRECATED_TYPE(mesg,x) __attribute__ ((deprecated mesg)) x
  24643. | #define NOINLINE(x) __attribute__ ((noinline)) x
  24644. | #define WEAK(x) __attribute__ ((weak)) x
  24645. | #define HAVE_FUNC_WEAK 1
  24646. | #define FUNC_UNOPTIMIZED(x) __attribute__ ((optimize("O0"))) x
  24647. | #define FUNC_MINIMIZED(x) __attribute__ ((optimize("-Os","-fomit-frame-pointer"))) x
  24648. | #define HAVE_ATTRIBUTE_FUNCTION_ALIAS 1
  24649. | #define RUBY_ALIAS_FUNCTION_TYPE(type, prot, name, args) type prot __attribute__((alias(#name)));
  24650. | #define RUBY_ALIAS_FUNCTION_VOID(prot, name, args) RUBY_ALIAS_FUNCTION_TYPE(void, prot, name, args)
  24651. | #define HAVE_GCC_ATOMIC_BUILTINS 1
  24652. | #define HAVE_GCC_SYNC_BUILTINS 1
  24653. | #define UNREACHABLE __builtin_unreachable()
  24654. | #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
  24655. | #define RUBY_FUNCTION_NAME_STRING __func__
  24656. | #define ENUM_OVER_INT 1
  24657. | #define HAVE_DECL_SYS_NERR 1
  24658. | #define HAVE_DECL_GETENV 1
  24659. | #define SIZEOF_SIZE_T 8
  24660. | #define SIZEOF_PTRDIFF_T 8
  24661. | #define PRI_SIZE_PREFIX "z"
  24662. | #define PRI_PTRDIFF_PREFIX "t"
  24663. | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
  24664. | #define HAVE_ST_BLKSIZE 1
  24665. | #define HAVE_STRUCT_STAT_ST_BLOCKS 1
  24666. | #define HAVE_ST_BLOCKS 1
  24667. | #define HAVE_STRUCT_STAT_ST_RDEV 1
  24668. | #define HAVE_ST_RDEV 1
  24669. | #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_OFF_T
  24670. | #define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_OFF_T
  24671. | #define SIZEOF_STRUCT_STAT_ST_INO SIZEOF_LONG
  24672. | #define HAVE_STRUCT_STAT_ST_ATIM 1
  24673. | #define HAVE_STRUCT_STAT_ST_MTIM 1
  24674. | #define HAVE_STRUCT_STAT_ST_CTIM 1
  24675. | #define HAVE_STRUCT_TIMEVAL 1
  24676. | #define SIZEOF_STRUCT_TIMEVAL_TV_SEC SIZEOF_TIME_T
  24677. | #define HAVE_STRUCT_TIMESPEC 1
  24678. | #define HAVE_STRUCT_TIMEZONE 1
  24679. | #define HAVE_CLOCKID_T 1
  24680. | #define HAVE_RB_FD_INIT 1
  24681. | #define HAVE_INT8_T 1
  24682. | #define SIZEOF_INT8_T 1
  24683. | #define HAVE_UINT8_T 1
  24684. | #define SIZEOF_UINT8_T 1
  24685. | #define HAVE_INT16_T 1
  24686. | #define SIZEOF_INT16_T 2
  24687. | #define HAVE_UINT16_T 1
  24688. | #define SIZEOF_UINT16_T 2
  24689. | #define HAVE_INT32_T 1
  24690. | #define SIZEOF_INT32_T 4
  24691. | #define HAVE_UINT32_T 1
  24692. | #define SIZEOF_UINT32_T 4
  24693. | #define HAVE_INT64_T 1
  24694. | #define SIZEOF_INT64_T 8
  24695. | #define HAVE_UINT64_T 1
  24696. | #define SIZEOF_UINT64_T 8
  24697. | #define HAVE_INTPTR_T 1
  24698. | #define SIZEOF_INTPTR_T 8
  24699. | #define HAVE_UINTPTR_T 1
  24700. | #define SIZEOF_UINTPTR_T 8
  24701. | #define HAVE_SSIZE_T 1
  24702. | #define SIZEOF_SSIZE_T 8
  24703. | #define STACK_END_ADDRESS __libc_stack_end
  24704. | #define GETGROUPS_T gid_t
  24705. | #define RETSIGTYPE void
  24706. | #define HAVE_ALLOCA_H 1
  24707. | #define HAVE_ALLOCA 1
  24708. | #define HAVE_ACOSH 1
  24709. | #define HAVE_CBRT 1
  24710. | #define HAVE_CRYPT 1
  24711. | #define HAVE_DUP2 1
  24712. | #define HAVE_ERF 1
  24713. | #define HAVE_EXPLICIT_BZERO 1
  24714. | #define HAVE_FFS 1
  24715. | #define HAVE_FINITE 1
  24716. | #define HAVE_FLOCK 1
  24717. | #define HAVE_HYPOT 1
  24718. | #define HAVE_ISINF 1
  24719. | #define HAVE_ISNAN 1
  24720. | #define HAVE_LGAMMA_R 1
  24721. | #define HAVE_MEMMOVE 1
  24722. | #define HAVE_NEXTAFTER 1
  24723. | #define HAVE_STRCHR 1
  24724. | #define HAVE_STRERROR 1
  24725. | #define HAVE_STRSTR 1
  24726. | #define HAVE_TGAMMA 1
  24727. | #define SPT_TYPE SPT_REUSEARGV
  24728. | #define HAVE_SIGNBIT 1
  24729. | #define HAVE_FORK 1
  24730. | #define HAVE_VFORK 1
  24731. | #define HAVE_WORKING_VFORK 1
  24732. | #define HAVE_WORKING_FORK 1
  24733. | #define HAVE__LONGJMP 1
  24734. | #define HAVE__SETJMP 1
  24735. | #define HAVE_ATAN2L 1
  24736. | #define HAVE_ATAN2F 1
  24737. | #define HAVE_CHROOT 1
  24738. | #define HAVE_CLOCK_GETTIME 1
  24739. | #define HAVE_COSH 1
  24740. | #define HAVE_DIRFD 1
  24741. | #define HAVE_DL_ITERATE_PHDR 1
  24742. | #define HAVE_DLOPEN 1
  24743. | #define HAVE_DLADDR 1
  24744. | #define HAVE_DUP 1
  24745. | #define HAVE_DUP3 1
  24746. | #define HAVE_EACCESS 1
  24747. | #define HAVE_ENDGRENT 1
  24748. | #define HAVE_FCHMOD 1
  24749. | #define HAVE_FCHOWN 1
  24750. | #define HAVE_FCNTL 1
  24751. | #define HAVE_FDATASYNC 1
  24752. | #define HAVE_FMOD 1
  24753. | #define HAVE_FSYNC 1
  24754. | #define HAVE_FTRUNCATE 1
  24755. | #define HAVE_FTRUNCATE64 1
  24756. | #define HAVE_GETCWD 1
  24757. | #define HAVE_GETGRNAM 1
  24758. | #define HAVE_GETGRNAM_R 1
  24759. | #define HAVE_GETGROUPS 1
  24760. | #define HAVE_GETPGID 1
  24761. | #define HAVE_GETPGRP 1
  24762. | #define HAVE_GETPRIORITY 1
  24763. | #define HAVE_GETPWNAM_R 1
  24764. | #define HAVE_GETRESGID 1
  24765. | #define HAVE_GETRESUID 1
  24766. | #define HAVE_GETRLIMIT 1
  24767. | #define HAVE_GETSID 1
  24768. | #define HAVE_GETTIMEOFDAY 1
  24769. | #define HAVE_GMTIME_R 1
  24770. | #define HAVE_INITGROUPS 1
  24771. | #define HAVE_IOCTL 1
  24772. | #define HAVE_KILLPG 1
  24773. | #define HAVE_LCHOWN 1
  24774. | #define HAVE_LINK 1
  24775. | #define HAVE_LLABS 1
  24776. | #define HAVE_LOCKF 1
  24777. | #define HAVE_LOG2 1
  24778. | #define HAVE_LSTAT 1
  24779. | #define HAVE_MALLOC_USABLE_SIZE 1
  24780. | #define HAVE_MBLEN 1
  24781. | #define HAVE_MEMALIGN 1
  24782. | #define HAVE_WRITEV 1
  24783. | #define HAVE_MEMRCHR 1
  24784. | #define HAVE_MEMMEM 1
  24785. | #define HAVE_MKFIFO 1
  24786. | #define HAVE_MKNOD 1
  24787. | #define HAVE_MKTIME 1
  24788. | #define HAVE_PIPE2 1
  24789. | #define HAVE_POLL 1
  24790. | #define HAVE_POSIX_FADVISE 1
  24791. | #define HAVE_POSIX_MEMALIGN 1
  24792. | #define HAVE_PPOLL 1
  24793. | #define HAVE_PREAD 1
  24794. | #define HAVE_QSORT_R 1
  24795. | #define HAVE_READLINK 1
  24796. | #define HAVE_ROUND 1
  24797. | #define HAVE_SCHED_GETAFFINITY 1
  24798. | #define HAVE_SEEKDIR 1
  24799. | #define HAVE_SENDFILE 1
  24800. | #define HAVE_SETEGID 1
  24801. | #define HAVE_SETENV 1
  24802. | #define HAVE_SETEUID 1
  24803. | #define HAVE_SETGID 1
  24804. | #define HAVE_SETGROUPS 1
  24805. | #define HAVE_SETPGID 1
  24806. | #define HAVE_SETPGRP 1
  24807. | #define HAVE_SETREGID 1
  24808. | #define HAVE_SETRESGID 1
  24809. | #define HAVE_SETRESUID 1
  24810. | #define HAVE_SETREUID 1
  24811. | #define HAVE_SETRLIMIT 1
  24812. | #define HAVE_SETSID 1
  24813. | #define HAVE_SETUID 1
  24814. | #define HAVE_SHUTDOWN 1
  24815. | #define HAVE_SIGACTION 1
  24816. | #define HAVE_SIGALTSTACK 1
  24817. | #define HAVE_SIGPROCMASK 1
  24818. | #define HAVE_SINH 1
  24819. | #define HAVE_SYMLINK 1
  24820. | #define HAVE_SYSCALL 1
  24821. | #define HAVE_SYSCONF 1
  24822. | #define HAVE_TANH 1
  24823. | #define HAVE_TELLDIR 1
  24824. | #define HAVE_TIMEGM 1
  24825. | #define HAVE_TIMES 1
  24826. | #define HAVE_TRUNCATE 1
  24827. | #define HAVE_TRUNCATE64 1
  24828. | #define HAVE_UNSETENV 1
  24829. | #define HAVE_UTIMENSAT 1
  24830. | #define HAVE_UTIMES 1
  24831. | #define HAVE_WAIT4 1
  24832. | #define HAVE_WAITPID 1
  24833. | #define HAVE_BUILTIN___BUILTIN_BSWAP16 1
  24834. | #define HAVE_BUILTIN___BUILTIN_BSWAP32 1
  24835. | #define HAVE_BUILTIN___BUILTIN_BSWAP64 1
  24836. | #define HAVE_BUILTIN___BUILTIN_CLZ 1
  24837. | #define HAVE_BUILTIN___BUILTIN_CLZL 1
  24838. | #define HAVE_BUILTIN___BUILTIN_CLZLL 1
  24839. | #define HAVE_BUILTIN___BUILTIN_CHOOSE_EXPR 1
  24840. | #define HAVE_BUILTIN___BUILTIN_CHOOSE_EXPR_CONSTANT_P 1
  24841. | #define HAVE_BUILTIN___BUILTIN_TYPES_COMPATIBLE_P 1
  24842. | #define HAVE_GNU_QSORT_R 1
  24843. | #define ATAN2_INF_C99 1
  24844. | #define HAVE_CLOCK_GETRES 1
  24845. | #define HAVE_STRUCT_TM_TM_ZONE 1
  24846. | #define HAVE_TM_ZONE 1
  24847. | #define HAVE_STRUCT_TM_TM_GMTOFF 1
  24848. | #define HAVE_DAYLIGHT 1
  24849. | #define HAVE_VAR_TIMEZONE 1
  24850. | #define TYPEOF_VAR_TIMEZONE long
  24851. | #define HAVE_TIMEZONE 1
  24852. | #define TIMEZONE_VOID 1
  24853. | #define NEGATIVE_TIME_T 1
  24854. | #define POSIX_SIGNAL 1
  24855. | #define RSHIFT(x,y) ((x)>>(int)(y))
  24856. | #define HAVE__SC_CLK_TCK 1
  24857. | #define STACK_GROW_DIRECTION -1
  24858. | #define _REENTRANT 1
  24859. | #define _THREAD_SAFE 1
  24860. | #define HAVE_LIBPTHREAD 1
  24861. | #define HAVE_SCHED_YIELD 1
  24862. | #define HAVE_PTHREAD_ATTR_SETINHERITSCHED 1
  24863. | #define HAVE_PTHREAD_ATTR_GETSTACK 1
  24864. | /* end confdefs.h. */
  24865. | /* Define pthread_get_stacksize_np to an innocuous variant, in case <limits.h> declares pthread_get_stacksize_np.
  24866. | For example, HP-UX 11i <limits.h> declares gettimeofday. */
  24867. | #define pthread_get_stacksize_np innocuous_pthread_get_stacksize_np
  24868. |
  24869. | /* System header to define __stub macros and hopefully few prototypes,
  24870. | which can conflict with char pthread_get_stacksize_np (); below.
  24871. | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  24872. | <limits.h> exists even on freestanding compilers. */
  24873. |
  24874. | #ifdef __STDC__
  24875. | # include <limits.h>
  24876. | #else
  24877. | # include <assert.h>
  24878. | #endif
  24879. |
  24880. | #undef pthread_get_stacksize_np
  24881. |
  24882. | /* Override any GCC internal prototype to avoid an error.
  24883. | Use char because int might match the return type of a GCC
  24884. | builtin and then its argument prototype would still apply. */
  24885. | #ifdef __cplusplus
  24886. | extern "C"
  24887. | #endif
  24888. | char pthread_get_stacksize_np ();
  24889. | /* The GNU C library defines this for functions which it implements
  24890. | to always fail with ENOSYS. Some functions are actually named
  24891. | something starting with __ and the normal name is an alias. */
  24892. | #if defined __stub_pthread_get_stacksize_np || defined __stub___pthread_get_stacksize_np
  24893. | choke me
  24894. | #endif
  24895. |
  24896. | int
  24897. | main ()
  24898. | {
  24899. | return pthread_get_stacksize_np ();
  24900. | ;
  24901. | return 0;
  24902. | }
  24903. configure:21824: result: no
  24904. configure:21824: checking for thr_stksegment
  24905. configure:21824: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lpthread -lgmp -ldl -lcrypt -lm >&5
  24906. /tmp/ccfq6r69.o: In function `main':
  24907. /usr/share/rvm/src/ruby-2.3.0/conftest.c:390: undefined reference to `thr_stksegment'
  24908. collect2: error: ld returned 1 exit status
  24909. configure:21824: $? = 1
  24910. configure: failed program was:
  24911. | /* confdefs.h */
  24912. | #define PACKAGE_NAME ""
  24913. | #define PACKAGE_TARNAME ""
  24914. | #define PACKAGE_VERSION ""
  24915. | #define PACKAGE_STRING ""
  24916. | #define PACKAGE_BUGREPORT ""
  24917. | #define PACKAGE_URL ""
  24918. | #define CANONICALIZATION_FOR_MATHN 1
  24919. | #define STDC_HEADERS 1
  24920. | #define HAVE_SYS_TYPES_H 1
  24921. | #define HAVE_SYS_STAT_H 1
  24922. | #define HAVE_STDLIB_H 1
  24923. | #define HAVE_STRING_H 1
  24924. | #define HAVE_MEMORY_H 1
  24925. | #define HAVE_STRINGS_H 1
  24926. | #define HAVE_INTTYPES_H 1
  24927. | #define HAVE_STDINT_H 1
  24928. | #define HAVE_UNISTD_H 1
  24929. | #define __EXTENSIONS__ 1
  24930. | #define _ALL_SOURCE 1
  24931. | #define _GNU_SOURCE 1
  24932. | #define _POSIX_PTHREAD_SEMANTICS 1
  24933. | #define _TANDEM_SOURCE 1
  24934. | #define HAVE_INFINITY 1
  24935. | #define HAVE_NAN 1
  24936. | #define RUBY_SYMBOL_EXPORT_BEGIN _Pragma("GCC visibility push(default)")
  24937. | #define RUBY_SYMBOL_EXPORT_END _Pragma("GCC visibility pop")
  24938. | #define HAVE_LIBCRYPT 1
  24939. | #define HAVE_LIBDL 1
  24940. | #define HAVE_DIRENT_H 1
  24941. | #define HAVE__BOOL 1
  24942. | #define HAVE_STDBOOL_H 1
  24943. | #define HAVE_SYS_WAIT_H 1
  24944. | #define HAVE_A_OUT_H 1
  24945. | #define HAVE_GRP_H 1
  24946. | #define HAVE_FCNTL_H 1
  24947. | #define HAVE_FLOAT_H 1
  24948. | #define HAVE_LANGINFO_H 1
  24949. | #define HAVE_LIMITS_H 1
  24950. | #define HAVE_LOCALE_H 1
  24951. | #define HAVE_MALLOC_H 1
  24952. | #define HAVE_PWD_H 1
  24953. | #define HAVE_SYS_FCNTL_H 1
  24954. | #define HAVE_SYS_FILE_H 1
  24955. | #define HAVE_SYS_IOCTL_H 1
  24956. | #define HAVE_SYS_PARAM_H 1
  24957. | #define HAVE_SYS_PRCTL_H 1
  24958. | #define HAVE_SYS_RESOURCE_H 1
  24959. | #define HAVE_SYS_SELECT_H 1
  24960. | #define HAVE_SYS_SENDFILE_H 1
  24961. | #define HAVE_SYS_SOCKET_H 1
  24962. | #define HAVE_SYS_SYSCALL_H 1
  24963. | #define HAVE_SYS_TIME_H 1
  24964. | #define HAVE_SYS_TIMES_H 1
  24965. | #define HAVE_SYS_UIO_H 1
  24966. | #define HAVE_SYSCALL_H 1
  24967. | #define HAVE_TIME_H 1
  24968. | #define HAVE_UCONTEXT_H 1
  24969. | #define HAVE_UTIME_H 1
  24970. | #define HAVE_GMP_H 1
  24971. | #define HAVE_LIBGMP 1
  24972. | #define HAVE_TYPEOF 1
  24973. | #define typeof __typeof__
  24974. | #define HAVE_LONG_LONG 1
  24975. | #define HAVE_OFF_T 1
  24976. | #define SIZEOF_INT 4
  24977. | #define SIZEOF_SHORT 2
  24978. | #define SIZEOF_LONG 8
  24979. | #define SIZEOF_LONG_LONG 8
  24980. | #define SIZEOF___INT64 0
  24981. | #define SIZEOF_OFF_T 8
  24982. | #define SIZEOF_VOIDP 8
  24983. | #define SIZEOF_FLOAT 4
  24984. | #define SIZEOF_DOUBLE 8
  24985. | #define SIZEOF_TIME_T 8
  24986. | #define SIZEOF_CLOCK_T 8
  24987. | #define PACKED_STRUCT(x) x __attribute__((packed))
  24988. | #define PACKED_STRUCT_UNALIGNED(x) x
  24989. | #define PRI_LL_PREFIX "ll"
  24990. | #define rb_pid_t pid_t
  24991. | #define SIGNEDNESS_OF_PID_T -1
  24992. | #define PIDT2NUM(v) INT2NUM(v)
  24993. | #define NUM2PIDT(v) NUM2INT(v)
  24994. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  24995. | #define rb_uid_t uid_t
  24996. | #define SIGNEDNESS_OF_UID_T +1
  24997. | #define UIDT2NUM(v) UINT2NUM(v)
  24998. | #define NUM2UIDT(v) NUM2UINT(v)
  24999. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  25000. | #define rb_gid_t gid_t
  25001. | #define SIGNEDNESS_OF_GID_T +1
  25002. | #define GIDT2NUM(v) UINT2NUM(v)
  25003. | #define NUM2GIDT(v) NUM2UINT(v)
  25004. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  25005. | #define rb_time_t time_t
  25006. | #define SIGNEDNESS_OF_TIME_T -1
  25007. | #define TIMET2NUM(v) LONG2NUM(v)
  25008. | #define NUM2TIMET(v) NUM2LONG(v)
  25009. | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
  25010. | #define rb_dev_t dev_t
  25011. | #define SIGNEDNESS_OF_DEV_T +1
  25012. | #define DEVT2NUM(v) ULONG2NUM(v)
  25013. | #define NUM2DEVT(v) NUM2ULONG(v)
  25014. | #define PRI_DEVT_PREFIX PRI_LONG_PREFIX
  25015. | #define rb_mode_t mode_t
  25016. | #define SIGNEDNESS_OF_MODE_T +1
  25017. | #define MODET2NUM(v) UINT2NUM(v)
  25018. | #define NUM2MODET(v) NUM2UINT(v)
  25019. | #define PRI_MODET_PREFIX PRI_INT_PREFIX
  25020. | #define rb_rlim_t rlim_t
  25021. | #define SIGNEDNESS_OF_RLIM_T +1
  25022. | #define RLIM2NUM(v) ULONG2NUM(v)
  25023. | #define NUM2RLIM(v) NUM2ULONG(v)
  25024. | #define PRI_RLIM_PREFIX PRI_LONG_PREFIX
  25025. | #define rb_off_t off_t
  25026. | #define SIGNEDNESS_OF_OFF_T -1
  25027. | #define OFFT2NUM(v) LONG2NUM(v)
  25028. | #define NUM2OFFT(v) NUM2LONG(v)
  25029. | #define PRI_OFFT_PREFIX PRI_LONG_PREFIX
  25030. | #define rb_clockid_t clockid_t
  25031. | #define SIGNEDNESS_OF_CLOCKID_T -1
  25032. | #define CLOCKID2NUM(v) INT2NUM(v)
  25033. | #define NUM2CLOCKID(v) NUM2INT(v)
  25034. | #define PRI_CLOCKID_PREFIX PRI_INT_PREFIX
  25035. | #define HAVE_PROTOTYPES 1
  25036. | #define TOKEN_PASTE(x,y) x##y
  25037. | #define STRINGIZE(expr) STRINGIZE0(expr)
  25038. | #define HAVE_STDARG_PROTOTYPES 1
  25039. | #define HAVE_VA_ARGS_MACRO 1
  25040. | #define NORETURN(x) __attribute__ ((noreturn)) x
  25041. | #define DEPRECATED(x) __attribute__ ((deprecated)) x
  25042. | #define DEPRECATED_BY(n,x) __attribute__ ((deprecated("by "#n))) x
  25043. | #define DEPRECATED_TYPE(mesg,x) __attribute__ ((deprecated mesg)) x
  25044. | #define NOINLINE(x) __attribute__ ((noinline)) x
  25045. | #define WEAK(x) __attribute__ ((weak)) x
  25046. | #define HAVE_FUNC_WEAK 1
  25047. | #define FUNC_UNOPTIMIZED(x) __attribute__ ((optimize("O0"))) x
  25048. | #define FUNC_MINIMIZED(x) __attribute__ ((optimize("-Os","-fomit-frame-pointer"))) x
  25049. | #define HAVE_ATTRIBUTE_FUNCTION_ALIAS 1
  25050. | #define RUBY_ALIAS_FUNCTION_TYPE(type, prot, name, args) type prot __attribute__((alias(#name)));
  25051. | #define RUBY_ALIAS_FUNCTION_VOID(prot, name, args) RUBY_ALIAS_FUNCTION_TYPE(void, prot, name, args)
  25052. | #define HAVE_GCC_ATOMIC_BUILTINS 1
  25053. | #define HAVE_GCC_SYNC_BUILTINS 1
  25054. | #define UNREACHABLE __builtin_unreachable()
  25055. | #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
  25056. | #define RUBY_FUNCTION_NAME_STRING __func__
  25057. | #define ENUM_OVER_INT 1
  25058. | #define HAVE_DECL_SYS_NERR 1
  25059. | #define HAVE_DECL_GETENV 1
  25060. | #define SIZEOF_SIZE_T 8
  25061. | #define SIZEOF_PTRDIFF_T 8
  25062. | #define PRI_SIZE_PREFIX "z"
  25063. | #define PRI_PTRDIFF_PREFIX "t"
  25064. | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
  25065. | #define HAVE_ST_BLKSIZE 1
  25066. | #define HAVE_STRUCT_STAT_ST_BLOCKS 1
  25067. | #define HAVE_ST_BLOCKS 1
  25068. | #define HAVE_STRUCT_STAT_ST_RDEV 1
  25069. | #define HAVE_ST_RDEV 1
  25070. | #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_OFF_T
  25071. | #define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_OFF_T
  25072. | #define SIZEOF_STRUCT_STAT_ST_INO SIZEOF_LONG
  25073. | #define HAVE_STRUCT_STAT_ST_ATIM 1
  25074. | #define HAVE_STRUCT_STAT_ST_MTIM 1
  25075. | #define HAVE_STRUCT_STAT_ST_CTIM 1
  25076. | #define HAVE_STRUCT_TIMEVAL 1
  25077. | #define SIZEOF_STRUCT_TIMEVAL_TV_SEC SIZEOF_TIME_T
  25078. | #define HAVE_STRUCT_TIMESPEC 1
  25079. | #define HAVE_STRUCT_TIMEZONE 1
  25080. | #define HAVE_CLOCKID_T 1
  25081. | #define HAVE_RB_FD_INIT 1
  25082. | #define HAVE_INT8_T 1
  25083. | #define SIZEOF_INT8_T 1
  25084. | #define HAVE_UINT8_T 1
  25085. | #define SIZEOF_UINT8_T 1
  25086. | #define HAVE_INT16_T 1
  25087. | #define SIZEOF_INT16_T 2
  25088. | #define HAVE_UINT16_T 1
  25089. | #define SIZEOF_UINT16_T 2
  25090. | #define HAVE_INT32_T 1
  25091. | #define SIZEOF_INT32_T 4
  25092. | #define HAVE_UINT32_T 1
  25093. | #define SIZEOF_UINT32_T 4
  25094. | #define HAVE_INT64_T 1
  25095. | #define SIZEOF_INT64_T 8
  25096. | #define HAVE_UINT64_T 1
  25097. | #define SIZEOF_UINT64_T 8
  25098. | #define HAVE_INTPTR_T 1
  25099. | #define SIZEOF_INTPTR_T 8
  25100. | #define HAVE_UINTPTR_T 1
  25101. | #define SIZEOF_UINTPTR_T 8
  25102. | #define HAVE_SSIZE_T 1
  25103. | #define SIZEOF_SSIZE_T 8
  25104. | #define STACK_END_ADDRESS __libc_stack_end
  25105. | #define GETGROUPS_T gid_t
  25106. | #define RETSIGTYPE void
  25107. | #define HAVE_ALLOCA_H 1
  25108. | #define HAVE_ALLOCA 1
  25109. | #define HAVE_ACOSH 1
  25110. | #define HAVE_CBRT 1
  25111. | #define HAVE_CRYPT 1
  25112. | #define HAVE_DUP2 1
  25113. | #define HAVE_ERF 1
  25114. | #define HAVE_EXPLICIT_BZERO 1
  25115. | #define HAVE_FFS 1
  25116. | #define HAVE_FINITE 1
  25117. | #define HAVE_FLOCK 1
  25118. | #define HAVE_HYPOT 1
  25119. | #define HAVE_ISINF 1
  25120. | #define HAVE_ISNAN 1
  25121. | #define HAVE_LGAMMA_R 1
  25122. | #define HAVE_MEMMOVE 1
  25123. | #define HAVE_NEXTAFTER 1
  25124. | #define HAVE_STRCHR 1
  25125. | #define HAVE_STRERROR 1
  25126. | #define HAVE_STRSTR 1
  25127. | #define HAVE_TGAMMA 1
  25128. | #define SPT_TYPE SPT_REUSEARGV
  25129. | #define HAVE_SIGNBIT 1
  25130. | #define HAVE_FORK 1
  25131. | #define HAVE_VFORK 1
  25132. | #define HAVE_WORKING_VFORK 1
  25133. | #define HAVE_WORKING_FORK 1
  25134. | #define HAVE__LONGJMP 1
  25135. | #define HAVE__SETJMP 1
  25136. | #define HAVE_ATAN2L 1
  25137. | #define HAVE_ATAN2F 1
  25138. | #define HAVE_CHROOT 1
  25139. | #define HAVE_CLOCK_GETTIME 1
  25140. | #define HAVE_COSH 1
  25141. | #define HAVE_DIRFD 1
  25142. | #define HAVE_DL_ITERATE_PHDR 1
  25143. | #define HAVE_DLOPEN 1
  25144. | #define HAVE_DLADDR 1
  25145. | #define HAVE_DUP 1
  25146. | #define HAVE_DUP3 1
  25147. | #define HAVE_EACCESS 1
  25148. | #define HAVE_ENDGRENT 1
  25149. | #define HAVE_FCHMOD 1
  25150. | #define HAVE_FCHOWN 1
  25151. | #define HAVE_FCNTL 1
  25152. | #define HAVE_FDATASYNC 1
  25153. | #define HAVE_FMOD 1
  25154. | #define HAVE_FSYNC 1
  25155. | #define HAVE_FTRUNCATE 1
  25156. | #define HAVE_FTRUNCATE64 1
  25157. | #define HAVE_GETCWD 1
  25158. | #define HAVE_GETGRNAM 1
  25159. | #define HAVE_GETGRNAM_R 1
  25160. | #define HAVE_GETGROUPS 1
  25161. | #define HAVE_GETPGID 1
  25162. | #define HAVE_GETPGRP 1
  25163. | #define HAVE_GETPRIORITY 1
  25164. | #define HAVE_GETPWNAM_R 1
  25165. | #define HAVE_GETRESGID 1
  25166. | #define HAVE_GETRESUID 1
  25167. | #define HAVE_GETRLIMIT 1
  25168. | #define HAVE_GETSID 1
  25169. | #define HAVE_GETTIMEOFDAY 1
  25170. | #define HAVE_GMTIME_R 1
  25171. | #define HAVE_INITGROUPS 1
  25172. | #define HAVE_IOCTL 1
  25173. | #define HAVE_KILLPG 1
  25174. | #define HAVE_LCHOWN 1
  25175. | #define HAVE_LINK 1
  25176. | #define HAVE_LLABS 1
  25177. | #define HAVE_LOCKF 1
  25178. | #define HAVE_LOG2 1
  25179. | #define HAVE_LSTAT 1
  25180. | #define HAVE_MALLOC_USABLE_SIZE 1
  25181. | #define HAVE_MBLEN 1
  25182. | #define HAVE_MEMALIGN 1
  25183. | #define HAVE_WRITEV 1
  25184. | #define HAVE_MEMRCHR 1
  25185. | #define HAVE_MEMMEM 1
  25186. | #define HAVE_MKFIFO 1
  25187. | #define HAVE_MKNOD 1
  25188. | #define HAVE_MKTIME 1
  25189. | #define HAVE_PIPE2 1
  25190. | #define HAVE_POLL 1
  25191. | #define HAVE_POSIX_FADVISE 1
  25192. | #define HAVE_POSIX_MEMALIGN 1
  25193. | #define HAVE_PPOLL 1
  25194. | #define HAVE_PREAD 1
  25195. | #define HAVE_QSORT_R 1
  25196. | #define HAVE_READLINK 1
  25197. | #define HAVE_ROUND 1
  25198. | #define HAVE_SCHED_GETAFFINITY 1
  25199. | #define HAVE_SEEKDIR 1
  25200. | #define HAVE_SENDFILE 1
  25201. | #define HAVE_SETEGID 1
  25202. | #define HAVE_SETENV 1
  25203. | #define HAVE_SETEUID 1
  25204. | #define HAVE_SETGID 1
  25205. | #define HAVE_SETGROUPS 1
  25206. | #define HAVE_SETPGID 1
  25207. | #define HAVE_SETPGRP 1
  25208. | #define HAVE_SETREGID 1
  25209. | #define HAVE_SETRESGID 1
  25210. | #define HAVE_SETRESUID 1
  25211. | #define HAVE_SETREUID 1
  25212. | #define HAVE_SETRLIMIT 1
  25213. | #define HAVE_SETSID 1
  25214. | #define HAVE_SETUID 1
  25215. | #define HAVE_SHUTDOWN 1
  25216. | #define HAVE_SIGACTION 1
  25217. | #define HAVE_SIGALTSTACK 1
  25218. | #define HAVE_SIGPROCMASK 1
  25219. | #define HAVE_SINH 1
  25220. | #define HAVE_SYMLINK 1
  25221. | #define HAVE_SYSCALL 1
  25222. | #define HAVE_SYSCONF 1
  25223. | #define HAVE_TANH 1
  25224. | #define HAVE_TELLDIR 1
  25225. | #define HAVE_TIMEGM 1
  25226. | #define HAVE_TIMES 1
  25227. | #define HAVE_TRUNCATE 1
  25228. | #define HAVE_TRUNCATE64 1
  25229. | #define HAVE_UNSETENV 1
  25230. | #define HAVE_UTIMENSAT 1
  25231. | #define HAVE_UTIMES 1
  25232. | #define HAVE_WAIT4 1
  25233. | #define HAVE_WAITPID 1
  25234. | #define HAVE_BUILTIN___BUILTIN_BSWAP16 1
  25235. | #define HAVE_BUILTIN___BUILTIN_BSWAP32 1
  25236. | #define HAVE_BUILTIN___BUILTIN_BSWAP64 1
  25237. | #define HAVE_BUILTIN___BUILTIN_CLZ 1
  25238. | #define HAVE_BUILTIN___BUILTIN_CLZL 1
  25239. | #define HAVE_BUILTIN___BUILTIN_CLZLL 1
  25240. | #define HAVE_BUILTIN___BUILTIN_CHOOSE_EXPR 1
  25241. | #define HAVE_BUILTIN___BUILTIN_CHOOSE_EXPR_CONSTANT_P 1
  25242. | #define HAVE_BUILTIN___BUILTIN_TYPES_COMPATIBLE_P 1
  25243. | #define HAVE_GNU_QSORT_R 1
  25244. | #define ATAN2_INF_C99 1
  25245. | #define HAVE_CLOCK_GETRES 1
  25246. | #define HAVE_STRUCT_TM_TM_ZONE 1
  25247. | #define HAVE_TM_ZONE 1
  25248. | #define HAVE_STRUCT_TM_TM_GMTOFF 1
  25249. | #define HAVE_DAYLIGHT 1
  25250. | #define HAVE_VAR_TIMEZONE 1
  25251. | #define TYPEOF_VAR_TIMEZONE long
  25252. | #define HAVE_TIMEZONE 1
  25253. | #define TIMEZONE_VOID 1
  25254. | #define NEGATIVE_TIME_T 1
  25255. | #define POSIX_SIGNAL 1
  25256. | #define RSHIFT(x,y) ((x)>>(int)(y))
  25257. | #define HAVE__SC_CLK_TCK 1
  25258. | #define STACK_GROW_DIRECTION -1
  25259. | #define _REENTRANT 1
  25260. | #define _THREAD_SAFE 1
  25261. | #define HAVE_LIBPTHREAD 1
  25262. | #define HAVE_SCHED_YIELD 1
  25263. | #define HAVE_PTHREAD_ATTR_SETINHERITSCHED 1
  25264. | #define HAVE_PTHREAD_ATTR_GETSTACK 1
  25265. | /* end confdefs.h. */
  25266. | /* Define thr_stksegment to an innocuous variant, in case <limits.h> declares thr_stksegment.
  25267. | For example, HP-UX 11i <limits.h> declares gettimeofday. */
  25268. | #define thr_stksegment innocuous_thr_stksegment
  25269. |
  25270. | /* System header to define __stub macros and hopefully few prototypes,
  25271. | which can conflict with char thr_stksegment (); below.
  25272. | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  25273. | <limits.h> exists even on freestanding compilers. */
  25274. |
  25275. | #ifdef __STDC__
  25276. | # include <limits.h>
  25277. | #else
  25278. | # include <assert.h>
  25279. | #endif
  25280. |
  25281. | #undef thr_stksegment
  25282. |
  25283. | /* Override any GCC internal prototype to avoid an error.
  25284. | Use char because int might match the return type of a GCC
  25285. | builtin and then its argument prototype would still apply. */
  25286. | #ifdef __cplusplus
  25287. | extern "C"
  25288. | #endif
  25289. | char thr_stksegment ();
  25290. | /* The GNU C library defines this for functions which it implements
  25291. | to always fail with ENOSYS. Some functions are actually named
  25292. | something starting with __ and the normal name is an alias. */
  25293. | #if defined __stub_thr_stksegment || defined __stub___thr_stksegment
  25294. | choke me
  25295. | #endif
  25296. |
  25297. | int
  25298. | main ()
  25299. | {
  25300. | return thr_stksegment ();
  25301. | ;
  25302. | return 0;
  25303. | }
  25304. configure:21824: result: no
  25305. configure:21824: checking for pthread_stackseg_np
  25306. configure:21824: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lpthread -lgmp -ldl -lcrypt -lm >&5
  25307. /tmp/ccnAYCUf.o: In function `main':
  25308. /usr/share/rvm/src/ruby-2.3.0/conftest.c:390: undefined reference to `pthread_stackseg_np'
  25309. collect2: error: ld returned 1 exit status
  25310. configure:21824: $? = 1
  25311. configure: failed program was:
  25312. | /* confdefs.h */
  25313. | #define PACKAGE_NAME ""
  25314. | #define PACKAGE_TARNAME ""
  25315. | #define PACKAGE_VERSION ""
  25316. | #define PACKAGE_STRING ""
  25317. | #define PACKAGE_BUGREPORT ""
  25318. | #define PACKAGE_URL ""
  25319. | #define CANONICALIZATION_FOR_MATHN 1
  25320. | #define STDC_HEADERS 1
  25321. | #define HAVE_SYS_TYPES_H 1
  25322. | #define HAVE_SYS_STAT_H 1
  25323. | #define HAVE_STDLIB_H 1
  25324. | #define HAVE_STRING_H 1
  25325. | #define HAVE_MEMORY_H 1
  25326. | #define HAVE_STRINGS_H 1
  25327. | #define HAVE_INTTYPES_H 1
  25328. | #define HAVE_STDINT_H 1
  25329. | #define HAVE_UNISTD_H 1
  25330. | #define __EXTENSIONS__ 1
  25331. | #define _ALL_SOURCE 1
  25332. | #define _GNU_SOURCE 1
  25333. | #define _POSIX_PTHREAD_SEMANTICS 1
  25334. | #define _TANDEM_SOURCE 1
  25335. | #define HAVE_INFINITY 1
  25336. | #define HAVE_NAN 1
  25337. | #define RUBY_SYMBOL_EXPORT_BEGIN _Pragma("GCC visibility push(default)")
  25338. | #define RUBY_SYMBOL_EXPORT_END _Pragma("GCC visibility pop")
  25339. | #define HAVE_LIBCRYPT 1
  25340. | #define HAVE_LIBDL 1
  25341. | #define HAVE_DIRENT_H 1
  25342. | #define HAVE__BOOL 1
  25343. | #define HAVE_STDBOOL_H 1
  25344. | #define HAVE_SYS_WAIT_H 1
  25345. | #define HAVE_A_OUT_H 1
  25346. | #define HAVE_GRP_H 1
  25347. | #define HAVE_FCNTL_H 1
  25348. | #define HAVE_FLOAT_H 1
  25349. | #define HAVE_LANGINFO_H 1
  25350. | #define HAVE_LIMITS_H 1
  25351. | #define HAVE_LOCALE_H 1
  25352. | #define HAVE_MALLOC_H 1
  25353. | #define HAVE_PWD_H 1
  25354. | #define HAVE_SYS_FCNTL_H 1
  25355. | #define HAVE_SYS_FILE_H 1
  25356. | #define HAVE_SYS_IOCTL_H 1
  25357. | #define HAVE_SYS_PARAM_H 1
  25358. | #define HAVE_SYS_PRCTL_H 1
  25359. | #define HAVE_SYS_RESOURCE_H 1
  25360. | #define HAVE_SYS_SELECT_H 1
  25361. | #define HAVE_SYS_SENDFILE_H 1
  25362. | #define HAVE_SYS_SOCKET_H 1
  25363. | #define HAVE_SYS_SYSCALL_H 1
  25364. | #define HAVE_SYS_TIME_H 1
  25365. | #define HAVE_SYS_TIMES_H 1
  25366. | #define HAVE_SYS_UIO_H 1
  25367. | #define HAVE_SYSCALL_H 1
  25368. | #define HAVE_TIME_H 1
  25369. | #define HAVE_UCONTEXT_H 1
  25370. | #define HAVE_UTIME_H 1
  25371. | #define HAVE_GMP_H 1
  25372. | #define HAVE_LIBGMP 1
  25373. | #define HAVE_TYPEOF 1
  25374. | #define typeof __typeof__
  25375. | #define HAVE_LONG_LONG 1
  25376. | #define HAVE_OFF_T 1
  25377. | #define SIZEOF_INT 4
  25378. | #define SIZEOF_SHORT 2
  25379. | #define SIZEOF_LONG 8
  25380. | #define SIZEOF_LONG_LONG 8
  25381. | #define SIZEOF___INT64 0
  25382. | #define SIZEOF_OFF_T 8
  25383. | #define SIZEOF_VOIDP 8
  25384. | #define SIZEOF_FLOAT 4
  25385. | #define SIZEOF_DOUBLE 8
  25386. | #define SIZEOF_TIME_T 8
  25387. | #define SIZEOF_CLOCK_T 8
  25388. | #define PACKED_STRUCT(x) x __attribute__((packed))
  25389. | #define PACKED_STRUCT_UNALIGNED(x) x
  25390. | #define PRI_LL_PREFIX "ll"
  25391. | #define rb_pid_t pid_t
  25392. | #define SIGNEDNESS_OF_PID_T -1
  25393. | #define PIDT2NUM(v) INT2NUM(v)
  25394. | #define NUM2PIDT(v) NUM2INT(v)
  25395. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  25396. | #define rb_uid_t uid_t
  25397. | #define SIGNEDNESS_OF_UID_T +1
  25398. | #define UIDT2NUM(v) UINT2NUM(v)
  25399. | #define NUM2UIDT(v) NUM2UINT(v)
  25400. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  25401. | #define rb_gid_t gid_t
  25402. | #define SIGNEDNESS_OF_GID_T +1
  25403. | #define GIDT2NUM(v) UINT2NUM(v)
  25404. | #define NUM2GIDT(v) NUM2UINT(v)
  25405. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  25406. | #define rb_time_t time_t
  25407. | #define SIGNEDNESS_OF_TIME_T -1
  25408. | #define TIMET2NUM(v) LONG2NUM(v)
  25409. | #define NUM2TIMET(v) NUM2LONG(v)
  25410. | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
  25411. | #define rb_dev_t dev_t
  25412. | #define SIGNEDNESS_OF_DEV_T +1
  25413. | #define DEVT2NUM(v) ULONG2NUM(v)
  25414. | #define NUM2DEVT(v) NUM2ULONG(v)
  25415. | #define PRI_DEVT_PREFIX PRI_LONG_PREFIX
  25416. | #define rb_mode_t mode_t
  25417. | #define SIGNEDNESS_OF_MODE_T +1
  25418. | #define MODET2NUM(v) UINT2NUM(v)
  25419. | #define NUM2MODET(v) NUM2UINT(v)
  25420. | #define PRI_MODET_PREFIX PRI_INT_PREFIX
  25421. | #define rb_rlim_t rlim_t
  25422. | #define SIGNEDNESS_OF_RLIM_T +1
  25423. | #define RLIM2NUM(v) ULONG2NUM(v)
  25424. | #define NUM2RLIM(v) NUM2ULONG(v)
  25425. | #define PRI_RLIM_PREFIX PRI_LONG_PREFIX
  25426. | #define rb_off_t off_t
  25427. | #define SIGNEDNESS_OF_OFF_T -1
  25428. | #define OFFT2NUM(v) LONG2NUM(v)
  25429. | #define NUM2OFFT(v) NUM2LONG(v)
  25430. | #define PRI_OFFT_PREFIX PRI_LONG_PREFIX
  25431. | #define rb_clockid_t clockid_t
  25432. | #define SIGNEDNESS_OF_CLOCKID_T -1
  25433. | #define CLOCKID2NUM(v) INT2NUM(v)
  25434. | #define NUM2CLOCKID(v) NUM2INT(v)
  25435. | #define PRI_CLOCKID_PREFIX PRI_INT_PREFIX
  25436. | #define HAVE_PROTOTYPES 1
  25437. | #define TOKEN_PASTE(x,y) x##y
  25438. | #define STRINGIZE(expr) STRINGIZE0(expr)
  25439. | #define HAVE_STDARG_PROTOTYPES 1
  25440. | #define HAVE_VA_ARGS_MACRO 1
  25441. | #define NORETURN(x) __attribute__ ((noreturn)) x
  25442. | #define DEPRECATED(x) __attribute__ ((deprecated)) x
  25443. | #define DEPRECATED_BY(n,x) __attribute__ ((deprecated("by "#n))) x
  25444. | #define DEPRECATED_TYPE(mesg,x) __attribute__ ((deprecated mesg)) x
  25445. | #define NOINLINE(x) __attribute__ ((noinline)) x
  25446. | #define WEAK(x) __attribute__ ((weak)) x
  25447. | #define HAVE_FUNC_WEAK 1
  25448. | #define FUNC_UNOPTIMIZED(x) __attribute__ ((optimize("O0"))) x
  25449. | #define FUNC_MINIMIZED(x) __attribute__ ((optimize("-Os","-fomit-frame-pointer"))) x
  25450. | #define HAVE_ATTRIBUTE_FUNCTION_ALIAS 1
  25451. | #define RUBY_ALIAS_FUNCTION_TYPE(type, prot, name, args) type prot __attribute__((alias(#name)));
  25452. | #define RUBY_ALIAS_FUNCTION_VOID(prot, name, args) RUBY_ALIAS_FUNCTION_TYPE(void, prot, name, args)
  25453. | #define HAVE_GCC_ATOMIC_BUILTINS 1
  25454. | #define HAVE_GCC_SYNC_BUILTINS 1
  25455. | #define UNREACHABLE __builtin_unreachable()
  25456. | #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
  25457. | #define RUBY_FUNCTION_NAME_STRING __func__
  25458. | #define ENUM_OVER_INT 1
  25459. | #define HAVE_DECL_SYS_NERR 1
  25460. | #define HAVE_DECL_GETENV 1
  25461. | #define SIZEOF_SIZE_T 8
  25462. | #define SIZEOF_PTRDIFF_T 8
  25463. | #define PRI_SIZE_PREFIX "z"
  25464. | #define PRI_PTRDIFF_PREFIX "t"
  25465. | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
  25466. | #define HAVE_ST_BLKSIZE 1
  25467. | #define HAVE_STRUCT_STAT_ST_BLOCKS 1
  25468. | #define HAVE_ST_BLOCKS 1
  25469. | #define HAVE_STRUCT_STAT_ST_RDEV 1
  25470. | #define HAVE_ST_RDEV 1
  25471. | #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_OFF_T
  25472. | #define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_OFF_T
  25473. | #define SIZEOF_STRUCT_STAT_ST_INO SIZEOF_LONG
  25474. | #define HAVE_STRUCT_STAT_ST_ATIM 1
  25475. | #define HAVE_STRUCT_STAT_ST_MTIM 1
  25476. | #define HAVE_STRUCT_STAT_ST_CTIM 1
  25477. | #define HAVE_STRUCT_TIMEVAL 1
  25478. | #define SIZEOF_STRUCT_TIMEVAL_TV_SEC SIZEOF_TIME_T
  25479. | #define HAVE_STRUCT_TIMESPEC 1
  25480. | #define HAVE_STRUCT_TIMEZONE 1
  25481. | #define HAVE_CLOCKID_T 1
  25482. | #define HAVE_RB_FD_INIT 1
  25483. | #define HAVE_INT8_T 1
  25484. | #define SIZEOF_INT8_T 1
  25485. | #define HAVE_UINT8_T 1
  25486. | #define SIZEOF_UINT8_T 1
  25487. | #define HAVE_INT16_T 1
  25488. | #define SIZEOF_INT16_T 2
  25489. | #define HAVE_UINT16_T 1
  25490. | #define SIZEOF_UINT16_T 2
  25491. | #define HAVE_INT32_T 1
  25492. | #define SIZEOF_INT32_T 4
  25493. | #define HAVE_UINT32_T 1
  25494. | #define SIZEOF_UINT32_T 4
  25495. | #define HAVE_INT64_T 1
  25496. | #define SIZEOF_INT64_T 8
  25497. | #define HAVE_UINT64_T 1
  25498. | #define SIZEOF_UINT64_T 8
  25499. | #define HAVE_INTPTR_T 1
  25500. | #define SIZEOF_INTPTR_T 8
  25501. | #define HAVE_UINTPTR_T 1
  25502. | #define SIZEOF_UINTPTR_T 8
  25503. | #define HAVE_SSIZE_T 1
  25504. | #define SIZEOF_SSIZE_T 8
  25505. | #define STACK_END_ADDRESS __libc_stack_end
  25506. | #define GETGROUPS_T gid_t
  25507. | #define RETSIGTYPE void
  25508. | #define HAVE_ALLOCA_H 1
  25509. | #define HAVE_ALLOCA 1
  25510. | #define HAVE_ACOSH 1
  25511. | #define HAVE_CBRT 1
  25512. | #define HAVE_CRYPT 1
  25513. | #define HAVE_DUP2 1
  25514. | #define HAVE_ERF 1
  25515. | #define HAVE_EXPLICIT_BZERO 1
  25516. | #define HAVE_FFS 1
  25517. | #define HAVE_FINITE 1
  25518. | #define HAVE_FLOCK 1
  25519. | #define HAVE_HYPOT 1
  25520. | #define HAVE_ISINF 1
  25521. | #define HAVE_ISNAN 1
  25522. | #define HAVE_LGAMMA_R 1
  25523. | #define HAVE_MEMMOVE 1
  25524. | #define HAVE_NEXTAFTER 1
  25525. | #define HAVE_STRCHR 1
  25526. | #define HAVE_STRERROR 1
  25527. | #define HAVE_STRSTR 1
  25528. | #define HAVE_TGAMMA 1
  25529. | #define SPT_TYPE SPT_REUSEARGV
  25530. | #define HAVE_SIGNBIT 1
  25531. | #define HAVE_FORK 1
  25532. | #define HAVE_VFORK 1
  25533. | #define HAVE_WORKING_VFORK 1
  25534. | #define HAVE_WORKING_FORK 1
  25535. | #define HAVE__LONGJMP 1
  25536. | #define HAVE__SETJMP 1
  25537. | #define HAVE_ATAN2L 1
  25538. | #define HAVE_ATAN2F 1
  25539. | #define HAVE_CHROOT 1
  25540. | #define HAVE_CLOCK_GETTIME 1
  25541. | #define HAVE_COSH 1
  25542. | #define HAVE_DIRFD 1
  25543. | #define HAVE_DL_ITERATE_PHDR 1
  25544. | #define HAVE_DLOPEN 1
  25545. | #define HAVE_DLADDR 1
  25546. | #define HAVE_DUP 1
  25547. | #define HAVE_DUP3 1
  25548. | #define HAVE_EACCESS 1
  25549. | #define HAVE_ENDGRENT 1
  25550. | #define HAVE_FCHMOD 1
  25551. | #define HAVE_FCHOWN 1
  25552. | #define HAVE_FCNTL 1
  25553. | #define HAVE_FDATASYNC 1
  25554. | #define HAVE_FMOD 1
  25555. | #define HAVE_FSYNC 1
  25556. | #define HAVE_FTRUNCATE 1
  25557. | #define HAVE_FTRUNCATE64 1
  25558. | #define HAVE_GETCWD 1
  25559. | #define HAVE_GETGRNAM 1
  25560. | #define HAVE_GETGRNAM_R 1
  25561. | #define HAVE_GETGROUPS 1
  25562. | #define HAVE_GETPGID 1
  25563. | #define HAVE_GETPGRP 1
  25564. | #define HAVE_GETPRIORITY 1
  25565. | #define HAVE_GETPWNAM_R 1
  25566. | #define HAVE_GETRESGID 1
  25567. | #define HAVE_GETRESUID 1
  25568. | #define HAVE_GETRLIMIT 1
  25569. | #define HAVE_GETSID 1
  25570. | #define HAVE_GETTIMEOFDAY 1
  25571. | #define HAVE_GMTIME_R 1
  25572. | #define HAVE_INITGROUPS 1
  25573. | #define HAVE_IOCTL 1
  25574. | #define HAVE_KILLPG 1
  25575. | #define HAVE_LCHOWN 1
  25576. | #define HAVE_LINK 1
  25577. | #define HAVE_LLABS 1
  25578. | #define HAVE_LOCKF 1
  25579. | #define HAVE_LOG2 1
  25580. | #define HAVE_LSTAT 1
  25581. | #define HAVE_MALLOC_USABLE_SIZE 1
  25582. | #define HAVE_MBLEN 1
  25583. | #define HAVE_MEMALIGN 1
  25584. | #define HAVE_WRITEV 1
  25585. | #define HAVE_MEMRCHR 1
  25586. | #define HAVE_MEMMEM 1
  25587. | #define HAVE_MKFIFO 1
  25588. | #define HAVE_MKNOD 1
  25589. | #define HAVE_MKTIME 1
  25590. | #define HAVE_PIPE2 1
  25591. | #define HAVE_POLL 1
  25592. | #define HAVE_POSIX_FADVISE 1
  25593. | #define HAVE_POSIX_MEMALIGN 1
  25594. | #define HAVE_PPOLL 1
  25595. | #define HAVE_PREAD 1
  25596. | #define HAVE_QSORT_R 1
  25597. | #define HAVE_READLINK 1
  25598. | #define HAVE_ROUND 1
  25599. | #define HAVE_SCHED_GETAFFINITY 1
  25600. | #define HAVE_SEEKDIR 1
  25601. | #define HAVE_SENDFILE 1
  25602. | #define HAVE_SETEGID 1
  25603. | #define HAVE_SETENV 1
  25604. | #define HAVE_SETEUID 1
  25605. | #define HAVE_SETGID 1
  25606. | #define HAVE_SETGROUPS 1
  25607. | #define HAVE_SETPGID 1
  25608. | #define HAVE_SETPGRP 1
  25609. | #define HAVE_SETREGID 1
  25610. | #define HAVE_SETRESGID 1
  25611. | #define HAVE_SETRESUID 1
  25612. | #define HAVE_SETREUID 1
  25613. | #define HAVE_SETRLIMIT 1
  25614. | #define HAVE_SETSID 1
  25615. | #define HAVE_SETUID 1
  25616. | #define HAVE_SHUTDOWN 1
  25617. | #define HAVE_SIGACTION 1
  25618. | #define HAVE_SIGALTSTACK 1
  25619. | #define HAVE_SIGPROCMASK 1
  25620. | #define HAVE_SINH 1
  25621. | #define HAVE_SYMLINK 1
  25622. | #define HAVE_SYSCALL 1
  25623. | #define HAVE_SYSCONF 1
  25624. | #define HAVE_TANH 1
  25625. | #define HAVE_TELLDIR 1
  25626. | #define HAVE_TIMEGM 1
  25627. | #define HAVE_TIMES 1
  25628. | #define HAVE_TRUNCATE 1
  25629. | #define HAVE_TRUNCATE64 1
  25630. | #define HAVE_UNSETENV 1
  25631. | #define HAVE_UTIMENSAT 1
  25632. | #define HAVE_UTIMES 1
  25633. | #define HAVE_WAIT4 1
  25634. | #define HAVE_WAITPID 1
  25635. | #define HAVE_BUILTIN___BUILTIN_BSWAP16 1
  25636. | #define HAVE_BUILTIN___BUILTIN_BSWAP32 1
  25637. | #define HAVE_BUILTIN___BUILTIN_BSWAP64 1
  25638. | #define HAVE_BUILTIN___BUILTIN_CLZ 1
  25639. | #define HAVE_BUILTIN___BUILTIN_CLZL 1
  25640. | #define HAVE_BUILTIN___BUILTIN_CLZLL 1
  25641. | #define HAVE_BUILTIN___BUILTIN_CHOOSE_EXPR 1
  25642. | #define HAVE_BUILTIN___BUILTIN_CHOOSE_EXPR_CONSTANT_P 1
  25643. | #define HAVE_BUILTIN___BUILTIN_TYPES_COMPATIBLE_P 1
  25644. | #define HAVE_GNU_QSORT_R 1
  25645. | #define ATAN2_INF_C99 1
  25646. | #define HAVE_CLOCK_GETRES 1
  25647. | #define HAVE_STRUCT_TM_TM_ZONE 1
  25648. | #define HAVE_TM_ZONE 1
  25649. | #define HAVE_STRUCT_TM_TM_GMTOFF 1
  25650. | #define HAVE_DAYLIGHT 1
  25651. | #define HAVE_VAR_TIMEZONE 1
  25652. | #define TYPEOF_VAR_TIMEZONE long
  25653. | #define HAVE_TIMEZONE 1
  25654. | #define TIMEZONE_VOID 1
  25655. | #define NEGATIVE_TIME_T 1
  25656. | #define POSIX_SIGNAL 1
  25657. | #define RSHIFT(x,y) ((x)>>(int)(y))
  25658. | #define HAVE__SC_CLK_TCK 1
  25659. | #define STACK_GROW_DIRECTION -1
  25660. | #define _REENTRANT 1
  25661. | #define _THREAD_SAFE 1
  25662. | #define HAVE_LIBPTHREAD 1
  25663. | #define HAVE_SCHED_YIELD 1
  25664. | #define HAVE_PTHREAD_ATTR_SETINHERITSCHED 1
  25665. | #define HAVE_PTHREAD_ATTR_GETSTACK 1
  25666. | /* end confdefs.h. */
  25667. | /* Define pthread_stackseg_np to an innocuous variant, in case <limits.h> declares pthread_stackseg_np.
  25668. | For example, HP-UX 11i <limits.h> declares gettimeofday. */
  25669. | #define pthread_stackseg_np innocuous_pthread_stackseg_np
  25670. |
  25671. | /* System header to define __stub macros and hopefully few prototypes,
  25672. | which can conflict with char pthread_stackseg_np (); below.
  25673. | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  25674. | <limits.h> exists even on freestanding compilers. */
  25675. |
  25676. | #ifdef __STDC__
  25677. | # include <limits.h>
  25678. | #else
  25679. | # include <assert.h>
  25680. | #endif
  25681. |
  25682. | #undef pthread_stackseg_np
  25683. |
  25684. | /* Override any GCC internal prototype to avoid an error.
  25685. | Use char because int might match the return type of a GCC
  25686. | builtin and then its argument prototype would still apply. */
  25687. | #ifdef __cplusplus
  25688. | extern "C"
  25689. | #endif
  25690. | char pthread_stackseg_np ();
  25691. | /* The GNU C library defines this for functions which it implements
  25692. | to always fail with ENOSYS. Some functions are actually named
  25693. | something starting with __ and the normal name is an alias. */
  25694. | #if defined __stub_pthread_stackseg_np || defined __stub___pthread_stackseg_np
  25695. | choke me
  25696. | #endif
  25697. |
  25698. | int
  25699. | main ()
  25700. | {
  25701. | return pthread_stackseg_np ();
  25702. | ;
  25703. | return 0;
  25704. | }
  25705. configure:21824: result: no
  25706. configure:21824: checking for pthread_getthrds_np
  25707. configure:21824: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lpthread -lgmp -ldl -lcrypt -lm >&5
  25708. /tmp/ccmYXYTj.o: In function `main':
  25709. /usr/share/rvm/src/ruby-2.3.0/conftest.c:390: undefined reference to `pthread_getthrds_np'
  25710. collect2: error: ld returned 1 exit status
  25711. configure:21824: $? = 1
  25712. configure: failed program was:
  25713. | /* confdefs.h */
  25714. | #define PACKAGE_NAME ""
  25715. | #define PACKAGE_TARNAME ""
  25716. | #define PACKAGE_VERSION ""
  25717. | #define PACKAGE_STRING ""
  25718. | #define PACKAGE_BUGREPORT ""
  25719. | #define PACKAGE_URL ""
  25720. | #define CANONICALIZATION_FOR_MATHN 1
  25721. | #define STDC_HEADERS 1
  25722. | #define HAVE_SYS_TYPES_H 1
  25723. | #define HAVE_SYS_STAT_H 1
  25724. | #define HAVE_STDLIB_H 1
  25725. | #define HAVE_STRING_H 1
  25726. | #define HAVE_MEMORY_H 1
  25727. | #define HAVE_STRINGS_H 1
  25728. | #define HAVE_INTTYPES_H 1
  25729. | #define HAVE_STDINT_H 1
  25730. | #define HAVE_UNISTD_H 1
  25731. | #define __EXTENSIONS__ 1
  25732. | #define _ALL_SOURCE 1
  25733. | #define _GNU_SOURCE 1
  25734. | #define _POSIX_PTHREAD_SEMANTICS 1
  25735. | #define _TANDEM_SOURCE 1
  25736. | #define HAVE_INFINITY 1
  25737. | #define HAVE_NAN 1
  25738. | #define RUBY_SYMBOL_EXPORT_BEGIN _Pragma("GCC visibility push(default)")
  25739. | #define RUBY_SYMBOL_EXPORT_END _Pragma("GCC visibility pop")
  25740. | #define HAVE_LIBCRYPT 1
  25741. | #define HAVE_LIBDL 1
  25742. | #define HAVE_DIRENT_H 1
  25743. | #define HAVE__BOOL 1
  25744. | #define HAVE_STDBOOL_H 1
  25745. | #define HAVE_SYS_WAIT_H 1
  25746. | #define HAVE_A_OUT_H 1
  25747. | #define HAVE_GRP_H 1
  25748. | #define HAVE_FCNTL_H 1
  25749. | #define HAVE_FLOAT_H 1
  25750. | #define HAVE_LANGINFO_H 1
  25751. | #define HAVE_LIMITS_H 1
  25752. | #define HAVE_LOCALE_H 1
  25753. | #define HAVE_MALLOC_H 1
  25754. | #define HAVE_PWD_H 1
  25755. | #define HAVE_SYS_FCNTL_H 1
  25756. | #define HAVE_SYS_FILE_H 1
  25757. | #define HAVE_SYS_IOCTL_H 1
  25758. | #define HAVE_SYS_PARAM_H 1
  25759. | #define HAVE_SYS_PRCTL_H 1
  25760. | #define HAVE_SYS_RESOURCE_H 1
  25761. | #define HAVE_SYS_SELECT_H 1
  25762. | #define HAVE_SYS_SENDFILE_H 1
  25763. | #define HAVE_SYS_SOCKET_H 1
  25764. | #define HAVE_SYS_SYSCALL_H 1
  25765. | #define HAVE_SYS_TIME_H 1
  25766. | #define HAVE_SYS_TIMES_H 1
  25767. | #define HAVE_SYS_UIO_H 1
  25768. | #define HAVE_SYSCALL_H 1
  25769. | #define HAVE_TIME_H 1
  25770. | #define HAVE_UCONTEXT_H 1
  25771. | #define HAVE_UTIME_H 1
  25772. | #define HAVE_GMP_H 1
  25773. | #define HAVE_LIBGMP 1
  25774. | #define HAVE_TYPEOF 1
  25775. | #define typeof __typeof__
  25776. | #define HAVE_LONG_LONG 1
  25777. | #define HAVE_OFF_T 1
  25778. | #define SIZEOF_INT 4
  25779. | #define SIZEOF_SHORT 2
  25780. | #define SIZEOF_LONG 8
  25781. | #define SIZEOF_LONG_LONG 8
  25782. | #define SIZEOF___INT64 0
  25783. | #define SIZEOF_OFF_T 8
  25784. | #define SIZEOF_VOIDP 8
  25785. | #define SIZEOF_FLOAT 4
  25786. | #define SIZEOF_DOUBLE 8
  25787. | #define SIZEOF_TIME_T 8
  25788. | #define SIZEOF_CLOCK_T 8
  25789. | #define PACKED_STRUCT(x) x __attribute__((packed))
  25790. | #define PACKED_STRUCT_UNALIGNED(x) x
  25791. | #define PRI_LL_PREFIX "ll"
  25792. | #define rb_pid_t pid_t
  25793. | #define SIGNEDNESS_OF_PID_T -1
  25794. | #define PIDT2NUM(v) INT2NUM(v)
  25795. | #define NUM2PIDT(v) NUM2INT(v)
  25796. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  25797. | #define rb_uid_t uid_t
  25798. | #define SIGNEDNESS_OF_UID_T +1
  25799. | #define UIDT2NUM(v) UINT2NUM(v)
  25800. | #define NUM2UIDT(v) NUM2UINT(v)
  25801. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  25802. | #define rb_gid_t gid_t
  25803. | #define SIGNEDNESS_OF_GID_T +1
  25804. | #define GIDT2NUM(v) UINT2NUM(v)
  25805. | #define NUM2GIDT(v) NUM2UINT(v)
  25806. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  25807. | #define rb_time_t time_t
  25808. | #define SIGNEDNESS_OF_TIME_T -1
  25809. | #define TIMET2NUM(v) LONG2NUM(v)
  25810. | #define NUM2TIMET(v) NUM2LONG(v)
  25811. | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
  25812. | #define rb_dev_t dev_t
  25813. | #define SIGNEDNESS_OF_DEV_T +1
  25814. | #define DEVT2NUM(v) ULONG2NUM(v)
  25815. | #define NUM2DEVT(v) NUM2ULONG(v)
  25816. | #define PRI_DEVT_PREFIX PRI_LONG_PREFIX
  25817. | #define rb_mode_t mode_t
  25818. | #define SIGNEDNESS_OF_MODE_T +1
  25819. | #define MODET2NUM(v) UINT2NUM(v)
  25820. | #define NUM2MODET(v) NUM2UINT(v)
  25821. | #define PRI_MODET_PREFIX PRI_INT_PREFIX
  25822. | #define rb_rlim_t rlim_t
  25823. | #define SIGNEDNESS_OF_RLIM_T +1
  25824. | #define RLIM2NUM(v) ULONG2NUM(v)
  25825. | #define NUM2RLIM(v) NUM2ULONG(v)
  25826. | #define PRI_RLIM_PREFIX PRI_LONG_PREFIX
  25827. | #define rb_off_t off_t
  25828. | #define SIGNEDNESS_OF_OFF_T -1
  25829. | #define OFFT2NUM(v) LONG2NUM(v)
  25830. | #define NUM2OFFT(v) NUM2LONG(v)
  25831. | #define PRI_OFFT_PREFIX PRI_LONG_PREFIX
  25832. | #define rb_clockid_t clockid_t
  25833. | #define SIGNEDNESS_OF_CLOCKID_T -1
  25834. | #define CLOCKID2NUM(v) INT2NUM(v)
  25835. | #define NUM2CLOCKID(v) NUM2INT(v)
  25836. | #define PRI_CLOCKID_PREFIX PRI_INT_PREFIX
  25837. | #define HAVE_PROTOTYPES 1
  25838. | #define TOKEN_PASTE(x,y) x##y
  25839. | #define STRINGIZE(expr) STRINGIZE0(expr)
  25840. | #define HAVE_STDARG_PROTOTYPES 1
  25841. | #define HAVE_VA_ARGS_MACRO 1
  25842. | #define NORETURN(x) __attribute__ ((noreturn)) x
  25843. | #define DEPRECATED(x) __attribute__ ((deprecated)) x
  25844. | #define DEPRECATED_BY(n,x) __attribute__ ((deprecated("by "#n))) x
  25845. | #define DEPRECATED_TYPE(mesg,x) __attribute__ ((deprecated mesg)) x
  25846. | #define NOINLINE(x) __attribute__ ((noinline)) x
  25847. | #define WEAK(x) __attribute__ ((weak)) x
  25848. | #define HAVE_FUNC_WEAK 1
  25849. | #define FUNC_UNOPTIMIZED(x) __attribute__ ((optimize("O0"))) x
  25850. | #define FUNC_MINIMIZED(x) __attribute__ ((optimize("-Os","-fomit-frame-pointer"))) x
  25851. | #define HAVE_ATTRIBUTE_FUNCTION_ALIAS 1
  25852. | #define RUBY_ALIAS_FUNCTION_TYPE(type, prot, name, args) type prot __attribute__((alias(#name)));
  25853. | #define RUBY_ALIAS_FUNCTION_VOID(prot, name, args) RUBY_ALIAS_FUNCTION_TYPE(void, prot, name, args)
  25854. | #define HAVE_GCC_ATOMIC_BUILTINS 1
  25855. | #define HAVE_GCC_SYNC_BUILTINS 1
  25856. | #define UNREACHABLE __builtin_unreachable()
  25857. | #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
  25858. | #define RUBY_FUNCTION_NAME_STRING __func__
  25859. | #define ENUM_OVER_INT 1
  25860. | #define HAVE_DECL_SYS_NERR 1
  25861. | #define HAVE_DECL_GETENV 1
  25862. | #define SIZEOF_SIZE_T 8
  25863. | #define SIZEOF_PTRDIFF_T 8
  25864. | #define PRI_SIZE_PREFIX "z"
  25865. | #define PRI_PTRDIFF_PREFIX "t"
  25866. | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
  25867. | #define HAVE_ST_BLKSIZE 1
  25868. | #define HAVE_STRUCT_STAT_ST_BLOCKS 1
  25869. | #define HAVE_ST_BLOCKS 1
  25870. | #define HAVE_STRUCT_STAT_ST_RDEV 1
  25871. | #define HAVE_ST_RDEV 1
  25872. | #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_OFF_T
  25873. | #define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_OFF_T
  25874. | #define SIZEOF_STRUCT_STAT_ST_INO SIZEOF_LONG
  25875. | #define HAVE_STRUCT_STAT_ST_ATIM 1
  25876. | #define HAVE_STRUCT_STAT_ST_MTIM 1
  25877. | #define HAVE_STRUCT_STAT_ST_CTIM 1
  25878. | #define HAVE_STRUCT_TIMEVAL 1
  25879. | #define SIZEOF_STRUCT_TIMEVAL_TV_SEC SIZEOF_TIME_T
  25880. | #define HAVE_STRUCT_TIMESPEC 1
  25881. | #define HAVE_STRUCT_TIMEZONE 1
  25882. | #define HAVE_CLOCKID_T 1
  25883. | #define HAVE_RB_FD_INIT 1
  25884. | #define HAVE_INT8_T 1
  25885. | #define SIZEOF_INT8_T 1
  25886. | #define HAVE_UINT8_T 1
  25887. | #define SIZEOF_UINT8_T 1
  25888. | #define HAVE_INT16_T 1
  25889. | #define SIZEOF_INT16_T 2
  25890. | #define HAVE_UINT16_T 1
  25891. | #define SIZEOF_UINT16_T 2
  25892. | #define HAVE_INT32_T 1
  25893. | #define SIZEOF_INT32_T 4
  25894. | #define HAVE_UINT32_T 1
  25895. | #define SIZEOF_UINT32_T 4
  25896. | #define HAVE_INT64_T 1
  25897. | #define SIZEOF_INT64_T 8
  25898. | #define HAVE_UINT64_T 1
  25899. | #define SIZEOF_UINT64_T 8
  25900. | #define HAVE_INTPTR_T 1
  25901. | #define SIZEOF_INTPTR_T 8
  25902. | #define HAVE_UINTPTR_T 1
  25903. | #define SIZEOF_UINTPTR_T 8
  25904. | #define HAVE_SSIZE_T 1
  25905. | #define SIZEOF_SSIZE_T 8
  25906. | #define STACK_END_ADDRESS __libc_stack_end
  25907. | #define GETGROUPS_T gid_t
  25908. | #define RETSIGTYPE void
  25909. | #define HAVE_ALLOCA_H 1
  25910. | #define HAVE_ALLOCA 1
  25911. | #define HAVE_ACOSH 1
  25912. | #define HAVE_CBRT 1
  25913. | #define HAVE_CRYPT 1
  25914. | #define HAVE_DUP2 1
  25915. | #define HAVE_ERF 1
  25916. | #define HAVE_EXPLICIT_BZERO 1
  25917. | #define HAVE_FFS 1
  25918. | #define HAVE_FINITE 1
  25919. | #define HAVE_FLOCK 1
  25920. | #define HAVE_HYPOT 1
  25921. | #define HAVE_ISINF 1
  25922. | #define HAVE_ISNAN 1
  25923. | #define HAVE_LGAMMA_R 1
  25924. | #define HAVE_MEMMOVE 1
  25925. | #define HAVE_NEXTAFTER 1
  25926. | #define HAVE_STRCHR 1
  25927. | #define HAVE_STRERROR 1
  25928. | #define HAVE_STRSTR 1
  25929. | #define HAVE_TGAMMA 1
  25930. | #define SPT_TYPE SPT_REUSEARGV
  25931. | #define HAVE_SIGNBIT 1
  25932. | #define HAVE_FORK 1
  25933. | #define HAVE_VFORK 1
  25934. | #define HAVE_WORKING_VFORK 1
  25935. | #define HAVE_WORKING_FORK 1
  25936. | #define HAVE__LONGJMP 1
  25937. | #define HAVE__SETJMP 1
  25938. | #define HAVE_ATAN2L 1
  25939. | #define HAVE_ATAN2F 1
  25940. | #define HAVE_CHROOT 1
  25941. | #define HAVE_CLOCK_GETTIME 1
  25942. | #define HAVE_COSH 1
  25943. | #define HAVE_DIRFD 1
  25944. | #define HAVE_DL_ITERATE_PHDR 1
  25945. | #define HAVE_DLOPEN 1
  25946. | #define HAVE_DLADDR 1
  25947. | #define HAVE_DUP 1
  25948. | #define HAVE_DUP3 1
  25949. | #define HAVE_EACCESS 1
  25950. | #define HAVE_ENDGRENT 1
  25951. | #define HAVE_FCHMOD 1
  25952. | #define HAVE_FCHOWN 1
  25953. | #define HAVE_FCNTL 1
  25954. | #define HAVE_FDATASYNC 1
  25955. | #define HAVE_FMOD 1
  25956. | #define HAVE_FSYNC 1
  25957. | #define HAVE_FTRUNCATE 1
  25958. | #define HAVE_FTRUNCATE64 1
  25959. | #define HAVE_GETCWD 1
  25960. | #define HAVE_GETGRNAM 1
  25961. | #define HAVE_GETGRNAM_R 1
  25962. | #define HAVE_GETGROUPS 1
  25963. | #define HAVE_GETPGID 1
  25964. | #define HAVE_GETPGRP 1
  25965. | #define HAVE_GETPRIORITY 1
  25966. | #define HAVE_GETPWNAM_R 1
  25967. | #define HAVE_GETRESGID 1
  25968. | #define HAVE_GETRESUID 1
  25969. | #define HAVE_GETRLIMIT 1
  25970. | #define HAVE_GETSID 1
  25971. | #define HAVE_GETTIMEOFDAY 1
  25972. | #define HAVE_GMTIME_R 1
  25973. | #define HAVE_INITGROUPS 1
  25974. | #define HAVE_IOCTL 1
  25975. | #define HAVE_KILLPG 1
  25976. | #define HAVE_LCHOWN 1
  25977. | #define HAVE_LINK 1
  25978. | #define HAVE_LLABS 1
  25979. | #define HAVE_LOCKF 1
  25980. | #define HAVE_LOG2 1
  25981. | #define HAVE_LSTAT 1
  25982. | #define HAVE_MALLOC_USABLE_SIZE 1
  25983. | #define HAVE_MBLEN 1
  25984. | #define HAVE_MEMALIGN 1
  25985. | #define HAVE_WRITEV 1
  25986. | #define HAVE_MEMRCHR 1
  25987. | #define HAVE_MEMMEM 1
  25988. | #define HAVE_MKFIFO 1
  25989. | #define HAVE_MKNOD 1
  25990. | #define HAVE_MKTIME 1
  25991. | #define HAVE_PIPE2 1
  25992. | #define HAVE_POLL 1
  25993. | #define HAVE_POSIX_FADVISE 1
  25994. | #define HAVE_POSIX_MEMALIGN 1
  25995. | #define HAVE_PPOLL 1
  25996. | #define HAVE_PREAD 1
  25997. | #define HAVE_QSORT_R 1
  25998. | #define HAVE_READLINK 1
  25999. | #define HAVE_ROUND 1
  26000. | #define HAVE_SCHED_GETAFFINITY 1
  26001. | #define HAVE_SEEKDIR 1
  26002. | #define HAVE_SENDFILE 1
  26003. | #define HAVE_SETEGID 1
  26004. | #define HAVE_SETENV 1
  26005. | #define HAVE_SETEUID 1
  26006. | #define HAVE_SETGID 1
  26007. | #define HAVE_SETGROUPS 1
  26008. | #define HAVE_SETPGID 1
  26009. | #define HAVE_SETPGRP 1
  26010. | #define HAVE_SETREGID 1
  26011. | #define HAVE_SETRESGID 1
  26012. | #define HAVE_SETRESUID 1
  26013. | #define HAVE_SETREUID 1
  26014. | #define HAVE_SETRLIMIT 1
  26015. | #define HAVE_SETSID 1
  26016. | #define HAVE_SETUID 1
  26017. | #define HAVE_SHUTDOWN 1
  26018. | #define HAVE_SIGACTION 1
  26019. | #define HAVE_SIGALTSTACK 1
  26020. | #define HAVE_SIGPROCMASK 1
  26021. | #define HAVE_SINH 1
  26022. | #define HAVE_SYMLINK 1
  26023. | #define HAVE_SYSCALL 1
  26024. | #define HAVE_SYSCONF 1
  26025. | #define HAVE_TANH 1
  26026. | #define HAVE_TELLDIR 1
  26027. | #define HAVE_TIMEGM 1
  26028. | #define HAVE_TIMES 1
  26029. | #define HAVE_TRUNCATE 1
  26030. | #define HAVE_TRUNCATE64 1
  26031. | #define HAVE_UNSETENV 1
  26032. | #define HAVE_UTIMENSAT 1
  26033. | #define HAVE_UTIMES 1
  26034. | #define HAVE_WAIT4 1
  26035. | #define HAVE_WAITPID 1
  26036. | #define HAVE_BUILTIN___BUILTIN_BSWAP16 1
  26037. | #define HAVE_BUILTIN___BUILTIN_BSWAP32 1
  26038. | #define HAVE_BUILTIN___BUILTIN_BSWAP64 1
  26039. | #define HAVE_BUILTIN___BUILTIN_CLZ 1
  26040. | #define HAVE_BUILTIN___BUILTIN_CLZL 1
  26041. | #define HAVE_BUILTIN___BUILTIN_CLZLL 1
  26042. | #define HAVE_BUILTIN___BUILTIN_CHOOSE_EXPR 1
  26043. | #define HAVE_BUILTIN___BUILTIN_CHOOSE_EXPR_CONSTANT_P 1
  26044. | #define HAVE_BUILTIN___BUILTIN_TYPES_COMPATIBLE_P 1
  26045. | #define HAVE_GNU_QSORT_R 1
  26046. | #define ATAN2_INF_C99 1
  26047. | #define HAVE_CLOCK_GETRES 1
  26048. | #define HAVE_STRUCT_TM_TM_ZONE 1
  26049. | #define HAVE_TM_ZONE 1
  26050. | #define HAVE_STRUCT_TM_TM_GMTOFF 1
  26051. | #define HAVE_DAYLIGHT 1
  26052. | #define HAVE_VAR_TIMEZONE 1
  26053. | #define TYPEOF_VAR_TIMEZONE long
  26054. | #define HAVE_TIMEZONE 1
  26055. | #define TIMEZONE_VOID 1
  26056. | #define NEGATIVE_TIME_T 1
  26057. | #define POSIX_SIGNAL 1
  26058. | #define RSHIFT(x,y) ((x)>>(int)(y))
  26059. | #define HAVE__SC_CLK_TCK 1
  26060. | #define STACK_GROW_DIRECTION -1
  26061. | #define _REENTRANT 1
  26062. | #define _THREAD_SAFE 1
  26063. | #define HAVE_LIBPTHREAD 1
  26064. | #define HAVE_SCHED_YIELD 1
  26065. | #define HAVE_PTHREAD_ATTR_SETINHERITSCHED 1
  26066. | #define HAVE_PTHREAD_ATTR_GETSTACK 1
  26067. | /* end confdefs.h. */
  26068. | /* Define pthread_getthrds_np to an innocuous variant, in case <limits.h> declares pthread_getthrds_np.
  26069. | For example, HP-UX 11i <limits.h> declares gettimeofday. */
  26070. | #define pthread_getthrds_np innocuous_pthread_getthrds_np
  26071. |
  26072. | /* System header to define __stub macros and hopefully few prototypes,
  26073. | which can conflict with char pthread_getthrds_np (); below.
  26074. | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  26075. | <limits.h> exists even on freestanding compilers. */
  26076. |
  26077. | #ifdef __STDC__
  26078. | # include <limits.h>
  26079. | #else
  26080. | # include <assert.h>
  26081. | #endif
  26082. |
  26083. | #undef pthread_getthrds_np
  26084. |
  26085. | /* Override any GCC internal prototype to avoid an error.
  26086. | Use char because int might match the return type of a GCC
  26087. | builtin and then its argument prototype would still apply. */
  26088. | #ifdef __cplusplus
  26089. | extern "C"
  26090. | #endif
  26091. | char pthread_getthrds_np ();
  26092. | /* The GNU C library defines this for functions which it implements
  26093. | to always fail with ENOSYS. Some functions are actually named
  26094. | something starting with __ and the normal name is an alias. */
  26095. | #if defined __stub_pthread_getthrds_np || defined __stub___pthread_getthrds_np
  26096. | choke me
  26097. | #endif
  26098. |
  26099. | int
  26100. | main ()
  26101. | {
  26102. | return pthread_getthrds_np ();
  26103. | ;
  26104. | return 0;
  26105. | }
  26106. configure:21824: result: no
  26107. configure:21824: checking for pthread_cond_init
  26108. configure:21824: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lpthread -lgmp -ldl -lcrypt -lm >&5
  26109. configure:21824: $? = 0
  26110. configure:21824: result: yes
  26111. configure:21824: checking for pthread_condattr_setclock
  26112. configure:21824: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lpthread -lgmp -ldl -lcrypt -lm >&5
  26113. configure:21824: $? = 0
  26114. configure:21824: result: yes
  26115. configure:21824: checking for pthread_condattr_init
  26116. configure:21824: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lpthread -lgmp -ldl -lcrypt -lm >&5
  26117. configure:21824: $? = 0
  26118. configure:21824: result: yes
  26119. configure:21824: checking for pthread_sigmask
  26120. configure:21824: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lpthread -lgmp -ldl -lcrypt -lm >&5
  26121. configure:21824: $? = 0
  26122. configure:21824: result: yes
  26123. configure:21824: checking for pthread_setname_np
  26124. configure:21824: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lpthread -lgmp -ldl -lcrypt -lm >&5
  26125. configure:21824: $? = 0
  26126. configure:21824: result: yes
  26127. configure:21824: checking for pthread_set_name_np
  26128. configure:21824: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lpthread -lgmp -ldl -lcrypt -lm >&5
  26129. /tmp/ccphvOrK.o: In function `main':
  26130. /usr/share/rvm/src/ruby-2.3.0/conftest.c:395: undefined reference to `pthread_set_name_np'
  26131. collect2: error: ld returned 1 exit status
  26132. configure:21824: $? = 1
  26133. configure: failed program was:
  26134. | /* confdefs.h */
  26135. | #define PACKAGE_NAME ""
  26136. | #define PACKAGE_TARNAME ""
  26137. | #define PACKAGE_VERSION ""
  26138. | #define PACKAGE_STRING ""
  26139. | #define PACKAGE_BUGREPORT ""
  26140. | #define PACKAGE_URL ""
  26141. | #define CANONICALIZATION_FOR_MATHN 1
  26142. | #define STDC_HEADERS 1
  26143. | #define HAVE_SYS_TYPES_H 1
  26144. | #define HAVE_SYS_STAT_H 1
  26145. | #define HAVE_STDLIB_H 1
  26146. | #define HAVE_STRING_H 1
  26147. | #define HAVE_MEMORY_H 1
  26148. | #define HAVE_STRINGS_H 1
  26149. | #define HAVE_INTTYPES_H 1
  26150. | #define HAVE_STDINT_H 1
  26151. | #define HAVE_UNISTD_H 1
  26152. | #define __EXTENSIONS__ 1
  26153. | #define _ALL_SOURCE 1
  26154. | #define _GNU_SOURCE 1
  26155. | #define _POSIX_PTHREAD_SEMANTICS 1
  26156. | #define _TANDEM_SOURCE 1
  26157. | #define HAVE_INFINITY 1
  26158. | #define HAVE_NAN 1
  26159. | #define RUBY_SYMBOL_EXPORT_BEGIN _Pragma("GCC visibility push(default)")
  26160. | #define RUBY_SYMBOL_EXPORT_END _Pragma("GCC visibility pop")
  26161. | #define HAVE_LIBCRYPT 1
  26162. | #define HAVE_LIBDL 1
  26163. | #define HAVE_DIRENT_H 1
  26164. | #define HAVE__BOOL 1
  26165. | #define HAVE_STDBOOL_H 1
  26166. | #define HAVE_SYS_WAIT_H 1
  26167. | #define HAVE_A_OUT_H 1
  26168. | #define HAVE_GRP_H 1
  26169. | #define HAVE_FCNTL_H 1
  26170. | #define HAVE_FLOAT_H 1
  26171. | #define HAVE_LANGINFO_H 1
  26172. | #define HAVE_LIMITS_H 1
  26173. | #define HAVE_LOCALE_H 1
  26174. | #define HAVE_MALLOC_H 1
  26175. | #define HAVE_PWD_H 1
  26176. | #define HAVE_SYS_FCNTL_H 1
  26177. | #define HAVE_SYS_FILE_H 1
  26178. | #define HAVE_SYS_IOCTL_H 1
  26179. | #define HAVE_SYS_PARAM_H 1
  26180. | #define HAVE_SYS_PRCTL_H 1
  26181. | #define HAVE_SYS_RESOURCE_H 1
  26182. | #define HAVE_SYS_SELECT_H 1
  26183. | #define HAVE_SYS_SENDFILE_H 1
  26184. | #define HAVE_SYS_SOCKET_H 1
  26185. | #define HAVE_SYS_SYSCALL_H 1
  26186. | #define HAVE_SYS_TIME_H 1
  26187. | #define HAVE_SYS_TIMES_H 1
  26188. | #define HAVE_SYS_UIO_H 1
  26189. | #define HAVE_SYSCALL_H 1
  26190. | #define HAVE_TIME_H 1
  26191. | #define HAVE_UCONTEXT_H 1
  26192. | #define HAVE_UTIME_H 1
  26193. | #define HAVE_GMP_H 1
  26194. | #define HAVE_LIBGMP 1
  26195. | #define HAVE_TYPEOF 1
  26196. | #define typeof __typeof__
  26197. | #define HAVE_LONG_LONG 1
  26198. | #define HAVE_OFF_T 1
  26199. | #define SIZEOF_INT 4
  26200. | #define SIZEOF_SHORT 2
  26201. | #define SIZEOF_LONG 8
  26202. | #define SIZEOF_LONG_LONG 8
  26203. | #define SIZEOF___INT64 0
  26204. | #define SIZEOF_OFF_T 8
  26205. | #define SIZEOF_VOIDP 8
  26206. | #define SIZEOF_FLOAT 4
  26207. | #define SIZEOF_DOUBLE 8
  26208. | #define SIZEOF_TIME_T 8
  26209. | #define SIZEOF_CLOCK_T 8
  26210. | #define PACKED_STRUCT(x) x __attribute__((packed))
  26211. | #define PACKED_STRUCT_UNALIGNED(x) x
  26212. | #define PRI_LL_PREFIX "ll"
  26213. | #define rb_pid_t pid_t
  26214. | #define SIGNEDNESS_OF_PID_T -1
  26215. | #define PIDT2NUM(v) INT2NUM(v)
  26216. | #define NUM2PIDT(v) NUM2INT(v)
  26217. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  26218. | #define rb_uid_t uid_t
  26219. | #define SIGNEDNESS_OF_UID_T +1
  26220. | #define UIDT2NUM(v) UINT2NUM(v)
  26221. | #define NUM2UIDT(v) NUM2UINT(v)
  26222. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  26223. | #define rb_gid_t gid_t
  26224. | #define SIGNEDNESS_OF_GID_T +1
  26225. | #define GIDT2NUM(v) UINT2NUM(v)
  26226. | #define NUM2GIDT(v) NUM2UINT(v)
  26227. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  26228. | #define rb_time_t time_t
  26229. | #define SIGNEDNESS_OF_TIME_T -1
  26230. | #define TIMET2NUM(v) LONG2NUM(v)
  26231. | #define NUM2TIMET(v) NUM2LONG(v)
  26232. | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
  26233. | #define rb_dev_t dev_t
  26234. | #define SIGNEDNESS_OF_DEV_T +1
  26235. | #define DEVT2NUM(v) ULONG2NUM(v)
  26236. | #define NUM2DEVT(v) NUM2ULONG(v)
  26237. | #define PRI_DEVT_PREFIX PRI_LONG_PREFIX
  26238. | #define rb_mode_t mode_t
  26239. | #define SIGNEDNESS_OF_MODE_T +1
  26240. | #define MODET2NUM(v) UINT2NUM(v)
  26241. | #define NUM2MODET(v) NUM2UINT(v)
  26242. | #define PRI_MODET_PREFIX PRI_INT_PREFIX
  26243. | #define rb_rlim_t rlim_t
  26244. | #define SIGNEDNESS_OF_RLIM_T +1
  26245. | #define RLIM2NUM(v) ULONG2NUM(v)
  26246. | #define NUM2RLIM(v) NUM2ULONG(v)
  26247. | #define PRI_RLIM_PREFIX PRI_LONG_PREFIX
  26248. | #define rb_off_t off_t
  26249. | #define SIGNEDNESS_OF_OFF_T -1
  26250. | #define OFFT2NUM(v) LONG2NUM(v)
  26251. | #define NUM2OFFT(v) NUM2LONG(v)
  26252. | #define PRI_OFFT_PREFIX PRI_LONG_PREFIX
  26253. | #define rb_clockid_t clockid_t
  26254. | #define SIGNEDNESS_OF_CLOCKID_T -1
  26255. | #define CLOCKID2NUM(v) INT2NUM(v)
  26256. | #define NUM2CLOCKID(v) NUM2INT(v)
  26257. | #define PRI_CLOCKID_PREFIX PRI_INT_PREFIX
  26258. | #define HAVE_PROTOTYPES 1
  26259. | #define TOKEN_PASTE(x,y) x##y
  26260. | #define STRINGIZE(expr) STRINGIZE0(expr)
  26261. | #define HAVE_STDARG_PROTOTYPES 1
  26262. | #define HAVE_VA_ARGS_MACRO 1
  26263. | #define NORETURN(x) __attribute__ ((noreturn)) x
  26264. | #define DEPRECATED(x) __attribute__ ((deprecated)) x
  26265. | #define DEPRECATED_BY(n,x) __attribute__ ((deprecated("by "#n))) x
  26266. | #define DEPRECATED_TYPE(mesg,x) __attribute__ ((deprecated mesg)) x
  26267. | #define NOINLINE(x) __attribute__ ((noinline)) x
  26268. | #define WEAK(x) __attribute__ ((weak)) x
  26269. | #define HAVE_FUNC_WEAK 1
  26270. | #define FUNC_UNOPTIMIZED(x) __attribute__ ((optimize("O0"))) x
  26271. | #define FUNC_MINIMIZED(x) __attribute__ ((optimize("-Os","-fomit-frame-pointer"))) x
  26272. | #define HAVE_ATTRIBUTE_FUNCTION_ALIAS 1
  26273. | #define RUBY_ALIAS_FUNCTION_TYPE(type, prot, name, args) type prot __attribute__((alias(#name)));
  26274. | #define RUBY_ALIAS_FUNCTION_VOID(prot, name, args) RUBY_ALIAS_FUNCTION_TYPE(void, prot, name, args)
  26275. | #define HAVE_GCC_ATOMIC_BUILTINS 1
  26276. | #define HAVE_GCC_SYNC_BUILTINS 1
  26277. | #define UNREACHABLE __builtin_unreachable()
  26278. | #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
  26279. | #define RUBY_FUNCTION_NAME_STRING __func__
  26280. | #define ENUM_OVER_INT 1
  26281. | #define HAVE_DECL_SYS_NERR 1
  26282. | #define HAVE_DECL_GETENV 1
  26283. | #define SIZEOF_SIZE_T 8
  26284. | #define SIZEOF_PTRDIFF_T 8
  26285. | #define PRI_SIZE_PREFIX "z"
  26286. | #define PRI_PTRDIFF_PREFIX "t"
  26287. | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
  26288. | #define HAVE_ST_BLKSIZE 1
  26289. | #define HAVE_STRUCT_STAT_ST_BLOCKS 1
  26290. | #define HAVE_ST_BLOCKS 1
  26291. | #define HAVE_STRUCT_STAT_ST_RDEV 1
  26292. | #define HAVE_ST_RDEV 1
  26293. | #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_OFF_T
  26294. | #define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_OFF_T
  26295. | #define SIZEOF_STRUCT_STAT_ST_INO SIZEOF_LONG
  26296. | #define HAVE_STRUCT_STAT_ST_ATIM 1
  26297. | #define HAVE_STRUCT_STAT_ST_MTIM 1
  26298. | #define HAVE_STRUCT_STAT_ST_CTIM 1
  26299. | #define HAVE_STRUCT_TIMEVAL 1
  26300. | #define SIZEOF_STRUCT_TIMEVAL_TV_SEC SIZEOF_TIME_T
  26301. | #define HAVE_STRUCT_TIMESPEC 1
  26302. | #define HAVE_STRUCT_TIMEZONE 1
  26303. | #define HAVE_CLOCKID_T 1
  26304. | #define HAVE_RB_FD_INIT 1
  26305. | #define HAVE_INT8_T 1
  26306. | #define SIZEOF_INT8_T 1
  26307. | #define HAVE_UINT8_T 1
  26308. | #define SIZEOF_UINT8_T 1
  26309. | #define HAVE_INT16_T 1
  26310. | #define SIZEOF_INT16_T 2
  26311. | #define HAVE_UINT16_T 1
  26312. | #define SIZEOF_UINT16_T 2
  26313. | #define HAVE_INT32_T 1
  26314. | #define SIZEOF_INT32_T 4
  26315. | #define HAVE_UINT32_T 1
  26316. | #define SIZEOF_UINT32_T 4
  26317. | #define HAVE_INT64_T 1
  26318. | #define SIZEOF_INT64_T 8
  26319. | #define HAVE_UINT64_T 1
  26320. | #define SIZEOF_UINT64_T 8
  26321. | #define HAVE_INTPTR_T 1
  26322. | #define SIZEOF_INTPTR_T 8
  26323. | #define HAVE_UINTPTR_T 1
  26324. | #define SIZEOF_UINTPTR_T 8
  26325. | #define HAVE_SSIZE_T 1
  26326. | #define SIZEOF_SSIZE_T 8
  26327. | #define STACK_END_ADDRESS __libc_stack_end
  26328. | #define GETGROUPS_T gid_t
  26329. | #define RETSIGTYPE void
  26330. | #define HAVE_ALLOCA_H 1
  26331. | #define HAVE_ALLOCA 1
  26332. | #define HAVE_ACOSH 1
  26333. | #define HAVE_CBRT 1
  26334. | #define HAVE_CRYPT 1
  26335. | #define HAVE_DUP2 1
  26336. | #define HAVE_ERF 1
  26337. | #define HAVE_EXPLICIT_BZERO 1
  26338. | #define HAVE_FFS 1
  26339. | #define HAVE_FINITE 1
  26340. | #define HAVE_FLOCK 1
  26341. | #define HAVE_HYPOT 1
  26342. | #define HAVE_ISINF 1
  26343. | #define HAVE_ISNAN 1
  26344. | #define HAVE_LGAMMA_R 1
  26345. | #define HAVE_MEMMOVE 1
  26346. | #define HAVE_NEXTAFTER 1
  26347. | #define HAVE_STRCHR 1
  26348. | #define HAVE_STRERROR 1
  26349. | #define HAVE_STRSTR 1
  26350. | #define HAVE_TGAMMA 1
  26351. | #define SPT_TYPE SPT_REUSEARGV
  26352. | #define HAVE_SIGNBIT 1
  26353. | #define HAVE_FORK 1
  26354. | #define HAVE_VFORK 1
  26355. | #define HAVE_WORKING_VFORK 1
  26356. | #define HAVE_WORKING_FORK 1
  26357. | #define HAVE__LONGJMP 1
  26358. | #define HAVE__SETJMP 1
  26359. | #define HAVE_ATAN2L 1
  26360. | #define HAVE_ATAN2F 1
  26361. | #define HAVE_CHROOT 1
  26362. | #define HAVE_CLOCK_GETTIME 1
  26363. | #define HAVE_COSH 1
  26364. | #define HAVE_DIRFD 1
  26365. | #define HAVE_DL_ITERATE_PHDR 1
  26366. | #define HAVE_DLOPEN 1
  26367. | #define HAVE_DLADDR 1
  26368. | #define HAVE_DUP 1
  26369. | #define HAVE_DUP3 1
  26370. | #define HAVE_EACCESS 1
  26371. | #define HAVE_ENDGRENT 1
  26372. | #define HAVE_FCHMOD 1
  26373. | #define HAVE_FCHOWN 1
  26374. | #define HAVE_FCNTL 1
  26375. | #define HAVE_FDATASYNC 1
  26376. | #define HAVE_FMOD 1
  26377. | #define HAVE_FSYNC 1
  26378. | #define HAVE_FTRUNCATE 1
  26379. | #define HAVE_FTRUNCATE64 1
  26380. | #define HAVE_GETCWD 1
  26381. | #define HAVE_GETGRNAM 1
  26382. | #define HAVE_GETGRNAM_R 1
  26383. | #define HAVE_GETGROUPS 1
  26384. | #define HAVE_GETPGID 1
  26385. | #define HAVE_GETPGRP 1
  26386. | #define HAVE_GETPRIORITY 1
  26387. | #define HAVE_GETPWNAM_R 1
  26388. | #define HAVE_GETRESGID 1
  26389. | #define HAVE_GETRESUID 1
  26390. | #define HAVE_GETRLIMIT 1
  26391. | #define HAVE_GETSID 1
  26392. | #define HAVE_GETTIMEOFDAY 1
  26393. | #define HAVE_GMTIME_R 1
  26394. | #define HAVE_INITGROUPS 1
  26395. | #define HAVE_IOCTL 1
  26396. | #define HAVE_KILLPG 1
  26397. | #define HAVE_LCHOWN 1
  26398. | #define HAVE_LINK 1
  26399. | #define HAVE_LLABS 1
  26400. | #define HAVE_LOCKF 1
  26401. | #define HAVE_LOG2 1
  26402. | #define HAVE_LSTAT 1
  26403. | #define HAVE_MALLOC_USABLE_SIZE 1
  26404. | #define HAVE_MBLEN 1
  26405. | #define HAVE_MEMALIGN 1
  26406. | #define HAVE_WRITEV 1
  26407. | #define HAVE_MEMRCHR 1
  26408. | #define HAVE_MEMMEM 1
  26409. | #define HAVE_MKFIFO 1
  26410. | #define HAVE_MKNOD 1
  26411. | #define HAVE_MKTIME 1
  26412. | #define HAVE_PIPE2 1
  26413. | #define HAVE_POLL 1
  26414. | #define HAVE_POSIX_FADVISE 1
  26415. | #define HAVE_POSIX_MEMALIGN 1
  26416. | #define HAVE_PPOLL 1
  26417. | #define HAVE_PREAD 1
  26418. | #define HAVE_QSORT_R 1
  26419. | #define HAVE_READLINK 1
  26420. | #define HAVE_ROUND 1
  26421. | #define HAVE_SCHED_GETAFFINITY 1
  26422. | #define HAVE_SEEKDIR 1
  26423. | #define HAVE_SENDFILE 1
  26424. | #define HAVE_SETEGID 1
  26425. | #define HAVE_SETENV 1
  26426. | #define HAVE_SETEUID 1
  26427. | #define HAVE_SETGID 1
  26428. | #define HAVE_SETGROUPS 1
  26429. | #define HAVE_SETPGID 1
  26430. | #define HAVE_SETPGRP 1
  26431. | #define HAVE_SETREGID 1
  26432. | #define HAVE_SETRESGID 1
  26433. | #define HAVE_SETRESUID 1
  26434. | #define HAVE_SETREUID 1
  26435. | #define HAVE_SETRLIMIT 1
  26436. | #define HAVE_SETSID 1
  26437. | #define HAVE_SETUID 1
  26438. | #define HAVE_SHUTDOWN 1
  26439. | #define HAVE_SIGACTION 1
  26440. | #define HAVE_SIGALTSTACK 1
  26441. | #define HAVE_SIGPROCMASK 1
  26442. | #define HAVE_SINH 1
  26443. | #define HAVE_SYMLINK 1
  26444. | #define HAVE_SYSCALL 1
  26445. | #define HAVE_SYSCONF 1
  26446. | #define HAVE_TANH 1
  26447. | #define HAVE_TELLDIR 1
  26448. | #define HAVE_TIMEGM 1
  26449. | #define HAVE_TIMES 1
  26450. | #define HAVE_TRUNCATE 1
  26451. | #define HAVE_TRUNCATE64 1
  26452. | #define HAVE_UNSETENV 1
  26453. | #define HAVE_UTIMENSAT 1
  26454. | #define HAVE_UTIMES 1
  26455. | #define HAVE_WAIT4 1
  26456. | #define HAVE_WAITPID 1
  26457. | #define HAVE_BUILTIN___BUILTIN_BSWAP16 1
  26458. | #define HAVE_BUILTIN___BUILTIN_BSWAP32 1
  26459. | #define HAVE_BUILTIN___BUILTIN_BSWAP64 1
  26460. | #define HAVE_BUILTIN___BUILTIN_CLZ 1
  26461. | #define HAVE_BUILTIN___BUILTIN_CLZL 1
  26462. | #define HAVE_BUILTIN___BUILTIN_CLZLL 1
  26463. | #define HAVE_BUILTIN___BUILTIN_CHOOSE_EXPR 1
  26464. | #define HAVE_BUILTIN___BUILTIN_CHOOSE_EXPR_CONSTANT_P 1
  26465. | #define HAVE_BUILTIN___BUILTIN_TYPES_COMPATIBLE_P 1
  26466. | #define HAVE_GNU_QSORT_R 1
  26467. | #define ATAN2_INF_C99 1
  26468. | #define HAVE_CLOCK_GETRES 1
  26469. | #define HAVE_STRUCT_TM_TM_ZONE 1
  26470. | #define HAVE_TM_ZONE 1
  26471. | #define HAVE_STRUCT_TM_TM_GMTOFF 1
  26472. | #define HAVE_DAYLIGHT 1
  26473. | #define HAVE_VAR_TIMEZONE 1
  26474. | #define TYPEOF_VAR_TIMEZONE long
  26475. | #define HAVE_TIMEZONE 1
  26476. | #define TIMEZONE_VOID 1
  26477. | #define NEGATIVE_TIME_T 1
  26478. | #define POSIX_SIGNAL 1
  26479. | #define RSHIFT(x,y) ((x)>>(int)(y))
  26480. | #define HAVE__SC_CLK_TCK 1
  26481. | #define STACK_GROW_DIRECTION -1
  26482. | #define _REENTRANT 1
  26483. | #define _THREAD_SAFE 1
  26484. | #define HAVE_LIBPTHREAD 1
  26485. | #define HAVE_SCHED_YIELD 1
  26486. | #define HAVE_PTHREAD_ATTR_SETINHERITSCHED 1
  26487. | #define HAVE_PTHREAD_ATTR_GETSTACK 1
  26488. | #define HAVE_PTHREAD_COND_INIT 1
  26489. | #define HAVE_PTHREAD_CONDATTR_SETCLOCK 1
  26490. | #define HAVE_PTHREAD_CONDATTR_INIT 1
  26491. | #define HAVE_PTHREAD_SIGMASK 1
  26492. | #define HAVE_PTHREAD_SETNAME_NP 1
  26493. | /* end confdefs.h. */
  26494. | /* Define pthread_set_name_np to an innocuous variant, in case <limits.h> declares pthread_set_name_np.
  26495. | For example, HP-UX 11i <limits.h> declares gettimeofday. */
  26496. | #define pthread_set_name_np innocuous_pthread_set_name_np
  26497. |
  26498. | /* System header to define __stub macros and hopefully few prototypes,
  26499. | which can conflict with char pthread_set_name_np (); below.
  26500. | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  26501. | <limits.h> exists even on freestanding compilers. */
  26502. |
  26503. | #ifdef __STDC__
  26504. | # include <limits.h>
  26505. | #else
  26506. | # include <assert.h>
  26507. | #endif
  26508. |
  26509. | #undef pthread_set_name_np
  26510. |
  26511. | /* Override any GCC internal prototype to avoid an error.
  26512. | Use char because int might match the return type of a GCC
  26513. | builtin and then its argument prototype would still apply. */
  26514. | #ifdef __cplusplus
  26515. | extern "C"
  26516. | #endif
  26517. | char pthread_set_name_np ();
  26518. | /* The GNU C library defines this for functions which it implements
  26519. | to always fail with ENOSYS. Some functions are actually named
  26520. | something starting with __ and the normal name is an alias. */
  26521. | #if defined __stub_pthread_set_name_np || defined __stub___pthread_set_name_np
  26522. | choke me
  26523. | #endif
  26524. |
  26525. | int
  26526. | main ()
  26527. | {
  26528. | return pthread_set_name_np ();
  26529. | ;
  26530. | return 0;
  26531. | }
  26532. configure:21824: result: no
  26533. configure:21839: checking for pthread_getattr_np
  26534. configure:21839: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lpthread -lgmp -ldl -lcrypt -lm >&5
  26535. configure:21839: $? = 0
  26536. configure:21839: result: yes
  26537. configure:21854: checking for pthread_attr_init
  26538. configure:21854: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lpthread -lgmp -ldl -lcrypt -lm >&5
  26539. configure:21854: $? = 0
  26540. configure:21854: result: yes
  26541. configure:21866: checking arguments of pthread_setname_np
  26542. configure:21897: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  26543. configure:21897: $? = 0
  26544. configure:21906: result: (pthread_self(), name)
  26545. configure:21970: checking if mcontext_t is a pointer
  26546. configure:21992: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  26547. conftest.c: In function 'test':
  26548. conftest.c:370:50: error: invalid operands to binary + (have 'mcontext_t {aka struct <anonymous>}' and 'int')
  26549. mcontext_t test(mcontext_t mc) {return mc+1;}
  26550. ^
  26551. conftest.c: In function 'main':
  26552. conftest.c:375:6: error: incompatible type for argument 1 of 'test'
  26553. test(0);
  26554. ^
  26555. conftest.c:370:20: note: expected 'mcontext_t {aka struct <anonymous>}' but argument is of type 'int'
  26556. mcontext_t test(mcontext_t mc) {return mc+1;}
  26557. ^~~~
  26558. configure:21992: $? = 1
  26559. configure: failed program was:
  26560. | /* confdefs.h */
  26561. | #define PACKAGE_NAME ""
  26562. | #define PACKAGE_TARNAME ""
  26563. | #define PACKAGE_VERSION ""
  26564. | #define PACKAGE_STRING ""
  26565. | #define PACKAGE_BUGREPORT ""
  26566. | #define PACKAGE_URL ""
  26567. | #define CANONICALIZATION_FOR_MATHN 1
  26568. | #define STDC_HEADERS 1
  26569. | #define HAVE_SYS_TYPES_H 1
  26570. | #define HAVE_SYS_STAT_H 1
  26571. | #define HAVE_STDLIB_H 1
  26572. | #define HAVE_STRING_H 1
  26573. | #define HAVE_MEMORY_H 1
  26574. | #define HAVE_STRINGS_H 1
  26575. | #define HAVE_INTTYPES_H 1
  26576. | #define HAVE_STDINT_H 1
  26577. | #define HAVE_UNISTD_H 1
  26578. | #define __EXTENSIONS__ 1
  26579. | #define _ALL_SOURCE 1
  26580. | #define _GNU_SOURCE 1
  26581. | #define _POSIX_PTHREAD_SEMANTICS 1
  26582. | #define _TANDEM_SOURCE 1
  26583. | #define HAVE_INFINITY 1
  26584. | #define HAVE_NAN 1
  26585. | #define RUBY_SYMBOL_EXPORT_BEGIN _Pragma("GCC visibility push(default)")
  26586. | #define RUBY_SYMBOL_EXPORT_END _Pragma("GCC visibility pop")
  26587. | #define HAVE_LIBCRYPT 1
  26588. | #define HAVE_LIBDL 1
  26589. | #define HAVE_DIRENT_H 1
  26590. | #define HAVE__BOOL 1
  26591. | #define HAVE_STDBOOL_H 1
  26592. | #define HAVE_SYS_WAIT_H 1
  26593. | #define HAVE_A_OUT_H 1
  26594. | #define HAVE_GRP_H 1
  26595. | #define HAVE_FCNTL_H 1
  26596. | #define HAVE_FLOAT_H 1
  26597. | #define HAVE_LANGINFO_H 1
  26598. | #define HAVE_LIMITS_H 1
  26599. | #define HAVE_LOCALE_H 1
  26600. | #define HAVE_MALLOC_H 1
  26601. | #define HAVE_PWD_H 1
  26602. | #define HAVE_SYS_FCNTL_H 1
  26603. | #define HAVE_SYS_FILE_H 1
  26604. | #define HAVE_SYS_IOCTL_H 1
  26605. | #define HAVE_SYS_PARAM_H 1
  26606. | #define HAVE_SYS_PRCTL_H 1
  26607. | #define HAVE_SYS_RESOURCE_H 1
  26608. | #define HAVE_SYS_SELECT_H 1
  26609. | #define HAVE_SYS_SENDFILE_H 1
  26610. | #define HAVE_SYS_SOCKET_H 1
  26611. | #define HAVE_SYS_SYSCALL_H 1
  26612. | #define HAVE_SYS_TIME_H 1
  26613. | #define HAVE_SYS_TIMES_H 1
  26614. | #define HAVE_SYS_UIO_H 1
  26615. | #define HAVE_SYSCALL_H 1
  26616. | #define HAVE_TIME_H 1
  26617. | #define HAVE_UCONTEXT_H 1
  26618. | #define HAVE_UTIME_H 1
  26619. | #define HAVE_GMP_H 1
  26620. | #define HAVE_LIBGMP 1
  26621. | #define HAVE_TYPEOF 1
  26622. | #define typeof __typeof__
  26623. | #define HAVE_LONG_LONG 1
  26624. | #define HAVE_OFF_T 1
  26625. | #define SIZEOF_INT 4
  26626. | #define SIZEOF_SHORT 2
  26627. | #define SIZEOF_LONG 8
  26628. | #define SIZEOF_LONG_LONG 8
  26629. | #define SIZEOF___INT64 0
  26630. | #define SIZEOF_OFF_T 8
  26631. | #define SIZEOF_VOIDP 8
  26632. | #define SIZEOF_FLOAT 4
  26633. | #define SIZEOF_DOUBLE 8
  26634. | #define SIZEOF_TIME_T 8
  26635. | #define SIZEOF_CLOCK_T 8
  26636. | #define PACKED_STRUCT(x) x __attribute__((packed))
  26637. | #define PACKED_STRUCT_UNALIGNED(x) x
  26638. | #define PRI_LL_PREFIX "ll"
  26639. | #define rb_pid_t pid_t
  26640. | #define SIGNEDNESS_OF_PID_T -1
  26641. | #define PIDT2NUM(v) INT2NUM(v)
  26642. | #define NUM2PIDT(v) NUM2INT(v)
  26643. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  26644. | #define rb_uid_t uid_t
  26645. | #define SIGNEDNESS_OF_UID_T +1
  26646. | #define UIDT2NUM(v) UINT2NUM(v)
  26647. | #define NUM2UIDT(v) NUM2UINT(v)
  26648. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  26649. | #define rb_gid_t gid_t
  26650. | #define SIGNEDNESS_OF_GID_T +1
  26651. | #define GIDT2NUM(v) UINT2NUM(v)
  26652. | #define NUM2GIDT(v) NUM2UINT(v)
  26653. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  26654. | #define rb_time_t time_t
  26655. | #define SIGNEDNESS_OF_TIME_T -1
  26656. | #define TIMET2NUM(v) LONG2NUM(v)
  26657. | #define NUM2TIMET(v) NUM2LONG(v)
  26658. | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
  26659. | #define rb_dev_t dev_t
  26660. | #define SIGNEDNESS_OF_DEV_T +1
  26661. | #define DEVT2NUM(v) ULONG2NUM(v)
  26662. | #define NUM2DEVT(v) NUM2ULONG(v)
  26663. | #define PRI_DEVT_PREFIX PRI_LONG_PREFIX
  26664. | #define rb_mode_t mode_t
  26665. | #define SIGNEDNESS_OF_MODE_T +1
  26666. | #define MODET2NUM(v) UINT2NUM(v)
  26667. | #define NUM2MODET(v) NUM2UINT(v)
  26668. | #define PRI_MODET_PREFIX PRI_INT_PREFIX
  26669. | #define rb_rlim_t rlim_t
  26670. | #define SIGNEDNESS_OF_RLIM_T +1
  26671. | #define RLIM2NUM(v) ULONG2NUM(v)
  26672. | #define NUM2RLIM(v) NUM2ULONG(v)
  26673. | #define PRI_RLIM_PREFIX PRI_LONG_PREFIX
  26674. | #define rb_off_t off_t
  26675. | #define SIGNEDNESS_OF_OFF_T -1
  26676. | #define OFFT2NUM(v) LONG2NUM(v)
  26677. | #define NUM2OFFT(v) NUM2LONG(v)
  26678. | #define PRI_OFFT_PREFIX PRI_LONG_PREFIX
  26679. | #define rb_clockid_t clockid_t
  26680. | #define SIGNEDNESS_OF_CLOCKID_T -1
  26681. | #define CLOCKID2NUM(v) INT2NUM(v)
  26682. | #define NUM2CLOCKID(v) NUM2INT(v)
  26683. | #define PRI_CLOCKID_PREFIX PRI_INT_PREFIX
  26684. | #define HAVE_PROTOTYPES 1
  26685. | #define TOKEN_PASTE(x,y) x##y
  26686. | #define STRINGIZE(expr) STRINGIZE0(expr)
  26687. | #define HAVE_STDARG_PROTOTYPES 1
  26688. | #define HAVE_VA_ARGS_MACRO 1
  26689. | #define NORETURN(x) __attribute__ ((noreturn)) x
  26690. | #define DEPRECATED(x) __attribute__ ((deprecated)) x
  26691. | #define DEPRECATED_BY(n,x) __attribute__ ((deprecated("by "#n))) x
  26692. | #define DEPRECATED_TYPE(mesg,x) __attribute__ ((deprecated mesg)) x
  26693. | #define NOINLINE(x) __attribute__ ((noinline)) x
  26694. | #define WEAK(x) __attribute__ ((weak)) x
  26695. | #define HAVE_FUNC_WEAK 1
  26696. | #define FUNC_UNOPTIMIZED(x) __attribute__ ((optimize("O0"))) x
  26697. | #define FUNC_MINIMIZED(x) __attribute__ ((optimize("-Os","-fomit-frame-pointer"))) x
  26698. | #define HAVE_ATTRIBUTE_FUNCTION_ALIAS 1
  26699. | #define RUBY_ALIAS_FUNCTION_TYPE(type, prot, name, args) type prot __attribute__((alias(#name)));
  26700. | #define RUBY_ALIAS_FUNCTION_VOID(prot, name, args) RUBY_ALIAS_FUNCTION_TYPE(void, prot, name, args)
  26701. | #define HAVE_GCC_ATOMIC_BUILTINS 1
  26702. | #define HAVE_GCC_SYNC_BUILTINS 1
  26703. | #define UNREACHABLE __builtin_unreachable()
  26704. | #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
  26705. | #define RUBY_FUNCTION_NAME_STRING __func__
  26706. | #define ENUM_OVER_INT 1
  26707. | #define HAVE_DECL_SYS_NERR 1
  26708. | #define HAVE_DECL_GETENV 1
  26709. | #define SIZEOF_SIZE_T 8
  26710. | #define SIZEOF_PTRDIFF_T 8
  26711. | #define PRI_SIZE_PREFIX "z"
  26712. | #define PRI_PTRDIFF_PREFIX "t"
  26713. | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
  26714. | #define HAVE_ST_BLKSIZE 1
  26715. | #define HAVE_STRUCT_STAT_ST_BLOCKS 1
  26716. | #define HAVE_ST_BLOCKS 1
  26717. | #define HAVE_STRUCT_STAT_ST_RDEV 1
  26718. | #define HAVE_ST_RDEV 1
  26719. | #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_OFF_T
  26720. | #define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_OFF_T
  26721. | #define SIZEOF_STRUCT_STAT_ST_INO SIZEOF_LONG
  26722. | #define HAVE_STRUCT_STAT_ST_ATIM 1
  26723. | #define HAVE_STRUCT_STAT_ST_MTIM 1
  26724. | #define HAVE_STRUCT_STAT_ST_CTIM 1
  26725. | #define HAVE_STRUCT_TIMEVAL 1
  26726. | #define SIZEOF_STRUCT_TIMEVAL_TV_SEC SIZEOF_TIME_T
  26727. | #define HAVE_STRUCT_TIMESPEC 1
  26728. | #define HAVE_STRUCT_TIMEZONE 1
  26729. | #define HAVE_CLOCKID_T 1
  26730. | #define HAVE_RB_FD_INIT 1
  26731. | #define HAVE_INT8_T 1
  26732. | #define SIZEOF_INT8_T 1
  26733. | #define HAVE_UINT8_T 1
  26734. | #define SIZEOF_UINT8_T 1
  26735. | #define HAVE_INT16_T 1
  26736. | #define SIZEOF_INT16_T 2
  26737. | #define HAVE_UINT16_T 1
  26738. | #define SIZEOF_UINT16_T 2
  26739. | #define HAVE_INT32_T 1
  26740. | #define SIZEOF_INT32_T 4
  26741. | #define HAVE_UINT32_T 1
  26742. | #define SIZEOF_UINT32_T 4
  26743. | #define HAVE_INT64_T 1
  26744. | #define SIZEOF_INT64_T 8
  26745. | #define HAVE_UINT64_T 1
  26746. | #define SIZEOF_UINT64_T 8
  26747. | #define HAVE_INTPTR_T 1
  26748. | #define SIZEOF_INTPTR_T 8
  26749. | #define HAVE_UINTPTR_T 1
  26750. | #define SIZEOF_UINTPTR_T 8
  26751. | #define HAVE_SSIZE_T 1
  26752. | #define SIZEOF_SSIZE_T 8
  26753. | #define STACK_END_ADDRESS __libc_stack_end
  26754. | #define GETGROUPS_T gid_t
  26755. | #define RETSIGTYPE void
  26756. | #define HAVE_ALLOCA_H 1
  26757. | #define HAVE_ALLOCA 1
  26758. | #define HAVE_ACOSH 1
  26759. | #define HAVE_CBRT 1
  26760. | #define HAVE_CRYPT 1
  26761. | #define HAVE_DUP2 1
  26762. | #define HAVE_ERF 1
  26763. | #define HAVE_EXPLICIT_BZERO 1
  26764. | #define HAVE_FFS 1
  26765. | #define HAVE_FINITE 1
  26766. | #define HAVE_FLOCK 1
  26767. | #define HAVE_HYPOT 1
  26768. | #define HAVE_ISINF 1
  26769. | #define HAVE_ISNAN 1
  26770. | #define HAVE_LGAMMA_R 1
  26771. | #define HAVE_MEMMOVE 1
  26772. | #define HAVE_NEXTAFTER 1
  26773. | #define HAVE_STRCHR 1
  26774. | #define HAVE_STRERROR 1
  26775. | #define HAVE_STRSTR 1
  26776. | #define HAVE_TGAMMA 1
  26777. | #define SPT_TYPE SPT_REUSEARGV
  26778. | #define HAVE_SIGNBIT 1
  26779. | #define HAVE_FORK 1
  26780. | #define HAVE_VFORK 1
  26781. | #define HAVE_WORKING_VFORK 1
  26782. | #define HAVE_WORKING_FORK 1
  26783. | #define HAVE__LONGJMP 1
  26784. | #define HAVE__SETJMP 1
  26785. | #define HAVE_ATAN2L 1
  26786. | #define HAVE_ATAN2F 1
  26787. | #define HAVE_CHROOT 1
  26788. | #define HAVE_CLOCK_GETTIME 1
  26789. | #define HAVE_COSH 1
  26790. | #define HAVE_DIRFD 1
  26791. | #define HAVE_DL_ITERATE_PHDR 1
  26792. | #define HAVE_DLOPEN 1
  26793. | #define HAVE_DLADDR 1
  26794. | #define HAVE_DUP 1
  26795. | #define HAVE_DUP3 1
  26796. | #define HAVE_EACCESS 1
  26797. | #define HAVE_ENDGRENT 1
  26798. | #define HAVE_FCHMOD 1
  26799. | #define HAVE_FCHOWN 1
  26800. | #define HAVE_FCNTL 1
  26801. | #define HAVE_FDATASYNC 1
  26802. | #define HAVE_FMOD 1
  26803. | #define HAVE_FSYNC 1
  26804. | #define HAVE_FTRUNCATE 1
  26805. | #define HAVE_FTRUNCATE64 1
  26806. | #define HAVE_GETCWD 1
  26807. | #define HAVE_GETGRNAM 1
  26808. | #define HAVE_GETGRNAM_R 1
  26809. | #define HAVE_GETGROUPS 1
  26810. | #define HAVE_GETPGID 1
  26811. | #define HAVE_GETPGRP 1
  26812. | #define HAVE_GETPRIORITY 1
  26813. | #define HAVE_GETPWNAM_R 1
  26814. | #define HAVE_GETRESGID 1
  26815. | #define HAVE_GETRESUID 1
  26816. | #define HAVE_GETRLIMIT 1
  26817. | #define HAVE_GETSID 1
  26818. | #define HAVE_GETTIMEOFDAY 1
  26819. | #define HAVE_GMTIME_R 1
  26820. | #define HAVE_INITGROUPS 1
  26821. | #define HAVE_IOCTL 1
  26822. | #define HAVE_KILLPG 1
  26823. | #define HAVE_LCHOWN 1
  26824. | #define HAVE_LINK 1
  26825. | #define HAVE_LLABS 1
  26826. | #define HAVE_LOCKF 1
  26827. | #define HAVE_LOG2 1
  26828. | #define HAVE_LSTAT 1
  26829. | #define HAVE_MALLOC_USABLE_SIZE 1
  26830. | #define HAVE_MBLEN 1
  26831. | #define HAVE_MEMALIGN 1
  26832. | #define HAVE_WRITEV 1
  26833. | #define HAVE_MEMRCHR 1
  26834. | #define HAVE_MEMMEM 1
  26835. | #define HAVE_MKFIFO 1
  26836. | #define HAVE_MKNOD 1
  26837. | #define HAVE_MKTIME 1
  26838. | #define HAVE_PIPE2 1
  26839. | #define HAVE_POLL 1
  26840. | #define HAVE_POSIX_FADVISE 1
  26841. | #define HAVE_POSIX_MEMALIGN 1
  26842. | #define HAVE_PPOLL 1
  26843. | #define HAVE_PREAD 1
  26844. | #define HAVE_QSORT_R 1
  26845. | #define HAVE_READLINK 1
  26846. | #define HAVE_ROUND 1
  26847. | #define HAVE_SCHED_GETAFFINITY 1
  26848. | #define HAVE_SEEKDIR 1
  26849. | #define HAVE_SENDFILE 1
  26850. | #define HAVE_SETEGID 1
  26851. | #define HAVE_SETENV 1
  26852. | #define HAVE_SETEUID 1
  26853. | #define HAVE_SETGID 1
  26854. | #define HAVE_SETGROUPS 1
  26855. | #define HAVE_SETPGID 1
  26856. | #define HAVE_SETPGRP 1
  26857. | #define HAVE_SETREGID 1
  26858. | #define HAVE_SETRESGID 1
  26859. | #define HAVE_SETRESUID 1
  26860. | #define HAVE_SETREUID 1
  26861. | #define HAVE_SETRLIMIT 1
  26862. | #define HAVE_SETSID 1
  26863. | #define HAVE_SETUID 1
  26864. | #define HAVE_SHUTDOWN 1
  26865. | #define HAVE_SIGACTION 1
  26866. | #define HAVE_SIGALTSTACK 1
  26867. | #define HAVE_SIGPROCMASK 1
  26868. | #define HAVE_SINH 1
  26869. | #define HAVE_SYMLINK 1
  26870. | #define HAVE_SYSCALL 1
  26871. | #define HAVE_SYSCONF 1
  26872. | #define HAVE_TANH 1
  26873. | #define HAVE_TELLDIR 1
  26874. | #define HAVE_TIMEGM 1
  26875. | #define HAVE_TIMES 1
  26876. | #define HAVE_TRUNCATE 1
  26877. | #define HAVE_TRUNCATE64 1
  26878. | #define HAVE_UNSETENV 1
  26879. | #define HAVE_UTIMENSAT 1
  26880. | #define HAVE_UTIMES 1
  26881. | #define HAVE_WAIT4 1
  26882. | #define HAVE_WAITPID 1
  26883. | #define HAVE_BUILTIN___BUILTIN_BSWAP16 1
  26884. | #define HAVE_BUILTIN___BUILTIN_BSWAP32 1
  26885. | #define HAVE_BUILTIN___BUILTIN_BSWAP64 1
  26886. | #define HAVE_BUILTIN___BUILTIN_CLZ 1
  26887. | #define HAVE_BUILTIN___BUILTIN_CLZL 1
  26888. | #define HAVE_BUILTIN___BUILTIN_CLZLL 1
  26889. | #define HAVE_BUILTIN___BUILTIN_CHOOSE_EXPR 1
  26890. | #define HAVE_BUILTIN___BUILTIN_CHOOSE_EXPR_CONSTANT_P 1
  26891. | #define HAVE_BUILTIN___BUILTIN_TYPES_COMPATIBLE_P 1
  26892. | #define HAVE_GNU_QSORT_R 1
  26893. | #define ATAN2_INF_C99 1
  26894. | #define HAVE_CLOCK_GETRES 1
  26895. | #define HAVE_STRUCT_TM_TM_ZONE 1
  26896. | #define HAVE_TM_ZONE 1
  26897. | #define HAVE_STRUCT_TM_TM_GMTOFF 1
  26898. | #define HAVE_DAYLIGHT 1
  26899. | #define HAVE_VAR_TIMEZONE 1
  26900. | #define TYPEOF_VAR_TIMEZONE long
  26901. | #define HAVE_TIMEZONE 1
  26902. | #define TIMEZONE_VOID 1
  26903. | #define NEGATIVE_TIME_T 1
  26904. | #define POSIX_SIGNAL 1
  26905. | #define RSHIFT(x,y) ((x)>>(int)(y))
  26906. | #define HAVE__SC_CLK_TCK 1
  26907. | #define STACK_GROW_DIRECTION -1
  26908. | #define _REENTRANT 1
  26909. | #define _THREAD_SAFE 1
  26910. | #define HAVE_LIBPTHREAD 1
  26911. | #define HAVE_SCHED_YIELD 1
  26912. | #define HAVE_PTHREAD_ATTR_SETINHERITSCHED 1
  26913. | #define HAVE_PTHREAD_ATTR_GETSTACK 1
  26914. | #define HAVE_PTHREAD_COND_INIT 1
  26915. | #define HAVE_PTHREAD_CONDATTR_SETCLOCK 1
  26916. | #define HAVE_PTHREAD_CONDATTR_INIT 1
  26917. | #define HAVE_PTHREAD_SIGMASK 1
  26918. | #define HAVE_PTHREAD_SETNAME_NP 1
  26919. | #define HAVE_PTHREAD_GETATTR_NP 1
  26920. | #define HAVE_PTHREAD_ATTR_INIT 1
  26921. | #define SET_CURRENT_THREAD_NAME(name) pthread_setname_np(pthread_self(), name)
  26922. | #define SET_ANOTHER_THREAD_NAME(thid,name) pthread_setname_np(thid, name)
  26923. | /* end confdefs.h. */
  26924. |
  26925. | #include <signal.h>
  26926. | #ifdef HAVE_UCONTEXT_H
  26927. | #include <ucontext.h>
  26928. | #endif
  26929. | mcontext_t test(mcontext_t mc) {return mc+1;}
  26930. |
  26931. | int
  26932. | main ()
  26933. | {
  26934. | test(0);
  26935. | ;
  26936. | return 0;
  26937. | }
  26938. configure:21999: result: no
  26939. configure:22016: checking for getcontext
  26940. configure:22016: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lpthread -lgmp -ldl -lcrypt -lm >&5
  26941. configure:22016: $? = 0
  26942. configure:22016: result: yes
  26943. configure:22016: checking for setcontext
  26944. configure:22016: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lpthread -lgmp -ldl -lcrypt -lm >&5
  26945. configure:22016: $? = 0
  26946. configure:22016: result: yes
  26947. configure:22029: checking if fork works with pthread
  26948. configure:22097: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lpthread -lgmp -ldl -lcrypt -lm >&5
  26949. configure:22097: $? = 0
  26950. configure:22097: ./conftest
  26951. configure:22097: $? = 0
  26952. configure:22107: result: yes
  26953. configure:22137: checking whether ELF binaries are produced
  26954. configure:22153: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector conftest.c -lpthread -lgmp -ldl -lcrypt -lm >&5
  26955. configure:22153: $? = 0
  26956. configure:22167: result: yes
  26957. configure:22179: checking elf.h usability
  26958. configure:22179: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  26959. configure:22179: $? = 0
  26960. configure:22179: result: yes
  26961. configure:22179: checking elf.h presence
  26962. configure:22179: gcc -E conftest.c
  26963. configure:22179: $? = 0
  26964. configure:22179: result: yes
  26965. configure:22179: checking for elf.h
  26966. configure:22179: result: yes
  26967. configure:22179: checking elf_abi.h usability
  26968. configure:22179: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  26969. conftest.c:403:10: fatal error: elf_abi.h: No such file or directory
  26970. #include <elf_abi.h>
  26971. ^~~~~~~~~~~
  26972. compilation terminated.
  26973. configure:22179: $? = 1
  26974. configure: failed program was:
  26975. | /* confdefs.h */
  26976. | #define PACKAGE_NAME ""
  26977. | #define PACKAGE_TARNAME ""
  26978. | #define PACKAGE_VERSION ""
  26979. | #define PACKAGE_STRING ""
  26980. | #define PACKAGE_BUGREPORT ""
  26981. | #define PACKAGE_URL ""
  26982. | #define CANONICALIZATION_FOR_MATHN 1
  26983. | #define STDC_HEADERS 1
  26984. | #define HAVE_SYS_TYPES_H 1
  26985. | #define HAVE_SYS_STAT_H 1
  26986. | #define HAVE_STDLIB_H 1
  26987. | #define HAVE_STRING_H 1
  26988. | #define HAVE_MEMORY_H 1
  26989. | #define HAVE_STRINGS_H 1
  26990. | #define HAVE_INTTYPES_H 1
  26991. | #define HAVE_STDINT_H 1
  26992. | #define HAVE_UNISTD_H 1
  26993. | #define __EXTENSIONS__ 1
  26994. | #define _ALL_SOURCE 1
  26995. | #define _GNU_SOURCE 1
  26996. | #define _POSIX_PTHREAD_SEMANTICS 1
  26997. | #define _TANDEM_SOURCE 1
  26998. | #define HAVE_INFINITY 1
  26999. | #define HAVE_NAN 1
  27000. | #define RUBY_SYMBOL_EXPORT_BEGIN _Pragma("GCC visibility push(default)")
  27001. | #define RUBY_SYMBOL_EXPORT_END _Pragma("GCC visibility pop")
  27002. | #define HAVE_LIBCRYPT 1
  27003. | #define HAVE_LIBDL 1
  27004. | #define HAVE_DIRENT_H 1
  27005. | #define HAVE__BOOL 1
  27006. | #define HAVE_STDBOOL_H 1
  27007. | #define HAVE_SYS_WAIT_H 1
  27008. | #define HAVE_A_OUT_H 1
  27009. | #define HAVE_GRP_H 1
  27010. | #define HAVE_FCNTL_H 1
  27011. | #define HAVE_FLOAT_H 1
  27012. | #define HAVE_LANGINFO_H 1
  27013. | #define HAVE_LIMITS_H 1
  27014. | #define HAVE_LOCALE_H 1
  27015. | #define HAVE_MALLOC_H 1
  27016. | #define HAVE_PWD_H 1
  27017. | #define HAVE_SYS_FCNTL_H 1
  27018. | #define HAVE_SYS_FILE_H 1
  27019. | #define HAVE_SYS_IOCTL_H 1
  27020. | #define HAVE_SYS_PARAM_H 1
  27021. | #define HAVE_SYS_PRCTL_H 1
  27022. | #define HAVE_SYS_RESOURCE_H 1
  27023. | #define HAVE_SYS_SELECT_H 1
  27024. | #define HAVE_SYS_SENDFILE_H 1
  27025. | #define HAVE_SYS_SOCKET_H 1
  27026. | #define HAVE_SYS_SYSCALL_H 1
  27027. | #define HAVE_SYS_TIME_H 1
  27028. | #define HAVE_SYS_TIMES_H 1
  27029. | #define HAVE_SYS_UIO_H 1
  27030. | #define HAVE_SYSCALL_H 1
  27031. | #define HAVE_TIME_H 1
  27032. | #define HAVE_UCONTEXT_H 1
  27033. | #define HAVE_UTIME_H 1
  27034. | #define HAVE_GMP_H 1
  27035. | #define HAVE_LIBGMP 1
  27036. | #define HAVE_TYPEOF 1
  27037. | #define typeof __typeof__
  27038. | #define HAVE_LONG_LONG 1
  27039. | #define HAVE_OFF_T 1
  27040. | #define SIZEOF_INT 4
  27041. | #define SIZEOF_SHORT 2
  27042. | #define SIZEOF_LONG 8
  27043. | #define SIZEOF_LONG_LONG 8
  27044. | #define SIZEOF___INT64 0
  27045. | #define SIZEOF_OFF_T 8
  27046. | #define SIZEOF_VOIDP 8
  27047. | #define SIZEOF_FLOAT 4
  27048. | #define SIZEOF_DOUBLE 8
  27049. | #define SIZEOF_TIME_T 8
  27050. | #define SIZEOF_CLOCK_T 8
  27051. | #define PACKED_STRUCT(x) x __attribute__((packed))
  27052. | #define PACKED_STRUCT_UNALIGNED(x) x
  27053. | #define PRI_LL_PREFIX "ll"
  27054. | #define rb_pid_t pid_t
  27055. | #define SIGNEDNESS_OF_PID_T -1
  27056. | #define PIDT2NUM(v) INT2NUM(v)
  27057. | #define NUM2PIDT(v) NUM2INT(v)
  27058. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  27059. | #define rb_uid_t uid_t
  27060. | #define SIGNEDNESS_OF_UID_T +1
  27061. | #define UIDT2NUM(v) UINT2NUM(v)
  27062. | #define NUM2UIDT(v) NUM2UINT(v)
  27063. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  27064. | #define rb_gid_t gid_t
  27065. | #define SIGNEDNESS_OF_GID_T +1
  27066. | #define GIDT2NUM(v) UINT2NUM(v)
  27067. | #define NUM2GIDT(v) NUM2UINT(v)
  27068. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  27069. | #define rb_time_t time_t
  27070. | #define SIGNEDNESS_OF_TIME_T -1
  27071. | #define TIMET2NUM(v) LONG2NUM(v)
  27072. | #define NUM2TIMET(v) NUM2LONG(v)
  27073. | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
  27074. | #define rb_dev_t dev_t
  27075. | #define SIGNEDNESS_OF_DEV_T +1
  27076. | #define DEVT2NUM(v) ULONG2NUM(v)
  27077. | #define NUM2DEVT(v) NUM2ULONG(v)
  27078. | #define PRI_DEVT_PREFIX PRI_LONG_PREFIX
  27079. | #define rb_mode_t mode_t
  27080. | #define SIGNEDNESS_OF_MODE_T +1
  27081. | #define MODET2NUM(v) UINT2NUM(v)
  27082. | #define NUM2MODET(v) NUM2UINT(v)
  27083. | #define PRI_MODET_PREFIX PRI_INT_PREFIX
  27084. | #define rb_rlim_t rlim_t
  27085. | #define SIGNEDNESS_OF_RLIM_T +1
  27086. | #define RLIM2NUM(v) ULONG2NUM(v)
  27087. | #define NUM2RLIM(v) NUM2ULONG(v)
  27088. | #define PRI_RLIM_PREFIX PRI_LONG_PREFIX
  27089. | #define rb_off_t off_t
  27090. | #define SIGNEDNESS_OF_OFF_T -1
  27091. | #define OFFT2NUM(v) LONG2NUM(v)
  27092. | #define NUM2OFFT(v) NUM2LONG(v)
  27093. | #define PRI_OFFT_PREFIX PRI_LONG_PREFIX
  27094. | #define rb_clockid_t clockid_t
  27095. | #define SIGNEDNESS_OF_CLOCKID_T -1
  27096. | #define CLOCKID2NUM(v) INT2NUM(v)
  27097. | #define NUM2CLOCKID(v) NUM2INT(v)
  27098. | #define PRI_CLOCKID_PREFIX PRI_INT_PREFIX
  27099. | #define HAVE_PROTOTYPES 1
  27100. | #define TOKEN_PASTE(x,y) x##y
  27101. | #define STRINGIZE(expr) STRINGIZE0(expr)
  27102. | #define HAVE_STDARG_PROTOTYPES 1
  27103. | #define HAVE_VA_ARGS_MACRO 1
  27104. | #define NORETURN(x) __attribute__ ((noreturn)) x
  27105. | #define DEPRECATED(x) __attribute__ ((deprecated)) x
  27106. | #define DEPRECATED_BY(n,x) __attribute__ ((deprecated("by "#n))) x
  27107. | #define DEPRECATED_TYPE(mesg,x) __attribute__ ((deprecated mesg)) x
  27108. | #define NOINLINE(x) __attribute__ ((noinline)) x
  27109. | #define WEAK(x) __attribute__ ((weak)) x
  27110. | #define HAVE_FUNC_WEAK 1
  27111. | #define FUNC_UNOPTIMIZED(x) __attribute__ ((optimize("O0"))) x
  27112. | #define FUNC_MINIMIZED(x) __attribute__ ((optimize("-Os","-fomit-frame-pointer"))) x
  27113. | #define HAVE_ATTRIBUTE_FUNCTION_ALIAS 1
  27114. | #define RUBY_ALIAS_FUNCTION_TYPE(type, prot, name, args) type prot __attribute__((alias(#name)));
  27115. | #define RUBY_ALIAS_FUNCTION_VOID(prot, name, args) RUBY_ALIAS_FUNCTION_TYPE(void, prot, name, args)
  27116. | #define HAVE_GCC_ATOMIC_BUILTINS 1
  27117. | #define HAVE_GCC_SYNC_BUILTINS 1
  27118. | #define UNREACHABLE __builtin_unreachable()
  27119. | #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
  27120. | #define RUBY_FUNCTION_NAME_STRING __func__
  27121. | #define ENUM_OVER_INT 1
  27122. | #define HAVE_DECL_SYS_NERR 1
  27123. | #define HAVE_DECL_GETENV 1
  27124. | #define SIZEOF_SIZE_T 8
  27125. | #define SIZEOF_PTRDIFF_T 8
  27126. | #define PRI_SIZE_PREFIX "z"
  27127. | #define PRI_PTRDIFF_PREFIX "t"
  27128. | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
  27129. | #define HAVE_ST_BLKSIZE 1
  27130. | #define HAVE_STRUCT_STAT_ST_BLOCKS 1
  27131. | #define HAVE_ST_BLOCKS 1
  27132. | #define HAVE_STRUCT_STAT_ST_RDEV 1
  27133. | #define HAVE_ST_RDEV 1
  27134. | #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_OFF_T
  27135. | #define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_OFF_T
  27136. | #define SIZEOF_STRUCT_STAT_ST_INO SIZEOF_LONG
  27137. | #define HAVE_STRUCT_STAT_ST_ATIM 1
  27138. | #define HAVE_STRUCT_STAT_ST_MTIM 1
  27139. | #define HAVE_STRUCT_STAT_ST_CTIM 1
  27140. | #define HAVE_STRUCT_TIMEVAL 1
  27141. | #define SIZEOF_STRUCT_TIMEVAL_TV_SEC SIZEOF_TIME_T
  27142. | #define HAVE_STRUCT_TIMESPEC 1
  27143. | #define HAVE_STRUCT_TIMEZONE 1
  27144. | #define HAVE_CLOCKID_T 1
  27145. | #define HAVE_RB_FD_INIT 1
  27146. | #define HAVE_INT8_T 1
  27147. | #define SIZEOF_INT8_T 1
  27148. | #define HAVE_UINT8_T 1
  27149. | #define SIZEOF_UINT8_T 1
  27150. | #define HAVE_INT16_T 1
  27151. | #define SIZEOF_INT16_T 2
  27152. | #define HAVE_UINT16_T 1
  27153. | #define SIZEOF_UINT16_T 2
  27154. | #define HAVE_INT32_T 1
  27155. | #define SIZEOF_INT32_T 4
  27156. | #define HAVE_UINT32_T 1
  27157. | #define SIZEOF_UINT32_T 4
  27158. | #define HAVE_INT64_T 1
  27159. | #define SIZEOF_INT64_T 8
  27160. | #define HAVE_UINT64_T 1
  27161. | #define SIZEOF_UINT64_T 8
  27162. | #define HAVE_INTPTR_T 1
  27163. | #define SIZEOF_INTPTR_T 8
  27164. | #define HAVE_UINTPTR_T 1
  27165. | #define SIZEOF_UINTPTR_T 8
  27166. | #define HAVE_SSIZE_T 1
  27167. | #define SIZEOF_SSIZE_T 8
  27168. | #define STACK_END_ADDRESS __libc_stack_end
  27169. | #define GETGROUPS_T gid_t
  27170. | #define RETSIGTYPE void
  27171. | #define HAVE_ALLOCA_H 1
  27172. | #define HAVE_ALLOCA 1
  27173. | #define HAVE_ACOSH 1
  27174. | #define HAVE_CBRT 1
  27175. | #define HAVE_CRYPT 1
  27176. | #define HAVE_DUP2 1
  27177. | #define HAVE_ERF 1
  27178. | #define HAVE_EXPLICIT_BZERO 1
  27179. | #define HAVE_FFS 1
  27180. | #define HAVE_FINITE 1
  27181. | #define HAVE_FLOCK 1
  27182. | #define HAVE_HYPOT 1
  27183. | #define HAVE_ISINF 1
  27184. | #define HAVE_ISNAN 1
  27185. | #define HAVE_LGAMMA_R 1
  27186. | #define HAVE_MEMMOVE 1
  27187. | #define HAVE_NEXTAFTER 1
  27188. | #define HAVE_STRCHR 1
  27189. | #define HAVE_STRERROR 1
  27190. | #define HAVE_STRSTR 1
  27191. | #define HAVE_TGAMMA 1
  27192. | #define SPT_TYPE SPT_REUSEARGV
  27193. | #define HAVE_SIGNBIT 1
  27194. | #define HAVE_FORK 1
  27195. | #define HAVE_VFORK 1
  27196. | #define HAVE_WORKING_VFORK 1
  27197. | #define HAVE_WORKING_FORK 1
  27198. | #define HAVE__LONGJMP 1
  27199. | #define HAVE__SETJMP 1
  27200. | #define HAVE_ATAN2L 1
  27201. | #define HAVE_ATAN2F 1
  27202. | #define HAVE_CHROOT 1
  27203. | #define HAVE_CLOCK_GETTIME 1
  27204. | #define HAVE_COSH 1
  27205. | #define HAVE_DIRFD 1
  27206. | #define HAVE_DL_ITERATE_PHDR 1
  27207. | #define HAVE_DLOPEN 1
  27208. | #define HAVE_DLADDR 1
  27209. | #define HAVE_DUP 1
  27210. | #define HAVE_DUP3 1
  27211. | #define HAVE_EACCESS 1
  27212. | #define HAVE_ENDGRENT 1
  27213. | #define HAVE_FCHMOD 1
  27214. | #define HAVE_FCHOWN 1
  27215. | #define HAVE_FCNTL 1
  27216. | #define HAVE_FDATASYNC 1
  27217. | #define HAVE_FMOD 1
  27218. | #define HAVE_FSYNC 1
  27219. | #define HAVE_FTRUNCATE 1
  27220. | #define HAVE_FTRUNCATE64 1
  27221. | #define HAVE_GETCWD 1
  27222. | #define HAVE_GETGRNAM 1
  27223. | #define HAVE_GETGRNAM_R 1
  27224. | #define HAVE_GETGROUPS 1
  27225. | #define HAVE_GETPGID 1
  27226. | #define HAVE_GETPGRP 1
  27227. | #define HAVE_GETPRIORITY 1
  27228. | #define HAVE_GETPWNAM_R 1
  27229. | #define HAVE_GETRESGID 1
  27230. | #define HAVE_GETRESUID 1
  27231. | #define HAVE_GETRLIMIT 1
  27232. | #define HAVE_GETSID 1
  27233. | #define HAVE_GETTIMEOFDAY 1
  27234. | #define HAVE_GMTIME_R 1
  27235. | #define HAVE_INITGROUPS 1
  27236. | #define HAVE_IOCTL 1
  27237. | #define HAVE_KILLPG 1
  27238. | #define HAVE_LCHOWN 1
  27239. | #define HAVE_LINK 1
  27240. | #define HAVE_LLABS 1
  27241. | #define HAVE_LOCKF 1
  27242. | #define HAVE_LOG2 1
  27243. | #define HAVE_LSTAT 1
  27244. | #define HAVE_MALLOC_USABLE_SIZE 1
  27245. | #define HAVE_MBLEN 1
  27246. | #define HAVE_MEMALIGN 1
  27247. | #define HAVE_WRITEV 1
  27248. | #define HAVE_MEMRCHR 1
  27249. | #define HAVE_MEMMEM 1
  27250. | #define HAVE_MKFIFO 1
  27251. | #define HAVE_MKNOD 1
  27252. | #define HAVE_MKTIME 1
  27253. | #define HAVE_PIPE2 1
  27254. | #define HAVE_POLL 1
  27255. | #define HAVE_POSIX_FADVISE 1
  27256. | #define HAVE_POSIX_MEMALIGN 1
  27257. | #define HAVE_PPOLL 1
  27258. | #define HAVE_PREAD 1
  27259. | #define HAVE_QSORT_R 1
  27260. | #define HAVE_READLINK 1
  27261. | #define HAVE_ROUND 1
  27262. | #define HAVE_SCHED_GETAFFINITY 1
  27263. | #define HAVE_SEEKDIR 1
  27264. | #define HAVE_SENDFILE 1
  27265. | #define HAVE_SETEGID 1
  27266. | #define HAVE_SETENV 1
  27267. | #define HAVE_SETEUID 1
  27268. | #define HAVE_SETGID 1
  27269. | #define HAVE_SETGROUPS 1
  27270. | #define HAVE_SETPGID 1
  27271. | #define HAVE_SETPGRP 1
  27272. | #define HAVE_SETREGID 1
  27273. | #define HAVE_SETRESGID 1
  27274. | #define HAVE_SETRESUID 1
  27275. | #define HAVE_SETREUID 1
  27276. | #define HAVE_SETRLIMIT 1
  27277. | #define HAVE_SETSID 1
  27278. | #define HAVE_SETUID 1
  27279. | #define HAVE_SHUTDOWN 1
  27280. | #define HAVE_SIGACTION 1
  27281. | #define HAVE_SIGALTSTACK 1
  27282. | #define HAVE_SIGPROCMASK 1
  27283. | #define HAVE_SINH 1
  27284. | #define HAVE_SYMLINK 1
  27285. | #define HAVE_SYSCALL 1
  27286. | #define HAVE_SYSCONF 1
  27287. | #define HAVE_TANH 1
  27288. | #define HAVE_TELLDIR 1
  27289. | #define HAVE_TIMEGM 1
  27290. | #define HAVE_TIMES 1
  27291. | #define HAVE_TRUNCATE 1
  27292. | #define HAVE_TRUNCATE64 1
  27293. | #define HAVE_UNSETENV 1
  27294. | #define HAVE_UTIMENSAT 1
  27295. | #define HAVE_UTIMES 1
  27296. | #define HAVE_WAIT4 1
  27297. | #define HAVE_WAITPID 1
  27298. | #define HAVE_BUILTIN___BUILTIN_BSWAP16 1
  27299. | #define HAVE_BUILTIN___BUILTIN_BSWAP32 1
  27300. | #define HAVE_BUILTIN___BUILTIN_BSWAP64 1
  27301. | #define HAVE_BUILTIN___BUILTIN_CLZ 1
  27302. | #define HAVE_BUILTIN___BUILTIN_CLZL 1
  27303. | #define HAVE_BUILTIN___BUILTIN_CLZLL 1
  27304. | #define HAVE_BUILTIN___BUILTIN_CHOOSE_EXPR 1
  27305. | #define HAVE_BUILTIN___BUILTIN_CHOOSE_EXPR_CONSTANT_P 1
  27306. | #define HAVE_BUILTIN___BUILTIN_TYPES_COMPATIBLE_P 1
  27307. | #define HAVE_GNU_QSORT_R 1
  27308. | #define ATAN2_INF_C99 1
  27309. | #define HAVE_CLOCK_GETRES 1
  27310. | #define HAVE_STRUCT_TM_TM_ZONE 1
  27311. | #define HAVE_TM_ZONE 1
  27312. | #define HAVE_STRUCT_TM_TM_GMTOFF 1
  27313. | #define HAVE_DAYLIGHT 1
  27314. | #define HAVE_VAR_TIMEZONE 1
  27315. | #define TYPEOF_VAR_TIMEZONE long
  27316. | #define HAVE_TIMEZONE 1
  27317. | #define TIMEZONE_VOID 1
  27318. | #define NEGATIVE_TIME_T 1
  27319. | #define POSIX_SIGNAL 1
  27320. | #define RSHIFT(x,y) ((x)>>(int)(y))
  27321. | #define HAVE__SC_CLK_TCK 1
  27322. | #define STACK_GROW_DIRECTION -1
  27323. | #define _REENTRANT 1
  27324. | #define _THREAD_SAFE 1
  27325. | #define HAVE_LIBPTHREAD 1
  27326. | #define HAVE_SCHED_YIELD 1
  27327. | #define HAVE_PTHREAD_ATTR_SETINHERITSCHED 1
  27328. | #define HAVE_PTHREAD_ATTR_GETSTACK 1
  27329. | #define HAVE_PTHREAD_COND_INIT 1
  27330. | #define HAVE_PTHREAD_CONDATTR_SETCLOCK 1
  27331. | #define HAVE_PTHREAD_CONDATTR_INIT 1
  27332. | #define HAVE_PTHREAD_SIGMASK 1
  27333. | #define HAVE_PTHREAD_SETNAME_NP 1
  27334. | #define HAVE_PTHREAD_GETATTR_NP 1
  27335. | #define HAVE_PTHREAD_ATTR_INIT 1
  27336. | #define SET_CURRENT_THREAD_NAME(name) pthread_setname_np(pthread_self(), name)
  27337. | #define SET_ANOTHER_THREAD_NAME(thid,name) pthread_setname_np(thid, name)
  27338. | #define DEFINE_MCONTEXT_PTR(mc, uc) mcontext_t *mc = &(uc)->uc_mcontext
  27339. | #define HAVE_GETCONTEXT 1
  27340. | #define HAVE_SETCONTEXT 1
  27341. | #define USE_ELF 1
  27342. | #define HAVE_ELF_H 1
  27343. | /* end confdefs.h. */
  27344. | #include <stdio.h>
  27345. | #ifdef HAVE_SYS_TYPES_H
  27346. | # include <sys/types.h>
  27347. | #endif
  27348. | #ifdef HAVE_SYS_STAT_H
  27349. | # include <sys/stat.h>
  27350. | #endif
  27351. | #ifdef STDC_HEADERS
  27352. | # include <stdlib.h>
  27353. | # include <stddef.h>
  27354. | #else
  27355. | # ifdef HAVE_STDLIB_H
  27356. | # include <stdlib.h>
  27357. | # endif
  27358. | #endif
  27359. | #ifdef HAVE_STRING_H
  27360. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  27361. | # include <memory.h>
  27362. | # endif
  27363. | # include <string.h>
  27364. | #endif
  27365. | #ifdef HAVE_STRINGS_H
  27366. | # include <strings.h>
  27367. | #endif
  27368. | #ifdef HAVE_INTTYPES_H
  27369. | # include <inttypes.h>
  27370. | #endif
  27371. | #ifdef HAVE_STDINT_H
  27372. | # include <stdint.h>
  27373. | #endif
  27374. | #ifdef HAVE_UNISTD_H
  27375. | # include <unistd.h>
  27376. | #endif
  27377. | #include <elf_abi.h>
  27378. configure:22179: result: no
  27379. configure:22179: checking elf_abi.h presence
  27380. configure:22179: gcc -E conftest.c
  27381. conftest.c:370:10: fatal error: elf_abi.h: No such file or directory
  27382. #include <elf_abi.h>
  27383. ^~~~~~~~~~~
  27384. compilation terminated.
  27385. configure:22179: $? = 1
  27386. configure: failed program was:
  27387. | /* confdefs.h */
  27388. | #define PACKAGE_NAME ""
  27389. | #define PACKAGE_TARNAME ""
  27390. | #define PACKAGE_VERSION ""
  27391. | #define PACKAGE_STRING ""
  27392. | #define PACKAGE_BUGREPORT ""
  27393. | #define PACKAGE_URL ""
  27394. | #define CANONICALIZATION_FOR_MATHN 1
  27395. | #define STDC_HEADERS 1
  27396. | #define HAVE_SYS_TYPES_H 1
  27397. | #define HAVE_SYS_STAT_H 1
  27398. | #define HAVE_STDLIB_H 1
  27399. | #define HAVE_STRING_H 1
  27400. | #define HAVE_MEMORY_H 1
  27401. | #define HAVE_STRINGS_H 1
  27402. | #define HAVE_INTTYPES_H 1
  27403. | #define HAVE_STDINT_H 1
  27404. | #define HAVE_UNISTD_H 1
  27405. | #define __EXTENSIONS__ 1
  27406. | #define _ALL_SOURCE 1
  27407. | #define _GNU_SOURCE 1
  27408. | #define _POSIX_PTHREAD_SEMANTICS 1
  27409. | #define _TANDEM_SOURCE 1
  27410. | #define HAVE_INFINITY 1
  27411. | #define HAVE_NAN 1
  27412. | #define RUBY_SYMBOL_EXPORT_BEGIN _Pragma("GCC visibility push(default)")
  27413. | #define RUBY_SYMBOL_EXPORT_END _Pragma("GCC visibility pop")
  27414. | #define HAVE_LIBCRYPT 1
  27415. | #define HAVE_LIBDL 1
  27416. | #define HAVE_DIRENT_H 1
  27417. | #define HAVE__BOOL 1
  27418. | #define HAVE_STDBOOL_H 1
  27419. | #define HAVE_SYS_WAIT_H 1
  27420. | #define HAVE_A_OUT_H 1
  27421. | #define HAVE_GRP_H 1
  27422. | #define HAVE_FCNTL_H 1
  27423. | #define HAVE_FLOAT_H 1
  27424. | #define HAVE_LANGINFO_H 1
  27425. | #define HAVE_LIMITS_H 1
  27426. | #define HAVE_LOCALE_H 1
  27427. | #define HAVE_MALLOC_H 1
  27428. | #define HAVE_PWD_H 1
  27429. | #define HAVE_SYS_FCNTL_H 1
  27430. | #define HAVE_SYS_FILE_H 1
  27431. | #define HAVE_SYS_IOCTL_H 1
  27432. | #define HAVE_SYS_PARAM_H 1
  27433. | #define HAVE_SYS_PRCTL_H 1
  27434. | #define HAVE_SYS_RESOURCE_H 1
  27435. | #define HAVE_SYS_SELECT_H 1
  27436. | #define HAVE_SYS_SENDFILE_H 1
  27437. | #define HAVE_SYS_SOCKET_H 1
  27438. | #define HAVE_SYS_SYSCALL_H 1
  27439. | #define HAVE_SYS_TIME_H 1
  27440. | #define HAVE_SYS_TIMES_H 1
  27441. | #define HAVE_SYS_UIO_H 1
  27442. | #define HAVE_SYSCALL_H 1
  27443. | #define HAVE_TIME_H 1
  27444. | #define HAVE_UCONTEXT_H 1
  27445. | #define HAVE_UTIME_H 1
  27446. | #define HAVE_GMP_H 1
  27447. | #define HAVE_LIBGMP 1
  27448. | #define HAVE_TYPEOF 1
  27449. | #define typeof __typeof__
  27450. | #define HAVE_LONG_LONG 1
  27451. | #define HAVE_OFF_T 1
  27452. | #define SIZEOF_INT 4
  27453. | #define SIZEOF_SHORT 2
  27454. | #define SIZEOF_LONG 8
  27455. | #define SIZEOF_LONG_LONG 8
  27456. | #define SIZEOF___INT64 0
  27457. | #define SIZEOF_OFF_T 8
  27458. | #define SIZEOF_VOIDP 8
  27459. | #define SIZEOF_FLOAT 4
  27460. | #define SIZEOF_DOUBLE 8
  27461. | #define SIZEOF_TIME_T 8
  27462. | #define SIZEOF_CLOCK_T 8
  27463. | #define PACKED_STRUCT(x) x __attribute__((packed))
  27464. | #define PACKED_STRUCT_UNALIGNED(x) x
  27465. | #define PRI_LL_PREFIX "ll"
  27466. | #define rb_pid_t pid_t
  27467. | #define SIGNEDNESS_OF_PID_T -1
  27468. | #define PIDT2NUM(v) INT2NUM(v)
  27469. | #define NUM2PIDT(v) NUM2INT(v)
  27470. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  27471. | #define rb_uid_t uid_t
  27472. | #define SIGNEDNESS_OF_UID_T +1
  27473. | #define UIDT2NUM(v) UINT2NUM(v)
  27474. | #define NUM2UIDT(v) NUM2UINT(v)
  27475. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  27476. | #define rb_gid_t gid_t
  27477. | #define SIGNEDNESS_OF_GID_T +1
  27478. | #define GIDT2NUM(v) UINT2NUM(v)
  27479. | #define NUM2GIDT(v) NUM2UINT(v)
  27480. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  27481. | #define rb_time_t time_t
  27482. | #define SIGNEDNESS_OF_TIME_T -1
  27483. | #define TIMET2NUM(v) LONG2NUM(v)
  27484. | #define NUM2TIMET(v) NUM2LONG(v)
  27485. | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
  27486. | #define rb_dev_t dev_t
  27487. | #define SIGNEDNESS_OF_DEV_T +1
  27488. | #define DEVT2NUM(v) ULONG2NUM(v)
  27489. | #define NUM2DEVT(v) NUM2ULONG(v)
  27490. | #define PRI_DEVT_PREFIX PRI_LONG_PREFIX
  27491. | #define rb_mode_t mode_t
  27492. | #define SIGNEDNESS_OF_MODE_T +1
  27493. | #define MODET2NUM(v) UINT2NUM(v)
  27494. | #define NUM2MODET(v) NUM2UINT(v)
  27495. | #define PRI_MODET_PREFIX PRI_INT_PREFIX
  27496. | #define rb_rlim_t rlim_t
  27497. | #define SIGNEDNESS_OF_RLIM_T +1
  27498. | #define RLIM2NUM(v) ULONG2NUM(v)
  27499. | #define NUM2RLIM(v) NUM2ULONG(v)
  27500. | #define PRI_RLIM_PREFIX PRI_LONG_PREFIX
  27501. | #define rb_off_t off_t
  27502. | #define SIGNEDNESS_OF_OFF_T -1
  27503. | #define OFFT2NUM(v) LONG2NUM(v)
  27504. | #define NUM2OFFT(v) NUM2LONG(v)
  27505. | #define PRI_OFFT_PREFIX PRI_LONG_PREFIX
  27506. | #define rb_clockid_t clockid_t
  27507. | #define SIGNEDNESS_OF_CLOCKID_T -1
  27508. | #define CLOCKID2NUM(v) INT2NUM(v)
  27509. | #define NUM2CLOCKID(v) NUM2INT(v)
  27510. | #define PRI_CLOCKID_PREFIX PRI_INT_PREFIX
  27511. | #define HAVE_PROTOTYPES 1
  27512. | #define TOKEN_PASTE(x,y) x##y
  27513. | #define STRINGIZE(expr) STRINGIZE0(expr)
  27514. | #define HAVE_STDARG_PROTOTYPES 1
  27515. | #define HAVE_VA_ARGS_MACRO 1
  27516. | #define NORETURN(x) __attribute__ ((noreturn)) x
  27517. | #define DEPRECATED(x) __attribute__ ((deprecated)) x
  27518. | #define DEPRECATED_BY(n,x) __attribute__ ((deprecated("by "#n))) x
  27519. | #define DEPRECATED_TYPE(mesg,x) __attribute__ ((deprecated mesg)) x
  27520. | #define NOINLINE(x) __attribute__ ((noinline)) x
  27521. | #define WEAK(x) __attribute__ ((weak)) x
  27522. | #define HAVE_FUNC_WEAK 1
  27523. | #define FUNC_UNOPTIMIZED(x) __attribute__ ((optimize("O0"))) x
  27524. | #define FUNC_MINIMIZED(x) __attribute__ ((optimize("-Os","-fomit-frame-pointer"))) x
  27525. | #define HAVE_ATTRIBUTE_FUNCTION_ALIAS 1
  27526. | #define RUBY_ALIAS_FUNCTION_TYPE(type, prot, name, args) type prot __attribute__((alias(#name)));
  27527. | #define RUBY_ALIAS_FUNCTION_VOID(prot, name, args) RUBY_ALIAS_FUNCTION_TYPE(void, prot, name, args)
  27528. | #define HAVE_GCC_ATOMIC_BUILTINS 1
  27529. | #define HAVE_GCC_SYNC_BUILTINS 1
  27530. | #define UNREACHABLE __builtin_unreachable()
  27531. | #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
  27532. | #define RUBY_FUNCTION_NAME_STRING __func__
  27533. | #define ENUM_OVER_INT 1
  27534. | #define HAVE_DECL_SYS_NERR 1
  27535. | #define HAVE_DECL_GETENV 1
  27536. | #define SIZEOF_SIZE_T 8
  27537. | #define SIZEOF_PTRDIFF_T 8
  27538. | #define PRI_SIZE_PREFIX "z"
  27539. | #define PRI_PTRDIFF_PREFIX "t"
  27540. | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
  27541. | #define HAVE_ST_BLKSIZE 1
  27542. | #define HAVE_STRUCT_STAT_ST_BLOCKS 1
  27543. | #define HAVE_ST_BLOCKS 1
  27544. | #define HAVE_STRUCT_STAT_ST_RDEV 1
  27545. | #define HAVE_ST_RDEV 1
  27546. | #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_OFF_T
  27547. | #define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_OFF_T
  27548. | #define SIZEOF_STRUCT_STAT_ST_INO SIZEOF_LONG
  27549. | #define HAVE_STRUCT_STAT_ST_ATIM 1
  27550. | #define HAVE_STRUCT_STAT_ST_MTIM 1
  27551. | #define HAVE_STRUCT_STAT_ST_CTIM 1
  27552. | #define HAVE_STRUCT_TIMEVAL 1
  27553. | #define SIZEOF_STRUCT_TIMEVAL_TV_SEC SIZEOF_TIME_T
  27554. | #define HAVE_STRUCT_TIMESPEC 1
  27555. | #define HAVE_STRUCT_TIMEZONE 1
  27556. | #define HAVE_CLOCKID_T 1
  27557. | #define HAVE_RB_FD_INIT 1
  27558. | #define HAVE_INT8_T 1
  27559. | #define SIZEOF_INT8_T 1
  27560. | #define HAVE_UINT8_T 1
  27561. | #define SIZEOF_UINT8_T 1
  27562. | #define HAVE_INT16_T 1
  27563. | #define SIZEOF_INT16_T 2
  27564. | #define HAVE_UINT16_T 1
  27565. | #define SIZEOF_UINT16_T 2
  27566. | #define HAVE_INT32_T 1
  27567. | #define SIZEOF_INT32_T 4
  27568. | #define HAVE_UINT32_T 1
  27569. | #define SIZEOF_UINT32_T 4
  27570. | #define HAVE_INT64_T 1
  27571. | #define SIZEOF_INT64_T 8
  27572. | #define HAVE_UINT64_T 1
  27573. | #define SIZEOF_UINT64_T 8
  27574. | #define HAVE_INTPTR_T 1
  27575. | #define SIZEOF_INTPTR_T 8
  27576. | #define HAVE_UINTPTR_T 1
  27577. | #define SIZEOF_UINTPTR_T 8
  27578. | #define HAVE_SSIZE_T 1
  27579. | #define SIZEOF_SSIZE_T 8
  27580. | #define STACK_END_ADDRESS __libc_stack_end
  27581. | #define GETGROUPS_T gid_t
  27582. | #define RETSIGTYPE void
  27583. | #define HAVE_ALLOCA_H 1
  27584. | #define HAVE_ALLOCA 1
  27585. | #define HAVE_ACOSH 1
  27586. | #define HAVE_CBRT 1
  27587. | #define HAVE_CRYPT 1
  27588. | #define HAVE_DUP2 1
  27589. | #define HAVE_ERF 1
  27590. | #define HAVE_EXPLICIT_BZERO 1
  27591. | #define HAVE_FFS 1
  27592. | #define HAVE_FINITE 1
  27593. | #define HAVE_FLOCK 1
  27594. | #define HAVE_HYPOT 1
  27595. | #define HAVE_ISINF 1
  27596. | #define HAVE_ISNAN 1
  27597. | #define HAVE_LGAMMA_R 1
  27598. | #define HAVE_MEMMOVE 1
  27599. | #define HAVE_NEXTAFTER 1
  27600. | #define HAVE_STRCHR 1
  27601. | #define HAVE_STRERROR 1
  27602. | #define HAVE_STRSTR 1
  27603. | #define HAVE_TGAMMA 1
  27604. | #define SPT_TYPE SPT_REUSEARGV
  27605. | #define HAVE_SIGNBIT 1
  27606. | #define HAVE_FORK 1
  27607. | #define HAVE_VFORK 1
  27608. | #define HAVE_WORKING_VFORK 1
  27609. | #define HAVE_WORKING_FORK 1
  27610. | #define HAVE__LONGJMP 1
  27611. | #define HAVE__SETJMP 1
  27612. | #define HAVE_ATAN2L 1
  27613. | #define HAVE_ATAN2F 1
  27614. | #define HAVE_CHROOT 1
  27615. | #define HAVE_CLOCK_GETTIME 1
  27616. | #define HAVE_COSH 1
  27617. | #define HAVE_DIRFD 1
  27618. | #define HAVE_DL_ITERATE_PHDR 1
  27619. | #define HAVE_DLOPEN 1
  27620. | #define HAVE_DLADDR 1
  27621. | #define HAVE_DUP 1
  27622. | #define HAVE_DUP3 1
  27623. | #define HAVE_EACCESS 1
  27624. | #define HAVE_ENDGRENT 1
  27625. | #define HAVE_FCHMOD 1
  27626. | #define HAVE_FCHOWN 1
  27627. | #define HAVE_FCNTL 1
  27628. | #define HAVE_FDATASYNC 1
  27629. | #define HAVE_FMOD 1
  27630. | #define HAVE_FSYNC 1
  27631. | #define HAVE_FTRUNCATE 1
  27632. | #define HAVE_FTRUNCATE64 1
  27633. | #define HAVE_GETCWD 1
  27634. | #define HAVE_GETGRNAM 1
  27635. | #define HAVE_GETGRNAM_R 1
  27636. | #define HAVE_GETGROUPS 1
  27637. | #define HAVE_GETPGID 1
  27638. | #define HAVE_GETPGRP 1
  27639. | #define HAVE_GETPRIORITY 1
  27640. | #define HAVE_GETPWNAM_R 1
  27641. | #define HAVE_GETRESGID 1
  27642. | #define HAVE_GETRESUID 1
  27643. | #define HAVE_GETRLIMIT 1
  27644. | #define HAVE_GETSID 1
  27645. | #define HAVE_GETTIMEOFDAY 1
  27646. | #define HAVE_GMTIME_R 1
  27647. | #define HAVE_INITGROUPS 1
  27648. | #define HAVE_IOCTL 1
  27649. | #define HAVE_KILLPG 1
  27650. | #define HAVE_LCHOWN 1
  27651. | #define HAVE_LINK 1
  27652. | #define HAVE_LLABS 1
  27653. | #define HAVE_LOCKF 1
  27654. | #define HAVE_LOG2 1
  27655. | #define HAVE_LSTAT 1
  27656. | #define HAVE_MALLOC_USABLE_SIZE 1
  27657. | #define HAVE_MBLEN 1
  27658. | #define HAVE_MEMALIGN 1
  27659. | #define HAVE_WRITEV 1
  27660. | #define HAVE_MEMRCHR 1
  27661. | #define HAVE_MEMMEM 1
  27662. | #define HAVE_MKFIFO 1
  27663. | #define HAVE_MKNOD 1
  27664. | #define HAVE_MKTIME 1
  27665. | #define HAVE_PIPE2 1
  27666. | #define HAVE_POLL 1
  27667. | #define HAVE_POSIX_FADVISE 1
  27668. | #define HAVE_POSIX_MEMALIGN 1
  27669. | #define HAVE_PPOLL 1
  27670. | #define HAVE_PREAD 1
  27671. | #define HAVE_QSORT_R 1
  27672. | #define HAVE_READLINK 1
  27673. | #define HAVE_ROUND 1
  27674. | #define HAVE_SCHED_GETAFFINITY 1
  27675. | #define HAVE_SEEKDIR 1
  27676. | #define HAVE_SENDFILE 1
  27677. | #define HAVE_SETEGID 1
  27678. | #define HAVE_SETENV 1
  27679. | #define HAVE_SETEUID 1
  27680. | #define HAVE_SETGID 1
  27681. | #define HAVE_SETGROUPS 1
  27682. | #define HAVE_SETPGID 1
  27683. | #define HAVE_SETPGRP 1
  27684. | #define HAVE_SETREGID 1
  27685. | #define HAVE_SETRESGID 1
  27686. | #define HAVE_SETRESUID 1
  27687. | #define HAVE_SETREUID 1
  27688. | #define HAVE_SETRLIMIT 1
  27689. | #define HAVE_SETSID 1
  27690. | #define HAVE_SETUID 1
  27691. | #define HAVE_SHUTDOWN 1
  27692. | #define HAVE_SIGACTION 1
  27693. | #define HAVE_SIGALTSTACK 1
  27694. | #define HAVE_SIGPROCMASK 1
  27695. | #define HAVE_SINH 1
  27696. | #define HAVE_SYMLINK 1
  27697. | #define HAVE_SYSCALL 1
  27698. | #define HAVE_SYSCONF 1
  27699. | #define HAVE_TANH 1
  27700. | #define HAVE_TELLDIR 1
  27701. | #define HAVE_TIMEGM 1
  27702. | #define HAVE_TIMES 1
  27703. | #define HAVE_TRUNCATE 1
  27704. | #define HAVE_TRUNCATE64 1
  27705. | #define HAVE_UNSETENV 1
  27706. | #define HAVE_UTIMENSAT 1
  27707. | #define HAVE_UTIMES 1
  27708. | #define HAVE_WAIT4 1
  27709. | #define HAVE_WAITPID 1
  27710. | #define HAVE_BUILTIN___BUILTIN_BSWAP16 1
  27711. | #define HAVE_BUILTIN___BUILTIN_BSWAP32 1
  27712. | #define HAVE_BUILTIN___BUILTIN_BSWAP64 1
  27713. | #define HAVE_BUILTIN___BUILTIN_CLZ 1
  27714. | #define HAVE_BUILTIN___BUILTIN_CLZL 1
  27715. | #define HAVE_BUILTIN___BUILTIN_CLZLL 1
  27716. | #define HAVE_BUILTIN___BUILTIN_CHOOSE_EXPR 1
  27717. | #define HAVE_BUILTIN___BUILTIN_CHOOSE_EXPR_CONSTANT_P 1
  27718. | #define HAVE_BUILTIN___BUILTIN_TYPES_COMPATIBLE_P 1
  27719. | #define HAVE_GNU_QSORT_R 1
  27720. | #define ATAN2_INF_C99 1
  27721. | #define HAVE_CLOCK_GETRES 1
  27722. | #define HAVE_STRUCT_TM_TM_ZONE 1
  27723. | #define HAVE_TM_ZONE 1
  27724. | #define HAVE_STRUCT_TM_TM_GMTOFF 1
  27725. | #define HAVE_DAYLIGHT 1
  27726. | #define HAVE_VAR_TIMEZONE 1
  27727. | #define TYPEOF_VAR_TIMEZONE long
  27728. | #define HAVE_TIMEZONE 1
  27729. | #define TIMEZONE_VOID 1
  27730. | #define NEGATIVE_TIME_T 1
  27731. | #define POSIX_SIGNAL 1
  27732. | #define RSHIFT(x,y) ((x)>>(int)(y))
  27733. | #define HAVE__SC_CLK_TCK 1
  27734. | #define STACK_GROW_DIRECTION -1
  27735. | #define _REENTRANT 1
  27736. | #define _THREAD_SAFE 1
  27737. | #define HAVE_LIBPTHREAD 1
  27738. | #define HAVE_SCHED_YIELD 1
  27739. | #define HAVE_PTHREAD_ATTR_SETINHERITSCHED 1
  27740. | #define HAVE_PTHREAD_ATTR_GETSTACK 1
  27741. | #define HAVE_PTHREAD_COND_INIT 1
  27742. | #define HAVE_PTHREAD_CONDATTR_SETCLOCK 1
  27743. | #define HAVE_PTHREAD_CONDATTR_INIT 1
  27744. | #define HAVE_PTHREAD_SIGMASK 1
  27745. | #define HAVE_PTHREAD_SETNAME_NP 1
  27746. | #define HAVE_PTHREAD_GETATTR_NP 1
  27747. | #define HAVE_PTHREAD_ATTR_INIT 1
  27748. | #define SET_CURRENT_THREAD_NAME(name) pthread_setname_np(pthread_self(), name)
  27749. | #define SET_ANOTHER_THREAD_NAME(thid,name) pthread_setname_np(thid, name)
  27750. | #define DEFINE_MCONTEXT_PTR(mc, uc) mcontext_t *mc = &(uc)->uc_mcontext
  27751. | #define HAVE_GETCONTEXT 1
  27752. | #define HAVE_SETCONTEXT 1
  27753. | #define USE_ELF 1
  27754. | #define HAVE_ELF_H 1
  27755. | /* end confdefs.h. */
  27756. | #include <elf_abi.h>
  27757. configure:22179: result: no
  27758. configure:22179: checking for elf_abi.h
  27759. configure:22179: result: no
  27760. configure:22220: checking whether OS depend dynamic link works
  27761. configure:22402: result: yes
  27762. configure:22499: checking whether -Wl,-R. is accepted as LDFLAGS
  27763. configure:22521: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat -fstack-protector -rdynamic -Wl,-export-dynamic -Wl,-R. conftest.c -lpthread -lgmp -ldl -lcrypt -lm >&5
  27764. configure:22521: $? = 0
  27765. configure:22523: result: yes
  27766. configure:22855: checking for backtrace
  27767. configure:22855: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector -rdynamic -Wl,-export-dynamic conftest.c -lpthread -lgmp -ldl -lcrypt -lm >&5
  27768. configure:22855: $? = 0
  27769. configure:22855: result: yes
  27770. configure:22866: checking for broken backtrace
  27771. configure:22925: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fstack-protector -rdynamic -Wl,-export-dynamic conftest.c -lpthread -lgmp -ldl -lcrypt -lm >&5
  27772. configure:22925: $? = 0
  27773. configure:22925: ./conftest
  27774. configure:22925: $? = 0
  27775. configure:22935: result: no
  27776. configure:22954: checking valgrind/memcheck.h usability
  27777. configure:22954: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 conftest.c >&5
  27778. conftest.c:404:10: fatal error: valgrind/memcheck.h: No such file or directory
  27779. #include <valgrind/memcheck.h>
  27780. ^~~~~~~~~~~~~~~~~~~~~
  27781. compilation terminated.
  27782. configure:22954: $? = 1
  27783. configure: failed program was:
  27784. | /* confdefs.h */
  27785. | #define PACKAGE_NAME ""
  27786. | #define PACKAGE_TARNAME ""
  27787. | #define PACKAGE_VERSION ""
  27788. | #define PACKAGE_STRING ""
  27789. | #define PACKAGE_BUGREPORT ""
  27790. | #define PACKAGE_URL ""
  27791. | #define CANONICALIZATION_FOR_MATHN 1
  27792. | #define STDC_HEADERS 1
  27793. | #define HAVE_SYS_TYPES_H 1
  27794. | #define HAVE_SYS_STAT_H 1
  27795. | #define HAVE_STDLIB_H 1
  27796. | #define HAVE_STRING_H 1
  27797. | #define HAVE_MEMORY_H 1
  27798. | #define HAVE_STRINGS_H 1
  27799. | #define HAVE_INTTYPES_H 1
  27800. | #define HAVE_STDINT_H 1
  27801. | #define HAVE_UNISTD_H 1
  27802. | #define __EXTENSIONS__ 1
  27803. | #define _ALL_SOURCE 1
  27804. | #define _GNU_SOURCE 1
  27805. | #define _POSIX_PTHREAD_SEMANTICS 1
  27806. | #define _TANDEM_SOURCE 1
  27807. | #define HAVE_INFINITY 1
  27808. | #define HAVE_NAN 1
  27809. | #define RUBY_SYMBOL_EXPORT_BEGIN _Pragma("GCC visibility push(default)")
  27810. | #define RUBY_SYMBOL_EXPORT_END _Pragma("GCC visibility pop")
  27811. | #define HAVE_LIBCRYPT 1
  27812. | #define HAVE_LIBDL 1
  27813. | #define HAVE_DIRENT_H 1
  27814. | #define HAVE__BOOL 1
  27815. | #define HAVE_STDBOOL_H 1
  27816. | #define HAVE_SYS_WAIT_H 1
  27817. | #define HAVE_A_OUT_H 1
  27818. | #define HAVE_GRP_H 1
  27819. | #define HAVE_FCNTL_H 1
  27820. | #define HAVE_FLOAT_H 1
  27821. | #define HAVE_LANGINFO_H 1
  27822. | #define HAVE_LIMITS_H 1
  27823. | #define HAVE_LOCALE_H 1
  27824. | #define HAVE_MALLOC_H 1
  27825. | #define HAVE_PWD_H 1
  27826. | #define HAVE_SYS_FCNTL_H 1
  27827. | #define HAVE_SYS_FILE_H 1
  27828. | #define HAVE_SYS_IOCTL_H 1
  27829. | #define HAVE_SYS_PARAM_H 1
  27830. | #define HAVE_SYS_PRCTL_H 1
  27831. | #define HAVE_SYS_RESOURCE_H 1
  27832. | #define HAVE_SYS_SELECT_H 1
  27833. | #define HAVE_SYS_SENDFILE_H 1
  27834. | #define HAVE_SYS_SOCKET_H 1
  27835. | #define HAVE_SYS_SYSCALL_H 1
  27836. | #define HAVE_SYS_TIME_H 1
  27837. | #define HAVE_SYS_TIMES_H 1
  27838. | #define HAVE_SYS_UIO_H 1
  27839. | #define HAVE_SYSCALL_H 1
  27840. | #define HAVE_TIME_H 1
  27841. | #define HAVE_UCONTEXT_H 1
  27842. | #define HAVE_UTIME_H 1
  27843. | #define HAVE_GMP_H 1
  27844. | #define HAVE_LIBGMP 1
  27845. | #define HAVE_TYPEOF 1
  27846. | #define typeof __typeof__
  27847. | #define HAVE_LONG_LONG 1
  27848. | #define HAVE_OFF_T 1
  27849. | #define SIZEOF_INT 4
  27850. | #define SIZEOF_SHORT 2
  27851. | #define SIZEOF_LONG 8
  27852. | #define SIZEOF_LONG_LONG 8
  27853. | #define SIZEOF___INT64 0
  27854. | #define SIZEOF_OFF_T 8
  27855. | #define SIZEOF_VOIDP 8
  27856. | #define SIZEOF_FLOAT 4
  27857. | #define SIZEOF_DOUBLE 8
  27858. | #define SIZEOF_TIME_T 8
  27859. | #define SIZEOF_CLOCK_T 8
  27860. | #define PACKED_STRUCT(x) x __attribute__((packed))
  27861. | #define PACKED_STRUCT_UNALIGNED(x) x
  27862. | #define PRI_LL_PREFIX "ll"
  27863. | #define rb_pid_t pid_t
  27864. | #define SIGNEDNESS_OF_PID_T -1
  27865. | #define PIDT2NUM(v) INT2NUM(v)
  27866. | #define NUM2PIDT(v) NUM2INT(v)
  27867. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  27868. | #define rb_uid_t uid_t
  27869. | #define SIGNEDNESS_OF_UID_T +1
  27870. | #define UIDT2NUM(v) UINT2NUM(v)
  27871. | #define NUM2UIDT(v) NUM2UINT(v)
  27872. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  27873. | #define rb_gid_t gid_t
  27874. | #define SIGNEDNESS_OF_GID_T +1
  27875. | #define GIDT2NUM(v) UINT2NUM(v)
  27876. | #define NUM2GIDT(v) NUM2UINT(v)
  27877. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  27878. | #define rb_time_t time_t
  27879. | #define SIGNEDNESS_OF_TIME_T -1
  27880. | #define TIMET2NUM(v) LONG2NUM(v)
  27881. | #define NUM2TIMET(v) NUM2LONG(v)
  27882. | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
  27883. | #define rb_dev_t dev_t
  27884. | #define SIGNEDNESS_OF_DEV_T +1
  27885. | #define DEVT2NUM(v) ULONG2NUM(v)
  27886. | #define NUM2DEVT(v) NUM2ULONG(v)
  27887. | #define PRI_DEVT_PREFIX PRI_LONG_PREFIX
  27888. | #define rb_mode_t mode_t
  27889. | #define SIGNEDNESS_OF_MODE_T +1
  27890. | #define MODET2NUM(v) UINT2NUM(v)
  27891. | #define NUM2MODET(v) NUM2UINT(v)
  27892. | #define PRI_MODET_PREFIX PRI_INT_PREFIX
  27893. | #define rb_rlim_t rlim_t
  27894. | #define SIGNEDNESS_OF_RLIM_T +1
  27895. | #define RLIM2NUM(v) ULONG2NUM(v)
  27896. | #define NUM2RLIM(v) NUM2ULONG(v)
  27897. | #define PRI_RLIM_PREFIX PRI_LONG_PREFIX
  27898. | #define rb_off_t off_t
  27899. | #define SIGNEDNESS_OF_OFF_T -1
  27900. | #define OFFT2NUM(v) LONG2NUM(v)
  27901. | #define NUM2OFFT(v) NUM2LONG(v)
  27902. | #define PRI_OFFT_PREFIX PRI_LONG_PREFIX
  27903. | #define rb_clockid_t clockid_t
  27904. | #define SIGNEDNESS_OF_CLOCKID_T -1
  27905. | #define CLOCKID2NUM(v) INT2NUM(v)
  27906. | #define NUM2CLOCKID(v) NUM2INT(v)
  27907. | #define PRI_CLOCKID_PREFIX PRI_INT_PREFIX
  27908. | #define HAVE_PROTOTYPES 1
  27909. | #define TOKEN_PASTE(x,y) x##y
  27910. | #define STRINGIZE(expr) STRINGIZE0(expr)
  27911. | #define HAVE_STDARG_PROTOTYPES 1
  27912. | #define HAVE_VA_ARGS_MACRO 1
  27913. | #define NORETURN(x) __attribute__ ((noreturn)) x
  27914. | #define DEPRECATED(x) __attribute__ ((deprecated)) x
  27915. | #define DEPRECATED_BY(n,x) __attribute__ ((deprecated("by "#n))) x
  27916. | #define DEPRECATED_TYPE(mesg,x) __attribute__ ((deprecated mesg)) x
  27917. | #define NOINLINE(x) __attribute__ ((noinline)) x
  27918. | #define WEAK(x) __attribute__ ((weak)) x
  27919. | #define HAVE_FUNC_WEAK 1
  27920. | #define FUNC_UNOPTIMIZED(x) __attribute__ ((optimize("O0"))) x
  27921. | #define FUNC_MINIMIZED(x) __attribute__ ((optimize("-Os","-fomit-frame-pointer"))) x
  27922. | #define HAVE_ATTRIBUTE_FUNCTION_ALIAS 1
  27923. | #define RUBY_ALIAS_FUNCTION_TYPE(type, prot, name, args) type prot __attribute__((alias(#name)));
  27924. | #define RUBY_ALIAS_FUNCTION_VOID(prot, name, args) RUBY_ALIAS_FUNCTION_TYPE(void, prot, name, args)
  27925. | #define HAVE_GCC_ATOMIC_BUILTINS 1
  27926. | #define HAVE_GCC_SYNC_BUILTINS 1
  27927. | #define UNREACHABLE __builtin_unreachable()
  27928. | #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
  27929. | #define RUBY_FUNCTION_NAME_STRING __func__
  27930. | #define ENUM_OVER_INT 1
  27931. | #define HAVE_DECL_SYS_NERR 1
  27932. | #define HAVE_DECL_GETENV 1
  27933. | #define SIZEOF_SIZE_T 8
  27934. | #define SIZEOF_PTRDIFF_T 8
  27935. | #define PRI_SIZE_PREFIX "z"
  27936. | #define PRI_PTRDIFF_PREFIX "t"
  27937. | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
  27938. | #define HAVE_ST_BLKSIZE 1
  27939. | #define HAVE_STRUCT_STAT_ST_BLOCKS 1
  27940. | #define HAVE_ST_BLOCKS 1
  27941. | #define HAVE_STRUCT_STAT_ST_RDEV 1
  27942. | #define HAVE_ST_RDEV 1
  27943. | #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_OFF_T
  27944. | #define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_OFF_T
  27945. | #define SIZEOF_STRUCT_STAT_ST_INO SIZEOF_LONG
  27946. | #define HAVE_STRUCT_STAT_ST_ATIM 1
  27947. | #define HAVE_STRUCT_STAT_ST_MTIM 1
  27948. | #define HAVE_STRUCT_STAT_ST_CTIM 1
  27949. | #define HAVE_STRUCT_TIMEVAL 1
  27950. | #define SIZEOF_STRUCT_TIMEVAL_TV_SEC SIZEOF_TIME_T
  27951. | #define HAVE_STRUCT_TIMESPEC 1
  27952. | #define HAVE_STRUCT_TIMEZONE 1
  27953. | #define HAVE_CLOCKID_T 1
  27954. | #define HAVE_RB_FD_INIT 1
  27955. | #define HAVE_INT8_T 1
  27956. | #define SIZEOF_INT8_T 1
  27957. | #define HAVE_UINT8_T 1
  27958. | #define SIZEOF_UINT8_T 1
  27959. | #define HAVE_INT16_T 1
  27960. | #define SIZEOF_INT16_T 2
  27961. | #define HAVE_UINT16_T 1
  27962. | #define SIZEOF_UINT16_T 2
  27963. | #define HAVE_INT32_T 1
  27964. | #define SIZEOF_INT32_T 4
  27965. | #define HAVE_UINT32_T 1
  27966. | #define SIZEOF_UINT32_T 4
  27967. | #define HAVE_INT64_T 1
  27968. | #define SIZEOF_INT64_T 8
  27969. | #define HAVE_UINT64_T 1
  27970. | #define SIZEOF_UINT64_T 8
  27971. | #define HAVE_INTPTR_T 1
  27972. | #define SIZEOF_INTPTR_T 8
  27973. | #define HAVE_UINTPTR_T 1
  27974. | #define SIZEOF_UINTPTR_T 8
  27975. | #define HAVE_SSIZE_T 1
  27976. | #define SIZEOF_SSIZE_T 8
  27977. | #define STACK_END_ADDRESS __libc_stack_end
  27978. | #define GETGROUPS_T gid_t
  27979. | #define RETSIGTYPE void
  27980. | #define HAVE_ALLOCA_H 1
  27981. | #define HAVE_ALLOCA 1
  27982. | #define HAVE_ACOSH 1
  27983. | #define HAVE_CBRT 1
  27984. | #define HAVE_CRYPT 1
  27985. | #define HAVE_DUP2 1
  27986. | #define HAVE_ERF 1
  27987. | #define HAVE_EXPLICIT_BZERO 1
  27988. | #define HAVE_FFS 1
  27989. | #define HAVE_FINITE 1
  27990. | #define HAVE_FLOCK 1
  27991. | #define HAVE_HYPOT 1
  27992. | #define HAVE_ISINF 1
  27993. | #define HAVE_ISNAN 1
  27994. | #define HAVE_LGAMMA_R 1
  27995. | #define HAVE_MEMMOVE 1
  27996. | #define HAVE_NEXTAFTER 1
  27997. | #define HAVE_STRCHR 1
  27998. | #define HAVE_STRERROR 1
  27999. | #define HAVE_STRSTR 1
  28000. | #define HAVE_TGAMMA 1
  28001. | #define SPT_TYPE SPT_REUSEARGV
  28002. | #define HAVE_SIGNBIT 1
  28003. | #define HAVE_FORK 1
  28004. | #define HAVE_VFORK 1
  28005. | #define HAVE_WORKING_VFORK 1
  28006. | #define HAVE_WORKING_FORK 1
  28007. | #define HAVE__LONGJMP 1
  28008. | #define HAVE__SETJMP 1
  28009. | #define HAVE_ATAN2L 1
  28010. | #define HAVE_ATAN2F 1
  28011. | #define HAVE_CHROOT 1
  28012. | #define HAVE_CLOCK_GETTIME 1
  28013. | #define HAVE_COSH 1
  28014. | #define HAVE_DIRFD 1
  28015. | #define HAVE_DL_ITERATE_PHDR 1
  28016. | #define HAVE_DLOPEN 1
  28017. | #define HAVE_DLADDR 1
  28018. | #define HAVE_DUP 1
  28019. | #define HAVE_DUP3 1
  28020. | #define HAVE_EACCESS 1
  28021. | #define HAVE_ENDGRENT 1
  28022. | #define HAVE_FCHMOD 1
  28023. | #define HAVE_FCHOWN 1
  28024. | #define HAVE_FCNTL 1
  28025. | #define HAVE_FDATASYNC 1
  28026. | #define HAVE_FMOD 1
  28027. | #define HAVE_FSYNC 1
  28028. | #define HAVE_FTRUNCATE 1
  28029. | #define HAVE_FTRUNCATE64 1
  28030. | #define HAVE_GETCWD 1
  28031. | #define HAVE_GETGRNAM 1
  28032. | #define HAVE_GETGRNAM_R 1
  28033. | #define HAVE_GETGROUPS 1
  28034. | #define HAVE_GETPGID 1
  28035. | #define HAVE_GETPGRP 1
  28036. | #define HAVE_GETPRIORITY 1
  28037. | #define HAVE_GETPWNAM_R 1
  28038. | #define HAVE_GETRESGID 1
  28039. | #define HAVE_GETRESUID 1
  28040. | #define HAVE_GETRLIMIT 1
  28041. | #define HAVE_GETSID 1
  28042. | #define HAVE_GETTIMEOFDAY 1
  28043. | #define HAVE_GMTIME_R 1
  28044. | #define HAVE_INITGROUPS 1
  28045. | #define HAVE_IOCTL 1
  28046. | #define HAVE_KILLPG 1
  28047. | #define HAVE_LCHOWN 1
  28048. | #define HAVE_LINK 1
  28049. | #define HAVE_LLABS 1
  28050. | #define HAVE_LOCKF 1
  28051. | #define HAVE_LOG2 1
  28052. | #define HAVE_LSTAT 1
  28053. | #define HAVE_MALLOC_USABLE_SIZE 1
  28054. | #define HAVE_MBLEN 1
  28055. | #define HAVE_MEMALIGN 1
  28056. | #define HAVE_WRITEV 1
  28057. | #define HAVE_MEMRCHR 1
  28058. | #define HAVE_MEMMEM 1
  28059. | #define HAVE_MKFIFO 1
  28060. | #define HAVE_MKNOD 1
  28061. | #define HAVE_MKTIME 1
  28062. | #define HAVE_PIPE2 1
  28063. | #define HAVE_POLL 1
  28064. | #define HAVE_POSIX_FADVISE 1
  28065. | #define HAVE_POSIX_MEMALIGN 1
  28066. | #define HAVE_PPOLL 1
  28067. | #define HAVE_PREAD 1
  28068. | #define HAVE_QSORT_R 1
  28069. | #define HAVE_READLINK 1
  28070. | #define HAVE_ROUND 1
  28071. | #define HAVE_SCHED_GETAFFINITY 1
  28072. | #define HAVE_SEEKDIR 1
  28073. | #define HAVE_SENDFILE 1
  28074. | #define HAVE_SETEGID 1
  28075. | #define HAVE_SETENV 1
  28076. | #define HAVE_SETEUID 1
  28077. | #define HAVE_SETGID 1
  28078. | #define HAVE_SETGROUPS 1
  28079. | #define HAVE_SETPGID 1
  28080. | #define HAVE_SETPGRP 1
  28081. | #define HAVE_SETREGID 1
  28082. | #define HAVE_SETRESGID 1
  28083. | #define HAVE_SETRESUID 1
  28084. | #define HAVE_SETREUID 1
  28085. | #define HAVE_SETRLIMIT 1
  28086. | #define HAVE_SETSID 1
  28087. | #define HAVE_SETUID 1
  28088. | #define HAVE_SHUTDOWN 1
  28089. | #define HAVE_SIGACTION 1
  28090. | #define HAVE_SIGALTSTACK 1
  28091. | #define HAVE_SIGPROCMASK 1
  28092. | #define HAVE_SINH 1
  28093. | #define HAVE_SYMLINK 1
  28094. | #define HAVE_SYSCALL 1
  28095. | #define HAVE_SYSCONF 1
  28096. | #define HAVE_TANH 1
  28097. | #define HAVE_TELLDIR 1
  28098. | #define HAVE_TIMEGM 1
  28099. | #define HAVE_TIMES 1
  28100. | #define HAVE_TRUNCATE 1
  28101. | #define HAVE_TRUNCATE64 1
  28102. | #define HAVE_UNSETENV 1
  28103. | #define HAVE_UTIMENSAT 1
  28104. | #define HAVE_UTIMES 1
  28105. | #define HAVE_WAIT4 1
  28106. | #define HAVE_WAITPID 1
  28107. | #define HAVE_BUILTIN___BUILTIN_BSWAP16 1
  28108. | #define HAVE_BUILTIN___BUILTIN_BSWAP32 1
  28109. | #define HAVE_BUILTIN___BUILTIN_BSWAP64 1
  28110. | #define HAVE_BUILTIN___BUILTIN_CLZ 1
  28111. | #define HAVE_BUILTIN___BUILTIN_CLZL 1
  28112. | #define HAVE_BUILTIN___BUILTIN_CLZLL 1
  28113. | #define HAVE_BUILTIN___BUILTIN_CHOOSE_EXPR 1
  28114. | #define HAVE_BUILTIN___BUILTIN_CHOOSE_EXPR_CONSTANT_P 1
  28115. | #define HAVE_BUILTIN___BUILTIN_TYPES_COMPATIBLE_P 1
  28116. | #define HAVE_GNU_QSORT_R 1
  28117. | #define ATAN2_INF_C99 1
  28118. | #define HAVE_CLOCK_GETRES 1
  28119. | #define HAVE_STRUCT_TM_TM_ZONE 1
  28120. | #define HAVE_TM_ZONE 1
  28121. | #define HAVE_STRUCT_TM_TM_GMTOFF 1
  28122. | #define HAVE_DAYLIGHT 1
  28123. | #define HAVE_VAR_TIMEZONE 1
  28124. | #define TYPEOF_VAR_TIMEZONE long
  28125. | #define HAVE_TIMEZONE 1
  28126. | #define TIMEZONE_VOID 1
  28127. | #define NEGATIVE_TIME_T 1
  28128. | #define POSIX_SIGNAL 1
  28129. | #define RSHIFT(x,y) ((x)>>(int)(y))
  28130. | #define HAVE__SC_CLK_TCK 1
  28131. | #define STACK_GROW_DIRECTION -1
  28132. | #define _REENTRANT 1
  28133. | #define _THREAD_SAFE 1
  28134. | #define HAVE_LIBPTHREAD 1
  28135. | #define HAVE_SCHED_YIELD 1
  28136. | #define HAVE_PTHREAD_ATTR_SETINHERITSCHED 1
  28137. | #define HAVE_PTHREAD_ATTR_GETSTACK 1
  28138. | #define HAVE_PTHREAD_COND_INIT 1
  28139. | #define HAVE_PTHREAD_CONDATTR_SETCLOCK 1
  28140. | #define HAVE_PTHREAD_CONDATTR_INIT 1
  28141. | #define HAVE_PTHREAD_SIGMASK 1
  28142. | #define HAVE_PTHREAD_SETNAME_NP 1
  28143. | #define HAVE_PTHREAD_GETATTR_NP 1
  28144. | #define HAVE_PTHREAD_ATTR_INIT 1
  28145. | #define SET_CURRENT_THREAD_NAME(name) pthread_setname_np(pthread_self(), name)
  28146. | #define SET_ANOTHER_THREAD_NAME(thid,name) pthread_setname_np(thid, name)
  28147. | #define DEFINE_MCONTEXT_PTR(mc, uc) mcontext_t *mc = &(uc)->uc_mcontext
  28148. | #define HAVE_GETCONTEXT 1
  28149. | #define HAVE_SETCONTEXT 1
  28150. | #define USE_ELF 1
  28151. | #define HAVE_ELF_H 1
  28152. | #define HAVE_BACKTRACE 1
  28153. | /* end confdefs.h. */
  28154. | #include <stdio.h>
  28155. | #ifdef HAVE_SYS_TYPES_H
  28156. | # include <sys/types.h>
  28157. | #endif
  28158. | #ifdef HAVE_SYS_STAT_H
  28159. | # include <sys/stat.h>
  28160. | #endif
  28161. | #ifdef STDC_HEADERS
  28162. | # include <stdlib.h>
  28163. | # include <stddef.h>
  28164. | #else
  28165. | # ifdef HAVE_STDLIB_H
  28166. | # include <stdlib.h>
  28167. | # endif
  28168. | #endif
  28169. | #ifdef HAVE_STRING_H
  28170. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  28171. | # include <memory.h>
  28172. | # endif
  28173. | # include <string.h>
  28174. | #endif
  28175. | #ifdef HAVE_STRINGS_H
  28176. | # include <strings.h>
  28177. | #endif
  28178. | #ifdef HAVE_INTTYPES_H
  28179. | # include <inttypes.h>
  28180. | #endif
  28181. | #ifdef HAVE_STDINT_H
  28182. | # include <stdint.h>
  28183. | #endif
  28184. | #ifdef HAVE_UNISTD_H
  28185. | # include <unistd.h>
  28186. | #endif
  28187. | #include <valgrind/memcheck.h>
  28188. configure:22954: result: no
  28189. configure:22954: checking valgrind/memcheck.h presence
  28190. configure:22954: gcc -E conftest.c
  28191. conftest.c:371:10: fatal error: valgrind/memcheck.h: No such file or directory
  28192. #include <valgrind/memcheck.h>
  28193. ^~~~~~~~~~~~~~~~~~~~~
  28194. compilation terminated.
  28195. configure:22954: $? = 1
  28196. configure: failed program was:
  28197. | /* confdefs.h */
  28198. | #define PACKAGE_NAME ""
  28199. | #define PACKAGE_TARNAME ""
  28200. | #define PACKAGE_VERSION ""
  28201. | #define PACKAGE_STRING ""
  28202. | #define PACKAGE_BUGREPORT ""
  28203. | #define PACKAGE_URL ""
  28204. | #define CANONICALIZATION_FOR_MATHN 1
  28205. | #define STDC_HEADERS 1
  28206. | #define HAVE_SYS_TYPES_H 1
  28207. | #define HAVE_SYS_STAT_H 1
  28208. | #define HAVE_STDLIB_H 1
  28209. | #define HAVE_STRING_H 1
  28210. | #define HAVE_MEMORY_H 1
  28211. | #define HAVE_STRINGS_H 1
  28212. | #define HAVE_INTTYPES_H 1
  28213. | #define HAVE_STDINT_H 1
  28214. | #define HAVE_UNISTD_H 1
  28215. | #define __EXTENSIONS__ 1
  28216. | #define _ALL_SOURCE 1
  28217. | #define _GNU_SOURCE 1
  28218. | #define _POSIX_PTHREAD_SEMANTICS 1
  28219. | #define _TANDEM_SOURCE 1
  28220. | #define HAVE_INFINITY 1
  28221. | #define HAVE_NAN 1
  28222. | #define RUBY_SYMBOL_EXPORT_BEGIN _Pragma("GCC visibility push(default)")
  28223. | #define RUBY_SYMBOL_EXPORT_END _Pragma("GCC visibility pop")
  28224. | #define HAVE_LIBCRYPT 1
  28225. | #define HAVE_LIBDL 1
  28226. | #define HAVE_DIRENT_H 1
  28227. | #define HAVE__BOOL 1
  28228. | #define HAVE_STDBOOL_H 1
  28229. | #define HAVE_SYS_WAIT_H 1
  28230. | #define HAVE_A_OUT_H 1
  28231. | #define HAVE_GRP_H 1
  28232. | #define HAVE_FCNTL_H 1
  28233. | #define HAVE_FLOAT_H 1
  28234. | #define HAVE_LANGINFO_H 1
  28235. | #define HAVE_LIMITS_H 1
  28236. | #define HAVE_LOCALE_H 1
  28237. | #define HAVE_MALLOC_H 1
  28238. | #define HAVE_PWD_H 1
  28239. | #define HAVE_SYS_FCNTL_H 1
  28240. | #define HAVE_SYS_FILE_H 1
  28241. | #define HAVE_SYS_IOCTL_H 1
  28242. | #define HAVE_SYS_PARAM_H 1
  28243. | #define HAVE_SYS_PRCTL_H 1
  28244. | #define HAVE_SYS_RESOURCE_H 1
  28245. | #define HAVE_SYS_SELECT_H 1
  28246. | #define HAVE_SYS_SENDFILE_H 1
  28247. | #define HAVE_SYS_SOCKET_H 1
  28248. | #define HAVE_SYS_SYSCALL_H 1
  28249. | #define HAVE_SYS_TIME_H 1
  28250. | #define HAVE_SYS_TIMES_H 1
  28251. | #define HAVE_SYS_UIO_H 1
  28252. | #define HAVE_SYSCALL_H 1
  28253. | #define HAVE_TIME_H 1
  28254. | #define HAVE_UCONTEXT_H 1
  28255. | #define HAVE_UTIME_H 1
  28256. | #define HAVE_GMP_H 1
  28257. | #define HAVE_LIBGMP 1
  28258. | #define HAVE_TYPEOF 1
  28259. | #define typeof __typeof__
  28260. | #define HAVE_LONG_LONG 1
  28261. | #define HAVE_OFF_T 1
  28262. | #define SIZEOF_INT 4
  28263. | #define SIZEOF_SHORT 2
  28264. | #define SIZEOF_LONG 8
  28265. | #define SIZEOF_LONG_LONG 8
  28266. | #define SIZEOF___INT64 0
  28267. | #define SIZEOF_OFF_T 8
  28268. | #define SIZEOF_VOIDP 8
  28269. | #define SIZEOF_FLOAT 4
  28270. | #define SIZEOF_DOUBLE 8
  28271. | #define SIZEOF_TIME_T 8
  28272. | #define SIZEOF_CLOCK_T 8
  28273. | #define PACKED_STRUCT(x) x __attribute__((packed))
  28274. | #define PACKED_STRUCT_UNALIGNED(x) x
  28275. | #define PRI_LL_PREFIX "ll"
  28276. | #define rb_pid_t pid_t
  28277. | #define SIGNEDNESS_OF_PID_T -1
  28278. | #define PIDT2NUM(v) INT2NUM(v)
  28279. | #define NUM2PIDT(v) NUM2INT(v)
  28280. | #define PRI_PIDT_PREFIX PRI_INT_PREFIX
  28281. | #define rb_uid_t uid_t
  28282. | #define SIGNEDNESS_OF_UID_T +1
  28283. | #define UIDT2NUM(v) UINT2NUM(v)
  28284. | #define NUM2UIDT(v) NUM2UINT(v)
  28285. | #define PRI_UIDT_PREFIX PRI_INT_PREFIX
  28286. | #define rb_gid_t gid_t
  28287. | #define SIGNEDNESS_OF_GID_T +1
  28288. | #define GIDT2NUM(v) UINT2NUM(v)
  28289. | #define NUM2GIDT(v) NUM2UINT(v)
  28290. | #define PRI_GIDT_PREFIX PRI_INT_PREFIX
  28291. | #define rb_time_t time_t
  28292. | #define SIGNEDNESS_OF_TIME_T -1
  28293. | #define TIMET2NUM(v) LONG2NUM(v)
  28294. | #define NUM2TIMET(v) NUM2LONG(v)
  28295. | #define PRI_TIMET_PREFIX PRI_LONG_PREFIX
  28296. | #define rb_dev_t dev_t
  28297. | #define SIGNEDNESS_OF_DEV_T +1
  28298. | #define DEVT2NUM(v) ULONG2NUM(v)
  28299. | #define NUM2DEVT(v) NUM2ULONG(v)
  28300. | #define PRI_DEVT_PREFIX PRI_LONG_PREFIX
  28301. | #define rb_mode_t mode_t
  28302. | #define SIGNEDNESS_OF_MODE_T +1
  28303. | #define MODET2NUM(v) UINT2NUM(v)
  28304. | #define NUM2MODET(v) NUM2UINT(v)
  28305. | #define PRI_MODET_PREFIX PRI_INT_PREFIX
  28306. | #define rb_rlim_t rlim_t
  28307. | #define SIGNEDNESS_OF_RLIM_T +1
  28308. | #define RLIM2NUM(v) ULONG2NUM(v)
  28309. | #define NUM2RLIM(v) NUM2ULONG(v)
  28310. | #define PRI_RLIM_PREFIX PRI_LONG_PREFIX
  28311. | #define rb_off_t off_t
  28312. | #define SIGNEDNESS_OF_OFF_T -1
  28313. | #define OFFT2NUM(v) LONG2NUM(v)
  28314. | #define NUM2OFFT(v) NUM2LONG(v)
  28315. | #define PRI_OFFT_PREFIX PRI_LONG_PREFIX
  28316. | #define rb_clockid_t clockid_t
  28317. | #define SIGNEDNESS_OF_CLOCKID_T -1
  28318. | #define CLOCKID2NUM(v) INT2NUM(v)
  28319. | #define NUM2CLOCKID(v) NUM2INT(v)
  28320. | #define PRI_CLOCKID_PREFIX PRI_INT_PREFIX
  28321. | #define HAVE_PROTOTYPES 1
  28322. | #define TOKEN_PASTE(x,y) x##y
  28323. | #define STRINGIZE(expr) STRINGIZE0(expr)
  28324. | #define HAVE_STDARG_PROTOTYPES 1
  28325. | #define HAVE_VA_ARGS_MACRO 1
  28326. | #define NORETURN(x) __attribute__ ((noreturn)) x
  28327. | #define DEPRECATED(x) __attribute__ ((deprecated)) x
  28328. | #define DEPRECATED_BY(n,x) __attribute__ ((deprecated("by "#n))) x
  28329. | #define DEPRECATED_TYPE(mesg,x) __attribute__ ((deprecated mesg)) x
  28330. | #define NOINLINE(x) __attribute__ ((noinline)) x
  28331. | #define WEAK(x) __attribute__ ((weak)) x
  28332. | #define HAVE_FUNC_WEAK 1
  28333. | #define FUNC_UNOPTIMIZED(x) __attribute__ ((optimize("O0"))) x
  28334. | #define FUNC_MINIMIZED(x) __attribute__ ((optimize("-Os","-fomit-frame-pointer"))) x
  28335. | #define HAVE_ATTRIBUTE_FUNCTION_ALIAS 1
  28336. | #define RUBY_ALIAS_FUNCTION_TYPE(type, prot, name, args) type prot __attribute__((alias(#name)));
  28337. | #define RUBY_ALIAS_FUNCTION_VOID(prot, name, args) RUBY_ALIAS_FUNCTION_TYPE(void, prot, name, args)
  28338. | #define HAVE_GCC_ATOMIC_BUILTINS 1
  28339. | #define HAVE_GCC_SYNC_BUILTINS 1
  28340. | #define UNREACHABLE __builtin_unreachable()
  28341. | #define RUBY_FUNC_EXPORTED __attribute__ ((visibility("default"))) extern
  28342. | #define RUBY_FUNCTION_NAME_STRING __func__
  28343. | #define ENUM_OVER_INT 1
  28344. | #define HAVE_DECL_SYS_NERR 1
  28345. | #define HAVE_DECL_GETENV 1
  28346. | #define SIZEOF_SIZE_T 8
  28347. | #define SIZEOF_PTRDIFF_T 8
  28348. | #define PRI_SIZE_PREFIX "z"
  28349. | #define PRI_PTRDIFF_PREFIX "t"
  28350. | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
  28351. | #define HAVE_ST_BLKSIZE 1
  28352. | #define HAVE_STRUCT_STAT_ST_BLOCKS 1
  28353. | #define HAVE_ST_BLOCKS 1
  28354. | #define HAVE_STRUCT_STAT_ST_RDEV 1
  28355. | #define HAVE_ST_RDEV 1
  28356. | #define SIZEOF_STRUCT_STAT_ST_SIZE SIZEOF_OFF_T
  28357. | #define SIZEOF_STRUCT_STAT_ST_BLOCKS SIZEOF_OFF_T
  28358. | #define SIZEOF_STRUCT_STAT_ST_INO SIZEOF_LONG
  28359. | #define HAVE_STRUCT_STAT_ST_ATIM 1
  28360. | #define HAVE_STRUCT_STAT_ST_MTIM 1
  28361. | #define HAVE_STRUCT_STAT_ST_CTIM 1
  28362. | #define HAVE_STRUCT_TIMEVAL 1
  28363. | #define SIZEOF_STRUCT_TIMEVAL_TV_SEC SIZEOF_TIME_T
  28364. | #define HAVE_STRUCT_TIMESPEC 1
  28365. | #define HAVE_STRUCT_TIMEZONE 1
  28366. | #define HAVE_CLOCKID_T 1
  28367. | #define HAVE_RB_FD_INIT 1
  28368. | #define HAVE_INT8_T 1
  28369. | #define SIZEOF_INT8_T 1
  28370. | #define HAVE_UINT8_T 1
  28371. | #define SIZEOF_UINT8_T 1
  28372. | #define HAVE_INT16_T 1
  28373. | #define SIZEOF_INT16_T 2
  28374. | #define HAVE_UINT16_T 1
  28375. | #define SIZEOF_UINT16_T 2
  28376. | #define HAVE_INT32_T 1
  28377. | #define SIZEOF_INT32_T 4
  28378. | #define HAVE_UINT32_T 1
  28379. | #define SIZEOF_UINT32_T 4
  28380. | #define HAVE_INT64_T 1
  28381. | #define SIZEOF_INT64_T 8
  28382. | #define HAVE_UINT64_T 1
  28383. | #define SIZEOF_UINT64_T 8
  28384. | #define HAVE_INTPTR_T 1
  28385. | #define SIZEOF_INTPTR_T 8
  28386. | #define HAVE_UINTPTR_T 1
  28387. | #define SIZEOF_UINTPTR_T 8
  28388. | #define HAVE_SSIZE_T 1
  28389. | #define SIZEOF_SSIZE_T 8
  28390. | #define STACK_END_ADDRESS __libc_stack_end
  28391. | #define GETGROUPS_T gid_t
  28392. | #define RETSIGTYPE void
  28393. | #define HAVE_ALLOCA_H 1
  28394. | #define HAVE_ALLOCA 1
  28395. | #define HAVE_ACOSH 1
  28396. | #define HAVE_CBRT 1
  28397. | #define HAVE_CRYPT 1
  28398. | #define HAVE_DUP2 1
  28399. | #define HAVE_ERF 1
  28400. | #define HAVE_EXPLICIT_BZERO 1
  28401. | #define HAVE_FFS 1
  28402. | #define HAVE_FINITE 1
  28403. | #define HAVE_FLOCK 1
  28404. | #define HAVE_HYPOT 1
  28405. | #define HAVE_ISINF 1
  28406. | #define HAVE_ISNAN 1
  28407. | #define HAVE_LGAMMA_R 1
  28408. | #define HAVE_MEMMOVE 1
  28409. | #define HAVE_NEXTAFTER 1
  28410. | #define HAVE_STRCHR 1
  28411. | #define HAVE_STRERROR 1
  28412. | #define HAVE_STRSTR 1
  28413. | #define HAVE_TGAMMA 1
  28414. | #define SPT_TYPE SPT_REUSEARGV
  28415. | #define HAVE_SIGNBIT 1
  28416. | #define HAVE_FORK 1
  28417. | #define HAVE_VFORK 1
  28418. | #define HAVE_WORKING_VFORK 1
  28419. | #define HAVE_WORKING_FORK 1
  28420. | #define HAVE__LONGJMP 1
  28421. | #define HAVE__SETJMP 1
  28422. | #define HAVE_ATAN2L 1
  28423. | #define HAVE_ATAN2F 1
  28424. | #define HAVE_CHROOT 1
  28425. | #define HAVE_CLOCK_GETTIME 1
  28426. | #define HAVE_COSH 1
  28427. | #define HAVE_DIRFD 1
  28428. | #define HAVE_DL_ITERATE_PHDR 1
  28429. | #define HAVE_DLOPEN 1
  28430. | #define HAVE_DLADDR 1
  28431. | #define HAVE_DUP 1
  28432. | #define HAVE_DUP3 1
  28433. | #define HAVE_EACCESS 1
  28434. | #define HAVE_ENDGRENT 1
  28435. | #define HAVE_FCHMOD 1
  28436. | #define HAVE_FCHOWN 1
  28437. | #define HAVE_FCNTL 1
  28438. | #define HAVE_FDATASYNC 1
  28439. | #define HAVE_FMOD 1
  28440. | #define HAVE_FSYNC 1
  28441. | #define HAVE_FTRUNCATE 1
  28442. | #define HAVE_FTRUNCATE64 1
  28443. | #define HAVE_GETCWD 1
  28444. | #define HAVE_GETGRNAM 1
  28445. | #define HAVE_GETGRNAM_R 1
  28446. | #define HAVE_GETGROUPS 1
  28447. | #define HAVE_GETPGID 1
  28448. | #define HAVE_GETPGRP 1
  28449. | #define HAVE_GETPRIORITY 1
  28450. | #define HAVE_GETPWNAM_R 1
  28451. | #define HAVE_GETRESGID 1
  28452. | #define HAVE_GETRESUID 1
  28453. | #define HAVE_GETRLIMIT 1
  28454. | #define HAVE_GETSID 1
  28455. | #define HAVE_GETTIMEOFDAY 1
  28456. | #define HAVE_GMTIME_R 1
  28457. | #define HAVE_INITGROUPS 1
  28458. | #define HAVE_IOCTL 1
  28459. | #define HAVE_KILLPG 1
  28460. | #define HAVE_LCHOWN 1
  28461. | #define HAVE_LINK 1
  28462. | #define HAVE_LLABS 1
  28463. | #define HAVE_LOCKF 1
  28464. | #define HAVE_LOG2 1
  28465. | #define HAVE_LSTAT 1
  28466. | #define HAVE_MALLOC_USABLE_SIZE 1
  28467. | #define HAVE_MBLEN 1
  28468. | #define HAVE_MEMALIGN 1
  28469. | #define HAVE_WRITEV 1
  28470. | #define HAVE_MEMRCHR 1
  28471. | #define HAVE_MEMMEM 1
  28472. | #define HAVE_MKFIFO 1
  28473. | #define HAVE_MKNOD 1
  28474. | #define HAVE_MKTIME 1
  28475. | #define HAVE_PIPE2 1
  28476. | #define HAVE_POLL 1
  28477. | #define HAVE_POSIX_FADVISE 1
  28478. | #define HAVE_POSIX_MEMALIGN 1
  28479. | #define HAVE_PPOLL 1
  28480. | #define HAVE_PREAD 1
  28481. | #define HAVE_QSORT_R 1
  28482. | #define HAVE_READLINK 1
  28483. | #define HAVE_ROUND 1
  28484. | #define HAVE_SCHED_GETAFFINITY 1
  28485. | #define HAVE_SEEKDIR 1
  28486. | #define HAVE_SENDFILE 1
  28487. | #define HAVE_SETEGID 1
  28488. | #define HAVE_SETENV 1
  28489. | #define HAVE_SETEUID 1
  28490. | #define HAVE_SETGID 1
  28491. | #define HAVE_SETGROUPS 1
  28492. | #define HAVE_SETPGID 1
  28493. | #define HAVE_SETPGRP 1
  28494. | #define HAVE_SETREGID 1
  28495. | #define HAVE_SETRESGID 1
  28496. | #define HAVE_SETRESUID 1
  28497. | #define HAVE_SETREUID 1
  28498. | #define HAVE_SETRLIMIT 1
  28499. | #define HAVE_SETSID 1
  28500. | #define HAVE_SETUID 1
  28501. | #define HAVE_SHUTDOWN 1
  28502. | #define HAVE_SIGACTION 1
  28503. | #define HAVE_SIGALTSTACK 1
  28504. | #define HAVE_SIGPROCMASK 1
  28505. | #define HAVE_SINH 1
  28506. | #define HAVE_SYMLINK 1
  28507. | #define HAVE_SYSCALL 1
  28508. | #define HAVE_SYSCONF 1
  28509. | #define HAVE_TANH 1
  28510. | #define HAVE_TELLDIR 1
  28511. | #define HAVE_TIMEGM 1
  28512. | #define HAVE_TIMES 1
  28513. | #define HAVE_TRUNCATE 1
  28514. | #define HAVE_TRUNCATE64 1
  28515. | #define HAVE_UNSETENV 1
  28516. | #define HAVE_UTIMENSAT 1
  28517. | #define HAVE_UTIMES 1
  28518. | #define HAVE_WAIT4 1
  28519. | #define HAVE_WAITPID 1
  28520. | #define HAVE_BUILTIN___BUILTIN_BSWAP16 1
  28521. | #define HAVE_BUILTIN___BUILTIN_BSWAP32 1
  28522. | #define HAVE_BUILTIN___BUILTIN_BSWAP64 1
  28523. | #define HAVE_BUILTIN___BUILTIN_CLZ 1
  28524. | #define HAVE_BUILTIN___BUILTIN_CLZL 1
  28525. | #define HAVE_BUILTIN___BUILTIN_CLZLL 1
  28526. | #define HAVE_BUILTIN___BUILTIN_CHOOSE_EXPR 1
  28527. | #define HAVE_BUILTIN___BUILTIN_CHOOSE_EXPR_CONSTANT_P 1
  28528. | #define HAVE_BUILTIN___BUILTIN_TYPES_COMPATIBLE_P 1
  28529. | #define HAVE_GNU_QSORT_R 1
  28530. | #define ATAN2_INF_C99 1
  28531. | #define HAVE_CLOCK_GETRES 1
  28532. | #define HAVE_STRUCT_TM_TM_ZONE 1
  28533. | #define HAVE_TM_ZONE 1
  28534. | #define HAVE_STRUCT_TM_TM_GMTOFF 1
  28535. | #define HAVE_DAYLIGHT 1
  28536. | #define HAVE_VAR_TIMEZONE 1
  28537. | #define TYPEOF_VAR_TIMEZONE long
  28538. | #define HAVE_TIMEZONE 1
  28539. | #define TIMEZONE_VOID 1
  28540. | #define NEGATIVE_TIME_T 1
  28541. | #define POSIX_SIGNAL 1
  28542. | #define RSHIFT(x,y) ((x)>>(int)(y))
  28543. | #define HAVE__SC_CLK_TCK 1
  28544. | #define STACK_GROW_DIRECTION -1
  28545. | #define _REENTRANT 1
  28546. | #define _THREAD_SAFE 1
  28547. | #define HAVE_LIBPTHREAD 1
  28548. | #define HAVE_SCHED_YIELD 1
  28549. | #define HAVE_PTHREAD_ATTR_SETINHERITSCHED 1
  28550. | #define HAVE_PTHREAD_ATTR_GETSTACK 1
  28551. | #define HAVE_PTHREAD_COND_INIT 1
  28552. | #define HAVE_PTHREAD_CONDATTR_SETCLOCK 1
  28553. | #define HAVE_PTHREAD_CONDATTR_INIT 1
  28554. | #define HAVE_PTHREAD_SIGMASK 1
  28555. | #define HAVE_PTHREAD_SETNAME_NP 1
  28556. | #define HAVE_PTHREAD_GETATTR_NP 1
  28557. | #define HAVE_PTHREAD_ATTR_INIT 1
  28558. | #define SET_CURRENT_THREAD_NAME(name) pthread_setname_np(pthread_self(), name)
  28559. | #define SET_ANOTHER_THREAD_NAME(thid,name) pthread_setname_np(thid, name)
  28560. | #define DEFINE_MCONTEXT_PTR(mc, uc) mcontext_t *mc = &(uc)->uc_mcontext
  28561. | #define HAVE_GETCONTEXT 1
  28562. | #define HAVE_SETCONTEXT 1
  28563. | #define USE_ELF 1
  28564. | #define HAVE_ELF_H 1
  28565. | #define HAVE_BACKTRACE 1
  28566. | /* end confdefs.h. */
  28567. | #include <valgrind/memcheck.h>
  28568. configure:22954: result: no
  28569. configure:22954: checking for valgrind/memcheck.h
  28570. configure:22954: result: no
  28571. configure:23114: checking for strip
  28572. configure:23130: found /usr/bin/strip
  28573. configure:23141: result: strip
  28574. configure:23444: checking whether -Wl,--no-undefined is accepted as LDFLAGS
  28575. configure:23466: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fPIC -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat -fstack-protector -rdynamic -Wl,-export-dynamic -Wl,--no-undefined conftest.c -lpthread -lgmp -ldl -lcrypt -lm >&5
  28576. configure:23466: $? = 0
  28577. configure:23468: result: yes
  28578. configure:23784: checking whether wrapper for LD_LIBRARY_PATH is needed
  28579. configure:23787: result: no
  28580. configure:23984: checking for __builtin_setjmp
  28581. configure:24018: gcc -o conftest -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fPIC -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat -L. -fstack-protector -rdynamic -Wl,-export-dynamic conftest.c -lpthread -lgmp -ldl -lcrypt -lm >&5
  28582. configure:24018: $? = 0
  28583. configure:24034: result: yes with cast ()
  28584. configure:24037: checking for setjmp type
  28585. configure:24101: result: __builtin_setjmp
  28586. configure:24173: checking for prefix of external symbols
  28587. configure:24190: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fPIC conftest.c >&5
  28588. configure:24190: $? = 0
  28589. configure:24202: result: NONE
  28590. configure:24375: checking pthread.h usability
  28591. configure:24375: gcc -c -O3 -fno-fast-math -ggdb3 -std=iso9899:1999 -fPIC conftest.c >&5
  28592. configure:24375: $? = 0
  28593. configure:24375: result: yes
  28594. configure:24375: checking pthread.h presence
  28595. configure:24375: gcc -E conftest.c
  28596. configure:24375: $? = 0
  28597. configure:24375: result: yes
  28598. configure:24375: checking for pthread.h
  28599. configure:24375: result: yes
  28600. configure:24405: checking if make is GNU make
  28601. configure:24421: result: yes
  28602. configure:24894: checking for nroff
  28603. configure:24913: found /usr/bin/nroff
  28604. configure:24925: result: /usr/bin/nroff
  28605. configure:24999: ruby library version = 2.3.0
  28606. configure:25190: creating ./config.status
  28607.  
  28608. ## ---------------------- ##
  28609. ## Running config.status. ##
  28610. ## ---------------------- ##
  28611.  
  28612. This file was extended by config.status, which was
  28613. generated by GNU Autoconf 2.69. Invocation command line was
  28614.  
  28615. CONFIG_FILES =
  28616. CONFIG_HEADERS =
  28617. CONFIG_LINKS =
  28618. CONFIG_COMMANDS =
  28619. $ ./config.status
  28620.  
  28621. on swe-ThinkPad-X220
  28622.  
  28623. config.status:931: creating GNUmakefile
  28624. config.status:931: creating Makefile
  28625. config.status:931: creating ruby-2.3.pc
  28626.  
  28627. ## ---------------- ##
  28628. ## Cache variables. ##
  28629. ## ---------------- ##
  28630.  
  28631. ac_cv_build=x86_64-pc-linux-gnu
  28632. ac_cv_c_bigendian=no
  28633. ac_cv_c_char_unsigned=no
  28634. ac_cv_c_compiler_gnu=yes
  28635. ac_cv_c_const=yes
  28636. ac_cv_c_inline=inline
  28637. ac_cv_c_typeof=__typeof__
  28638. ac_cv_c_volatile=yes
  28639. ac_cv_cxx_compiler_gnu=yes
  28640. ac_cv_env_CCC_set=
  28641. ac_cv_env_CCC_value=
  28642. ac_cv_env_CC_set=
  28643. ac_cv_env_CC_value=
  28644. ac_cv_env_CFLAGS_set=
  28645. ac_cv_env_CFLAGS_value=
  28646. ac_cv_env_CPPFLAGS_set=
  28647. ac_cv_env_CPPFLAGS_value=
  28648. ac_cv_env_CPP_set=
  28649. ac_cv_env_CPP_value=
  28650. ac_cv_env_CXXFLAGS_set=
  28651. ac_cv_env_CXXFLAGS_value=
  28652. ac_cv_env_CXX_set=
  28653. ac_cv_env_CXX_value=
  28654. ac_cv_env_LDFLAGS_set=
  28655. ac_cv_env_LDFLAGS_value=
  28656. ac_cv_env_LIBS_set=
  28657. ac_cv_env_LIBS_value=
  28658. ac_cv_env_build_alias_set=
  28659. ac_cv_env_build_alias_value=
  28660. ac_cv_env_cflags_set=
  28661. ac_cv_env_cflags_value=
  28662. ac_cv_env_cppflags_set=
  28663. ac_cv_env_cppflags_value=
  28664. ac_cv_env_cxxflags_set=
  28665. ac_cv_env_cxxflags_value=
  28666. ac_cv_env_host_alias_set=
  28667. ac_cv_env_host_alias_value=
  28668. ac_cv_env_target_alias_set=
  28669. ac_cv_env_target_alias_value=
  28670. ac_cv_func___builtin_setjmp='yes with cast ()'
  28671. ac_cv_func___syscall=no
  28672. ac_cv_func__longjmp=yes
  28673. ac_cv_func__setjmp=yes
  28674. ac_cv_func__setjmpex=no
  28675. ac_cv_func_acosh=yes
  28676. ac_cv_func_alloca_works=yes
  28677. ac_cv_func_atan2f=yes
  28678. ac_cv_func_atan2l=yes
  28679. ac_cv_func_backtrace=yes
  28680. ac_cv_func_cbrt=yes
  28681. ac_cv_func_chroot=yes
  28682. ac_cv_func_chsize=no
  28683. ac_cv_func_clock_getres=yes
  28684. ac_cv_func_clock_gettime=yes
  28685. ac_cv_func_cosh=yes
  28686. ac_cv_func_crypt=yes
  28687. ac_cv_func_daemon=no
  28688. ac_cv_func_dirfd=yes
  28689. ac_cv_func_dl_iterate_phdr=yes
  28690. ac_cv_func_dladdr=yes
  28691. ac_cv_func_dlopen=yes
  28692. ac_cv_func_dup2=yes
  28693. ac_cv_func_dup3=yes
  28694. ac_cv_func_dup=yes
  28695. ac_cv_func_eaccess=yes
  28696. ac_cv_func_endgrent=yes
  28697. ac_cv_func_erf=yes
  28698. ac_cv_func_explicit_bzero=yes
  28699. ac_cv_func_fchmod=yes
  28700. ac_cv_func_fchown=yes
  28701. ac_cv_func_fcntl=yes
  28702. ac_cv_func_fdatasync=yes
  28703. ac_cv_func_ffs=yes
  28704. ac_cv_func_fgetattrlist=no
  28705. ac_cv_func_finite=yes
  28706. ac_cv_func_flock=yes
  28707. ac_cv_func_fmod=yes
  28708. ac_cv_func_fork=yes
  28709. ac_cv_func_fork_works=yes
  28710. ac_cv_func_fsync=yes
  28711. ac_cv_func_ftruncate64=yes
  28712. ac_cv_func_ftruncate=yes
  28713. ac_cv_func_getattrlist=no
  28714. ac_cv_func_getcontext=yes
  28715. ac_cv_func_getcwd=yes
  28716. ac_cv_func_getgidx=no
  28717. ac_cv_func_getgrnam=yes
  28718. ac_cv_func_getgrnam_r=yes
  28719. ac_cv_func_getgroups=yes
  28720. ac_cv_func_getpgid=yes
  28721. ac_cv_func_getpgrp=yes
  28722. ac_cv_func_getpriority=yes
  28723. ac_cv_func_getpwnam_r=yes
  28724. ac_cv_func_getresgid=yes
  28725. ac_cv_func_getresuid=yes
  28726. ac_cv_func_getrlimit=yes
  28727. ac_cv_func_getsid=yes
  28728. ac_cv_func_gettimeofday=yes
  28729. ac_cv_func_getuidx=no
  28730. ac_cv_func_gmtime_r=yes
  28731. ac_cv_func_hypot=yes
  28732. ac_cv_func_initgroups=yes
  28733. ac_cv_func_ioctl=yes
  28734. ac_cv_func_isfinite=no
  28735. ac_cv_func_isinf=yes
  28736. ac_cv_func_isnan=yes
  28737. ac_cv_func_issetugid=no
  28738. ac_cv_func_killpg=yes
  28739. ac_cv_func_lchmod=no
  28740. ac_cv_func_lchown=yes
  28741. ac_cv_func_lgamma_r=yes
  28742. ac_cv_func_link=yes
  28743. ac_cv_func_llabs=yes
  28744. ac_cv_func_lockf=yes
  28745. ac_cv_func_log2=yes
  28746. ac_cv_func_lstat=yes
  28747. ac_cv_func_malloc_size=no
  28748. ac_cv_func_malloc_usable_size=yes
  28749. ac_cv_func_mblen=yes
  28750. ac_cv_func_memalign=yes
  28751. ac_cv_func_memcmp_working=yes
  28752. ac_cv_func_memmem=yes
  28753. ac_cv_func_memmove=yes
  28754. ac_cv_func_memrchr=yes
  28755. ac_cv_func_memset_s=no
  28756. ac_cv_func_mkfifo=yes
  28757. ac_cv_func_mknod=yes
  28758. ac_cv_func_mktime=yes
  28759. ac_cv_func_nextafter=yes
  28760. ac_cv_func_pipe2=yes
  28761. ac_cv_func_poll=yes
  28762. ac_cv_func_posix_fadvise=yes
  28763. ac_cv_func_posix_memalign=yes
  28764. ac_cv_func_ppoll=yes
  28765. ac_cv_func_pread=yes
  28766. ac_cv_func_pthread_attr_get_np=no
  28767. ac_cv_func_pthread_attr_getstack=yes
  28768. ac_cv_func_pthread_attr_init=yes
  28769. ac_cv_func_pthread_attr_setinheritsched=yes
  28770. ac_cv_func_pthread_cond_init=yes
  28771. ac_cv_func_pthread_condattr_init=yes
  28772. ac_cv_func_pthread_condattr_setclock=yes
  28773. ac_cv_func_pthread_get_stackaddr_np=no
  28774. ac_cv_func_pthread_get_stacksize_np=no
  28775. ac_cv_func_pthread_getattr_np=yes
  28776. ac_cv_func_pthread_getthrds_np=no
  28777. ac_cv_func_pthread_set_name_np=no
  28778. ac_cv_func_pthread_setname_np=yes
  28779. ac_cv_func_pthread_sigmask=yes
  28780. ac_cv_func_pthread_stackseg_np=no
  28781. ac_cv_func_qsort_r=yes
  28782. ac_cv_func_readlink=yes
  28783. ac_cv_func_round=yes
  28784. ac_cv_func_sched_getaffinity=yes
  28785. ac_cv_func_sched_yield=yes
  28786. ac_cv_func_seekdir=yes
  28787. ac_cv_func_select_large_fdset=no
  28788. ac_cv_func_sendfile=yes
  28789. ac_cv_func_setcontext=yes
  28790. ac_cv_func_setegid=yes
  28791. ac_cv_func_setenv=yes
  28792. ac_cv_func_seteuid=yes
  28793. ac_cv_func_setgid=yes
  28794. ac_cv_func_setgroups=yes
  28795. ac_cv_func_setpgid=yes
  28796. ac_cv_func_setpgrp=yes
  28797. ac_cv_func_setproctitle=no
  28798. ac_cv_func_setregid=yes
  28799. ac_cv_func_setresgid=yes
  28800. ac_cv_func_setresuid=yes
  28801. ac_cv_func_setreuid=yes
  28802. ac_cv_func_setrgid=no
  28803. ac_cv_func_setrlimit=yes
  28804. ac_cv_func_setruid=no
  28805. ac_cv_func_setsid=yes
  28806. ac_cv_func_setuid=yes
  28807. ac_cv_func_shutdown=yes
  28808. ac_cv_func_sigaction=yes
  28809. ac_cv_func_sigaltstack=yes
  28810. ac_cv_func_sigprocmask=yes
  28811. ac_cv_func_sigsetjmp=yes
  28812. ac_cv_func_sinh=yes
  28813. ac_cv_func_spawnv=no
  28814. ac_cv_func_strchr=yes
  28815. ac_cv_func_strerror=yes
  28816. ac_cv_func_strlcat=no
  28817. ac_cv_func_strlcpy=no
  28818. ac_cv_func_strstr=yes
  28819. ac_cv_func_symlink=yes
  28820. ac_cv_func_syscall=yes
  28821. ac_cv_func_sysconf=yes
  28822. ac_cv_func_tanh=yes
  28823. ac_cv_func_telldir=yes
  28824. ac_cv_func_tgamma=yes
  28825. ac_cv_func_thr_stksegment=no
  28826. ac_cv_func_timegm=yes
  28827. ac_cv_func_times=yes
  28828. ac_cv_func_timezone=yes
  28829. ac_cv_func_truncate64=yes
  28830. ac_cv_func_truncate=yes
  28831. ac_cv_func_unsetenv=yes
  28832. ac_cv_func_utimensat=yes
  28833. ac_cv_func_utimes=yes
  28834. ac_cv_func_vfork=yes
  28835. ac_cv_func_vfork_works=yes
  28836. ac_cv_func_wait4=yes
  28837. ac_cv_func_waitpid=yes
  28838. ac_cv_func_writev=yes
  28839. ac_cv_have_decl_getenv=yes
  28840. ac_cv_have_decl_sys_nerr=yes
  28841. ac_cv_header_a_out_h=yes
  28842. ac_cv_header_atomic_h=no
  28843. ac_cv_header_direct_h=no
  28844. ac_cv_header_dirent_dirent_h=yes
  28845. ac_cv_header_elf_abi_h=no
  28846. ac_cv_header_elf_h=yes
  28847. ac_cv_header_fcntl_h=yes
  28848. ac_cv_header_float_h=yes
  28849. ac_cv_header_gmp_h=yes
  28850. ac_cv_header_grp_h=yes
  28851. ac_cv_header_ieeefp_h=no
  28852. ac_cv_header_intrinsics_h=no
  28853. ac_cv_header_inttypes_h=yes
  28854. ac_cv_header_langinfo_h=yes
  28855. ac_cv_header_limits_h=yes
  28856. ac_cv_header_locale_h=yes
  28857. ac_cv_header_malloc_h=yes
  28858. ac_cv_header_malloc_malloc_h=no
  28859. ac_cv_header_malloc_np_h=no
  28860. ac_cv_header_memory_h=yes
  28861. ac_cv_header_minix_config_h=no
  28862. ac_cv_header_net_socket_h=no
  28863. ac_cv_header_process_h=no
  28864. ac_cv_header_pthread_h=yes
  28865. ac_cv_header_pthread_np_h=no
  28866. ac_cv_header_pwd_h=yes
  28867. ac_cv_header_setjmpex_h=no
  28868. ac_cv_header_stdbool_h=yes
  28869. ac_cv_header_stdc=yes
  28870. ac_cv_header_stdint_h=yes
  28871. ac_cv_header_stdlib_h=yes
  28872. ac_cv_header_string_h=yes
  28873. ac_cv_header_strings_h=yes
  28874. ac_cv_header_sys_attr_h=no
  28875. ac_cv_header_sys_fcntl_h=yes
  28876. ac_cv_header_sys_file_h=yes
  28877. ac_cv_header_sys_id_h=no
  28878. ac_cv_header_sys_ioctl_h=yes
  28879. ac_cv_header_sys_mkdev_h=no
  28880. ac_cv_header_sys_param_h=yes
  28881. ac_cv_header_sys_prctl_h=yes
  28882. ac_cv_header_sys_pstat_h=no
  28883. ac_cv_header_sys_resource_h=yes
  28884. ac_cv_header_sys_select_h=yes
  28885. ac_cv_header_sys_sendfile_h=yes
  28886. ac_cv_header_sys_socket_h=yes
  28887. ac_cv_header_sys_stat_h=yes
  28888. ac_cv_header_sys_syscall_h=yes
  28889. ac_cv_header_sys_time_h=yes
  28890. ac_cv_header_sys_times_h=yes
  28891. ac_cv_header_sys_types_h=yes
  28892. ac_cv_header_sys_uio_h=yes
  28893. ac_cv_header_sys_utime_h=no
  28894. ac_cv_header_sys_wait_h=yes
  28895. ac_cv_header_syscall_h=yes
  28896. ac_cv_header_time_h=yes
  28897. ac_cv_header_ucontext_h=yes
  28898. ac_cv_header_unistd_h=yes
  28899. ac_cv_header_utime_h=yes
  28900. ac_cv_header_valgrind_memcheck_h=no
  28901. ac_cv_header_vfork_h=no
  28902. ac_cv_host=x86_64-pc-linux-gnu
  28903. ac_cv_lib_crypt_crypt=yes
  28904. ac_cv_lib_dl_dlopen=yes
  28905. ac_cv_lib_dld_shl_load=no
  28906. ac_cv_lib_gmp___gmpz_init=yes
  28907. ac_cv_lib_pthread___pthread_kill=yes
  28908. ac_cv_lib_socket_shutdown=no
  28909. ac_cv_lib_thr___pthread_kill=no
  28910. ac_cv_member_struct_stat_st_atim=yes
  28911. ac_cv_member_struct_stat_st_atimensec=no
  28912. ac_cv_member_struct_stat_st_atimespec=no
  28913. ac_cv_member_struct_stat_st_birthtimespec=no
  28914. ac_cv_member_struct_stat_st_blksize=yes
  28915. ac_cv_member_struct_stat_st_blocks=yes
  28916. ac_cv_member_struct_stat_st_ctim=yes
  28917. ac_cv_member_struct_stat_st_ctimensec=no
  28918. ac_cv_member_struct_stat_st_ctimespec=no
  28919. ac_cv_member_struct_stat_st_mtim=yes
  28920. ac_cv_member_struct_stat_st_mtimensec=no
  28921. ac_cv_member_struct_stat_st_mtimespec=no
  28922. ac_cv_member_struct_stat_st_rdev=yes
  28923. ac_cv_member_struct_tm_tm_zone=yes
  28924. ac_cv_objext=o
  28925. ac_cv_path_BASERUBY=false
  28926. ac_cv_path_EGREP='/bin/grep -E'
  28927. ac_cv_path_GREP=/bin/grep
  28928. ac_cv_path_NROFF=/usr/bin/nroff
  28929. ac_cv_path_install='/usr/bin/install -c'
  28930. ac_cv_path_mkdir=/bin/mkdir
  28931. ac_cv_prog_CPP='gcc -E'
  28932. ac_cv_prog_PKG_CONFIG=pkg-config
  28933. ac_cv_prog_ac_ct_AR=ar
  28934. ac_cv_prog_ac_ct_AS=as
  28935. ac_cv_prog_ac_ct_CC=gcc
  28936. ac_cv_prog_ac_ct_CXX=g++
  28937. ac_cv_prog_ac_ct_LD=ld
  28938. ac_cv_prog_ac_ct_NM=nm
  28939. ac_cv_prog_ac_ct_OBJCOPY=objcopy
  28940. ac_cv_prog_ac_ct_OBJDUMP=objdump
  28941. ac_cv_prog_ac_ct_RANLIB=ranlib
  28942. ac_cv_prog_ac_ct_STRIP=strip
  28943. ac_cv_prog_cc_c89=
  28944. ac_cv_prog_cc_g=yes
  28945. ac_cv_prog_cxx_g=yes
  28946. ac_cv_prog_gcc_traditional=no
  28947. ac_cv_prog_make_make_set=yes
  28948. ac_cv_safe_to_define___extensions__=yes
  28949. ac_cv_search_opendir='none required'
  28950. ac_cv_sizeof___int64=0
  28951. ac_cv_sizeof_clock_t=8
  28952. ac_cv_sizeof_double=8
  28953. ac_cv_sizeof_float=4
  28954. ac_cv_sizeof_int16_t=2
  28955. ac_cv_sizeof_int32_t=4
  28956. ac_cv_sizeof_int64_t=8
  28957. ac_cv_sizeof_int8_t=1
  28958. ac_cv_sizeof_int=4
  28959. ac_cv_sizeof_intptr_t=8
  28960. ac_cv_sizeof_long=8
  28961. ac_cv_sizeof_long_long=8
  28962. ac_cv_sizeof_off_t=8
  28963. ac_cv_sizeof_ptrdiff_t=8
  28964. ac_cv_sizeof_short=2
  28965. ac_cv_sizeof_size_t=8
  28966. ac_cv_sizeof_ssize_t=8
  28967. ac_cv_sizeof_struct_stat_st_blocks=SIZEOF_OFF_T
  28968. ac_cv_sizeof_struct_stat_st_ino=SIZEOF_LONG
  28969. ac_cv_sizeof_struct_stat_st_size=SIZEOF_OFF_T
  28970. ac_cv_sizeof_struct_timeval_tv_sec=SIZEOF_TIME_T
  28971. ac_cv_sizeof_time_t=8
  28972. ac_cv_sizeof_uint16_t=2
  28973. ac_cv_sizeof_uint32_t=4
  28974. ac_cv_sizeof_uint64_t=8
  28975. ac_cv_sizeof_uint8_t=1
  28976. ac_cv_sizeof_uintptr_t=8
  28977. ac_cv_sizeof_voidp=8
  28978. ac_cv_struct_tm=time.h
  28979. ac_cv_sys_file_offset_bits=no
  28980. ac_cv_sys_largefile_CC=no
  28981. ac_cv_target=x86_64-pc-linux-gnu
  28982. ac_cv_type__Bool=yes
  28983. ac_cv_type_clockid_t=yes
  28984. ac_cv_type_dev_t=yes
  28985. ac_cv_type_fd_mask=yes
  28986. ac_cv_type_getgroups=gid_t
  28987. ac_cv_type_gid_t=yes
  28988. ac_cv_type_long_long=yes
  28989. ac_cv_type_mode_t=yes
  28990. ac_cv_type_off_t=yes
  28991. ac_cv_type_pid_t=yes
  28992. ac_cv_type_rlim_t=yes
  28993. ac_cv_type_signal=void
  28994. ac_cv_type_size_t=yes
  28995. ac_cv_type_struct_timespec=yes
  28996. ac_cv_type_struct_timeval=yes
  28997. ac_cv_type_struct_timezone=yes
  28998. ac_cv_type_time_t=yes
  28999. ac_cv_type_uid_t=yes
  29000. ac_cv_working_alloca_h=yes
  29001. rb_cv_atan2_inf_c99=yes
  29002. rb_cv_binary_elf=yes
  29003. rb_cv_broken_backtrace=no
  29004. rb_cv_broken_glibc_ia64_erfc=no
  29005. rb_cv_broken_memmem=no
  29006. rb_cv_bsd_qsort_r=no
  29007. rb_cv_builtin___builtin_bswap16=yes
  29008. rb_cv_builtin___builtin_bswap32=yes
  29009. rb_cv_builtin___builtin_bswap64=yes
  29010. rb_cv_builtin___builtin_choose_expr=yes
  29011. rb_cv_builtin___builtin_choose_expr_constant_p=yes
  29012. rb_cv_builtin___builtin_clz=yes
  29013. rb_cv_builtin___builtin_clzl=yes
  29014. rb_cv_builtin___builtin_clzll=yes
  29015. rb_cv_builtin___builtin_types_compatible_p=yes
  29016. rb_cv_char_bit=8
  29017. rb_cv_clockid_t_convertible=INT
  29018. rb_cv_cppoutfile=yes
  29019. rb_cv_dev_t_convertible=ULONG
  29020. rb_cv_dlopen=yes
  29021. rb_cv_dynamic_alloca=ok
  29022. rb_cv_enum_over_int=yes
  29023. rb_cv_fork_with_pthread=yes
  29024. rb_cv_func___builtin_unreachable=yes
  29025. rb_cv_func_cdecl=x
  29026. rb_cv_func_deprecated='__attribute__ ((deprecated)) x'
  29027. rb_cv_func_deprecated_by='__attribute__ ((deprecated("by "#n))) x'
  29028. rb_cv_func_exported='__attribute__ ((visibility("default")))'
  29029. rb_cv_func_fastcall=x
  29030. rb_cv_func_minimized='__attribute__ ((optimize("-Os","-fomit-frame-pointer"))) x'
  29031. rb_cv_func_noinline='__attribute__ ((noinline)) x'
  29032. rb_cv_func_noreturn='__attribute__ ((noreturn)) x'
  29033. rb_cv_func_pthread_setname_np_arguments='(pthread_self(), name)'
  29034. rb_cv_func_stdcall=x
  29035. rb_cv_func_timezone_void=yes
  29036. rb_cv_func_unoptimized='__attribute__ ((optimize("O0"))) x'
  29037. rb_cv_func_weak='__attribute__ ((weak)) x'
  29038. rb_cv_function_name_string=__func__
  29039. rb_cv_gcc_atomic_builtins=yes
  29040. rb_cv_gcc_function_alias=alias
  29041. rb_cv_gcc_sync_builtins=yes
  29042. rb_cv_getcwd_malloc=yes
  29043. rb_cv_gid_t_convertible=UINT
  29044. rb_cv_gnu_qsort_r=yes
  29045. rb_cv_have_daylight=yes
  29046. rb_cv_have_prototypes=yes
  29047. rb_cv_have_sc_clk_tck=yes
  29048. rb_cv_have_signbit=yes
  29049. rb_cv_infinity=yes
  29050. rb_cv_large_fd_select=yes
  29051. rb_cv_localtime_overflow=yes
  29052. rb_cv_mcontext_t_ptr=no
  29053. rb_cv_member_struct_tm_tm_gmtoff=yes
  29054. rb_cv_mode_t_convertible=UINT
  29055. rb_cv_nan=yes
  29056. rb_cv_negative_time_t=yes
  29057. rb_cv_off_t_convertible=LONG
  29058. rb_cv_packed_struct='x __attribute__((packed))'
  29059. rb_cv_pid_t_convertible=INT
  29060. rb_cv_pri_prefix_long_long=ll
  29061. rb_cv_pri_prefix_ptrdiff_t=t
  29062. rb_cv_pri_prefix_size_t=z
  29063. rb_cv_prog_gnu_ld=yes
  29064. rb_cv_rlim_t_convertible=ULONG
  29065. rb_cv_rshift_sign=yes
  29066. rb_cv_scalar_pthread_t=yes
  29067. rb_cv_stack_end_address=__libc_stack_end
  29068. rb_cv_stack_grow_dir_x86_64=-1
  29069. rb_cv_stdarg=yes
  29070. rb_cv_string_literal_concatenation=yes
  29071. rb_cv_stringization='#expr'
  29072. rb_cv_symbol_prefix=NONE
  29073. rb_cv_target_archs=x86_64
  29074. rb_cv_time_t_convertible=LONG
  29075. rb_cv_tokenpaste=ansi
  29076. rb_cv_type_deprecated='__attribute__ ((deprecated mesg)) x'
  29077. rb_cv_type_int16_t=yes
  29078. rb_cv_type_int32_t=yes
  29079. rb_cv_type_int64_t=yes
  29080. rb_cv_type_int8_t=yes
  29081. rb_cv_type_intptr_t=yes
  29082. rb_cv_type_ssize_t=yes
  29083. rb_cv_type_uint16_t=yes
  29084. rb_cv_type_uint32_t=yes
  29085. rb_cv_type_uint64_t=yes
  29086. rb_cv_type_uint8_t=yes
  29087. rb_cv_type_uintptr_t=yes
  29088. rb_cv_uid_t_convertible=UINT
  29089. rb_cv_unsetenv_return_value=yes
  29090. rb_cv_va_args_macro=yes
  29091. rb_cv_var_altzone=no
  29092. rb_cv_var_timezone=long
  29093. rb_cv_warnflags='-Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat'
  29094.  
  29095. ## ----------------- ##
  29096. ## Output variables. ##
  29097. ## ----------------- ##
  29098.  
  29099. ALLOCA=''
  29100. AR='ar'
  29101. ARCHFILE=''
  29102. ARCH_FLAG=''
  29103. AS='as'
  29104. ASFLAGS=''
  29105. ASMEXT='S'
  29106. BASERUBY='echo executable host ruby is required. use --with-baseruby option.; false'
  29107. BOOTSTRAPRUBY='$(MINIRUBY)'
  29108. BTESTRUBY='$(MINIRUBY)'
  29109. BUILTIN_ENCOBJS=' enc/ascii.$(OBJEXT) enc/us_ascii.$(OBJEXT) enc/unicode.$(OBJEXT) enc/utf_8.$(OBJEXT)'
  29110. BUILTIN_TRANSOBJS=' enc/trans/newline.$(OBJEXT)'
  29111. BUILTIN_TRANSSRCS=' enc/trans/newline.c'
  29112. CAPITARGET='nodoc'
  29113. CC='gcc'
  29114. CCDLFLAGS='-fPIC'
  29115. CC_VERSION='$(CC) -v'
  29116. CFLAGS='${cflags} -fPIC'
  29117. CHDIR='cd -P'
  29118. COMMON_HEADERS=''
  29119. COMMON_LIBS=''
  29120. COMMON_MACROS=''
  29121. CONFIGURE='configure'
  29122. COUTFLAG='-o '
  29123. CP='cp'
  29124. CPP='$(CC) -E'
  29125. CPPFLAGS=' $(DEFS) ${cppflags}'
  29126. CPPOUTFILE='-o conftest.i'
  29127. CROSS_COMPILING='no'
  29128. CXX='g++'
  29129. CXXFLAGS='${cxxflags}'
  29130. DEFS=''
  29131. DESTDIR=''
  29132. DLDFLAGS=''
  29133. DLDLIBS=' -lc'
  29134. DLEXT2=''
  29135. DLEXT='so'
  29136. DLLWRAP=''
  29137. DLNOBJ='dln.o'
  29138. DOT=''
  29139. DOXYGEN=''
  29140. DTRACE=''
  29141. DTRACE_EXT='dmyh'
  29142. DTRACE_OBJ=''
  29143. DTRACE_REBUILD=''
  29144. ECHO_C=''
  29145. ECHO_N='-n'
  29146. ECHO_T=''
  29147. EGREP='/bin/grep -E'
  29148. ENABLE_SHARED='yes'
  29149. ENCOBJS='dmyenc.$(OBJEXT)'
  29150. ENCSTATIC=''
  29151. EXECUTABLE_EXTS=''
  29152. EXEEXT=''
  29153. EXPORT_PREFIX=''
  29154. EXTDLDFLAGS=''
  29155. EXTLDFLAGS=''
  29156. EXTOBJS='dmyext.$(OBJEXT)'
  29157. EXTOUT='.ext'
  29158. EXTSTATIC=''
  29159. GCC='yes'
  29160. GNU_LD='yes'
  29161. GREP='/bin/grep'
  29162. HAVE_BASERUBY='no'
  29163. INSTALLDOC='nodoc'
  29164. INSTALL_DATA='${INSTALL} -m 644'
  29165. INSTALL_PROGRAM='${INSTALL}'
  29166. INSTALL_SCRIPT='${INSTALL}'
  29167. LD='ld'
  29168. LDFLAGS='-L. -fstack-protector -rdynamic -Wl,-export-dynamic'
  29169. LDSHARED='$(CC) -shared'
  29170. LDSHAREDXX='$(CXX) -shared'
  29171. LIBEXT='a'
  29172. LIBOBJS=' ${LIBOBJDIR}setproctitle$U.o ${LIBOBJDIR}strlcat$U.o ${LIBOBJDIR}strlcpy$U.o ${LIBOBJDIR}addr2line$U.o'
  29173. LIBPATHENV='LD_LIBRARY_PATH'
  29174. LIBPATHFLAG=' -L%1$-s'
  29175. LIBRUBY='$(LIBRUBY_SO)'
  29176. LIBRUBYARG='$(LIBRUBYARG_SHARED)'
  29177. LIBRUBYARG_SHARED='-Wl,-R$(libdir) -L$(libdir) -l$(RUBY_SO_NAME)'
  29178. LIBRUBYARG_STATIC='-Wl,-R$(libdir) -L$(libdir) -l$(RUBY_SO_NAME)-static'
  29179. LIBRUBY_A='lib$(RUBY_SO_NAME)-static.a'
  29180. LIBRUBY_ALIASES='lib$(RUBY_SO_NAME).so.$(MAJOR).$(MINOR) lib$(RUBY_SO_NAME).so'
  29181. LIBRUBY_A_OBJS='$(OBJS)'
  29182. LIBRUBY_DLDFLAGS='-Wl,-soname,lib$(RUBY_SO_NAME).so.$(MAJOR).$(MINOR) '
  29183. LIBRUBY_LDSHARED='$(CC) -shared'
  29184. LIBRUBY_RELATIVE='no'
  29185. LIBRUBY_SO='lib$(RUBY_SO_NAME).so.$(MAJOR).$(MINOR).$(TEENY)'
  29186. LIBS='-lpthread -lgmp -ldl -lcrypt -lm '
  29187. LINK_SO=''
  29188. LN_S='ln -s'
  29189. LTLIBOBJS=' ${LIBOBJDIR}setproctitle$U.lo ${LIBOBJDIR}strlcat$U.lo ${LIBOBJDIR}strlcpy$U.lo ${LIBOBJDIR}addr2line$U.lo'
  29190. MAINLIBS=''
  29191. MAJOR='2'
  29192. MAKEDIRS='/bin/mkdir -p'
  29193. MAKEFILES='Makefile GNUmakefile'
  29194. MANTYPE='doc'
  29195. MINIOBJS='dmydln.o'
  29196. MINIRUBY='./miniruby$(EXEEXT) -I$(srcdir)/lib -I. -I$(EXTOUT)/common'
  29197. MINOR='3'
  29198. MKDIR_P='/bin/mkdir -p'
  29199. NACL_LIB_PATH=''
  29200. NACL_SDK_ROOT=''
  29201. NACL_SDK_VARIANT=''
  29202. NACL_TOOLCHAIN=''
  29203. NM='nm'
  29204. NROFF='/usr/bin/nroff'
  29205. NULLCMD=':'
  29206. OBJCOPY=':'
  29207. OBJDUMP='objdump'
  29208. OBJEXT='o'
  29209. OUTFLAG='-o '
  29210. PACKAGE='ruby'
  29211. PACKAGE_BUGREPORT=''
  29212. PACKAGE_NAME=''
  29213. PACKAGE_STRING=''
  29214. PACKAGE_TARNAME=''
  29215. PACKAGE_URL=''
  29216. PACKAGE_VERSION=''
  29217. PATH_SEPARATOR=':'
  29218. PKG_CONFIG='pkg-config'
  29219. PLATFORM_DIR=''
  29220. POSTLINK=':'
  29221. PRELOADENV='LD_PRELOAD'
  29222. PREP='miniruby$(EXEEXT)'
  29223. PYTHON=''
  29224. RANLIB='ranlib'
  29225. RDOCTARGET='nodoc'
  29226. RI_BASE_NAME='ri'
  29227. RM='rm -f'
  29228. RMALL='rm -fr'
  29229. RMDIR='rmdir --ignore-fail-on-non-empty'
  29230. RMDIRS='rmdir --ignore-fail-on-non-empty -p'
  29231. RPATHFLAG=' -Wl,-R%1$-s'
  29232. RUBYW_BASE_NAME='rubyw'
  29233. RUBYW_INSTALL_NAME=''
  29234. RUBY_BASE_NAME='ruby'
  29235. RUBY_EXEC_PREFIX='/usr/share/rvm/rubies/ruby-2.3.0'
  29236. RUBY_INSTALL_NAME='$(RUBY_BASE_NAME)'
  29237. RUBY_LIB_VERSION=''
  29238. RUBY_LIB_VERSION_STYLE='3 /* full */'
  29239. RUBY_PROGRAM_VERSION='2.3.0'
  29240. RUBY_SEARCH_PATH=''
  29241. RUBY_SO_NAME='$(RUBY_BASE_NAME)'
  29242. RUBY_VERSION_NAME='${RUBY_BASE_NAME}-${ruby_version}'
  29243. RUNRUBY='$(RUNRUBY_COMMAND) --'
  29244. RUNRUBY_COMMAND='$(MINIRUBY) $(srcdir)/tool/runruby.rb --extout=$(EXTOUT) $(RUNRUBYOPT)'
  29245. SET_MAKE=''
  29246. SHELL='/bin/bash'
  29247. SOLIBS='$(LIBS)'
  29248. STATIC=''
  29249. STRIP='strip -S -x'
  29250. SYMBOL_PREFIX=''
  29251. TEENY='0'
  29252. TEST_RUNNABLE='yes'
  29253. THREAD_MODEL='pthread'
  29254. TRY_LINK=''
  29255. UNIVERSAL_ARCHNAMES=''
  29256. UNIVERSAL_INTS=''
  29257. USE_RUBYGEMS='YES'
  29258. WERRORFLAG='-Werror'
  29259. WINDRES=''
  29260. XCFLAGS='-D_FORTIFY_SOURCE=2 -fstack-protector -fno-strict-overflow -fvisibility=hidden -DRUBY_EXPORT'
  29261. XLDFLAGS='-fstack-protector'
  29262. XRUBY='$(RUNRUBY)'
  29263. XRUBY_LIBDIR=''
  29264. XRUBY_RUBYHDRDIR=''
  29265. XRUBY_RUBYLIBDIR=''
  29266. ac_ct_CC='gcc'
  29267. ac_ct_CXX='g++'
  29268. ac_ct_OBJCOPY='objcopy'
  29269. ac_ct_OBJDUMP='objdump'
  29270. arch='x86_64-linux'
  29271. archincludedir='${includedir}/${arch}'
  29272. archlibdir='${libdir}/${arch}'
  29273. bindir='${exec_prefix}/bin'
  29274. build='x86_64-pc-linux-gnu'
  29275. build_alias=''
  29276. build_cpu='x86_64'
  29277. build_os='linux-gnu'
  29278. build_vendor='pc'
  29279. cflags=' ${optflags} ${debugflags} ${warnflags}'
  29280. codesign=''
  29281. configure_args=' '\''--prefix=/usr/share/rvm/rubies/ruby-2.3.0'\'' '\''--disable-install-doc'\'' '\''--enable-shared'\'''
  29282. cppflags=''
  29283. cxxflags=' ${optflags} ${debugflags} ${warnflags}'
  29284. datadir='${datarootdir}'
  29285. datarootdir='${prefix}/share'
  29286. debugflags='-ggdb3'
  29287. docdir='${datarootdir}/doc/${PACKAGE}'
  29288. dvidir='${docdir}'
  29289. exec='exec'
  29290. exec_prefix='${prefix}'
  29291. host='x86_64-pc-linux-gnu'
  29292. host_alias=''
  29293. host_cpu='x86_64'
  29294. host_os='linux-gnu'
  29295. host_vendor='pc'
  29296. htmldir='${docdir}'
  29297. includedir='${prefix}/include'
  29298. infodir='${datarootdir}/info'
  29299. libdir='${exec_prefix}/lib'
  29300. libdirname='libdir'
  29301. libexecdir='${exec_prefix}/libexec'
  29302. localedir='${datarootdir}/locale'
  29303. localstatedir='${prefix}/var'
  29304. mandir='${datarootdir}/man'
  29305. oldincludedir='/usr/include'
  29306. optflags='-O3 -fno-fast-math'
  29307. pdfdir='${docdir}'
  29308. prefix='/usr/share/rvm/rubies/ruby-2.3.0'
  29309. program_transform_name='s&^&&'
  29310. psdir='${docdir}'
  29311. ridir='${datarootdir}/${RI_BASE_NAME}'
  29312. ruby_pc='ruby-2.3.pc'
  29313. ruby_version='2.3.0'
  29314. rubyarchdir='${rubylibdir}/${arch}'
  29315. rubyarchhdrdir='${rubyhdrdir}/${arch}'
  29316. rubyarchprefix='${rubylibprefix}/${arch}'
  29317. rubyhdrdir='${includedir}/${RUBY_VERSION_NAME}'
  29318. rubylibdir='${rubylibprefix}/${ruby_version}'
  29319. rubylibprefix='${libdir}/${RUBY_BASE_NAME}'
  29320. rubysitearchprefix='${rubylibprefix}/${sitearch}'
  29321. rubyw_install_name=''
  29322. sbindir='${exec_prefix}/sbin'
  29323. setup='Setup'
  29324. sharedstatedir='${prefix}/com'
  29325. sitearch='${arch}'
  29326. sitearchdir='${sitelibdir}/${sitearch}'
  29327. sitearchhdrdir='${sitehdrdir}/${sitearch}'
  29328. sitearchincludedir='${includedir}/${sitearch}'
  29329. sitearchlibdir='${libdir}/${sitearch}'
  29330. sitedir='${rubylibprefix}/site_ruby'
  29331. sitehdrdir='${rubyhdrdir}/site_ruby'
  29332. sitelibdir='${sitedir}/${ruby_version}'
  29333. strict_warnflags='-std=iso9899:1999'
  29334. sysconfdir='${prefix}/etc'
  29335. target='x86_64-pc-linux-gnu'
  29336. target_alias=''
  29337. target_cpu='x86_64'
  29338. target_os='linux'
  29339. target_vendor='pc'
  29340. try_header=''
  29341. vendorarchdir='${vendorlibdir}/${sitearch}'
  29342. vendorarchhdrdir='${vendorhdrdir}/${sitearch}'
  29343. vendordir='${rubylibprefix}/vendor_ruby'
  29344. vendorhdrdir='${rubyhdrdir}/vendor_ruby'
  29345. vendorlibdir='${vendordir}/${ruby_version}'
  29346. warnflags='-Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat'
  29347.  
  29348. configure: exit 0
Add Comment
Please, Sign In to add comment