Advertisement
Guest User

Untitled

a guest
Oct 30th, 2018
531
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 177.45 KB | None | 0 0
  1. /tmp/ruby-build.20181030160655.8597 ~
  2. /tmp/ruby-build.20181030160655.8597/ruby-2.3.8 /tmp/ruby-build.20181030160655.8597 ~
  3. checking for ruby... /home/duybui/.rbenv/shims/ruby
  4. config.guess already exists
  5. config.sub already exists
  6. checking build system type... x86_64-pc-linux-gnu
  7. checking host system type... x86_64-pc-linux-gnu
  8. checking target system type... x86_64-pc-linux-gnu
  9. checking for gcc... gcc
  10. checking whether the C compiler works... yes
  11. checking for C compiler default output file name... a.out
  12. checking for suffix of executables...
  13. checking whether we are cross compiling... no
  14. checking for suffix of object files... o
  15. checking whether we are using the GNU C compiler... yes
  16. checking whether gcc accepts -g... yes
  17. checking for gcc option to accept ISO C89... none needed
  18. checking for g++... g++
  19. checking whether we are using the GNU C++ compiler... yes
  20. checking whether g++ accepts -g... yes
  21. checking how to run the C preprocessor... gcc -E
  22. checking for grep that handles long lines and -e... /bin/grep
  23. checking for egrep... /bin/grep -E
  24. checking whether gcc needs -traditional... no
  25. checking for ld... ld
  26. checking whether the linker is GNU ld... yes
  27. checking whether gcc -E accepts -o... yes
  28. checking for ranlib... ranlib
  29. checking for ar... ar
  30. checking for ar flags... rcD
  31. checking for as... as
  32. checking for objdump... objdump
  33. checking for objcopy... objcopy
  34. checking for nm... nm
  35. checking whether ln -s works... yes
  36. checking whether make sets $(MAKE)... yes
  37. checking for a BSD-compatible install... /usr/bin/install -c
  38. checking for a thread-safe mkdir -p... /bin/mkdir -p
  39. checking for dtrace... no
  40. checking for dot... no
  41. checking for doxygen... no
  42. checking for pkg-config... pkg-config
  43. checking for ANSI C header files... yes
  44. checking for sys/types.h... yes
  45. checking for sys/stat.h... yes
  46. checking for stdlib.h... yes
  47. checking for string.h... yes
  48. checking for memory.h... yes
  49. checking for strings.h... yes
  50. checking for inttypes.h... yes
  51. checking for stdint.h... yes
  52. checking for unistd.h... yes
  53. checking minix/config.h usability... no
  54. checking minix/config.h presence... no
  55. checking for minix/config.h... no
  56. checking whether it is safe to define __EXTENSIONS__... yes
  57. checking for cd using physical directory... cd -P
  58. checking whether CFLAGS is valid... yes
  59. checking whether LDFLAGS is valid... yes
  60. checking whether -Wl,-R. is accepted as LDFLAGS... yes
  61. checking whether -Wl,-rpath,. is accepted as LDFLAGS... yes
  62. checking whether -Wno-unused-parameter is accepted as CFLAGS... yes
  63. checking whether -Wno-parentheses is accepted as CFLAGS... yes
  64. checking whether -Wno-long-long is accepted as CFLAGS... yes
  65. checking whether -diag-disable=2259 is accepted as CFLAGS... no
  66. checking whether -Wno-missing-field-initializers is accepted as CFLAGS... yes
  67. checking whether -Wunused-variable is accepted as CFLAGS... yes
  68. checking whether -Wpointer-arith is accepted as CFLAGS... yes
  69. checking whether -Wwrite-strings is accepted as CFLAGS... yes
  70. checking whether -Wdeclaration-after-statement is accepted as CFLAGS... yes
  71. checking whether -Wshorten-64-to-32 is accepted as CFLAGS... no
  72. checking whether -Wimplicit-function-declaration is accepted as CFLAGS... yes
  73. checking whether -Wdivision-by-zero is accepted as CFLAGS... no
  74. checking whether -Wdeprecated-declarations is accepted as CFLAGS... yes
  75. checking whether -Wno-packed-bitfield-compat is accepted as CFLAGS... yes
  76. checking whether -Wextra-tokens is accepted as CFLAGS... no
  77. checking whether -Wall -Wextra is accepted as CFLAGS... yes
  78. checking whether -Qunused-arguments is accepted as CFLAGS... no
  79. checking whether INFINITY is available without C99 option... yes
  80. checking whether NAN is available without C99 option... yes
  81. checking whether -D_FORTIFY_SOURCE=2 is accepted as CFLAGS... yes
  82. checking whether -fstack-protector is accepted as CFLAGS... yes
  83. checking whether -fstack-protector is accepted as LDFLAGS... yes
  84. checking whether -std=iso9899:1999 is accepted as CFLAGS... yes
  85. checking whether -fno-strict-overflow is accepted as CFLAGS... yes
  86. checking whether -ggdb3 is accepted as CFLAGS... yes
  87. checking whether -fvisibility=hidden is accepted as CFLAGS... yes
  88. checking whether -fno-fast-math is accepted as CFLAGS... yes
  89. checking whether -fp-model precise is accepted as CFLAGS... no
  90. checking for crypt in -lcrypt... yes
  91. checking for dlopen in -ldl... yes
  92. checking for shl_load in -ldld... no
  93. checking for shutdown in -lsocket... no
  94. checking for dirent.h that defines DIR... yes
  95. checking for library containing opendir... none required
  96. checking for stdbool.h that conforms to C99... yes
  97. checking for _Bool... yes
  98. checking for sys/wait.h that is POSIX.1 compatible... yes
  99. checking a.out.h usability... yes
  100. checking a.out.h presence... yes
  101. checking for a.out.h... yes
  102. checking atomic.h usability... no
  103. checking atomic.h presence... no
  104. checking for atomic.h... no
  105. checking direct.h usability... no
  106. checking direct.h presence... no
  107. checking for direct.h... no
  108. checking grp.h usability... yes
  109. checking grp.h presence... yes
  110. checking for grp.h... yes
  111. checking fcntl.h usability... yes
  112. checking fcntl.h presence... yes
  113. checking for fcntl.h... yes
  114. checking float.h usability... yes
  115. checking float.h presence... yes
  116. checking for float.h... yes
  117. checking ieeefp.h usability... no
  118. checking ieeefp.h presence... no
  119. checking for ieeefp.h... no
  120. checking intrinsics.h usability... no
  121. checking intrinsics.h presence... no
  122. checking for intrinsics.h... no
  123. checking langinfo.h usability... yes
  124. checking langinfo.h presence... yes
  125. checking for langinfo.h... yes
  126. checking limits.h usability... yes
  127. checking limits.h presence... yes
  128. checking for limits.h... yes
  129. checking locale.h usability... yes
  130. checking locale.h presence... yes
  131. checking for locale.h... yes
  132. checking malloc.h usability... yes
  133. checking malloc.h presence... yes
  134. checking for malloc.h... yes
  135. checking malloc/malloc.h usability... no
  136. checking malloc/malloc.h presence... no
  137. checking for malloc/malloc.h... no
  138. checking malloc_np.h usability... no
  139. checking malloc_np.h presence... no
  140. checking for malloc_np.h... no
  141. checking net/socket.h usability... no
  142. checking net/socket.h presence... no
  143. checking for net/socket.h... no
  144. checking process.h usability... no
  145. checking process.h presence... no
  146. checking for process.h... no
  147. checking pwd.h usability... yes
  148. checking pwd.h presence... yes
  149. checking for pwd.h... yes
  150. checking setjmpex.h usability... no
  151. checking setjmpex.h presence... no
  152. checking for setjmpex.h... no
  153. checking sys/attr.h usability... no
  154. checking sys/attr.h presence... no
  155. checking for sys/attr.h... no
  156. checking sys/fcntl.h usability... yes
  157. checking sys/fcntl.h presence... yes
  158. checking for sys/fcntl.h... yes
  159. checking sys/file.h usability... yes
  160. checking sys/file.h presence... yes
  161. checking for sys/file.h... yes
  162. checking sys/id.h usability... no
  163. checking sys/id.h presence... no
  164. checking for sys/id.h... no
  165. checking sys/ioctl.h usability... yes
  166. checking sys/ioctl.h presence... yes
  167. checking for sys/ioctl.h... yes
  168. checking sys/mkdev.h usability... no
  169. checking sys/mkdev.h presence... no
  170. checking for sys/mkdev.h... no
  171. checking sys/param.h usability... yes
  172. checking sys/param.h presence... yes
  173. checking for sys/param.h... yes
  174. checking sys/prctl.h usability... yes
  175. checking sys/prctl.h presence... yes
  176. checking for sys/prctl.h... yes
  177. checking sys/resource.h usability... yes
  178. checking sys/resource.h presence... yes
  179. checking for sys/resource.h... yes
  180. checking sys/select.h usability... yes
  181. checking sys/select.h presence... yes
  182. checking for sys/select.h... yes
  183. checking sys/sendfile.h usability... yes
  184. checking sys/sendfile.h presence... yes
  185. checking for sys/sendfile.h... yes
  186. checking sys/socket.h usability... yes
  187. checking sys/socket.h presence... yes
  188. checking for sys/socket.h... yes
  189. checking sys/syscall.h usability... yes
  190. checking sys/syscall.h presence... yes
  191. checking for sys/syscall.h... yes
  192. checking sys/time.h usability... yes
  193. checking sys/time.h presence... yes
  194. checking for sys/time.h... yes
  195. checking sys/times.h usability... yes
  196. checking sys/times.h presence... yes
  197. checking for sys/times.h... yes
  198. checking sys/uio.h usability... yes
  199. checking sys/uio.h presence... yes
  200. checking for sys/uio.h... yes
  201. checking sys/utime.h usability... no
  202. checking sys/utime.h presence... no
  203. checking for sys/utime.h... no
  204. checking syscall.h usability... yes
  205. checking syscall.h presence... yes
  206. checking for syscall.h... yes
  207. checking time.h usability... yes
  208. checking time.h presence... yes
  209. checking for time.h... yes
  210. checking ucontext.h usability... yes
  211. checking ucontext.h presence... yes
  212. checking for ucontext.h... yes
  213. checking utime.h usability... yes
  214. checking utime.h presence... yes
  215. checking for utime.h... yes
  216. checking gmp.h usability... no
  217. checking gmp.h presence... no
  218. checking for gmp.h... no
  219. checking for special C compiler options needed for large files... no
  220. checking for _FILE_OFFSET_BITS value needed for large files... no
  221. checking whether byte ordering is bigendian... no
  222. checking for an ANSI C-conforming const... yes
  223. checking whether char is unsigned... no
  224. checking for inline... inline
  225. checking for working volatile... yes
  226. checking for typeof syntax and keyword spelling... __typeof__
  227. checking for long long... yes
  228. checking for off_t... yes
  229. checking char bit... 8
  230. checking size of int... 4
  231. checking size of short... 2
  232. checking size of long... 8
  233. checking size of long long... 8
  234. checking size of __int64... 0
  235. checking size of off_t... 8
  236. checking size of void*... 8
  237. checking size of float... 4
  238. checking size of double... 8
  239. checking size of time_t... 8
  240. checking size of clock_t... 8
  241. checking packed struct attribute... x __attribute__((packed))
  242. checking for printf prefix for long long... ll
  243. checking for pid_t... yes
  244. checking for convertible type of pid_t... INT
  245. checking for uid_t... yes
  246. checking for convertible type of uid_t... UINT
  247. checking for gid_t... yes
  248. checking for convertible type of gid_t... UINT
  249. checking for time_t... yes
  250. checking for convertible type of time_t... LONG
  251. checking for dev_t... yes
  252. checking for convertible type of dev_t... ULONG
  253. checking for mode_t... yes
  254. checking for convertible type of mode_t... UINT
  255. checking for rlim_t... yes
  256. checking for convertible type of rlim_t... ULONG
  257. checking for off_t... (cached) yes
  258. checking for convertible type of off_t... LONG
  259. checking for clockid_t... yes
  260. checking for convertible type of clockid_t... INT
  261. checking for prototypes... yes
  262. checking token paste string... ansi
  263. checking stringization... #expr
  264. checking string literal concatenation... yes
  265. checking for variable length prototypes and stdarg.h... yes
  266. checking for variable length macro... yes
  267. checking for NORETURN function attribute... __attribute__ ((noreturn)) x
  268. checking for DEPRECATED function attribute... __attribute__ ((deprecated)) x
  269. checking for DEPRECATED_BY function attribute... __attribute__ ((deprecated("by "#n))) x
  270. checking for DEPRECATED_TYPE type attribute... __attribute__ ((deprecated mesg)) x
  271. checking for NOINLINE function attribute... __attribute__ ((noinline)) x
  272. checking for WEAK function attribute... __attribute__ ((weak)) x
  273. checking for stdcall function attribute... x
  274. checking for cdecl function attribute... x
  275. checking for fastcall function attribute... x
  276. checking for FUNC_UNOPTIMIZED function attribute... __attribute__ ((optimize("O0"))) x
  277. checking for FUNC_MINIMIZED function attribute... __attribute__ ((optimize("-Os","-fomit-frame-pointer"))) x
  278. checking for function alias... alias
  279. checking for __atomic builtins... yes
  280. checking for __sync builtins... yes
  281. checking for __builtin_unreachable... yes
  282. checking for exported function attribute... __attribute__ ((visibility("default")))
  283. checking for function name string predefined identifier... __func__
  284. checking if enum over int is allowed... yes
  285. checking whether sys_nerr is declared... yes
  286. checking whether getenv is declared... yes
  287. checking for size_t... yes
  288. checking size of size_t... 8
  289. checking size of ptrdiff_t... 8
  290. checking for printf prefix for size_t... z
  291. checking for printf prefix for ptrdiff_t... t
  292. checking for struct stat.st_blksize... yes
  293. checking for struct stat.st_blocks... yes
  294. checking for struct stat.st_rdev... yes
  295. checking size of struct stat.st_size... SIZEOF_OFF_T
  296. checking size of struct stat.st_blocks... SIZEOF_OFF_T
  297. checking size of struct stat.st_ino... SIZEOF_LONG
  298. checking for struct stat.st_atim... yes
  299. checking for struct stat.st_atimespec... no
  300. checking for struct stat.st_atimensec... no
  301. checking for struct stat.st_mtim... yes
  302. checking for struct stat.st_mtimespec... no
  303. checking for struct stat.st_mtimensec... no
  304. checking for struct stat.st_ctim... yes
  305. checking for struct stat.st_ctimespec... no
  306. checking for struct stat.st_ctimensec... no
  307. checking for struct stat.st_birthtimespec... no
  308. checking for struct timeval... yes
  309. checking size of struct timeval.tv_sec... SIZEOF_TIME_T
  310. checking for struct timespec... yes
  311. checking for struct timezone... yes
  312. checking for clockid_t... (cached) yes
  313. checking for fd_mask... yes
  314. checking for int8_t... yes
  315. checking size of int8_t... 1
  316. checking for uint8_t... yes
  317. checking size of uint8_t... 1
  318. checking for int16_t... yes
  319. checking size of int16_t... 2
  320. checking for uint16_t... yes
  321. checking size of uint16_t... 2
  322. checking for int32_t... yes
  323. checking size of int32_t... 4
  324. checking for uint32_t... yes
  325. checking size of uint32_t... 4
  326. checking for int64_t... yes
  327. checking size of int64_t... 8
  328. checking for uint64_t... yes
  329. checking size of uint64_t... 8
  330. checking for intptr_t... yes
  331. checking size of intptr_t... 8
  332. checking for uintptr_t... yes
  333. checking size of uintptr_t... 8
  334. checking for ssize_t... yes
  335. checking size of ssize_t... 8
  336. checking for stack end address... __libc_stack_end
  337. checking for uid_t in sys/types.h... (cached) yes
  338. checking type of array argument to getgroups... gid_t
  339. checking return type of signal handlers... void
  340. checking for working alloca.h... yes
  341. checking for alloca... yes
  342. checking for dynamic size alloca... ok
  343. checking for working memcmp... yes
  344. checking for broken erfc of glibc-2.3.6 on IA64... no
  345. checking for acosh... yes
  346. checking for cbrt... yes
  347. checking for crypt... yes
  348. checking for dup2... yes
  349. checking for erf... yes
  350. checking for explicit_bzero... yes
  351. checking for ffs... yes
  352. checking for finite... yes
  353. checking for flock... yes
  354. checking for hypot... yes
  355. checking for isinf... yes
  356. checking for isnan... yes
  357. checking for lgamma_r... yes
  358. checking for memmove... yes
  359. checking for nextafter... yes
  360. checking for setproctitle... no
  361. checking for strchr... yes
  362. checking for strerror... yes
  363. checking for strlcat... no
  364. checking for strlcpy... no
  365. checking for strstr... yes
  366. checking for tgamma... yes
  367. checking sys/pstat.h usability... no
  368. checking sys/pstat.h presence... no
  369. checking for sys/pstat.h... no
  370. checking for signbit... yes
  371. checking for broken memmem... no
  372. checking for pid_t... (cached) yes
  373. checking vfork.h usability... no
  374. checking vfork.h presence... no
  375. checking for vfork.h... no
  376. checking for fork... yes
  377. checking for vfork... yes
  378. checking for working fork... yes
  379. checking for working vfork... (cached) yes
  380. checking for __syscall... no
  381. checking for _longjmp... yes
  382. checking for _setjmp... yes
  383. checking for _setjmpex... no
  384. checking for atan2l... yes
  385. checking for atan2f... yes
  386. checking for chroot... yes
  387. checking for chsize... no
  388. checking for clock_gettime... yes
  389. checking for cosh... yes
  390. checking for daemon... (cached) no
  391. checking for dirfd... yes
  392. checking for dl_iterate_phdr... yes
  393. checking for dlopen... yes
  394. checking for dladdr... yes
  395. checking for dup... yes
  396. checking for dup3... yes
  397. checking for eaccess... yes
  398. checking for endgrent... yes
  399. checking for fchmod... yes
  400. checking for fchown... yes
  401. checking for fcntl... yes
  402. checking for fdatasync... yes
  403. checking for fgetattrlist... no
  404. checking for fmod... yes
  405. checking for fsync... yes
  406. checking for ftruncate... yes
  407. checking for ftruncate64... yes
  408. checking for getattrlist... no
  409. checking for getcwd... yes
  410. checking for getgidx... no
  411. checking for getgrnam... yes
  412. checking for getgrnam_r... yes
  413. checking for getgroups... yes
  414. checking for getpgid... yes
  415. checking for getpgrp... yes
  416. checking for getpriority... yes
  417. checking for getpwnam_r... yes
  418. checking for getresgid... yes
  419. checking for getresuid... yes
  420. checking for getrlimit... yes
  421. checking for getsid... yes
  422. checking for gettimeofday... yes
  423. checking for getuidx... no
  424. checking for gmtime_r... yes
  425. checking for initgroups... yes
  426. checking for ioctl... yes
  427. checking for isfinite... no
  428. checking for issetugid... no
  429. checking for killpg... yes
  430. checking for lchmod... no
  431. checking for lchown... yes
  432. checking for link... yes
  433. checking for llabs... yes
  434. checking for lockf... yes
  435. checking for log2... yes
  436. checking for lstat... yes
  437. checking for malloc_usable_size... yes
  438. checking for malloc_size... no
  439. checking for mblen... yes
  440. checking for memalign... yes
  441. checking for memset_s... no
  442. checking for writev... yes
  443. checking for memrchr... yes
  444. checking for memmem... yes
  445. checking for mkfifo... yes
  446. checking for mknod... yes
  447. checking for mktime... yes
  448. checking for pipe2... yes
  449. checking for poll... yes
  450. checking for posix_fadvise... yes
  451. checking for posix_memalign... yes
  452. checking for ppoll... yes
  453. checking for pread... yes
  454. checking for qsort_r... yes
  455. checking for readlink... yes
  456. checking for round... yes
  457. checking for sched_getaffinity... yes
  458. checking for seekdir... yes
  459. checking for select_large_fdset... no
  460. checking for sendfile... yes
  461. checking for setegid... yes
  462. checking for setenv... yes
  463. checking for seteuid... yes
  464. checking for setgid... yes
  465. checking for setgroups... yes
  466. checking for setpgid... yes
  467. checking for setpgrp... yes
  468. checking for setregid... yes
  469. checking for setresgid... yes
  470. checking for setresuid... yes
  471. checking for setreuid... yes
  472. checking for setrgid... no
  473. checking for setrlimit... yes
  474. checking for setruid... no
  475. checking for setsid... yes
  476. checking for setuid... yes
  477. checking for shutdown... yes
  478. checking for sigaction... yes
  479. checking for sigaltstack... yes
  480. checking for sigprocmask... yes
  481. checking for sinh... yes
  482. checking for spawnv... no
  483. checking for symlink... yes
  484. checking for syscall... yes
  485. checking for sysconf... yes
  486. checking for tanh... yes
  487. checking for telldir... yes
  488. checking for timegm... yes
  489. checking for times... yes
  490. checking for truncate... yes
  491. checking for truncate64... yes
  492. checking for unsetenv... yes
  493. checking for utimensat... yes
  494. checking for utimes... yes
  495. checking for wait4... yes
  496. checking for waitpid... yes
  497. checking if getcwd allocates buffer if NULL is given... yes
  498. checking for __builtin_bswap16... yes
  499. checking for __builtin_bswap32... yes
  500. checking for __builtin_bswap64... yes
  501. checking for __builtin_clz... yes
  502. checking for __builtin_clzl... yes
  503. checking for __builtin_clzll... yes
  504. checking for __builtin_choose_expr... yes
  505. checking for __builtin_choose_expr_constant_p... yes
  506. checking for __builtin_types_compatible_p... yes
  507. checking whether qsort_r is GNU version... yes
  508. checking whether qsort_r is BSD version... no
  509. checking whether atan2 handles Inf as C99... yes
  510. checking whether lgamma_r handles +0.0 and -0.0... yes
  511. checking for clock_getres... yes
  512. checking for unsetenv returns a value... yes
  513. checking for sigsetjmp as a macro or function... yes
  514. checking whether struct tm is in sys/time.h or time.h... time.h
  515. checking for struct tm.tm_zone... yes
  516. checking for struct tm.tm_gmtoff... yes
  517. checking for external int daylight... yes
  518. checking for external timezone... long
  519. checking for external altzone... no
  520. checking for timezone... yes
  521. checking whether timezone requires zero arguments... yes
  522. checking for negative time_t for gmtime(3)... yes
  523. checking for localtime(3) overflow correctly... yes
  524. checking whether right shift preserve sign bit... yes
  525. checking whether _SC_CLK_TCK is supported... yes
  526. checking stack growing direction on x86_64... -1
  527. checking for pthread_kill in -lthr... no
  528. checking for pthread_kill in -lpthread... yes
  529. checking for pthread_np.h... no
  530. checking whether pthread_t is scalar type... yes
  531. checking for sched_yield... yes
  532. checking for pthread_attr_setinheritsched... yes
  533. checking for pthread_attr_get_np... no
  534. checking for pthread_attr_getstack... yes
  535. checking for pthread_get_stackaddr_np... no
  536. checking for pthread_get_stacksize_np... no
  537. checking for thr_stksegment... no
  538. checking for pthread_stackseg_np... no
  539. checking for pthread_getthrds_np... no
  540. checking for pthread_cond_init... yes
  541. checking for pthread_condattr_setclock... yes
  542. checking for pthread_condattr_init... yes
  543. checking for pthread_sigmask... yes
  544. checking for pthread_setname_np... yes
  545. checking for pthread_set_name_np... no
  546. checking for pthread_getattr_np... yes
  547. checking for pthread_attr_init... yes
  548. checking arguments of pthread_setname_np... (pthread_self(), name)
  549. checking if mcontext_t is a pointer... no
  550. checking for getcontext... yes
  551. checking for setcontext... yes
  552. checking if fork works with pthread... yes
  553. checking whether ELF binaries are produced... yes
  554. checking elf.h usability... yes
  555. checking elf.h presence... yes
  556. checking for elf.h... yes
  557. checking elf_abi.h usability... no
  558. checking elf_abi.h presence... no
  559. checking for elf_abi.h... no
  560. checking whether OS depend dynamic link works... yes
  561. checking for backtrace... yes
  562. checking for broken backtrace... no
  563. checking valgrind/memcheck.h usability... no
  564. checking valgrind/memcheck.h presence... no
  565. checking for valgrind/memcheck.h... no
  566. checking for strip... strip
  567. checking whether -fPIE is accepted as CFLAGS... yes
  568. checking whether -pie is accepted as LDFLAGS... yes
  569. checking whether wrapper for LD_LIBRARY_PATH is needed... no
  570. checking for __builtin_setjmp... yes with cast ()
  571. checking for setjmp type... __builtin_setjmp
  572. checking for prefix of external symbols... NONE
  573. checking pthread.h usability... yes
  574. checking pthread.h presence... yes
  575. checking for pthread.h... yes
  576. checking if make is GNU make... yes
  577. checking for nroff... /usr/bin/nroff
  578. .ext/include/x86_64-linux/ruby/config.h updated
  579. configure: ruby library version = 2.3.0
  580. configure: creating ./config.status
  581. config.status: creating GNUmakefile
  582. config.status: creating Makefile
  583. config.status: creating ruby-2.3.pc
  584. CC = gcc
  585. LD = ld
  586. LDSHARED = gcc -shared
  587. CFLAGS = -O3 -fno-fast-math -ggdb3 -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
  588. XCFLAGS = -D_FORTIFY_SOURCE=2 -fstack-protector -fno-strict-overflow -fvisibility=hidden -DRUBY_EXPORT -fPIE
  589. CPPFLAGS = -I/home/duybui/.rbenv/versions/2.3.8/include -I. -I.ext/include/x86_64-linux -I./include -I.
  590. DLDFLAGS = -fstack-protector -pie
  591. SOLIBS =
  592. Using built-in specs.
  593. COLLECT_GCC=gcc
  594. COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/8/lto-wrapper
  595. OFFLOAD_TARGET_NAMES=nvptx-none
  596. OFFLOAD_TARGET_DEFAULT=1
  597. Target: x86_64-linux-gnu
  598. Configured with: ../src/configure -v --with-pkgversion='Debian 8.2.0-8' --with-bugurl=file:///usr/share/doc/gcc-8/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++ --prefix=/usr --with-gcc-major-version-only --program-suffix=-8 --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
  599. Thread model: posix
  600. gcc version 8.2.0 (Debian 8.2.0-8)
  601. copying dummy probes.h
  602. compiling main.c
  603. compiling dmydln.c
  604. compiling miniinit.c
  605. compiling dmyext.c
  606. compiling miniprelude.c
  607. compiling array.c
  608. compiling bignum.c
  609. compiling class.c
  610. compiling compar.c
  611. compiling complex.c
  612. In file included from class.c:26:
  613. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  614. #if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
  615. ^
  616. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  617. In file included from bignum.c:12:
  618. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  619. #if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
  620. ^
  621. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  622. In file included from array.c:14:
  623. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  624. #if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
  625. ^
  626. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  627. compiling dir.c
  628. compiling dln_find.c
  629. compiling encoding.c
  630. In file included from complex.c:14:
  631. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  632. #if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
  633. ^
  634. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  635. array.c: In function ‘rb_ary_rindex’:
  636. array.c:1532:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
  637. if (!rb_equal(e, val)) break;
  638. ^
  639. array.c:1533:4: note: here
  640. case Qtrue:
  641. ^~~~
  642. array.c: In function ‘rb_ary_index’:
  643. array.c:1469:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
  644. if (!rb_equal(e, val)) break;
  645. ^
  646. array.c:1470:4: note: here
  647. case Qtrue:
  648. ^~~~
  649. compiling enum.c
  650. In file included from encoding.c:12:
  651. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  652. #if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
  653. ^
  654. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  655. In file included from dir.c:14:
  656. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  657. #if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
  658. ^
  659. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  660. encoding.c: In function ‘rb_enc_get_index’:
  661. encoding.c:793:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
  662. if (NIL_P(obj)) break;
  663. ^
  664. encoding.c:794:7: note: here
  665. case T_DATA:
  666. ^~~~
  667. encoding.c: In function ‘enc_capable’:
  668. encoding.c:746:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
  669. if (is_data_encoding(obj)) return TRUE;
  670. ^
  671. encoding.c:747:7: note: here
  672. default:
  673. ^~~~~~~
  674. compiling enumerator.c
  675. In file included from enum.c:12:
  676. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  677. #if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
  678. ^
  679. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  680. In file included from enumerator.c:15:
  681. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  682. #if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
  683. ^
  684. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  685. compiling error.c
  686. compiling eval.c
  687. In file included from error.c:12:
  688. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  689. #if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
  690. ^
  691. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  692. In file included from eval.c:14:
  693. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  694. #if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
  695. ^
  696. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  697. eval.c: In function ‘rb_raise_jump’:
  698. eval.c:776:8: warning: unused variable ‘mid’ [-Wunused-variable]
  699. ID mid = me->called_id;
  700. ^~~
  701. compiling load.c
  702. In file included from load.c:5:
  703. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  704. #if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
  705. ^
  706. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  707. load.c: In function ‘search_required’:
  708. load.c:924:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
  709. if (ft) {
  710. ^
  711. load.c:929:7: note: here
  712. case 1:
  713. ^~~~
  714. compiling proc.c
  715. In file included from method.h:14,
  716. from vm_core.h:62,
  717. from eval_intern.h:5,
  718. from proc.c:12:
  719. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  720. #if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
  721. ^
  722. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  723. compiling file.c
  724. compiling gc.c
  725. compiling hash.c
  726. compiling inits.c
  727. In file included from file.c:26:
  728. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  729. #if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
  730. ^
  731. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  732. In file included from gc.c:17:
  733. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  734. #if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
  735. ^
  736. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  737. file.c: In function ‘rb_stat_dev_major’:
  738. file.c:501:13: warning: In the GNU C Library, "major" is defined
  739. by <sys/sysmacros.h>. For historical compatibility, it is
  740. currently defined by <sys/types.h> as well, but we plan to
  741. remove this soon. To use "major", include <sys/sysmacros.h>
  742. directly. If you did not intend to use a system-defined macro
  743. "major", you should undefine it after including <sys/types.h>.
  744. return INT2NUM(major(get_stat(self)->st_dev));
  745. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  746. file.c: In function ‘rb_stat_dev_minor’:
  747. file.c:522:13: warning: In the GNU C Library, "minor" is defined
  748. by <sys/sysmacros.h>. For historical compatibility, it is
  749. currently defined by <sys/types.h> as well, but we plan to
  750. remove this soon. To use "minor", include <sys/sysmacros.h>
  751. directly. If you did not intend to use a system-defined macro
  752. "minor", you should undefine it after including <sys/types.h>.
  753. return INT2NUM(minor(get_stat(self)->st_dev));
  754. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  755. file.c: In function ‘rb_stat_rdev_major’:
  756. file.c:665:13: warning: In the GNU C Library, "major" is defined
  757. by <sys/sysmacros.h>. For historical compatibility, it is
  758. currently defined by <sys/types.h> as well, but we plan to
  759. remove this soon. To use "major", include <sys/sysmacros.h>
  760. directly. If you did not intend to use a system-defined macro
  761. "major", you should undefine it after including <sys/types.h>.
  762. return DEVT2NUM(major(get_stat(self)->st_rdev));
  763. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  764. file.c: In function ‘rb_stat_rdev_minor’:
  765. file.c:686:13: warning: In the GNU C Library, "minor" is defined
  766. by <sys/sysmacros.h>. For historical compatibility, it is
  767. currently defined by <sys/types.h> as well, but we plan to
  768. remove this soon. To use "minor", include <sys/sysmacros.h>
  769. directly. If you did not intend to use a system-defined macro
  770. "minor", you should undefine it after including <sys/types.h>.
  771. return DEVT2NUM(minor(get_stat(self)->st_rdev));
  772. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  773. In file included from hash.c:14:
  774. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  775. #if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
  776. ^
  777. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  778. gc.c: In function ‘make_io_zombie’:
  779. gc.c:2052:32: warning: cast between incompatible function types from ‘int (*)(rb_io_t *)’ {aka ‘int (*)(struct rb_io_t *)’} to ‘void (*)(void *)’ [-Wcast-function-type]
  780. make_zombie(objspace, obj, (void (*)(void*))rb_io_fptr_finalize, fptr);
  781. ^
  782. hash.c: In function ‘rb_hash_s_create’:
  783. hash.c:658:11: warning: this statement may fall through [-Wimplicit-fallthrough=]
  784. val = RARRAY_AREF(v, 1);
  785. hash.c:659:5: note: here
  786. case 1:
  787. ^~~~
  788. In file included from inits.c:12:
  789. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  790. #if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
  791. ^
  792. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  793. compiling io.c
  794. In file included from io.c:14:
  795. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  796. #if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
  797. ^
  798. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  799. io.c: In function ‘rb_io_s_popen’:
  800. io.c:6281:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
  801. pmode = argv[1];
  802. ~~~~~~^~~~~~~~~
  803. io.c:6282:7: note: here
  804. case 1:
  805. ^~~~
  806. compiling marshal.c
  807. compiling math.c
  808. In file included from marshal.c:16:
  809. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  810. #if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
  811. ^
  812. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  813. marshal.c: In function ‘r_object0’:
  814. marshal.c:1749:7: warning: this statement may fall through [-Wimplicit-fallthrough=]
  815. if (bs & 1) --dst;
  816. ^
  817. marshal.c:1750:9: note: here
  818. default: bs = 0; break;
  819. ^~~~~~~
  820. marshal.c: In function ‘load_mantissa’:
  821. marshal.c:365:19: warning: this statement may fall through [-Wimplicit-fallthrough=]
  822. default: m = *buf++ & 0xff;
  823. ~~^~~~~~~~~~~~~~~
  824. marshal.c:367:8: note: here
  825. case 3: m = (m << 8) | (*buf++ & 0xff);
  826. ^~~~
  827. marshal.c:367:18: warning: this statement may fall through [-Wimplicit-fallthrough=]
  828. case 3: m = (m << 8) | (*buf++ & 0xff);
  829. ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
  830. marshal.c:370:8: note: here
  831. case 2: m = (m << 8) | (*buf++ & 0xff);
  832. ^~~~
  833. marshal.c:370:18: warning: this statement may fall through [-Wimplicit-fallthrough=]
  834. case 2: m = (m << 8) | (*buf++ & 0xff);
  835. ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
  836. marshal.c:373:8: note: here
  837. case 1: m = (m << 8) | (*buf++ & 0xff);
  838. ^~~~
  839. In file included from math.c:12:
  840. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  841. #if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
  842. ^
  843. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  844. compiling node.c
  845. compiling numeric.c
  846. In file included from method.h:14,
  847. from vm_core.h:62,
  848. from node.c:13:
  849. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  850. #if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
  851. ^
  852. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  853. In file included from numeric.c:12:
  854. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  855. #if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
  856. ^
  857. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  858. compiling object.c
  859. In file included from object.c:14:
  860. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  861. #if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
  862. ^
  863. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  864. In file included from ./include/ruby.h:33,
  865. from internal.h:15,
  866. from object.c:14:
  867. object.c: In function ‘rb_f_integer’:
  868. ./include/ruby/ruby.h:689:23: warning: this statement may fall through [-Wimplicit-fallthrough=]
  869. #define RB_NUM2INT(x) rb_num2int_inline(x)
  870. ^~~~~~~~~~~~~~~~~~~~
  871. ./include/ruby/ruby.h:701:21: note: in expansion of macro ‘RB_NUM2INT’
  872. #define NUM2INT(x) RB_NUM2INT(x)
  873. ^~~~~~~~~~
  874. object.c:2740:9: note: in expansion of macro ‘NUM2INT’
  875. base = NUM2INT(argv[1]);
  876. ^~~~~~~
  877. object.c:2741:7: note: here
  878. case 1:
  879. ^~~~
  880. compiling pack.c
  881. In file included from pack.c:12:
  882. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  883. #if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
  884. ^
  885. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  886. compiling parse.c
  887. In file included from parse.y:27:
  888. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  889. #if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
  890. ^
  891. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  892. compiling process.c
  893. parse.y: In function ‘ruby_yyparse’:
  894. parse.y:407:43: warning: this statement may fall through [-Wimplicit-fallthrough=]
  895. #define rb_node_newnode(type, a1, a2, a3) node_newnode(parser, (type), (a1), (a2), (a3))
  896. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  897. node.h:356:30: note: in expansion of macro ‘rb_node_newnode’
  898. #define NEW_NODE(t,a0,a1,a2) rb_node_newnode((t),(VALUE)(a0),(VALUE)(a1),(VALUE)(a2))
  899. ^~~~~~~~~~~~~~~
  900. parse.y:4007:15: note: in expansion of macro ‘NEW_NODE’
  901. node = NEW_NODE(NODE_DSTR, STR_NEW0(), 1, NEW_LIST(node));
  902. ^~~~~~~~
  903. parse.y:4008:6: note: here
  904. case NODE_DSTR:
  905. ^~~~
  906. parse.y:340:22: warning: this statement may fall through [-Wimplicit-fallthrough=]
  907. #define yyerror(msg) parser_yyerror(parser, (msg))
  908. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  909. parse.y:5028:5: note: in expansion of macro ‘yyerror’
  910. yyerror("can't define singleton method for literals");
  911. ^~~~~~~
  912. parse.y:5029:10: note: here
  913. default:
  914. ^~~~~~~
  915. parse.y: In function ‘parser_yylex’:
  916. parse.y:8207:6: warning: this statement may fall through [-Wimplicit-fallthrough=]
  917. if (peek('.') == (c == '&')) {
  918. ^
  919. parse.y:8213:8: note: here
  920. default:
  921. ^~~~~~~
  922. parse.y:8215:16: warning: this statement may fall through [-Wimplicit-fallthrough=]
  923. lex_nextline = lex_lastline;
  924. parse.y:8216:8: note: here
  925. case -1: /* EOF no decrement*/
  926. ^~~~
  927. parse.y:8561:12: warning: this statement may fall through [-Wimplicit-fallthrough=]
  928. paren_nest--;
  929. parse.y:8562:7: note: here
  930. case '}':
  931. ^~~~
  932. parse.y: In function ‘parser_here_document’:
  933. parse.y:6870:23: warning: this statement may fall through [-Wimplicit-fallthrough=]
  934. if (--pend == p || pend[-1] != '\r') {
  935. ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
  936. parse.y:6874:5: note: here
  937. case '\r':
  938. ^~~~
  939. parse.y: In function ‘parser_read_escape’:
  940. parse.y:6063:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
  941. if ((c = nextc()) != '-') {
  942. ^
  943. parse.y:6067:7: note: here
  944. case 'c':
  945. ^~~~
  946. In file included from process.c:14:
  947. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  948. #if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
  949. ^
  950. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  951. parse.y: In function ‘parse_gvar’:
  952. parse.y:7929:6: warning: this statement may fall through [-Wimplicit-fallthrough=]
  953. if (!parser_is_identchar()) {
  954. ^
  955. parse.y:7939:7: note: here
  956. case '0':
  957. ^~~~
  958. parse.y: In function ‘is_static_content’:
  959. parse.y:9754:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
  960. if (!(node = node->nd_head)) break;
  961. ^
  962. parse.y:9755:7: note: here
  963. case NODE_ARRAY:
  964. ^~~~
  965. In file included from parse.y:28:
  966. parse.y: In function ‘literal_concat_gen’:
  967. node.h:276:20: warning: this statement may fall through [-Wimplicit-fallthrough=]
  968. RNODE(n)->flags=((RNODE(n)->flags&~NODE_TYPEMASK)|((((unsigned long)(t))<<NODE_TYPESHIFT)&NODE_TYPEMASK))
  969. ^
  970. parse.y:8970:6: note: in expansion of macro ‘nd_set_type’
  971. nd_set_type(head, NODE_DSTR);
  972. ^~~~~~~~~~~
  973. parse.y:8971:4: note: here
  974. case NODE_DSTR:
  975. ^~~~
  976. process.c: In function ‘handle_fork_error’:
  977. process.c:3243:24: warning: cast between incompatible function types from ‘void (*)(int)’ to ‘VALUE (*)()’ {aka ‘long unsigned int (*)()’} [-Wcast-function-type]
  978. rb_protect((VALUE (*)())rb_thread_sleep, 1, &state);
  979. ^
  980. compiling random.c
  981. compiling range.c
  982. In file included from random.c:62:
  983. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  984. #if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
  985. ^
  986. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  987. In file included from range.c:12:
  988. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  989. #if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
  990. ^
  991. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  992. In file included from random.c:1448:
  993. siphash.c: In function ‘ruby_sip_hash24’:
  994. siphash.c:430:26: warning: this statement may fall through [-Wimplicit-fallthrough=]
  995. #define OR_BYTE(n) (last |= ((uint64_t) end[n]) << ((n) * 8))
  996. ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  997. siphash.c:444:6: note: in expansion of macro ‘OR_BYTE’
  998. OR_BYTE(6);
  999. ^~~~~~~
  1000. siphash.c:445:2: note: here
  1001. case 6:
  1002. ^~~~
  1003. siphash.c:430:26: warning: this statement may fall through [-Wimplicit-fallthrough=]
  1004. #define OR_BYTE(n) (last |= ((uint64_t) end[n]) << ((n) * 8))
  1005. ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1006. siphash.c:446:6: note: in expansion of macro ‘OR_BYTE’
  1007. OR_BYTE(5);
  1008. ^~~~~~~
  1009. siphash.c:447:2: note: here
  1010. case 5:
  1011. ^~~~
  1012. siphash.c:430:26: warning: this statement may fall through [-Wimplicit-fallthrough=]
  1013. #define OR_BYTE(n) (last |= ((uint64_t) end[n]) << ((n) * 8))
  1014. ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1015. siphash.c:448:6: note: in expansion of macro ‘OR_BYTE’
  1016. OR_BYTE(4);
  1017. ^~~~~~~
  1018. siphash.c:449:2: note: here
  1019. case 4:
  1020. ^~~~
  1021. siphash.c:430:26: warning: this statement may fall through [-Wimplicit-fallthrough=]
  1022. #define OR_BYTE(n) (last |= ((uint64_t) end[n]) << ((n) * 8))
  1023. ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1024. siphash.c:461:6: note: in expansion of macro ‘OR_BYTE’
  1025. OR_BYTE(2);
  1026. ^~~~~~~
  1027. siphash.c:462:2: note: here
  1028. case 2:
  1029. ^~~~
  1030. siphash.c:430:26: warning: this statement may fall through [-Wimplicit-fallthrough=]
  1031. #define OR_BYTE(n) (last |= ((uint64_t) end[n]) << ((n) * 8))
  1032. ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1033. siphash.c:463:6: note: in expansion of macro ‘OR_BYTE’
  1034. OR_BYTE(1);
  1035. ^~~~~~~
  1036. siphash.c:464:2: note: here
  1037. case 1:
  1038. ^~~~
  1039. random.c: In function ‘rand_range’:
  1040. random.c:1221:21: warning: this statement may fall through [-Wimplicit-fallthrough=]
  1041. case T_FLOAT: {
  1042. ^
  1043. random.c:1227:7: note: here
  1044. default:
  1045. ^~~~~~~
  1046. random.c: In function ‘random_load’:
  1047. random.c:747:7: warning: this statement may fall through [-Wimplicit-fallthrough=]
  1048. seed = ary[2];
  1049. ~~~~~^~~~~~~~
  1050. random.c:748:7: note: here
  1051. case 2:
  1052. ^~~~
  1053. random.c:749:7: warning: this statement may fall through [-Wimplicit-fallthrough=]
  1054. left = ary[1];
  1055. ~~~~~^~~~~~~~
  1056. random.c:750:7: note: here
  1057. case 1:
  1058. ^~~~
  1059. compiling rational.c
  1060. compiling re.c
  1061. In file included from rational.c:8:
  1062. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  1063. #if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
  1064. ^
  1065. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  1066. In file included from re.c:12:
  1067. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  1068. #if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
  1069. ^
  1070. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  1071. compiling regcomp.c
  1072. re.c: In function ‘unescape_nonascii’:
  1073. re.c:2310:17: warning: this statement may fall through [-Wimplicit-fallthrough=]
  1074. {
  1075. ^
  1076. re.c:2321:15: note: here
  1077. case '0': /* \0, \0O, \0OO */
  1078. ^~~~
  1079. re.c: In function ‘read_escaped_byte’:
  1080. re.c:2083:22: warning: this statement may fall through [-Wimplicit-fallthrough=]
  1081. if (p == end || *p++ != '-') {
  1082. ~~~~~~~~~^~~~~~~~~~~~~~
  1083. re.c:2087:7: note: here
  1084. case 'c': /* \cX, \c\M-X */
  1085. ^~~~
  1086. compiling regenc.c
  1087. compiling regerror.c
  1088. compiling regexec.c
  1089. compiling regparse.c
  1090. compiling regsyntax.c
  1091. compiling ruby.c
  1092. regparse.c: In function ‘parse_enclose’:
  1093. regparse.c:5183:10: warning: this statement may fall through [-Wimplicit-fallthrough=]
  1094. if (IS_SYNTAX_OP2(env->syntax, ONIG_SYN_OP2_OPTION_PERL)) {
  1095. ^
  1096. regparse.c:5211:5: note: here
  1097. case '-': case 'i': case 'm': case 's': case 'x':
  1098. ^~~~
  1099. compiling safe.c
  1100. In file included from ruby.c:18:
  1101. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  1102. #if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
  1103. ^
  1104. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  1105. ruby.c: In function ‘proc_options’:
  1106. ruby.c:856:20: warning: this statement may fall through [-Wimplicit-fallthrough=]
  1107. opt->do_print = TRUE;
  1108. ruby.c:858:4: note: here
  1109. case 'n':
  1110. ^~~~
  1111. ruby.c:882:19: warning: this statement may fall through [-Wimplicit-fallthrough=]
  1112. opt->verbose = 1;
  1113. ~~~~~~~~~~~~~^~~
  1114. ruby.c:883:4: note: here
  1115. case 'w':
  1116. ^~~~
  1117. ruby.c:1194:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
  1118. if (!s[1])
  1119. ^
  1120. ruby.c:1197:4: note: here
  1121. default:
  1122. ^~~~~~~
  1123. In file included from method.h:14,
  1124. from vm_core.h:62,
  1125. from safe.c:20:
  1126. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  1127. #if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
  1128. ^
  1129. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  1130. compiling signal.c
  1131. compiling sprintf.c
  1132. In file included from signal.c:14:
  1133. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  1134. #if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
  1135. ^
  1136. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  1137. signal.c: In function ‘ruby_signal’:
  1138. signal.c:596:31: warning: cast between incompatible function types from ‘ruby_sighandler_t’ {aka ‘void (*)(int)’} to ‘void (*)(int, siginfo_t *, void *)’ {aka ‘void (*)(int, struct <anonymous> *, void *)’} [-Wcast-function-type]
  1139. sigact.sa_sigaction = (ruby_sigaction_t*)handler;
  1140. ^
  1141. signal.c:625:9: warning: cast between incompatible function types from ‘void (*)(int, siginfo_t *, void *)’ {aka ‘void (*)(int, struct <anonymous> *, void *)’} to ‘void (*)(int)’ [-Wcast-function-type]
  1142. return (sighandler_t)old.sa_sigaction;
  1143. ^
  1144. signal.c: In function ‘default_handler’:
  1145. signal.c:1063:16: warning: cast between incompatible function types from ‘void (*)(int, siginfo_t *, void *)’ {aka ‘void (*)(int, struct <anonymous> *, void *)’} to ‘void (*)(int)’ [-Wcast-function-type]
  1146. func = (sighandler_t)sigbus;
  1147. ^
  1148. signal.c:1068:16: warning: cast between incompatible function types from ‘void (*)(int, siginfo_t *, void *)’ {aka ‘void (*)(int, struct <anonymous> *, void *)’} to ‘void (*)(int)’ [-Wcast-function-type]
  1149. func = (sighandler_t)sigsegv;
  1150. ^
  1151. signal.c: In function ‘Init_signal’:
  1152. signal.c:1481:29: warning: cast between incompatible function types from ‘void (*)(int, siginfo_t *, void *)’ {aka ‘void (*)(int, struct <anonymous> *, void *)’} to ‘void (*)(int)’ [-Wcast-function-type]
  1153. install_sighandler(SIGBUS, (sighandler_t)sigbus);
  1154. ^
  1155. signal.c:1363:75: note: in definition of macro ‘install_sighandler’
  1156. # define install_sighandler(signum, handler) (install_sighandler(signum, handler) ? rb_bug(#signum) : (void)0)
  1157. ^~~~~~~
  1158. signal.c:1484:29: warning: cast between incompatible function types from ‘void (*)(int, siginfo_t *, void *)’ {aka ‘void (*)(int, struct <anonymous> *, void *)’} to ‘void (*)(int)’ [-Wcast-function-type]
  1159. install_sighandler(SIGILL, (sighandler_t)sigill);
  1160. ^
  1161. signal.c:1363:75: note: in definition of macro ‘install_sighandler’
  1162. # define install_sighandler(signum, handler) (install_sighandler(signum, handler) ? rb_bug(#signum) : (void)0)
  1163. ^~~~~~~
  1164. signal.c:1490:30: warning: cast between incompatible function types from ‘void (*)(int, siginfo_t *, void *)’ {aka ‘void (*)(int, struct <anonymous> *, void *)’} to ‘void (*)(int)’ [-Wcast-function-type]
  1165. install_sighandler(SIGSEGV, (sighandler_t)sigsegv);
  1166. ^
  1167. signal.c:1363:75: note: in definition of macro ‘install_sighandler’
  1168. # define install_sighandler(signum, handler) (install_sighandler(signum, handler) ? rb_bug(#signum) : (void)0)
  1169. ^~~~~~~
  1170. In file included from sprintf.c:14:
  1171. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  1172. #if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
  1173. ^
  1174. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  1175. sprintf.c: In function ‘rb_str_format’:
  1176. sprintf.c:661:7: warning: this statement may fall through [-Wimplicit-fallthrough=]
  1177. p--;
  1178. ~^~
  1179. sprintf.c:662:4: note: here
  1180. case '%':
  1181. ^~~~
  1182. In file included from sprintf.c:1275:
  1183. vsnprintf.c: In function ‘BSD_vfprintf’:
  1184. vsnprintf.c:886:7: warning: this statement may fall through [-Wimplicit-fallthrough=]
  1185. if (prec != 0)
  1186. ^
  1187. vsnprintf.c:888:3: note: here
  1188. case 'g':
  1189. ^~~~
  1190. compiling st.c
  1191. compiling strftime.c
  1192. compiling string.c
  1193. In file included from st.c:9:
  1194. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  1195. #if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
  1196. ^
  1197. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  1198. st.c: In function ‘st_hash’:
  1199. st.c:1561:4: warning: this statement may fall through [-Wimplicit-fallthrough=]
  1200. t |= data_at(n) << CHAR_BIT*(n)
  1201. ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1202. st.c:1463:25: note: in expansion of macro ‘UNALIGNED_ADD’
  1203. #define UNALIGNED_ADD_8 UNALIGNED_ADD(6); UNALIGNED_ADD(5); UNALIGNED_ADD(4); UNALIGNED_ADD(3); UNALIGNED_ADD_4
  1204. ^~~~~~~~~~~~~
  1205. st.c:1469:27: note: in expansion of macro ‘UNALIGNED_ADD_8’
  1206. #define UNALIGNED_ADD_ALL UNALIGNED_ADD_8
  1207. ^~~~~~~~~~~~~~~
  1208. st.c:1563:2: note: in expansion of macro ‘UNALIGNED_ADD_ALL’
  1209. UNALIGNED_ADD_ALL;
  1210. ^~~~~~~~~~~~~~~~~
  1211. st.c:1560:27: note: here
  1212. # define UNALIGNED_ADD(n) case (n) + 1: \
  1213. ^~~~
  1214. st.c:1463:43: note: in expansion of macro ‘UNALIGNED_ADD’
  1215. #define UNALIGNED_ADD_8 UNALIGNED_ADD(6); UNALIGNED_ADD(5); UNALIGNED_ADD(4); UNALIGNED_ADD(3); UNALIGNED_ADD_4
  1216. ^~~~~~~~~~~~~
  1217. st.c:1469:27: note: in expansion of macro ‘UNALIGNED_ADD_8’
  1218. #define UNALIGNED_ADD_ALL UNALIGNED_ADD_8
  1219. ^~~~~~~~~~~~~~~
  1220. st.c:1563:2: note: in expansion of macro ‘UNALIGNED_ADD_ALL’
  1221. UNALIGNED_ADD_ALL;
  1222. ^~~~~~~~~~~~~~~~~
  1223. st.c:1561:4: warning: this statement may fall through [-Wimplicit-fallthrough=]
  1224. t |= data_at(n) << CHAR_BIT*(n)
  1225. ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1226. st.c:1463:43: note: in expansion of macro ‘UNALIGNED_ADD’
  1227. #define UNALIGNED_ADD_8 UNALIGNED_ADD(6); UNALIGNED_ADD(5); UNALIGNED_ADD(4); UNALIGNED_ADD(3); UNALIGNED_ADD_4
  1228. ^~~~~~~~~~~~~
  1229. st.c:1469:27: note: in expansion of macro ‘UNALIGNED_ADD_8’
  1230. #define UNALIGNED_ADD_ALL UNALIGNED_ADD_8
  1231. ^~~~~~~~~~~~~~~
  1232. st.c:1563:2: note: in expansion of macro ‘UNALIGNED_ADD_ALL’
  1233. UNALIGNED_ADD_ALL;
  1234. ^~~~~~~~~~~~~~~~~
  1235. st.c:1560:27: note: here
  1236. # define UNALIGNED_ADD(n) case (n) + 1: \
  1237. ^~~~
  1238. st.c:1463:61: note: in expansion of macro ‘UNALIGNED_ADD’
  1239. #define UNALIGNED_ADD_8 UNALIGNED_ADD(6); UNALIGNED_ADD(5); UNALIGNED_ADD(4); UNALIGNED_ADD(3); UNALIGNED_ADD_4
  1240. ^~~~~~~~~~~~~
  1241. st.c:1469:27: note: in expansion of macro ‘UNALIGNED_ADD_8’
  1242. #define UNALIGNED_ADD_ALL UNALIGNED_ADD_8
  1243. ^~~~~~~~~~~~~~~
  1244. st.c:1563:2: note: in expansion of macro ‘UNALIGNED_ADD_ALL’
  1245. UNALIGNED_ADD_ALL;
  1246. ^~~~~~~~~~~~~~~~~
  1247. st.c:1561:4: warning: this statement may fall through [-Wimplicit-fallthrough=]
  1248. t |= data_at(n) << CHAR_BIT*(n)
  1249. ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1250. st.c:1463:61: note: in expansion of macro ‘UNALIGNED_ADD’
  1251. #define UNALIGNED_ADD_8 UNALIGNED_ADD(6); UNALIGNED_ADD(5); UNALIGNED_ADD(4); UNALIGNED_ADD(3); UNALIGNED_ADD_4
  1252. ^~~~~~~~~~~~~
  1253. st.c:1469:27: note: in expansion of macro ‘UNALIGNED_ADD_8’
  1254. #define UNALIGNED_ADD_ALL UNALIGNED_ADD_8
  1255. ^~~~~~~~~~~~~~~
  1256. st.c:1563:2: note: in expansion of macro ‘UNALIGNED_ADD_ALL’
  1257. UNALIGNED_ADD_ALL;
  1258. ^~~~~~~~~~~~~~~~~
  1259. st.c:1560:27: note: here
  1260. # define UNALIGNED_ADD(n) case (n) + 1: \
  1261. ^~~~
  1262. st.c:1463:79: note: in expansion of macro ‘UNALIGNED_ADD’
  1263. #define UNALIGNED_ADD_8 UNALIGNED_ADD(6); UNALIGNED_ADD(5); UNALIGNED_ADD(4); UNALIGNED_ADD(3); UNALIGNED_ADD_4
  1264. ^~~~~~~~~~~~~
  1265. st.c:1469:27: note: in expansion of macro ‘UNALIGNED_ADD_8’
  1266. #define UNALIGNED_ADD_ALL UNALIGNED_ADD_8
  1267. ^~~~~~~~~~~~~~~
  1268. st.c:1563:2: note: in expansion of macro ‘UNALIGNED_ADD_ALL’
  1269. UNALIGNED_ADD_ALL;
  1270. ^~~~~~~~~~~~~~~~~
  1271. st.c:1561:4: warning: this statement may fall through [-Wimplicit-fallthrough=]
  1272. t |= data_at(n) << CHAR_BIT*(n)
  1273. ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1274. st.c:1463:79: note: in expansion of macro ‘UNALIGNED_ADD’
  1275. #define UNALIGNED_ADD_8 UNALIGNED_ADD(6); UNALIGNED_ADD(5); UNALIGNED_ADD(4); UNALIGNED_ADD(3); UNALIGNED_ADD_4
  1276. ^~~~~~~~~~~~~
  1277. st.c:1469:27: note: in expansion of macro ‘UNALIGNED_ADD_8’
  1278. #define UNALIGNED_ADD_ALL UNALIGNED_ADD_8
  1279. ^~~~~~~~~~~~~~~
  1280. st.c:1563:2: note: in expansion of macro ‘UNALIGNED_ADD_ALL’
  1281. UNALIGNED_ADD_ALL;
  1282. ^~~~~~~~~~~~~~~~~
  1283. st.c:1560:27: note: here
  1284. # define UNALIGNED_ADD(n) case (n) + 1: \
  1285. ^~~~
  1286. st.c:1461:25: note: in expansion of macro ‘UNALIGNED_ADD’
  1287. #define UNALIGNED_ADD_4 UNALIGNED_ADD(2); UNALIGNED_ADD(1); UNALIGNED_ADD(0)
  1288. ^~~~~~~~~~~~~
  1289. st.c:1463:97: note: in expansion of macro ‘UNALIGNED_ADD_4’
  1290. #define UNALIGNED_ADD_8 UNALIGNED_ADD(6); UNALIGNED_ADD(5); UNALIGNED_ADD(4); UNALIGNED_ADD(3); UNALIGNED_ADD_4
  1291. ^~~~~~~~~~~~~~~
  1292. st.c:1469:27: note: in expansion of macro ‘UNALIGNED_ADD_8’
  1293. #define UNALIGNED_ADD_ALL UNALIGNED_ADD_8
  1294. ^~~~~~~~~~~~~~~
  1295. st.c:1563:2: note: in expansion of macro ‘UNALIGNED_ADD_ALL’
  1296. UNALIGNED_ADD_ALL;
  1297. ^~~~~~~~~~~~~~~~~
  1298. st.c:1561:4: warning: this statement may fall through [-Wimplicit-fallthrough=]
  1299. t |= data_at(n) << CHAR_BIT*(n)
  1300. ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1301. st.c:1461:25: note: in expansion of macro ‘UNALIGNED_ADD’
  1302. #define UNALIGNED_ADD_4 UNALIGNED_ADD(2); UNALIGNED_ADD(1); UNALIGNED_ADD(0)
  1303. ^~~~~~~~~~~~~
  1304. st.c:1463:97: note: in expansion of macro ‘UNALIGNED_ADD_4’
  1305. #define UNALIGNED_ADD_8 UNALIGNED_ADD(6); UNALIGNED_ADD(5); UNALIGNED_ADD(4); UNALIGNED_ADD(3); UNALIGNED_ADD_4
  1306. ^~~~~~~~~~~~~~~
  1307. st.c:1469:27: note: in expansion of macro ‘UNALIGNED_ADD_8’
  1308. #define UNALIGNED_ADD_ALL UNALIGNED_ADD_8
  1309. ^~~~~~~~~~~~~~~
  1310. st.c:1563:2: note: in expansion of macro ‘UNALIGNED_ADD_ALL’
  1311. UNALIGNED_ADD_ALL;
  1312. ^~~~~~~~~~~~~~~~~
  1313. st.c:1560:27: note: here
  1314. # define UNALIGNED_ADD(n) case (n) + 1: \
  1315. ^~~~
  1316. st.c:1461:43: note: in expansion of macro ‘UNALIGNED_ADD’
  1317. #define UNALIGNED_ADD_4 UNALIGNED_ADD(2); UNALIGNED_ADD(1); UNALIGNED_ADD(0)
  1318. ^~~~~~~~~~~~~
  1319. st.c:1463:97: note: in expansion of macro ‘UNALIGNED_ADD_4’
  1320. #define UNALIGNED_ADD_8 UNALIGNED_ADD(6); UNALIGNED_ADD(5); UNALIGNED_ADD(4); UNALIGNED_ADD(3); UNALIGNED_ADD_4
  1321. ^~~~~~~~~~~~~~~
  1322. st.c:1469:27: note: in expansion of macro ‘UNALIGNED_ADD_8’
  1323. #define UNALIGNED_ADD_ALL UNALIGNED_ADD_8
  1324. ^~~~~~~~~~~~~~~
  1325. st.c:1563:2: note: in expansion of macro ‘UNALIGNED_ADD_ALL’
  1326. UNALIGNED_ADD_ALL;
  1327. ^~~~~~~~~~~~~~~~~
  1328. st.c:1561:4: warning: this statement may fall through [-Wimplicit-fallthrough=]
  1329. t |= data_at(n) << CHAR_BIT*(n)
  1330. ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1331. st.c:1461:43: note: in expansion of macro ‘UNALIGNED_ADD’
  1332. #define UNALIGNED_ADD_4 UNALIGNED_ADD(2); UNALIGNED_ADD(1); UNALIGNED_ADD(0)
  1333. ^~~~~~~~~~~~~
  1334. st.c:1463:97: note: in expansion of macro ‘UNALIGNED_ADD_4’
  1335. #define UNALIGNED_ADD_8 UNALIGNED_ADD(6); UNALIGNED_ADD(5); UNALIGNED_ADD(4); UNALIGNED_ADD(3); UNALIGNED_ADD_4
  1336. ^~~~~~~~~~~~~~~
  1337. st.c:1469:27: note: in expansion of macro ‘UNALIGNED_ADD_8’
  1338. #define UNALIGNED_ADD_ALL UNALIGNED_ADD_8
  1339. ^~~~~~~~~~~~~~~
  1340. st.c:1563:2: note: in expansion of macro ‘UNALIGNED_ADD_ALL’
  1341. UNALIGNED_ADD_ALL;
  1342. ^~~~~~~~~~~~~~~~~
  1343. st.c:1560:27: note: here
  1344. # define UNALIGNED_ADD(n) case (n) + 1: \
  1345. ^~~~
  1346. st.c:1461:61: note: in expansion of macro ‘UNALIGNED_ADD’
  1347. #define UNALIGNED_ADD_4 UNALIGNED_ADD(2); UNALIGNED_ADD(1); UNALIGNED_ADD(0)
  1348. ^~~~~~~~~~~~~
  1349. st.c:1463:97: note: in expansion of macro ‘UNALIGNED_ADD_4’
  1350. #define UNALIGNED_ADD_8 UNALIGNED_ADD(6); UNALIGNED_ADD(5); UNALIGNED_ADD(4); UNALIGNED_ADD(3); UNALIGNED_ADD_4
  1351. ^~~~~~~~~~~~~~~
  1352. st.c:1469:27: note: in expansion of macro ‘UNALIGNED_ADD_8’
  1353. #define UNALIGNED_ADD_ALL UNALIGNED_ADD_8
  1354. ^~~~~~~~~~~~~~~
  1355. st.c:1563:2: note: in expansion of macro ‘UNALIGNED_ADD_ALL’
  1356. UNALIGNED_ADD_ALL;
  1357. ^~~~~~~~~~~~~~~~~
  1358. strftime.c: In function ‘rb_strftime_with_timespec’:
  1359. strftime.c:780:12: warning: this statement may fall through [-Wimplicit-fallthrough=]
  1360. padding = '0';
  1361. ~~~~~~~~^~~~~
  1362. strftime.c:781:3: note: here
  1363. case '1': case '2': case '3': case '4':
  1364. ^~~~
  1365. In file included from string.c:14:
  1366. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  1367. #if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
  1368. ^
  1369. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  1370. compiling struct.c
  1371. In file included from struct.c:12:
  1372. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  1373. #if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
  1374. ^
  1375. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  1376. compiling symbol.c
  1377. compiling time.c
  1378. compiling transcode.c
  1379. In file included from symbol.c:12:
  1380. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  1381. #if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
  1382. ^
  1383. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  1384. In file included from time.c:12:
  1385. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  1386. #if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
  1387. ^
  1388. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  1389. In file included from transcode.c:12:
  1390. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  1391. #if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
  1392. ^
  1393. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  1394. time.c: In function ‘utc_offset_arg’:
  1395. time.c:2092:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
  1396. n += (s[7] * 10 + s[8] - '0' * 11);
  1397. ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1398. time.c:2093:4: note: here
  1399. case 6:
  1400. ^~~~
  1401. compiling util.c
  1402. compiling variable.c
  1403. compiling version.c
  1404. In file included from variable.c:14:
  1405. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  1406. #if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
  1407. ^
  1408. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  1409. In file included from util.c:12:
  1410. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  1411. #if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
  1412. ^
  1413. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  1414. util.c: In function ‘ruby_strtod’:
  1415. util.c:2006:18: warning: this statement may fall through [-Wimplicit-fallthrough=]
  1416. sign = 1;
  1417. ~~~~~^~~
  1418. util.c:2008:11: note: here
  1419. case '+':
  1420. ^~~~
  1421. util.c:2171:19: warning: this statement may fall through [-Wimplicit-fallthrough=]
  1422. esign = 1;
  1423. ~~~~~~^~~
  1424. util.c:2172:11: note: here
  1425. case '+':
  1426. ^~~~
  1427. util.c: In function ‘ruby_dtoa’:
  1428. util.c:3346:19: warning: this statement may fall through [-Wimplicit-fallthrough=]
  1429. leftright = 0;
  1430. ~~~~~~~~~~^~~
  1431. util.c:3348:7: note: here
  1432. case 4:
  1433. ^~~~
  1434. util.c:3354:19: warning: this statement may fall through [-Wimplicit-fallthrough=]
  1435. leftright = 0;
  1436. ~~~~~~~~~~^~~
  1437. util.c:3356:7: note: here
  1438. case 5:
  1439. ^~~~
  1440. compiling compile.c
  1441. compiling debug.c
  1442. In file included from compile.c:12:
  1443. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  1444. #if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
  1445. ^
  1446. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  1447. In file included from method.h:14,
  1448. from vm_core.h:62,
  1449. from eval_intern.h:5,
  1450. from debug.c:16:
  1451. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  1452. #if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
  1453. ^
  1454. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  1455. compile.c: In function ‘iseq_compile_each’:
  1456. compile.c:4562:11: warning: this statement may fall through [-Wimplicit-fallthrough=]
  1457. boff = 1;
  1458. ~~~~~^~~
  1459. compile.c:4563:4: note: here
  1460. default:
  1461. ^~~~~~~
  1462. compile.c:5020:11: warning: this statement may fall through [-Wimplicit-fallthrough=]
  1463. flag |= VM_CALL_VCALL;
  1464. compile.c:5022:4: note: here
  1465. case NODE_FCALL:
  1466. ^~~~
  1467. compile.c:4020:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
  1468. if (node->nd_var) {
  1469. ^
  1470. compile.c:4046:7: note: here
  1471. case NODE_ITER:{
  1472. ^~~~
  1473. compile.c:4891:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
  1474. if (node->nd_mid == idAREF && !private_recv_p(node) && node->nd_args &&
  1475. ^
  1476. compile.c:4907:7: note: here
  1477. case NODE_QCALL:
  1478. ^~~~
  1479. compile.c: In function ‘defined_expr0’:
  1480. compile.c:3331:23: warning: this statement may fall through [-Wimplicit-fallthrough=]
  1481. case NODE_ARRAY:{
  1482. ^
  1483. compile.c:3343:7: note: here
  1484. case NODE_STR:
  1485. ^~~~
  1486. compile.c: In function ‘iseq_peephole_optimize’:
  1487. compile.c:2253:13: warning: this statement may fall through [-Wimplicit-fallthrough=]
  1488. piobj = iobj;
  1489. ~~~~~~^~~~~~
  1490. compile.c:2254:5: note: here
  1491. default:
  1492. ^~~~~~~
  1493. compiling iseq.c
  1494. In file included from iseq.c:12:
  1495. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  1496. #if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
  1497. ^
  1498. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  1499. In file included from ./include/ruby.h:33,
  1500. from internal.h:15,
  1501. from iseq.c:12:
  1502. iseq.c: In function ‘rb_insn_operand_intern’:
  1503. ./include/ruby/ruby.h:401:23: warning: this statement may fall through [-Wimplicit-fallthrough=]
  1504. #define RB_ID2SYM(x) (rb_id2sym(x))
  1505. ~^~~~~~~~~~~~~
  1506. ./include/ruby/ruby.h:406:19: note: in expansion of macro ‘RB_ID2SYM’
  1507. #define ID2SYM(x) RB_ID2SYM(x)
  1508. ^~~~~~~~~
  1509. iseq.c:1279:7: note: in expansion of macro ‘ID2SYM’
  1510. op = ID2SYM(op);
  1511. ^~~~~~
  1512. iseq.c:1281:7: note: here
  1513. case TS_VALUE: /* VALUE */
  1514. ^~~~
  1515. compiling vm.c
  1516. In file included from vm.c:15:
  1517. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  1518. #if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
  1519. ^
  1520. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  1521. compiling vm_dump.c
  1522. In file included from vm.c:206:
  1523. vm_eval.c: In function ‘rb_eval_string_protect’:
  1524. vm_eval.c:1506:23: warning: cast between incompatible function types from ‘VALUE (*)(const char *)’ {aka ‘long unsigned int (*)(const char *)’} to ‘VALUE (*)(VALUE)’ {aka ‘long unsigned int (*)(long unsigned int)’} [-Wcast-function-type]
  1525. return rb_protect((VALUE (*)(VALUE))rb_eval_string, (VALUE)str, state);
  1526. ^
  1527. compiling vm_backtrace.c
  1528. In file included from vm.c:201:
  1529. vm_insnhelper.c: In function ‘check_method_entry’:
  1530. vm_insnhelper.c:389:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
  1531. if (can_be_svar) {
  1532. ^
  1533. vm_insnhelper.c:392:7: note: here
  1534. default:
  1535. ^~~~~~~
  1536. In file included from vm_exec.c:120,
  1537. from vm.c:203:
  1538. insns.def: In function ‘vm_exec_core’:
  1539. insns.def:1262:21: warning: this statement may fall through [-Wimplicit-fallthrough=]
  1540. case T_FLOAT: {
  1541. ^
  1542. insns.def:1268:7: note: here
  1543. case T_TRUE:
  1544. ^~~~
  1545. In file included from vm.c:201:
  1546. vm_insnhelper.c: In function ‘vm_defined’:
  1547. vm_insnhelper.c:2592:6: warning: this statement may fall through [-Wimplicit-fallthrough=]
  1548. if (!rb_obj_is_kind_of(GET_SELF(), rb_class_real(klass))) {
  1549. ^
  1550. vm_insnhelper.c:2595:8: note: here
  1551. case METHOD_VISI_PUBLIC:
  1552. ^~~~
  1553. In file included from vm.c:201:
  1554. vm_insnhelper.c: In function ‘check_cref’:
  1555. vm_insnhelper.c:440:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
  1556. if (can_be_svar) {
  1557. ^
  1558. vm_insnhelper.c:443:7: note: here
  1559. default:
  1560. ^~~~~~~
  1561. In file included from vm.c:206:
  1562. vm_eval.c: In function ‘singleton_class_for_eval’:
  1563. vm_eval.c:1671:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
  1564. if (FL_TEST_RAW(self, RSTRING_FSTR)) return Qnil;
  1565. ^
  1566. vm_eval.c:1672:7: note: here
  1567. default:
  1568. ^~~~~~~
  1569. In file included from vm.c:201:
  1570. vm_insnhelper.c: In function ‘cref_replace_with_duplicated_cref_each_frame’:
  1571. vm_insnhelper.c:510:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
  1572. if (can_be_svar) {
  1573. ^
  1574. vm_insnhelper.c:513:4: note: here
  1575. case imemo_ment:
  1576. ^~~~
  1577. In file included from vm_dump.c:12:
  1578. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  1579. #if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
  1580. ^
  1581. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  1582. In file included from vm_backtrace.c:12:
  1583. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  1584. #if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
  1585. ^
  1586. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  1587. compiling vm_trace.c
  1588. In file included from vm_trace.c:24:
  1589. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  1590. #if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
  1591. ^
  1592. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  1593. vm_trace.c: In function ‘exec_hooks_body’:
  1594. vm_trace.c:259:6: warning: cast between incompatible function types from ‘rb_event_hook_func_t’ {aka ‘void (*)(unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int)’} to ‘void (*)(VALUE, const rb_trace_arg_t *)’ {aka ‘void (*)(long unsigned int, const struct rb_trace_arg_struct *)’} [-Wcast-function-type]
  1595. (*((rb_event_hook_raw_arg_func_t)hook->func))(hook->data, trace_arg);
  1596. ^
  1597. vm_trace.c: In function ‘rb_tracepoint_enable’:
  1598. vm_trace.c:1017:49: warning: cast between incompatible function types from ‘void (*)(VALUE, rb_trace_arg_t *)’ {aka ‘void (*)(long unsigned int, struct rb_trace_arg_struct *)’} to ‘void (*)(rb_event_flag_t, VALUE, VALUE, ID, VALUE)’ {aka ‘void (*)(unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int)’} [-Wcast-function-type]
  1599. rb_thread_add_event_hook2(tp->target_th->self, (rb_event_hook_func_t)tp_call_trace, tp->events, tpval,
  1600. ^
  1601. vm_trace.c:1021:21: warning: cast between incompatible function types from ‘void (*)(VALUE, rb_trace_arg_t *)’ {aka ‘void (*)(long unsigned int, struct rb_trace_arg_struct *)’} to ‘void (*)(rb_event_flag_t, VALUE, VALUE, ID, VALUE)’ {aka ‘void (*)(unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int)’} [-Wcast-function-type]
  1602. rb_add_event_hook2((rb_event_hook_func_t)tp_call_trace, tp->events, tpval,
  1603. ^
  1604. vm_trace.c: In function ‘rb_tracepoint_disable’:
  1605. vm_trace.c:1036:61: warning: cast between incompatible function types from ‘void (*)(VALUE, rb_trace_arg_t *)’ {aka ‘void (*)(long unsigned int, struct rb_trace_arg_struct *)’} to ‘void (*)(rb_event_flag_t, VALUE, VALUE, ID, VALUE)’ {aka ‘void (*)(unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int)’} [-Wcast-function-type]
  1606. rb_thread_remove_event_hook_with_data(tp->target_th->self, (rb_event_hook_func_t)tp_call_trace, tpval);
  1607. ^
  1608. vm_trace.c:1039:33: warning: cast between incompatible function types from ‘void (*)(VALUE, rb_trace_arg_t *)’ {aka ‘void (*)(long unsigned int, struct rb_trace_arg_struct *)’} to ‘void (*)(rb_event_flag_t, VALUE, VALUE, ID, VALUE)’ {aka ‘void (*)(unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int)’} [-Wcast-function-type]
  1609. rb_remove_event_hook_with_data((rb_event_hook_func_t)tp_call_trace, tpval);
  1610. ^
  1611. compiling thread.c
  1612. In file included from method.h:14,
  1613. from vm_core.h:62,
  1614. from eval_intern.h:5,
  1615. from thread.c:60:
  1616. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  1617. #if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
  1618. ^
  1619. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  1620. compiling cont.c
  1621. compiling ./missing/setproctitle.c
  1622. In file included from cont.c:12:
  1623. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  1624. #if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
  1625. ^
  1626. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  1627. compiling ./missing/strlcat.c
  1628. compiling ./missing/strlcpy.c
  1629. compiling addr2line.c
  1630. compiling dmyenc.c
  1631. compiling localeinit.c
  1632. compiling dln.c
  1633. addr2line.c: In function ‘kvprintf’:
  1634. addr2line.c:960:7: warning: this statement may fall through [-Wimplicit-fallthrough=]
  1635. if (!dot) {
  1636. ^
  1637. addr2line.c:964:3: note: here
  1638. case '1': case '2': case '3': case '4':
  1639. ^~~~
  1640. addr2line.c:1100:10: warning: this statement may fall through [-Wimplicit-fallthrough=]
  1641. upper = 1;
  1642. ~~~~~~^~~
  1643. addr2line.c:1101:3: note: here
  1644. case 'x':
  1645. ^~~~
  1646. In file included from localeinit.c:12:
  1647. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  1648. #if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
  1649. ^
  1650. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  1651. compiling prelude.c
  1652. compiling enc/ascii.c
  1653. compiling enc/us_ascii.c
  1654. In file included from prelude.c:7:
  1655. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  1656. #if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
  1657. ^
  1658. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  1659. compiling enc/unicode.c
  1660. compiling enc/utf_8.c
  1661. compiling enc/trans/newline.c
  1662. In file included from ./include/ruby/ruby.h:36,
  1663. from eval_intern.h:4,
  1664. from thread.c:60:
  1665. thread.c: In function ‘rb_thread_fd_select’:
  1666. ./include/ruby/defines.h:113:15: warning: ‘orig_except.fdset’ may be used uninitialized in this function [-Wmaybe-uninitialized]
  1667. #define xfree ruby_xfree
  1668. ^~~~~~~~~~
  1669. In file included from method.h:14,
  1670. from vm_core.h:62,
  1671. from eval_intern.h:5,
  1672. from thread.c:60:
  1673. thread.c:3583:34: note: ‘orig_except.fdset’ was declared here
  1674. rb_fdset_t UNINITIALIZED_VAR(orig_except);
  1675. ^~~~~~~~~~~
  1676. internal.h:40:30: note: in definition of macro ‘UNINITIALIZED_VAR’
  1677. #define UNINITIALIZED_VAR(x) x __attribute__((unused))
  1678. ^
  1679. In file included from ./include/ruby/ruby.h:36,
  1680. from eval_intern.h:4,
  1681. from thread.c:60:
  1682. ./include/ruby/defines.h:113:15: warning: ‘orig_write.fdset’ may be used uninitialized in this function [-Wmaybe-uninitialized]
  1683. #define xfree ruby_xfree
  1684. ^~~~~~~~~~
  1685. In file included from method.h:14,
  1686. from vm_core.h:62,
  1687. from eval_intern.h:5,
  1688. from thread.c:60:
  1689. thread.c:3582:34: note: ‘orig_write.fdset’ was declared here
  1690. rb_fdset_t UNINITIALIZED_VAR(orig_write);
  1691. ^~~~~~~~~~
  1692. internal.h:40:30: note: in definition of macro ‘UNINITIALIZED_VAR’
  1693. #define UNINITIALIZED_VAR(x) x __attribute__((unused))
  1694. ^
  1695. In file included from ./include/ruby/ruby.h:36,
  1696. from eval_intern.h:4,
  1697. from thread.c:60:
  1698. ./include/ruby/defines.h:113:15: warning: ‘orig_read.fdset’ may be used uninitialized in this function [-Wmaybe-uninitialized]
  1699. #define xfree ruby_xfree
  1700. ^~~~~~~~~~
  1701. In file included from method.h:14,
  1702. from vm_core.h:62,
  1703. from eval_intern.h:5,
  1704. from thread.c:60:
  1705. thread.c:3581:34: note: ‘orig_read.fdset’ was declared here
  1706. rb_fdset_t UNINITIALIZED_VAR(orig_read);
  1707. ^~~~~~~~~
  1708. internal.h:40:30: note: in definition of macro ‘UNINITIALIZED_VAR’
  1709. #define UNINITIALIZED_VAR(x) x __attribute__((unused))
  1710. ^
  1711. linking miniruby
  1712. generating encdb.h
  1713. rbconfig.rb updated
  1714. generating enc.mk
  1715. creating verconf.h
  1716. encdb.h updated
  1717. verconf.h updated
  1718. compiling loadpath.c
  1719. making srcs under enc
  1720. make[1]: Entering directory '/tmp/ruby-build.20181030160655.8597/ruby-2.3.8'
  1721. make[1]: Nothing to be done for 'srcs'.
  1722. make[1]: Leaving directory '/tmp/ruby-build.20181030160655.8597/ruby-2.3.8'
  1723. generating transdb.h
  1724. linking static-library libruby-static.a
  1725. transdb.h updated
  1726. verifying static-library libruby-static.a
  1727. generating makefile exts.mk
  1728. making enc
  1729. making trans
  1730. make[1]: Entering directory '/tmp/ruby-build.20181030160655.8597/ruby-2.3.8'
  1731. make[1]: Entering directory '/tmp/ruby-build.20181030160655.8597/ruby-2.3.8'
  1732. compiling ./enc/encdb.c
  1733. compiling ./enc/trans/transdb.c
  1734. compiling ./enc/big5.c
  1735. compiling ./enc/trans/big5.c
  1736. compiling ./enc/cp949.c
  1737. compiling ./enc/trans/chinese.c
  1738. compiling ./enc/emacs_mule.c
  1739. configuring -test-/array/resize
  1740. configuring -test-/bignum
  1741. configuring -test-/bug-3571
  1742. configuring -test-/bug-5832
  1743. configuring -test-/bug_reporter
  1744. configuring -test-/class
  1745. configuring -test-/debug
  1746. configuring -test-/dln/empty
  1747. configuring -test-/exception
  1748. configuring -test-/fatal
  1749. configuring -test-/file
  1750. In file included from ./enc/encdb.c:12:
  1751. ./internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  1752. #if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
  1753. ^
  1754. ./internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  1755. compiling ./enc/trans/ebcdic.c
  1756. compiling ./enc/trans/emoji.c
  1757. compiling ./enc/euc_jp.c
  1758. compiling ./enc/trans/emoji_iso2022_kddi.c
  1759. compiling ./enc/euc_kr.c
  1760. compiling ./enc/trans/emoji_sjis_docomo.c
  1761. compiling ./enc/euc_tw.c
  1762. compiling ./enc/trans/emoji_sjis_kddi.c
  1763. compiling ./enc/trans/emoji_sjis_softbank.c
  1764. compiling ./enc/gb2312.c
  1765. compiling ./enc/trans/escape.c
  1766. compiling ./enc/trans/gb18030.c
  1767. compiling ./enc/trans/gbk.c
  1768. compiling ./enc/trans/iso2022.c
  1769. compiling ./enc/gb18030.c
  1770. compiling ./enc/trans/japanese.c
  1771. compiling ./enc/trans/japanese_euc.c
  1772. compiling ./enc/gbk.c
  1773. compiling ./enc/trans/japanese_sjis.c
  1774. compiling ./enc/trans/korean.c
  1775. compiling ./enc/iso_8859_1.c
  1776. compiling ./enc/trans/single_byte.c
  1777. compiling ./enc/iso_8859_2.c
  1778. compiling ./enc/trans/utf8_mac.c
  1779. compiling ./enc/trans/utf_16_32.c
  1780. linking transcoder transdb.so
  1781. linking transcoder big5.so
  1782. compiling ./enc/iso_8859_3.c
  1783. linking transcoder chinese.so
  1784. linking transcoder ebcdic.so
  1785. linking transcoder emoji.so
  1786. compiling ./enc/iso_8859_4.c
  1787. linking transcoder emoji_iso2022_kddi.so
  1788. linking transcoder emoji_sjis_docomo.so
  1789. configuring -test-/float
  1790. configuring -test-/funcall
  1791. linking transcoder emoji_sjis_kddi.so
  1792. configuring -test-/gvl/call_without_gvl
  1793. configuring -test-/hash
  1794. configuring -test-/iseq_load
  1795. configuring -test-/iter
  1796. configuring -test-/load/dot.dot
  1797. configuring -test-/marshal/compat
  1798. configuring -test-/marshal/internal_ivar
  1799. configuring -test-/marshal/usr
  1800. linking transcoder emoji_sjis_softbank.so
  1801. configuring -test-/method
  1802. configuring -test-/notimplement
  1803. configuring -test-/num2int
  1804. configuring -test-/path_to_class
  1805. configuring -test-/popen_deadlock
  1806. configuring -test-/postponed_job
  1807. configuring -test-/printf
  1808. configuring -test-/proc
  1809. configuring -test-/rational
  1810. configuring -test-/recursion
  1811. compiling ./enc/iso_8859_5.c
  1812. configuring -test-/st/foreach
  1813. compiling ./enc/iso_8859_6.c
  1814. configuring -test-/st/numhash
  1815. configuring -test-/st/update
  1816. configuring -test-/string
  1817. configuring -test-/struct
  1818. configuring -test-/symbol
  1819. linking transcoder escape.so
  1820. linking transcoder gb18030.so
  1821. linking transcoder gbk.so
  1822. linking transcoder iso2022.so
  1823. linking transcoder japanese.so
  1824. compiling ./enc/iso_8859_7.c
  1825. linking transcoder japanese_sjis.so
  1826. linking transcoder korean.so
  1827. compiling ./enc/iso_8859_8.c
  1828. linking transcoder single_byte.so
  1829. linking transcoder utf_16_32.so
  1830. linking transcoder japanese_euc.so
  1831. compiling ./enc/iso_8859_9.c
  1832. compiling ./enc/iso_8859_10.c
  1833. compiling ./enc/iso_8859_11.c
  1834. compiling ./enc/iso_8859_13.c
  1835. compiling ./enc/iso_8859_14.c
  1836. configuring -test-/thread_fd_close
  1837. configuring -test-/time
  1838. compiling ./enc/iso_8859_15.c
  1839. configuring -test-/tracepoint
  1840. configuring -test-/typeddata
  1841. configuring -test-/vm
  1842. configuring -test-/wait_for_single_fd
  1843. configuring bigdecimal
  1844. compiling ./enc/iso_8859_16.c
  1845. compiling ./enc/koi8_r.c
  1846. compiling ./enc/koi8_u.c
  1847. compiling ./enc/shift_jis.c
  1848. linking transcoder utf8_mac.so
  1849. compiling ./enc/utf_16be.c
  1850. compiling ./enc/utf_16le.c
  1851. compiling ./enc/utf_32be.c
  1852. compiling ./enc/utf_32le.c
  1853. make[1]: Leaving directory '/tmp/ruby-build.20181030160655.8597/ruby-2.3.8'
  1854. compiling ./enc/windows_31j.c
  1855. compiling ./enc/windows_1250.c
  1856. compiling ./enc/windows_1251.c
  1857. compiling ./enc/windows_1252.c
  1858. linking encoding encdb.so
  1859. linking encoding big5.so
  1860. linking encoding cp949.so
  1861. linking encoding emacs_mule.so
  1862. linking encoding euc_jp.so
  1863. linking encoding euc_kr.so
  1864. linking encoding euc_tw.so
  1865. linking encoding gb2312.so
  1866. linking encoding gb18030.so
  1867. linking encoding gbk.so
  1868. linking encoding iso_8859_1.so
  1869. linking encoding iso_8859_2.so
  1870. linking encoding iso_8859_3.so
  1871. linking encoding iso_8859_4.so
  1872. linking encoding iso_8859_5.so
  1873. linking encoding iso_8859_6.so
  1874. linking encoding iso_8859_7.so
  1875. linking encoding iso_8859_8.so
  1876. linking encoding iso_8859_9.so
  1877. linking encoding iso_8859_10.so
  1878. linking encoding iso_8859_11.so
  1879. linking encoding iso_8859_13.so
  1880. linking encoding iso_8859_14.so
  1881. linking encoding iso_8859_15.so
  1882. linking encoding iso_8859_16.so
  1883. linking encoding koi8_r.so
  1884. linking encoding koi8_u.so
  1885. linking encoding shift_jis.so
  1886. linking encoding utf_16be.so
  1887. linking encoding utf_32be.so
  1888. linking encoding utf_16le.so
  1889. linking encoding utf_32le.so
  1890. linking encoding windows_31j.so
  1891. linking encoding windows_1250.so
  1892. linking encoding windows_1251.so
  1893. linking encoding windows_1252.so
  1894. make[1]: Leaving directory '/tmp/ruby-build.20181030160655.8597/ruby-2.3.8'
  1895. making encs
  1896. make[1]: Entering directory '/tmp/ruby-build.20181030160655.8597/ruby-2.3.8'
  1897. make[1]: Leaving directory '/tmp/ruby-build.20181030160655.8597/ruby-2.3.8'
  1898. configuring cgi/escape
  1899. configuring continuation
  1900. configuring coverage
  1901. configuring date
  1902. configuring dbm
  1903. Failed to configure dbm. It will not be installed.
  1904. configuring digest
  1905. configuring digest/bubblebabble
  1906. configuring digest/md5
  1907. configuring digest/rmd160
  1908. configuring digest/sha1
  1909. configuring digest/sha2
  1910. configuring etc
  1911. configuring fcntl
  1912. configuring fiber
  1913. configuring fiddle
  1914. configuring gdbm
  1915. Failed to configure gdbm. It will not be installed.
  1916. configuring io/console
  1917. configuring io/nonblock
  1918. configuring io/wait
  1919. configuring json
  1920. configuring json/generator
  1921. configuring json/parser
  1922. configuring mathn/complex
  1923. configuring mathn/rational
  1924. configuring nkf
  1925. configuring objspace
  1926. configuring openssl
  1927. configuring pathname
  1928. configuring psych
  1929. configuring pty
  1930. configuring racc/cparse
  1931. configuring rbconfig/sizeof
  1932. configuring readline
  1933. configuring ripper
  1934. configuring sdbm
  1935. configuring socket
  1936. configuring stringio
  1937. configuring strscan
  1938. configuring syslog
  1939. configuring thread
  1940. configuring tk
  1941. ............
  1942. check struct members..
  1943. check libraries....
  1944. Use ActiveTcl libraries (if available).
  1945. Search tclConfig.sh and tkConfig.sh...............................
  1946. Fail to find [tclConfig.sh, tkConfig.sh]
  1947. Use X11 libraries (or use TK_XINCLUDES/TK_XLIBSW information on tkConfig.sh).
  1948. Warning:: cannot find X11 library. tcltklib will not be compiled (tcltklib is disabled on your Ruby. That is, Ruby/Tk will not work). Please check configure options. If your Tcl/Tk don't require X11, please try --without-X11.
  1949. Can't find X11 libraries.
  1950. So, can't make tcltklib.so which is required by Ruby/Tk.
  1951. Failed to configure tk. It will not be installed.
  1952. Failed to configure tk/tkutil. It will not be installed.
  1953. configuring zlib
  1954. make[1]: Entering directory '/tmp/ruby-build.20181030160655.8597/ruby-2.3.8'
  1955. make[2]: Entering directory '/tmp/ruby-build.20181030160655.8597/ruby-2.3.8'
  1956. make[2]: warning: -j8 forced in submake: resetting jobserver mode.
  1957. make[2]: Entering directory '/tmp/ruby-build.20181030160655.8597/ruby-2.3.8'
  1958. make[2]: warning: -j8 forced in submake: resetting jobserver mode.
  1959. make[2]: Entering directory '/tmp/ruby-build.20181030160655.8597/ruby-2.3.8'
  1960. make[2]: warning: -j8 forced in submake: resetting jobserver mode.
  1961. make[2]: Entering directory '/tmp/ruby-build.20181030160655.8597/ruby-2.3.8'
  1962. make[2]: warning: -j8 forced in submake: resetting jobserver mode.
  1963. make[2]: Entering directory '/tmp/ruby-build.20181030160655.8597/ruby-2.3.8'
  1964. make[2]: warning: -j8 forced in submake: resetting jobserver mode.
  1965. compiling big2str.c
  1966. compiling resize.c
  1967. compiling bug.c
  1968. make[2]: Entering directory '/tmp/ruby-build.20181030160655.8597/ruby-2.3.8'
  1969. make[2]: warning: -j8 forced in submake: resetting jobserver mode.
  1970. compiling bigzero.c
  1971. compiling bug_reporter.c
  1972. compiling bug.c
  1973. make[2]: Entering directory '/tmp/ruby-build.20181030160655.8597/ruby-2.3.8'
  1974. make[2]: warning: -j8 forced in submake: resetting jobserver mode.
  1975. compiling class2name.c
  1976. compiling div.c
  1977. compiling init.c
  1978. compiling init.c
  1979. make[2]: Entering directory '/tmp/ruby-build.20181030160655.8597/ruby-2.3.8'
  1980. make[2]: warning: -j8 forced in submake: resetting jobserver mode.
  1981. compiling inspector.c
  1982. compiling init.c
  1983. compiling empty.c
  1984. compiling intpack.c
  1985. compiling mul.c
  1986. compiling profile_frames.c
  1987. compiling str2big.c
  1988. linking shared-object -test-/dln/empty.so
  1989. make[2]: Leaving directory '/tmp/ruby-build.20181030160655.8597/ruby-2.3.8/ext/-test-/dln/empty'
  1990. In file included from big2str.c:1:
  1991. ../../../internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  1992. #if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
  1993. ^
  1994. ../../../internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  1995. make[2]: Entering directory '/tmp/ruby-build.20181030160655.8597/ruby-2.3.8'
  1996. make[2]: warning: -j8 forced in submake: resetting jobserver mode.
  1997. In file included from div.c:1:
  1998. ../../../internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  1999. #if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
  2000. ^
  2001. ../../../internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  2002. In file included from str2big.c:1:
  2003. ../../../internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  2004. #if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
  2005. ^
  2006. ../../../internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  2007. compiling dataerror.c
  2008. compiling enc_raise.c
  2009. linking shared-object -test-/bug_reporter/bug_reporter.so
  2010. In file included from mul.c:1:
  2011. ../../../internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  2012. #if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
  2013. ^
  2014. ../../../internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  2015. compiling ensured.c
  2016. linking shared-object -test-/array/resize.so
  2017. compiling init.c
  2018. In file included from bigzero.c:1:
  2019. ../../../internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  2020. #if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
  2021. ^
  2022. ../../../internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  2023. In file included from intpack.c:1:
  2024. ../../../internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  2025. #if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
  2026. ^
  2027. ../../../internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  2028. linking shared-object -test-/bug-3571/bug.so
  2029. linking shared-object -test-/bug-5832/bug.so
  2030. linking shared-object -test-/debug.so
  2031. linking shared-object -test-/class.so
  2032. make[2]: Leaving directory '/tmp/ruby-build.20181030160655.8597/ruby-2.3.8/ext/-test-/bug_reporter'
  2033. make[2]: Entering directory '/tmp/ruby-build.20181030160655.8597/ruby-2.3.8'
  2034. make[2]: warning: -j8 forced in submake: resetting jobserver mode.
  2035. compiling rb_fatal.c
  2036. make[2]: Leaving directory '/tmp/ruby-build.20181030160655.8597/ruby-2.3.8/ext/-test-/array/resize'
  2037. linking shared-object -test-/bignum.so
  2038. make[2]: Leaving directory '/tmp/ruby-build.20181030160655.8597/ruby-2.3.8/ext/-test-/bug-5832'
  2039. make[2]: Entering directory '/tmp/ruby-build.20181030160655.8597/ruby-2.3.8'
  2040. make[2]: warning: -j8 forced in submake: resetting jobserver mode.
  2041. make[2]: Leaving directory '/tmp/ruby-build.20181030160655.8597/ruby-2.3.8/ext/-test-/bug-3571'
  2042. make[2]: Entering directory '/tmp/ruby-build.20181030160655.8597/ruby-2.3.8'
  2043. make[2]: warning: -j8 forced in submake: resetting jobserver mode.
  2044. compiling fs.c
  2045. make[2]: Entering directory '/tmp/ruby-build.20181030160655.8597/ruby-2.3.8'
  2046. make[2]: warning: -j8 forced in submake: resetting jobserver mode.
  2047. compiling init.c
  2048. compiling init.c
  2049. compiling nextafter.c
  2050. compiling passing_block.c
  2051. compiling stat.c
  2052. make[2]: Leaving directory '/tmp/ruby-build.20181030160655.8597/ruby-2.3.8/ext/-test-/debug'
  2053. make[2]: Entering directory '/tmp/ruby-build.20181030160655.8597/ruby-2.3.8'
  2054. make[2]: warning: -j8 forced in submake: resetting jobserver mode.
  2055. compiling call_without_gvl.c
  2056. make[2]: Leaving directory '/tmp/ruby-build.20181030160655.8597/ruby-2.3.8/ext/-test-/class'
  2057. linking shared-object -test-/exception.so
  2058. make[2]: Entering directory '/tmp/ruby-build.20181030160655.8597/ruby-2.3.8'
  2059. make[2]: warning: -j8 forced in submake: resetting jobserver mode.
  2060. compiling delete.c
  2061. compiling init.c
  2062. make[2]: Leaving directory '/tmp/ruby-build.20181030160655.8597/ruby-2.3.8/ext/-test-/bignum'
  2063. make[2]: Entering directory '/tmp/ruby-build.20181030160655.8597/ruby-2.3.8'
  2064. make[2]: warning: -j8 forced in submake: resetting jobserver mode.
  2065. linking shared-object -test-/fatal/rb_fatal.so
  2066. compiling iseq_load.c
  2067. make[2]: Leaving directory '/tmp/ruby-build.20181030160655.8597/ruby-2.3.8/ext/-test-/exception'
  2068. make[2]: Entering directory '/tmp/ruby-build.20181030160655.8597/ruby-2.3.8'
  2069. make[2]: warning: -j8 forced in submake: resetting jobserver mode.
  2070. linking shared-object -test-/funcall/funcall.so
  2071. compiling break.c
  2072. compiling init.c
  2073. compiling yield.c
  2074. linking shared-object -test-/float.so
  2075. make[2]: Leaving directory '/tmp/ruby-build.20181030160655.8597/ruby-2.3.8/ext/-test-/fatal'
  2076. linking shared-object -test-/gvl/call_without_gvl.so
  2077. make[2]: Entering directory '/tmp/ruby-build.20181030160655.8597/ruby-2.3.8'
  2078. make[2]: warning: -j8 forced in submake: resetting jobserver mode.
  2079. compiling dot.dot.c
  2080. make[2]: Leaving directory '/tmp/ruby-build.20181030160655.8597/ruby-2.3.8/ext/-test-/funcall'
  2081. make[2]: Entering directory '/tmp/ruby-build.20181030160655.8597/ruby-2.3.8'
  2082. make[2]: warning: -j8 forced in submake: resetting jobserver mode.
  2083. linking shared-object -test-/iseq_load/iseq_load.so
  2084. compiling usrcompat.c
  2085. linking shared-object -test-/file.so
  2086. linking shared-object -test-/load/dot.dot/dot.dot.so
  2087. make[2]: Leaving directory '/tmp/ruby-build.20181030160655.8597/ruby-2.3.8/ext/-test-/gvl/call_without_gvl'
  2088. make[2]: Entering directory '/tmp/ruby-build.20181030160655.8597/ruby-2.3.8'
  2089. make[2]: warning: -j8 forced in submake: resetting jobserver mode.
  2090. compiling internal_ivar.c
  2091. linking shared-object -test-/hash.so
  2092. make[2]: Leaving directory '/tmp/ruby-build.20181030160655.8597/ruby-2.3.8/ext/-test-/float'
  2093. make[2]: Entering directory '/tmp/ruby-build.20181030160655.8597/ruby-2.3.8'
  2094. make[2]: warning: -j8 forced in submake: resetting jobserver mode.
  2095. compiling usrmarshal.c
  2096. linking shared-object -test-/iter.so
  2097. make[2]: Leaving directory '/tmp/ruby-build.20181030160655.8597/ruby-2.3.8/ext/-test-/iseq_load'
  2098. make[2]: Leaving directory '/tmp/ruby-build.20181030160655.8597/ruby-2.3.8/ext/-test-/file'
  2099. make[2]: Entering directory '/tmp/ruby-build.20181030160655.8597/ruby-2.3.8'
  2100. make[2]: warning: -j8 forced in submake: resetting jobserver mode.
  2101. make[2]: Entering directory '/tmp/ruby-build.20181030160655.8597/ruby-2.3.8'
  2102. make[2]: warning: -j8 forced in submake: resetting jobserver mode.
  2103. compiling arity.c
  2104. compiling bug.c
  2105. compiling init.c
  2106. make[2]: Leaving directory '/tmp/ruby-build.20181030160655.8597/ruby-2.3.8/ext/-test-/load/dot.dot'
  2107. make[2]: Entering directory '/tmp/ruby-build.20181030160655.8597/ruby-2.3.8'
  2108. make[2]: warning: -j8 forced in submake: resetting jobserver mode.
  2109. compiling num2int.c
  2110. make[2]: Leaving directory '/tmp/ruby-build.20181030160655.8597/ruby-2.3.8/ext/-test-/hash'
  2111. make[2]: Entering directory '/tmp/ruby-build.20181030160655.8597/ruby-2.3.8'
  2112. make[2]: warning: -j8 forced in submake: resetting jobserver mode.
  2113. compiling path_to_class.c
  2114. make[2]: Leaving directory '/tmp/ruby-build.20181030160655.8597/ruby-2.3.8/ext/-test-/iter'
  2115. linking shared-object -test-/marshal/compat.so
  2116. make[2]: Entering directory '/tmp/ruby-build.20181030160655.8597/ruby-2.3.8'
  2117. make[2]: warning: -j8 forced in submake: resetting jobserver mode.
  2118. compiling infinite_loop_dlsym.c
  2119. linking shared-object -test-/marshal/internal_ivar.so
  2120. linking shared-object -test-/marshal/usr.so
  2121. make[2]: Leaving directory '/tmp/ruby-build.20181030160655.8597/ruby-2.3.8/ext/-test-/marshal/compat'
  2122. linking shared-object -test-/notimplement.so
  2123. make[2]: Entering directory '/tmp/ruby-build.20181030160655.8597/ruby-2.3.8'
  2124. make[2]: warning: -j8 forced in submake: resetting jobserver mode.
  2125. linking shared-object -test-/method.so
  2126. make[2]: Leaving directory '/tmp/ruby-build.20181030160655.8597/ruby-2.3.8/ext/-test-/marshal/internal_ivar'
  2127. compiling postponed_job.c
  2128. make[2]: Entering directory '/tmp/ruby-build.20181030160655.8597/ruby-2.3.8'
  2129. make[2]: warning: -j8 forced in submake: resetting jobserver mode.
  2130. compiling printf.c
  2131. linking shared-object -test-/path_to_class/path_to_class.so
  2132. make[2]: Leaving directory '/tmp/ruby-build.20181030160655.8597/ruby-2.3.8/ext/-test-/marshal/usr'
  2133. linking shared-object -test-/num2int/num2int.so
  2134. make[2]: Entering directory '/tmp/ruby-build.20181030160655.8597/ruby-2.3.8'
  2135. make[2]: warning: -j8 forced in submake: resetting jobserver mode.
  2136. compiling init.c
  2137. compiling receiver.c
  2138. make[2]: Leaving directory '/tmp/ruby-build.20181030160655.8597/ruby-2.3.8/ext/-test-/notimplement'
  2139. make[2]: Leaving directory '/tmp/ruby-build.20181030160655.8597/ruby-2.3.8/ext/-test-/method'
  2140. make[2]: Entering directory '/tmp/ruby-build.20181030160655.8597/ruby-2.3.8'
  2141. make[2]: warning: -j8 forced in submake: resetting jobserver mode.
  2142. compiling super.c
  2143. make[2]: Entering directory '/tmp/ruby-build.20181030160655.8597/ruby-2.3.8'
  2144. make[2]: warning: -j8 forced in submake: resetting jobserver mode.
  2145. linking shared-object -test-/popen_deadlock/infinite_loop_dlsym.so
  2146. compiling rat.c
  2147. compiling recursion.c
  2148. make[2]: Leaving directory '/tmp/ruby-build.20181030160655.8597/ruby-2.3.8/ext/-test-/path_to_class'
  2149. make[2]: Entering directory '/tmp/ruby-build.20181030160655.8597/ruby-2.3.8'
  2150. make[2]: warning: -j8 forced in submake: resetting jobserver mode.
  2151. compiling foreach.c
  2152. make[2]: Leaving directory '/tmp/ruby-build.20181030160655.8597/ruby-2.3.8/ext/-test-/num2int'
  2153. make[2]: Entering directory '/tmp/ruby-build.20181030160655.8597/ruby-2.3.8'
  2154. make[2]: warning: -j8 forced in submake: resetting jobserver mode.
  2155. compiling numhash.c
  2156. linking shared-object -test-/postponed_job.so
  2157. make[2]: Leaving directory '/tmp/ruby-build.20181030160655.8597/ruby-2.3.8/ext/-test-/popen_deadlock'
  2158. make[2]: Entering directory '/tmp/ruby-build.20181030160655.8597/ruby-2.3.8'
  2159. make[2]: warning: -j8 forced in submake: resetting jobserver mode.
  2160. compiling update.c
  2161. linking shared-object -test-/printf.so
  2162. In file included from rat.c:1:
  2163. ../../../internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  2164. #if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
  2165. ^
  2166. ../../../internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  2167. make[2]: Leaving directory '/tmp/ruby-build.20181030160655.8597/ruby-2.3.8/ext/-test-/postponed_job'
  2168. make[2]: Entering directory '/tmp/ruby-build.20181030160655.8597/ruby-2.3.8'
  2169. make[2]: warning: -j8 forced in submake: resetting jobserver mode.
  2170. compiling coderange.c
  2171. compiling cstr.c
  2172. compiling ellipsize.c
  2173. compiling enc_associate.c
  2174. linking shared-object -test-/recursion.so
  2175. linking shared-object -test-/proc.so
  2176. compiling enc_str_buf_cat.c
  2177. linking shared-object -test-/rational.so
  2178. make[2]: Leaving directory '/tmp/ruby-build.20181030160655.8597/ruby-2.3.8/ext/-test-/printf'
  2179. compiling fstring.c
  2180. make[2]: Entering directory '/tmp/ruby-build.20181030160655.8597/ruby-2.3.8'
  2181. make[2]: warning: -j8 forced in submake: resetting jobserver mode.
  2182. compiling init.c
  2183. compiling duplicate.c
  2184. compiling modify.c
  2185. linking shared-object -test-/st/numhash.so
  2186. compiling init.c
  2187. compiling member.c
  2188. make[2]: Leaving directory '/tmp/ruby-build.20181030160655.8597/ruby-2.3.8/ext/-test-/proc'
  2189. make[2]: Leaving directory '/tmp/ruby-build.20181030160655.8597/ruby-2.3.8/ext/-test-/recursion'
  2190. linking shared-object -test-/st/foreach.so
  2191. linking shared-object -test-/st/update.so
  2192. make[2]: Entering directory '/tmp/ruby-build.20181030160655.8597/ruby-2.3.8'
  2193. make[2]: warning: -j8 forced in submake: resetting jobserver mode.
  2194. make[2]: Leaving directory '/tmp/ruby-build.20181030160655.8597/ruby-2.3.8/ext/-test-/rational'
  2195. make[2]: Entering directory '/tmp/ruby-build.20181030160655.8597/ruby-2.3.8'
  2196. make[2]: warning: -j8 forced in submake: resetting jobserver mode.
  2197. compiling init.c
  2198. compiling type.c
  2199. make[2]: Entering directory '/tmp/ruby-build.20181030160655.8597/ruby-2.3.8'
  2200. make[2]: warning: -j8 forced in submake: resetting jobserver mode.
  2201. compiling thread_fd_close.c
  2202. compiling init.c
  2203. compiling new.c
  2204. In file included from cstr.c:1:
  2205. ../../../internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  2206. #if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
  2207. ^
  2208. ../../../internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  2209. make[2]: Leaving directory '/tmp/ruby-build.20181030160655.8597/ruby-2.3.8/ext/-test-/st/numhash'
  2210. compiling nofree.c
  2211. make[2]: Leaving directory '/tmp/ruby-build.20181030160655.8597/ruby-2.3.8/ext/-test-/st/update'
  2212. make[2]: Entering directory '/tmp/ruby-build.20181030160655.8597/ruby-2.3.8'
  2213. make[2]: warning: -j8 forced in submake: resetting jobserver mode.
  2214. make[2]: Entering directory '/tmp/ruby-build.20181030160655.8597/ruby-2.3.8'
  2215. make[2]: warning: -j8 forced in submake: resetting jobserver mode.
  2216. compiling gc_hook.c
  2217. make[2]: Leaving directory '/tmp/ruby-build.20181030160655.8597/ruby-2.3.8/ext/-test-/st/foreach'
  2218. compiling typeddata.c
  2219. compiling tracepoint.c
  2220. compiling normalize.c
  2221. make[2]: Entering directory '/tmp/ruby-build.20181030160655.8597/ruby-2.3.8'
  2222. make[2]: warning: -j8 forced in submake: resetting jobserver mode.
  2223. compiling at_exit.c
  2224. compiling qsort.c
  2225. compiling set_len.c
  2226. linking shared-object -test-/thread_fd_close.so
  2227. In file included from normalize.c:1:
  2228. ../../../internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  2229. #if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
  2230. ^
  2231. ../../../internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  2232. make[2]: Leaving directory '/tmp/ruby-build.20181030160655.8597/ruby-2.3.8/ext/-test-/thread_fd_close'
  2233. linking shared-object -test-/symbol.so
  2234. make[2]: Entering directory '/tmp/ruby-build.20181030160655.8597/ruby-2.3.8'
  2235. make[2]: warning: -j8 forced in submake: resetting jobserver mode.
  2236. compiling wait_for_single_fd.c
  2237. linking shared-object -test-/vm/at_exit.so
  2238. linking shared-object -test-/time.so
  2239. linking shared-object -test-/struct.so
  2240. linking shared-object -test-/string.so
  2241. linking shared-object -test-/typeddata/typeddata.so
  2242. linking shared-object -test-/tracepoint.so
  2243. make[2]: Leaving directory '/tmp/ruby-build.20181030160655.8597/ruby-2.3.8/ext/-test-/symbol'
  2244. make[2]: Leaving directory '/tmp/ruby-build.20181030160655.8597/ruby-2.3.8/ext/-test-/vm'
  2245. make[2]: Entering directory '/tmp/ruby-build.20181030160655.8597/ruby-2.3.8'
  2246. make[2]: warning: -j8 forced in submake: resetting jobserver mode.
  2247. make[2]: Entering directory '/tmp/ruby-build.20181030160655.8597/ruby-2.3.8'
  2248. make[2]: warning: -j8 forced in submake: resetting jobserver mode.
  2249. compiling bigdecimal.c
  2250. compiling escape.c
  2251. make[2]: Leaving directory '/tmp/ruby-build.20181030160655.8597/ruby-2.3.8/ext/-test-/struct'
  2252. make[2]: Entering directory '/tmp/ruby-build.20181030160655.8597/ruby-2.3.8'
  2253. make[2]: warning: -j8 forced in submake: resetting jobserver mode.
  2254. make[2]: Leaving directory '/tmp/ruby-build.20181030160655.8597/ruby-2.3.8/ext/-test-/time'
  2255. compiling continuation.c
  2256. make[2]: Entering directory '/tmp/ruby-build.20181030160655.8597/ruby-2.3.8'
  2257. make[2]: warning: -j8 forced in submake: resetting jobserver mode.
  2258. compiling coverage.c
  2259. installing default bigdecimal libraries
  2260. make[2]: Leaving directory '/tmp/ruby-build.20181030160655.8597/ruby-2.3.8/ext/-test-/typeddata'
  2261. make[2]: Entering directory '/tmp/ruby-build.20181030160655.8597/ruby-2.3.8'
  2262. make[2]: warning: -j8 forced in submake: resetting jobserver mode.
  2263. compiling date_core.c
  2264. compiling date_parse.c
  2265. compiling date_strftime.c
  2266. make[2]: Leaving directory '/tmp/ruby-build.20181030160655.8597/ruby-2.3.8/ext/-test-/tracepoint'
  2267. compiling date_strptime.c
  2268. make[2]: Entering directory '/tmp/ruby-build.20181030160655.8597/ruby-2.3.8'
  2269. make[2]: warning: -j8 forced in submake: resetting jobserver mode.
  2270. make[2]: Nothing to be done for 'all'.
  2271. make[2]: Leaving directory '/tmp/ruby-build.20181030160655.8597/ruby-2.3.8/ext/dbm'
  2272. linking shared-object -test-/wait_for_single_fd/wait_for_single_fd.so
  2273. make[2]: Entering directory '/tmp/ruby-build.20181030160655.8597/ruby-2.3.8'
  2274. make[2]: warning: -j8 forced in submake: resetting jobserver mode.
  2275. compiling digest.c
  2276. make[2]: Leaving directory '/tmp/ruby-build.20181030160655.8597/ruby-2.3.8/ext/-test-/string'
  2277. make[2]: Entering directory '/tmp/ruby-build.20181030160655.8597/ruby-2.3.8'
  2278. make[2]: warning: -j8 forced in submake: resetting jobserver mode.
  2279. installing default date_core libraries
  2280. installing digest libraries
  2281. compiling bubblebabble.c
  2282. installing default digest libraries
  2283. In file included from ../../method.h:14,
  2284. from ../../vm_core.h:62,
  2285. from coverage.c:12:
  2286. ../../internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  2287. #if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
  2288. ^
  2289. ../../internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  2290. make[2]: Leaving directory '/tmp/ruby-build.20181030160655.8597/ruby-2.3.8/ext/-test-/wait_for_single_fd'
  2291. linking shared-object continuation.so
  2292. make[2]: Entering directory '/tmp/ruby-build.20181030160655.8597/ruby-2.3.8'
  2293. make[2]: warning: -j8 forced in submake: resetting jobserver mode.
  2294. compiling md5init.c
  2295. date_strftime.c: In function ‘date_strftime_with_tmx’:
  2296. date_strftime.c:573:14: warning: this statement may fall through [-Wimplicit-fallthrough=]
  2297. padding = '0';
  2298. ~~~~~~~~^~~~~
  2299. date_strftime.c:574:4: note: here
  2300. case '1': case '2': case '3': case '4':
  2301. ^~~~
  2302. linking shared-object cgi/escape.so
  2303. make[2]: Leaving directory '/tmp/ruby-build.20181030160655.8597/ruby-2.3.8/ext/continuation'
  2304. date_core.c: In function ‘datetime_s_jisx0301’:
  2305. date_core.c:8114:6: warning: this statement may fall through [-Wimplicit-fallthrough=]
  2306. str = rb_str_new2("-4712-01-01T00:00:00+00:00");
  2307. date_core.c:8115:7: note: here
  2308. case 1:
  2309. ^~~~
  2310. md5init.c:20:5: warning: cast between incompatible function types from ‘int (*)(MD5_CTX *, const void *, size_t)’ {aka ‘int (*)(struct MD5state_st *, const void *, long unsigned int)’} to ‘void (*)(void *, unsigned char *, size_t)’ {aka ‘void (*)(void *, unsigned char *, long unsigned int)’} [-Wcast-function-type]
  2311. (rb_digest_hash_update_func_t)MD5_Update,
  2312. ^
  2313. make[2]: Entering directory '/tmp/ruby-build.20181030160655.8597/ruby-2.3.8'
  2314. make[2]: warning: -j8 forced in submake: resetting jobserver mode.
  2315. date_core.c: In function ‘datetime_s_httpdate’:
  2316. date_core.c:8084:6: warning: this statement may fall through [-Wimplicit-fallthrough=]
  2317. str = rb_str_new2("Mon, 01 Jan -4712 00:00:00 GMT");
  2318. date_core.c:8085:7: note: here
  2319. case 1:
  2320. ^~~~
  2321. date_core.c: In function ‘datetime_s_rfc2822’:
  2322. date_core.c:8054:6: warning: this statement may fall through [-Wimplicit-fallthrough=]
  2323. str = rb_str_new2("Mon, 1 Jan -4712 00:00:00 +0000");
  2324. date_core.c:8055:7: note: here
  2325. case 1:
  2326. ^~~~
  2327. date_core.c: In function ‘datetime_s_xmlschema’:
  2328. date_core.c:8023:6: warning: this statement may fall through [-Wimplicit-fallthrough=]
  2329. str = rb_str_new2("-4712-01-01T00:00:00+00:00");
  2330. date_core.c:8024:7: note: here
  2331. case 1:
  2332. ^~~~
  2333. date_core.c: In function ‘datetime_s_rfc3339’:
  2334. date_core.c:7993:6: warning: this statement may fall through [-Wimplicit-fallthrough=]
  2335. str = rb_str_new2("-4712-01-01T00:00:00+00:00");
  2336. date_core.c:7994:7: note: here
  2337. case 1:
  2338. ^~~~
  2339. date_core.c: In function ‘datetime_s_iso8601’:
  2340. date_core.c:7963:6: warning: this statement may fall through [-Wimplicit-fallthrough=]
  2341. str = rb_str_new2("-4712-01-01T00:00:00+00:00");
  2342. date_core.c:7964:7: note: here
  2343. case 1:
  2344. ^~~~
  2345. date_core.c: In function ‘datetime_s_parse’:
  2346. date_core.c:7923:6: warning: this statement may fall through [-Wimplicit-fallthrough=]
  2347. str = rb_str_new2("-4712-01-01T00:00:00+00:00");
  2348. date_core.c:7924:7: note: here
  2349. case 1:
  2350. ^~~~
  2351. date_core.c:7925:7: warning: this statement may fall through [-Wimplicit-fallthrough=]
  2352. comp = Qtrue;
  2353. date_core.c:7926:7: note: here
  2354. case 2:
  2355. ^~~~
  2356. date_core.c: In function ‘datetime_s_strptime’:
  2357. date_core.c:7880:6: warning: this statement may fall through [-Wimplicit-fallthrough=]
  2358. str = rb_str_new2("-4712-01-01T00:00:00+00:00");
  2359. date_core.c:7881:7: note: here
  2360. case 1:
  2361. ^~~~
  2362. date_core.c:7882:6: warning: this statement may fall through [-Wimplicit-fallthrough=]
  2363. fmt = rb_str_new2("%FT%T%z");
  2364. date_core.c:7883:7: note: here
  2365. case 2:
  2366. ^~~~
  2367. date_core.c: In function ‘datetime_s_commercial’:
  2368. date_core.c:3247:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
  2369. if (!c_valid_start_p(dsg)) {\
  2370. ^
  2371. date_core.c:7443:2: note: in expansion of macro ‘val2sg’
  2372. val2sg(vsg, sg);
  2373. ^~~~~~
  2374. date_core.c:7444:7: note: here
  2375. case 7:
  2376. ^~~~
  2377. date_core.c:4696:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
  2378. if (!offset_to_sec(vof, &iof)) {\
  2379. ^
  2380. date_core.c:7445:2: note: in expansion of macro ‘val2off’
  2381. val2off(vof, rof);
  2382. ^~~~~~~
  2383. date_core.c:7446:7: note: here
  2384. case 6:
  2385. ^~~~
  2386. date_core.c:3223:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
  2387. if (f_nonzero_p(fr)) {\
  2388. ^
  2389. date_core.c:7447:2: note: in expansion of macro ‘num2int_with_frac’
  2390. num2int_with_frac(s, positive_inf);
  2391. ^~~~~~~~~~~~~~~~~
  2392. date_core.c:7448:7: note: here
  2393. case 5:
  2394. ^~~~
  2395. date_core.c:3223:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
  2396. if (f_nonzero_p(fr)) {\
  2397. ^
  2398. date_core.c:7449:2: note: in expansion of macro ‘num2int_with_frac’
  2399. num2int_with_frac(min, 5);
  2400. ^~~~~~~~~~~~~~~~~
  2401. date_core.c:7450:7: note: here
  2402. case 4:
  2403. ^~~~
  2404. date_core.c:3223:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
  2405. if (f_nonzero_p(fr)) {\
  2406. ^
  2407. date_core.c:7451:2: note: in expansion of macro ‘num2int_with_frac’
  2408. num2int_with_frac(h, 4);
  2409. ^~~~~~~~~~~~~~~~~
  2410. date_core.c:7452:7: note: here
  2411. case 3:
  2412. ^~~~
  2413. date_core.c:3223:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
  2414. if (f_nonzero_p(fr)) {\
  2415. ^
  2416. date_core.c:7453:2: note: in expansion of macro ‘num2int_with_frac’
  2417. num2int_with_frac(d, 3);
  2418. ^~~~~~~~~~~~~~~~~
  2419. date_core.c:7454:7: note: here
  2420. case 2:
  2421. ^~~~
  2422. In file included from ../.././include/ruby.h:33,
  2423. from date_core.c:5:
  2424. ../.././include/ruby/ruby.h:689:23: warning: this statement may fall through [-Wimplicit-fallthrough=]
  2425. #define RB_NUM2INT(x) rb_num2int_inline(x)
  2426. ^~~~~~~~~~~~~~~~~~~~
  2427. ../.././include/ruby/ruby.h:701:21: note: in expansion of macro ‘RB_NUM2INT’
  2428. #define NUM2INT(x) RB_NUM2INT(x)
  2429. ^~~~~~~~~~
  2430. date_core.c:7455:6: note: in expansion of macro ‘NUM2INT’
  2431. w = NUM2INT(vw);
  2432. ^~~~~~~
  2433. date_core.c:7456:7: note: here
  2434. case 1:
  2435. ^~~~
  2436. date_core.c: In function ‘datetime_s_civil’:
  2437. date_core.c:3247:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
  2438. if (!c_valid_start_p(dsg)) {\
  2439. ^
  2440. date_core.c:7346:2: note: in expansion of macro ‘val2sg’
  2441. val2sg(vsg, sg);
  2442. ^~~~~~
  2443. compiling rmd160init.c
  2444. date_core.c:7347:7: note: here
  2445. case 7:
  2446. ^~~~
  2447. date_core.c:4696:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
  2448. if (!offset_to_sec(vof, &iof)) {\
  2449. ^
  2450. date_core.c:7348:2: note: in expansion of macro ‘val2off’
  2451. val2off(vof, rof);
  2452. ^~~~~~~
  2453. date_core.c:7349:7: note: here
  2454. case 6:
  2455. ^~~~
  2456. date_core.c:3223:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
  2457. if (f_nonzero_p(fr)) {\
  2458. ^
  2459. date_core.c:7350:2: note: in expansion of macro ‘num2int_with_frac’
  2460. num2int_with_frac(s, positive_inf);
  2461. ^~~~~~~~~~~~~~~~~
  2462. date_core.c:7351:7: note: here
  2463. case 5:
  2464. ^~~~
  2465. date_core.c:3223:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
  2466. if (f_nonzero_p(fr)) {\
  2467. ^
  2468. date_core.c:7352:2: note: in expansion of macro ‘num2int_with_frac’
  2469. num2int_with_frac(min, 5);
  2470. ^~~~~~~~~~~~~~~~~
  2471. date_core.c:7353:7: note: here
  2472. case 4:
  2473. ^~~~
  2474. date_core.c:3223:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
  2475. if (f_nonzero_p(fr)) {\
  2476. ^
  2477. date_core.c:7354:2: note: in expansion of macro ‘num2int_with_frac’
  2478. num2int_with_frac(h, 4);
  2479. ^~~~~~~~~~~~~~~~~
  2480. date_core.c:7355:7: note: here
  2481. case 3:
  2482. ^~~~
  2483. date_core.c:3223:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
  2484. if (f_nonzero_p(fr)) {\
  2485. ^
  2486. date_core.c:7356:2: note: in expansion of macro ‘num2int_with_frac’
  2487. num2int_with_frac(d, 3);
  2488. ^~~~~~~~~~~~~~~~~
  2489. date_core.c:7357:7: note: here
  2490. case 2:
  2491. ^~~~
  2492. In file included from ../.././include/ruby.h:33,
  2493. from date_core.c:5:
  2494. ../.././include/ruby/ruby.h:689:23: warning: this statement may fall through [-Wimplicit-fallthrough=]
  2495. #define RB_NUM2INT(x) rb_num2int_inline(x)
  2496. ^~~~~~~~~~~~~~~~~~~~
  2497. ../.././include/ruby/ruby.h:701:21: note: in expansion of macro ‘RB_NUM2INT’
  2498. #define NUM2INT(x) RB_NUM2INT(x)
  2499. ^~~~~~~~~~
  2500. date_core.c:7358:6: note: in expansion of macro ‘NUM2INT’
  2501. m = NUM2INT(vm);
  2502. ^~~~~~~
  2503. date_core.c:7359:7: note: here
  2504. case 1:
  2505. ^~~~
  2506. date_core.c: In function ‘datetime_s_ordinal’:
  2507. date_core.c:3247:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
  2508. if (!c_valid_start_p(dsg)) {\
  2509. ^
  2510. date_core.c:7269:2: note: in expansion of macro ‘val2sg’
  2511. val2sg(vsg, sg);
  2512. ^~~~~~
  2513. date_core.c:7270:7: note: here
  2514. case 6:
  2515. ^~~~
  2516. date_core.c:4696:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
  2517. if (!offset_to_sec(vof, &iof)) {\
  2518. ^
  2519. date_core.c:7271:2: note: in expansion of macro ‘val2off’
  2520. val2off(vof, rof);
  2521. ^~~~~~~
  2522. date_core.c:7272:7: note: here
  2523. case 5:
  2524. ^~~~
  2525. date_core.c:3223:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
  2526. if (f_nonzero_p(fr)) {\
  2527. ^
  2528. date_core.c:7273:2: note: in expansion of macro ‘num2int_with_frac’
  2529. num2int_with_frac(s, positive_inf);
  2530. ^~~~~~~~~~~~~~~~~
  2531. date_core.c:7274:7: note: here
  2532. case 4:
  2533. ^~~~
  2534. date_core.c:3223:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
  2535. if (f_nonzero_p(fr)) {\
  2536. ^
  2537. date_core.c:7275:2: note: in expansion of macro ‘num2int_with_frac’
  2538. num2int_with_frac(min, 4);
  2539. ^~~~~~~~~~~~~~~~~
  2540. date_core.c:7276:7: note: here
  2541. case 3:
  2542. ^~~~
  2543. date_core.c:3223:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
  2544. if (f_nonzero_p(fr)) {\
  2545. ^
  2546. date_core.c:7277:2: note: in expansion of macro ‘num2int_with_frac’
  2547. num2int_with_frac(h, 3);
  2548. ^~~~~~~~~~~~~~~~~
  2549. date_core.c:7278:7: note: here
  2550. case 2:
  2551. ^~~~
  2552. date_core.c:3223:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
  2553. if (f_nonzero_p(fr)) {\
  2554. ^
  2555. date_core.c:7279:2: note: in expansion of macro ‘num2int_with_frac’
  2556. num2int_with_frac(d, 2);
  2557. ^~~~~~~~~~~~~~~~~
  2558. date_core.c:7280:7: note: here
  2559. case 1:
  2560. ^~~~
  2561. date_core.c: In function ‘datetime_s_jd’:
  2562. date_core.c:3247:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
  2563. if (!c_valid_start_p(dsg)) {\
  2564. ^
  2565. date_core.c:7200:2: note: in expansion of macro ‘val2sg’
  2566. val2sg(vsg, sg);
  2567. ^~~~~~
  2568. date_core.c:7201:7: note: here
  2569. case 5:
  2570. ^~~~
  2571. date_core.c:4696:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
  2572. if (!offset_to_sec(vof, &iof)) {\
  2573. ^
  2574. date_core.c:7202:2: note: in expansion of macro ‘val2off’
  2575. val2off(vof, rof);
  2576. ^~~~~~~
  2577. date_core.c:7203:7: note: here
  2578. case 4:
  2579. ^~~~
  2580. date_core.c:3223:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
  2581. if (f_nonzero_p(fr)) {\
  2582. ^
  2583. date_core.c:7204:2: note: in expansion of macro ‘num2int_with_frac’
  2584. num2int_with_frac(s, positive_inf);
  2585. ^~~~~~~~~~~~~~~~~
  2586. date_core.c:7205:7: note: here
  2587. case 3:
  2588. ^~~~
  2589. date_core.c:3223:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
  2590. if (f_nonzero_p(fr)) {\
  2591. ^
  2592. date_core.c:7206:2: note: in expansion of macro ‘num2int_with_frac’
  2593. num2int_with_frac(min, 3);
  2594. ^~~~~~~~~~~~~~~~~
  2595. date_core.c:7207:7: note: here
  2596. case 2:
  2597. ^~~~
  2598. date_core.c:3223:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
  2599. if (f_nonzero_p(fr)) {\
  2600. ^
  2601. date_core.c:7208:2: note: in expansion of macro ‘num2int_with_frac’
  2602. num2int_with_frac(h, 2);
  2603. ^~~~~~~~~~~~~~~~~
  2604. date_core.c:7209:7: note: here
  2605. case 1:
  2606. ^~~~
  2607. date_core.c: In function ‘date_s_jisx0301’:
  2608. date_core.c:4631:6: warning: this statement may fall through [-Wimplicit-fallthrough=]
  2609. str = rb_str_new2("-4712-01-01");
  2610. date_core.c:4632:7: note: here
  2611. case 1:
  2612. ^~~~
  2613. date_core.c: In function ‘date_s_httpdate’:
  2614. date_core.c:4590:6: warning: this statement may fall through [-Wimplicit-fallthrough=]
  2615. str = rb_str_new2("Mon, 01 Jan -4712 00:00:00 GMT");
  2616. date_core.c:4591:7: note: here
  2617. case 1:
  2618. ^~~~
  2619. date_core.c: In function ‘date_s_rfc2822’:
  2620. date_core.c:4548:6: warning: this statement may fall through [-Wimplicit-fallthrough=]
  2621. str = rb_str_new2("Mon, 1 Jan -4712 00:00:00 +0000");
  2622. date_core.c:4549:7: note: here
  2623. case 1:
  2624. ^~~~
  2625. date_core.c: In function ‘date_s_xmlschema’:
  2626. date_core.c:4504:6: warning: this statement may fall through [-Wimplicit-fallthrough=]
  2627. str = rb_str_new2("-4712-01-01");
  2628. date_core.c:4505:7: note: here
  2629. case 1:
  2630. ^~~~
  2631. date_core.c: In function ‘date_s_rfc3339’:
  2632. date_core.c:4463:6: warning: this statement may fall through [-Wimplicit-fallthrough=]
  2633. str = rb_str_new2("-4712-01-01T00:00:00+00:00");
  2634. date_core.c:4464:7: note: here
  2635. case 1:
  2636. ^~~~
  2637. date_core.c: In function ‘date_s_iso8601’:
  2638. date_core.c:4422:6: warning: this statement may fall through [-Wimplicit-fallthrough=]
  2639. str = rb_str_new2("-4712-01-01");
  2640. date_core.c:4423:7: note: here
  2641. case 1:
  2642. ^~~~
  2643. date_core.c: In function ‘date_s_parse’:
  2644. date_core.c:4366:6: warning: this statement may fall through [-Wimplicit-fallthrough=]
  2645. str = rb_str_new2("-4712-01-01");
  2646. date_core.c:4367:7: note: here
  2647. case 1:
  2648. ^~~~
  2649. date_core.c:4368:7: warning: this statement may fall through [-Wimplicit-fallthrough=]
  2650. comp = Qtrue;
  2651. date_core.c:4369:7: note: here
  2652. case 2:
  2653. ^~~~
  2654. date_core.c: In function ‘date_s_strptime’:
  2655. date_core.c:4275:6: warning: this statement may fall through [-Wimplicit-fallthrough=]
  2656. str = rb_str_new2("-4712-01-01");
  2657. date_core.c:4276:7: note: here
  2658. case 1:
  2659. ^~~~
  2660. date_core.c:4277:6: warning: this statement may fall through [-Wimplicit-fallthrough=]
  2661. fmt = rb_str_new2("%F");
  2662. date_core.c:4278:7: note: here
  2663. case 2:
  2664. ^~~~
  2665. date_core.c: In function ‘date_s_commercial’:
  2666. date_core.c:3247:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
  2667. if (!c_valid_start_p(dsg)) {\
  2668. ^
  2669. date_core.c:3480:2: note: in expansion of macro ‘val2sg’
  2670. val2sg(vsg, sg);
  2671. ^~~~~~
  2672. date_core.c:3481:7: note: here
  2673. case 3:
  2674. ^~~~
  2675. date_core.c:3223:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
  2676. if (f_nonzero_p(fr)) {\
  2677. ^
  2678. date_core.c:3482:2: note: in expansion of macro ‘num2int_with_frac’
  2679. num2int_with_frac(d, positive_inf);
  2680. ^~~~~~~~~~~~~~~~~
  2681. date_core.c:3483:7: note: here
  2682. case 2:
  2683. ^~~~
  2684. In file included from ../.././include/ruby.h:33,
  2685. from date_core.c:5:
  2686. ../.././include/ruby/ruby.h:689:23: warning: this statement may fall through [-Wimplicit-fallthrough=]
  2687. #define RB_NUM2INT(x) rb_num2int_inline(x)
  2688. ^~~~~~~~~~~~~~~~~~~~
  2689. ../.././include/ruby/ruby.h:701:21: note: in expansion of macro ‘RB_NUM2INT’
  2690. #define NUM2INT(x) RB_NUM2INT(x)
  2691. ^~~~~~~~~~
  2692. date_core.c:3484:6: note: in expansion of macro ‘NUM2INT’
  2693. w = NUM2INT(vw);
  2694. ^~~~~~~
  2695. date_core.c:3485:7: note: here
  2696. case 1:
  2697. ^~~~
  2698. date_core.c: In function ‘date_s_civil’:
  2699. date_core.c:3247:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
  2700. if (!c_valid_start_p(dsg)) {\
  2701. ^
  2702. date_core.c:3403:2: note: in expansion of macro ‘val2sg’
  2703. val2sg(vsg, sg);
  2704. ^~~~~~
  2705. date_core.c:3404:7: note: here
  2706. case 3:
  2707. ^~~~
  2708. date_core.c:3223:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
  2709. if (f_nonzero_p(fr)) {\
  2710. ^
  2711. date_core.c:3405:2: note: in expansion of macro ‘num2int_with_frac’
  2712. num2int_with_frac(d, positive_inf);
  2713. ^~~~~~~~~~~~~~~~~
  2714. date_core.c:3406:7: note: here
  2715. case 2:
  2716. ^~~~
  2717. In file included from ../.././include/ruby.h:33,
  2718. from date_core.c:5:
  2719. ../.././include/ruby/ruby.h:689:23: warning: this statement may fall through [-Wimplicit-fallthrough=]
  2720. #define RB_NUM2INT(x) rb_num2int_inline(x)
  2721. ^~~~~~~~~~~~~~~~~~~~
  2722. ../.././include/ruby/ruby.h:701:21: note: in expansion of macro ‘RB_NUM2INT’
  2723. #define NUM2INT(x) RB_NUM2INT(x)
  2724. ^~~~~~~~~~
  2725. date_core.c:3407:6: note: in expansion of macro ‘NUM2INT’
  2726. m = NUM2INT(vm);
  2727. ^~~~~~~
  2728. date_core.c:3408:7: note: here
  2729. case 1:
  2730. ^~~~
  2731. date_core.c: In function ‘date_s_ordinal’:
  2732. date_core.c:3247:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
  2733. if (!c_valid_start_p(dsg)) {\
  2734. ^
  2735. date_core.c:3334:2: note: in expansion of macro ‘val2sg’
  2736. val2sg(vsg, sg);
  2737. ^~~~~~
  2738. date_core.c:3335:7: note: here
  2739. case 2:
  2740. ^~~~
  2741. date_core.c:3223:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
  2742. if (f_nonzero_p(fr)) {\
  2743. ^
  2744. date_core.c:3336:2: note: in expansion of macro ‘num2int_with_frac’
  2745. num2int_with_frac(d, positive_inf);
  2746. ^~~~~~~~~~~~~~~~~
  2747. date_core.c:3337:7: note: here
  2748. case 1:
  2749. ^~~~
  2750. date_core.c: In function ‘date_s_jd’:
  2751. date_core.c:3247:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
  2752. if (!c_valid_start_p(dsg)) {\
  2753. ^
  2754. date_core.c:3282:2: note: in expansion of macro ‘val2sg’
  2755. val2sg(vsg, sg);
  2756. ^~~~~~
  2757. date_core.c:3283:7: note: here
  2758. case 1:
  2759. ^~~~
  2760. linking shared-object coverage.so
  2761. linking shared-object digest/bubblebabble.so
  2762. linking shared-object digest/md5.so
  2763. make[2]: Leaving directory '/tmp/ruby-build.20181030160655.8597/ruby-2.3.8/ext/cgi/escape'
  2764. make[2]: Entering directory '/tmp/ruby-build.20181030160655.8597/ruby-2.3.8'
  2765. make[2]: warning: -j8 forced in submake: resetting jobserver mode.
  2766. compiling sha1init.c
  2767. linking shared-object digest.so
  2768. rmd160init.c:18:5: warning: cast between incompatible function types from ‘int (*)(RIPEMD160_CTX *, const void *, size_t)’ {aka ‘int (*)(struct RIPEMD160state_st *, const void *, long unsigned int)’} to ‘void (*)(void *, unsigned char *, size_t)’ {aka ‘void (*)(void *, unsigned char *, long unsigned int)’} [-Wcast-function-type]
  2769. (rb_digest_hash_update_func_t)RMD160_Update,
  2770. ^
  2771. make[2]: Leaving directory '/tmp/ruby-build.20181030160655.8597/ruby-2.3.8/ext/coverage'
  2772. make[2]: Entering directory '/tmp/ruby-build.20181030160655.8597/ruby-2.3.8'
  2773. make[2]: warning: -j8 forced in submake: resetting jobserver mode.
  2774. make[2]: Leaving directory '/tmp/ruby-build.20181030160655.8597/ruby-2.3.8/ext/digest/bubblebabble'
  2775. compiling sha2init.c
  2776. make[2]: Entering directory '/tmp/ruby-build.20181030160655.8597/ruby-2.3.8'
  2777. make[2]: warning: -j8 forced in submake: resetting jobserver mode.
  2778. sha1init.c:20:5: warning: cast between incompatible function types from ‘int (*)(SHA_CTX *, const void *, size_t)’ {aka ‘int (*)(struct SHAstate_st *, const void *, long unsigned int)’} to ‘void (*)(void *, unsigned char *, size_t)’ {aka ‘void (*)(void *, unsigned char *, long unsigned int)’} [-Wcast-function-type]
  2779. (rb_digest_hash_update_func_t)SHA1_Update,
  2780. ^
  2781. generating constant definitions
  2782. installing default sha2 libraries
  2783. make[2]: Leaving directory '/tmp/ruby-build.20181030160655.8597/ruby-2.3.8/ext/digest/md5'
  2784. linking shared-object digest/rmd160.so
  2785. make[2]: Leaving directory '/tmp/ruby-build.20181030160655.8597/ruby-2.3.8/ext/digest'
  2786. make[2]: Entering directory '/tmp/ruby-build.20181030160655.8597/ruby-2.3.8'
  2787. make[2]: warning: -j8 forced in submake: resetting jobserver mode.
  2788. compiling fcntl.c
  2789. make[2]: Entering directory '/tmp/ruby-build.20181030160655.8597/ruby-2.3.8'
  2790. make[2]: warning: -j8 forced in submake: resetting jobserver mode.
  2791. compiling fiber.c
  2792. compiling etc.c
  2793. linking shared-object digest/sha1.so
  2794. sha2init.c:23:5: warning: cast between incompatible function types from ‘int (*)(SHA256_CTX *, const void *, size_t)’ {aka ‘int (*)(struct SHA256state_st *, const void *, long unsigned int)’} to ‘void (*)(void *, unsigned char *, size_t)’ {aka ‘void (*)(void *, unsigned char *, long unsigned int)’} [-Wcast-function-type]
  2795. (rb_digest_hash_update_func_t)SHA##bitlen##_Update, \
  2796. ^
  2797. sha2init.c:14:30: note: in expansion of macro ‘DEFINE_ALGO_METADATA’
  2798. #define FOREACH_BITLEN(func) func(256) func(384) func(512)
  2799. ^~~~
  2800. sha2init.c:27:1: note: in expansion of macro ‘FOREACH_BITLEN’
  2801. FOREACH_BITLEN(DEFINE_ALGO_METADATA)
  2802. ^~~~~~~~~~~~~~
  2803. sha2init.c:23:5: warning: cast between incompatible function types from ‘int (*)(SHA512_CTX *, const void *, size_t)’ {aka ‘int (*)(struct SHA512state_st *, const void *, long unsigned int)’} to ‘void (*)(void *, unsigned char *, size_t)’ {aka ‘void (*)(void *, unsigned char *, long unsigned int)’} [-Wcast-function-type]
  2804. (rb_digest_hash_update_func_t)SHA##bitlen##_Update, \
  2805. ^
  2806. sha2init.c:14:40: note: in expansion of macro ‘DEFINE_ALGO_METADATA’
  2807. #define FOREACH_BITLEN(func) func(256) func(384) func(512)
  2808. ^~~~
  2809. sha2init.c:27:1: note: in expansion of macro ‘FOREACH_BITLEN’
  2810. FOREACH_BITLEN(DEFINE_ALGO_METADATA)
  2811. ^~~~~~~~~~~~~~
  2812. sha2init.c:23:5: warning: cast between incompatible function types from ‘int (*)(SHA512_CTX *, const void *, size_t)’ {aka ‘int (*)(struct SHA512state_st *, const void *, long unsigned int)’} to ‘void (*)(void *, unsigned char *, size_t)’ {aka ‘void (*)(void *, unsigned char *, long unsigned int)’} [-Wcast-function-type]
  2813. (rb_digest_hash_update_func_t)SHA##bitlen##_Update, \
  2814. ^
  2815. sha2init.c:14:50: note: in expansion of macro ‘DEFINE_ALGO_METADATA’
  2816. #define FOREACH_BITLEN(func) func(256) func(384) func(512)
  2817. ^~~~
  2818. sha2init.c:27:1: note: in expansion of macro ‘FOREACH_BITLEN’
  2819. FOREACH_BITLEN(DEFINE_ALGO_METADATA)
  2820. ^~~~~~~~~~~~~~
  2821. linking shared-object fiber.so
  2822. linking shared-object digest/sha2.so
  2823. make[2]: Leaving directory '/tmp/ruby-build.20181030160655.8597/ruby-2.3.8/ext/digest/rmd160'
  2824. make[2]: Entering directory '/tmp/ruby-build.20181030160655.8597/ruby-2.3.8'
  2825. make[2]: warning: -j8 forced in submake: resetting jobserver mode.
  2826. compiling closure.c
  2827. make[2]: Leaving directory '/tmp/ruby-build.20181030160655.8597/ruby-2.3.8/ext/fiber'
  2828. make[2]: Entering directory '/tmp/ruby-build.20181030160655.8597/ruby-2.3.8'
  2829. make[2]: warning: -j8 forced in submake: resetting jobserver mode.
  2830. make[2]: Nothing to be done for 'all'.
  2831. make[2]: Leaving directory '/tmp/ruby-build.20181030160655.8597/ruby-2.3.8/ext/gdbm'
  2832. compiling conversions.c
  2833. make[2]: Entering directory '/tmp/ruby-build.20181030160655.8597/ruby-2.3.8'
  2834. make[2]: warning: -j8 forced in submake: resetting jobserver mode.
  2835. compiling fiddle.c
  2836. compiling console.c
  2837. compiling function.c
  2838. linking shared-object fcntl.so
  2839. compiling handle.c
  2840. make[2]: Leaving directory '/tmp/ruby-build.20181030160655.8597/ruby-2.3.8/ext/digest/sha1'
  2841. installing default console libraries
  2842. make[2]: Entering directory '/tmp/ruby-build.20181030160655.8597/ruby-2.3.8'
  2843. make[2]: warning: -j8 forced in submake: resetting jobserver mode.
  2844. compiling pointer.c
  2845. compiling nonblock.c
  2846. make[2]: Leaving directory '/tmp/ruby-build.20181030160655.8597/ruby-2.3.8/ext/digest/sha2'
  2847. make[2]: Entering directory '/tmp/ruby-build.20181030160655.8597/ruby-2.3.8'
  2848. make[2]: warning: -j8 forced in submake: resetting jobserver mode.
  2849. compiling wait.c
  2850. In file included from closure.c:3:
  2851. ../.././internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  2852. #if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
  2853. ^
  2854. ../.././internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  2855. make[2]: Leaving directory '/tmp/ruby-build.20181030160655.8597/ruby-2.3.8/ext/fcntl'
  2856. installing default fiddle libraries
  2857. make[2]: Entering directory '/tmp/ruby-build.20181030160655.8597/ruby-2.3.8'
  2858. make[2]: warning: -j8 forced in submake: resetting jobserver mode.
  2859. linking shared-object etc.so
  2860. installing default libraries
  2861. make[2]: Leaving directory '/tmp/ruby-build.20181030160655.8597/ruby-2.3.8/ext/etc'
  2862. make[2]: Entering directory '/tmp/ruby-build.20181030160655.8597/ruby-2.3.8'
  2863. make[2]: warning: -j8 forced in submake: resetting jobserver mode.
  2864. linking shared-object io/nonblock.so
  2865. compiling generator.c
  2866. linking shared-object io/wait.so
  2867. linking shared-object io/console.so
  2868. make[2]: Leaving directory '/tmp/ruby-build.20181030160655.8597/ruby-2.3.8/ext/json'
  2869. make[2]: Entering directory '/tmp/ruby-build.20181030160655.8597/ruby-2.3.8'
  2870. make[2]: warning: -j8 forced in submake: resetting jobserver mode.
  2871. compiling parser.c
  2872. make[2]: Leaving directory '/tmp/ruby-build.20181030160655.8597/ruby-2.3.8/ext/io/nonblock'
  2873. make[2]: Entering directory '/tmp/ruby-build.20181030160655.8597/ruby-2.3.8'
  2874. make[2]: warning: -j8 forced in submake: resetting jobserver mode.
  2875. make[2]: Leaving directory '/tmp/ruby-build.20181030160655.8597/ruby-2.3.8/ext/io/wait'
  2876. compiling complex.c
  2877. make[2]: Entering directory '/tmp/ruby-build.20181030160655.8597/ruby-2.3.8'
  2878. make[2]: warning: -j8 forced in submake: resetting jobserver mode.
  2879. compiling rational.c
  2880. linking shared-object fiddle.so
  2881. make[2]: Leaving directory '/tmp/ruby-build.20181030160655.8597/ruby-2.3.8/ext/io/console'
  2882. generator.c: In function ‘convert_UTF8_to_JSON_ASCII’:
  2883. generator.c:148:41: warning: this statement may fall through [-Wimplicit-fallthrough=]
  2884. case 5: ch += *source++; ch <<= 6; /* remember, illegal UTF-8 */
  2885. ~~~^~~~~
  2886. generator.c:149:13: note: here
  2887. case 4: ch += *source++; ch <<= 6; /* remember, illegal UTF-8 */
  2888. ^~~~
  2889. generator.c:149:41: warning: this statement may fall through [-Wimplicit-fallthrough=]
  2890. case 4: ch += *source++; ch <<= 6; /* remember, illegal UTF-8 */
  2891. ~~~^~~~~
  2892. generator.c:150:13: note: here
  2893. case 3: ch += *source++; ch <<= 6;
  2894. ^~~~
  2895. generator.c:150:41: warning: this statement may fall through [-Wimplicit-fallthrough=]
  2896. case 3: ch += *source++; ch <<= 6;
  2897. ~~~^~~~~
  2898. generator.c:151:13: note: here
  2899. case 2: ch += *source++; ch <<= 6;
  2900. ^~~~
  2901. generator.c:151:41: warning: this statement may fall through [-Wimplicit-fallthrough=]
  2902. case 2: ch += *source++; ch <<= 6;
  2903. ~~~^~~~~
  2904. generator.c:152:13: note: here
  2905. case 1: ch += *source++; ch <<= 6;
  2906. ^~~~
  2907. generator.c:152:41: warning: this statement may fall through [-Wimplicit-fallthrough=]
  2908. case 1: ch += *source++; ch <<= 6;
  2909. ~~~^~~~~
  2910. generator.c:153:13: note: here
  2911. case 0: ch += *source++;
  2912. ^~~~
  2913. generator.c: In function ‘isLegalUTF8’:
  2914. generator.c:86:46: warning: this statement may fall through [-Wimplicit-fallthrough=]
  2915. case 4: if ((a = (*--srcptr)) < 0x80 || a > 0xBF) return 0;
  2916. ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
  2917. generator.c:87:9: note: here
  2918. case 3: if ((a = (*--srcptr)) < 0x80 || a > 0xBF) return 0;
  2919. ^~~~
  2920. generator.c:87:46: warning: this statement may fall through [-Wimplicit-fallthrough=]
  2921. case 3: if ((a = (*--srcptr)) < 0x80 || a > 0xBF) return 0;
  2922. ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
  2923. generator.c:88:9: note: here
  2924. case 2: if ((a = (*--srcptr)) > 0xBF) return 0;
  2925. ^~~~
  2926. generator.c:90:21: warning: this statement may fall through [-Wimplicit-fallthrough=]
  2927. switch (*source) {
  2928. ^~~~~~
  2929. generator.c:99:9: note: here
  2930. case 1: if (*source >= 0x80 && *source < 0xC2) return 0;
  2931. ^~~~
  2932. make[2]: Entering directory '/tmp/ruby-build.20181030160655.8597/ruby-2.3.8'
  2933. make[2]: warning: -j8 forced in submake: resetting jobserver mode.
  2934. compiling nkf.c
  2935. linking shared-object mathn/complex.so
  2936. installing default nkf libraries
  2937. linking shared-object mathn/rational.so
  2938. parser.c: In function ‘cParser_parse_quirks_mode’:
  2939. parser.c:1968:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
  2940. if ( ++p == pe )
  2941. ^
  2942. parser.c:1970:1: note: here
  2943. case 1:
  2944. ^~~~
  2945. parser.rl:803:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
  2946. begin_value >parse_value
  2947. ^
  2948. parser.rl:805:1: note: here
  2949. }%%
  2950. ^~~
  2951. parser.c:2015:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
  2952. if ( ++p == pe )
  2953. ^
  2954. parser.c:2017:1: note: here
  2955. case 2:
  2956. ^~~~
  2957. parser.c:2024:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
  2958. if ( ++p == pe )
  2959. ^
  2960. parser.c:2026:1: note: here
  2961. case 3:
  2962. ^~~~
  2963. parser.c:2031:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
  2964. if ( ++p == pe )
  2965. ^
  2966. parser.c:2033:1: note: here
  2967. case 4:
  2968. ^~~~
  2969. parser.c:2040:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
  2970. if ( ++p == pe )
  2971. ^
  2972. parser.c:2042:1: note: here
  2973. case 5:
  2974. ^~~~
  2975. parser.c:2047:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
  2976. if ( ++p == pe )
  2977. ^
  2978. parser.c:2049:1: note: here
  2979. case 6:
  2980. ^~~~
  2981. parser.c:2056:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
  2982. if ( ++p == pe )
  2983. ^
  2984. parser.c:2058:1: note: here
  2985. case 7:
  2986. ^~~~
  2987. parser.c:2063:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
  2988. if ( ++p == pe )
  2989. ^
  2990. parser.c:2065:1: note: here
  2991. case 8:
  2992. ^~~~
  2993. parser.c:2072:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
  2994. if ( ++p == pe )
  2995. ^
  2996. parser.c:2074:1: note: here
  2997. case 9:
  2998. ^~~~
  2999. parser.c: In function ‘JSON_parse_value’:
  3000. parser.rl:227:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
  3001. *result = CNaN;
  3002. ^
  3003. parser.rl:229:1: note: here
  3004. rb_enc_raise(EXC_ENCODING eParserError, "%u: unexpected token at '%s'", __LINE__, p - 2);
  3005. ^
  3006. parser.c:630:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
  3007. if ( ++p == pe )
  3008. ^
  3009. parser.c:632:1: note: here
  3010. case 2:
  3011. ^~~~
  3012. parser.c:637:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
  3013. if ( ++p == pe )
  3014. ^
  3015. parser.c:639:1: note: here
  3016. case 3:
  3017. ^~~~
  3018. parser.c:644:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
  3019. if ( ++p == pe )
  3020. ^
  3021. parser.c:646:1: note: here
  3022. case 4:
  3023. ^~~~
  3024. parser.c:651:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
  3025. if ( ++p == pe )
  3026. ^
  3027. parser.c:653:1: note: here
  3028. case 5:
  3029. ^~~~
  3030. parser.c:658:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
  3031. if ( ++p == pe )
  3032. ^
  3033. parser.c:660:1: note: here
  3034. case 6:
  3035. ^~~~
  3036. parser.c:665:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
  3037. if ( ++p == pe )
  3038. ^
  3039. parser.c:667:1: note: here
  3040. case 7:
  3041. ^~~~
  3042. parser.c:672:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
  3043. if ( ++p == pe )
  3044. ^
  3045. parser.c:674:1: note: here
  3046. case 8:
  3047. ^~~~
  3048. parser.c:679:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
  3049. if ( ++p == pe )
  3050. ^
  3051. parser.c:681:1: note: here
  3052. case 9:
  3053. ^~~~
  3054. parser.c:686:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
  3055. if ( ++p == pe )
  3056. ^
  3057. parser.c:688:1: note: here
  3058. case 10:
  3059. ^~~~
  3060. parser.c:693:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
  3061. if ( ++p == pe )
  3062. ^
  3063. parser.c:695:1: note: here
  3064. case 11:
  3065. ^~~~
  3066. parser.c:700:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
  3067. if ( ++p == pe )
  3068. ^
  3069. parser.c:702:1: note: here
  3070. case 12:
  3071. ^~~~
  3072. parser.c:707:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
  3073. if ( ++p == pe )
  3074. ^
  3075. parser.c:709:1: note: here
  3076. case 13:
  3077. ^~~~
  3078. parser.c:714:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
  3079. if ( ++p == pe )
  3080. ^
  3081. parser.c:716:1: note: here
  3082. case 14:
  3083. ^~~~
  3084. parser.c:721:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
  3085. if ( ++p == pe )
  3086. ^
  3087. parser.c:723:1: note: here
  3088. case 15:
  3089. ^~~~
  3090. parser.c:728:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
  3091. if ( ++p == pe )
  3092. ^
  3093. parser.c:730:1: note: here
  3094. case 16:
  3095. ^~~~
  3096. parser.c:735:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
  3097. if ( ++p == pe )
  3098. ^
  3099. parser.c:737:1: note: here
  3100. case 17:
  3101. ^~~~
  3102. parser.c:742:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
  3103. if ( ++p == pe )
  3104. ^
  3105. parser.c:744:1: note: here
  3106. case 18:
  3107. ^~~~
  3108. parser.c:749:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
  3109. if ( ++p == pe )
  3110. ^
  3111. parser.c:751:1: note: here
  3112. case 19:
  3113. ^~~~
  3114. parser.c:756:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
  3115. if ( ++p == pe )
  3116. ^
  3117. parser.c:758:1: note: here
  3118. case 20:
  3119. ^~~~
  3120. parser.c: In function ‘JSON_parse_string’:
  3121. parser.c:1447:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
  3122. if ( ++p == pe )
  3123. ^
  3124. parser.c:1449:1: note: here
  3125. case 2:
  3126. ^~~~
  3127. parser.c:1479:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
  3128. if ( ++p == pe )
  3129. ^
  3130. parser.c:1481:1: note: here
  3131. case 3:
  3132. ^~~~
  3133. parser.c:1488:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
  3134. if ( ++p == pe )
  3135. ^
  3136. parser.c:1490:1: note: here
  3137. case 4:
  3138. ^~~~
  3139. parser.c:1501:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
  3140. if ( ++p == pe )
  3141. ^
  3142. parser.c:1503:1: note: here
  3143. case 5:
  3144. ^~~~
  3145. parser.c:1514:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
  3146. if ( ++p == pe )
  3147. ^
  3148. parser.c:1516:1: note: here
  3149. case 6:
  3150. ^~~~
  3151. parser.c:1527:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
  3152. if ( ++p == pe )
  3153. ^
  3154. parser.c:1529:1: note: here
  3155. case 7:
  3156. ^~~~
  3157. parser.c: In function ‘JSON_parse_array’:
  3158. parser.c:1106:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
  3159. if ( ++p == pe )
  3160. ^
  3161. parser.c:1108:1: note: here
  3162. case 2:
  3163. ^~~~
  3164. parser.rl:394:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
  3165.  
  3166. ^
  3167. parser.rl:396:1: note: here
  3168.  
  3169. ^
  3170. parser.c:1163:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
  3171. if ( ++p == pe )
  3172. ^
  3173. parser.c:1165:1: note: here
  3174. case 4:
  3175. ^~~~
  3176. parser.c:1187:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
  3177. if ( ++p == pe )
  3178. ^
  3179. parser.c:1189:1: note: here
  3180. case 5:
  3181. ^~~~
  3182. parser.c:1196:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
  3183. if ( ++p == pe )
  3184. ^
  3185. parser.c:1198:1: note: here
  3186. case 6:
  3187. ^~~~
  3188. parser.c:1203:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
  3189. if ( ++p == pe )
  3190. ^
  3191. parser.c:1205:1: note: here
  3192. case 7:
  3193. ^~~~
  3194. parser.c:1212:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
  3195. if ( ++p == pe )
  3196. ^
  3197. parser.c:1214:1: note: here
  3198. case 8:
  3199. ^~~~
  3200. parser.c:1219:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
  3201. if ( ++p == pe )
  3202. ^
  3203. parser.c:1221:1: note: here
  3204. case 9:
  3205. ^~~~
  3206. parser.c:1228:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
  3207. if ( ++p == pe )
  3208. ^
  3209. parser.c:1230:1: note: here
  3210. case 10:
  3211. ^~~~
  3212. parser.c:1235:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
  3213. if ( ++p == pe )
  3214. ^
  3215. parser.c:1237:1: note: here
  3216. case 11:
  3217. ^~~~
  3218. parser.c:1244:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
  3219. if ( ++p == pe )
  3220. ^
  3221. parser.c:1246:1: note: here
  3222. case 12:
  3223. ^~~~
  3224. parser.c:1261:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
  3225. if ( ++p == pe )
  3226. ^
  3227. parser.c:1263:1: note: here
  3228. case 13:
  3229. ^~~~
  3230. parser.c:1270:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
  3231. if ( ++p == pe )
  3232. ^
  3233. parser.c:1272:1: note: here
  3234. case 14:
  3235. ^~~~
  3236. parser.c:1277:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
  3237. if ( ++p == pe )
  3238. ^
  3239. parser.c:1279:1: note: here
  3240. case 15:
  3241. ^~~~
  3242. parser.c:1286:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
  3243. if ( ++p == pe )
  3244. ^
  3245. parser.c:1288:1: note: here
  3246. case 16:
  3247. ^~~~
  3248. parser.c: In function ‘JSON_parse_object’:
  3249. parser.c:156:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
  3250. if ( ++p == pe )
  3251. ^
  3252. parser.c:158:1: note: here
  3253. case 2:
  3254. ^~~~
  3255. parser.rl:162:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
  3256.  
  3257. ^
  3258. parser.rl:164:1: note: here
  3259. next_pair = ignore* value_separator pair;
  3260. ^
  3261. parser.c:194:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
  3262. if ( ++p == pe )
  3263. ^
  3264. parser.c:196:1: note: here
  3265. case 4:
  3266. ^~~~
  3267. parser.c:203:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
  3268. if ( ++p == pe )
  3269. ^
  3270. parser.c:205:1: note: here
  3271. case 5:
  3272. ^~~~
  3273. parser.c:210:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
  3274. if ( ++p == pe )
  3275. ^
  3276. parser.c:212:1: note: here
  3277. case 6:
  3278. ^~~~
  3279. parser.c:219:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
  3280. if ( ++p == pe )
  3281. ^
  3282. parser.c:221:1: note: here
  3283. case 7:
  3284. ^~~~
  3285. parser.c:226:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
  3286. if ( ++p == pe )
  3287. ^
  3288. parser.c:228:1: note: here
  3289. case 8:
  3290. ^~~~
  3291. parser.rl:154:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
  3292. char *np;
  3293. ^
  3294. parser.rl:156:1: note: here
  3295. np = JSON_parse_string(json, fpc, pe, &last_name);
  3296. ^
  3297. parser.c:282:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
  3298. if ( ++p == pe )
  3299. ^
  3300. parser.c:284:1: note: here
  3301. case 10:
  3302. ^~~~
  3303. parser.c:295:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
  3304. if ( ++p == pe )
  3305. ^
  3306. parser.c:297:1: note: here
  3307. case 11:
  3308. ^~~~
  3309. parser.c:304:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
  3310. if ( ++p == pe )
  3311. ^
  3312. parser.c:306:1: note: here
  3313. case 12:
  3314. ^~~~
  3315. parser.c:311:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
  3316. if ( ++p == pe )
  3317. ^
  3318. parser.c:313:1: note: here
  3319. case 13:
  3320. ^~~~
  3321. parser.c:320:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
  3322. if ( ++p == pe )
  3323. ^
  3324. parser.c:322:1: note: here
  3325. case 14:
  3326. ^~~~
  3327. parser.c:327:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
  3328. if ( ++p == pe )
  3329. ^
  3330. parser.c:329:1: note: here
  3331. case 15:
  3332. ^~~~
  3333. parser.c:336:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
  3334. if ( ++p == pe )
  3335. ^
  3336. parser.c:338:1: note: here
  3337. case 16:
  3338. ^~~~
  3339. parser.c:343:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
  3340. if ( ++p == pe )
  3341. ^
  3342. parser.c:345:1: note: here
  3343. case 17:
  3344. ^~~~
  3345. parser.c:352:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
  3346. if ( ++p == pe )
  3347. ^
  3348. parser.c:354:1: note: here
  3349. case 18:
  3350. ^~~~
  3351. parser.c:369:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
  3352. if ( ++p == pe )
  3353. ^
  3354. parser.c:371:1: note: here
  3355. case 19:
  3356. ^~~~
  3357. parser.c:378:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
  3358. if ( ++p == pe )
  3359. ^
  3360. parser.c:380:1: note: here
  3361. case 20:
  3362. ^~~~
  3363. parser.c:385:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
  3364. if ( ++p == pe )
  3365. ^
  3366. parser.c:387:1: note: here
  3367. case 21:
  3368. ^~~~
  3369. parser.c:394:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
  3370. if ( ++p == pe )
  3371. ^
  3372. parser.c:396:1: note: here
  3373. case 22:
  3374. ^~~~
  3375. parser.c:401:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
  3376. if ( ++p == pe )
  3377. ^
  3378. parser.c:403:1: note: here
  3379. case 23:
  3380. ^~~~
  3381. parser.c:410:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
  3382. if ( ++p == pe )
  3383. ^
  3384. parser.c:412:1: note: here
  3385. case 24:
  3386. ^~~~
  3387. parser.c:417:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
  3388. if ( ++p == pe )
  3389. ^
  3390. parser.c:419:1: note: here
  3391. case 25:
  3392. ^~~~
  3393. parser.c:426:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
  3394. if ( ++p == pe )
  3395. ^
  3396. parser.c:428:1: note: here
  3397. case 26:
  3398. ^~~~
  3399. parser.c: In function ‘JSON_parse_float’:
  3400. parser.c:939:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
  3401. if ( ++p == pe )
  3402. ^
  3403. parser.c:941:1: note: here
  3404. case 2:
  3405. ^~~~
  3406. parser.c:948:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
  3407. if ( ++p == pe )
  3408. ^
  3409. parser.c:950:1: note: here
  3410. case 3:
  3411. ^~~~
  3412. parser.c:958:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
  3413. if ( ++p == pe )
  3414. ^
  3415. parser.c:960:1: note: here
  3416. case 4:
  3417. ^~~~
  3418. parser.c:965:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
  3419. if ( ++p == pe )
  3420. ^
  3421. parser.c:967:1: note: here
  3422. case 8:
  3423. ^~~~
  3424. parser.c:989:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
  3425. if ( ++p == pe )
  3426. ^
  3427. parser.c:991:1: note: here
  3428. case 5:
  3429. ^~~~
  3430. parser.c:1000:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
  3431. if ( ++p == pe )
  3432. ^
  3433. parser.c:1002:1: note: here
  3434. case 6:
  3435. ^~~~
  3436. parser.c:1007:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
  3437. if ( ++p == pe )
  3438. ^
  3439. parser.c:1009:1: note: here
  3440. case 10:
  3441. ^~~~
  3442. parser.c:1021:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
  3443. if ( ++p == pe )
  3444. ^
  3445. parser.c:1023:1: note: here
  3446. case 7:
  3447. ^~~~
  3448. parser.c: In function ‘JSON_parse_integer’:
  3449. parser.c:840:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
  3450. if ( ++p == pe )
  3451. ^
  3452. parser.c:842:1: note: here
  3453. case 2:
  3454. ^~~~
  3455. parser.c:849:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
  3456. if ( ++p == pe )
  3457. ^
  3458. parser.c:851:1: note: here
  3459. case 3:
  3460. ^~~~
  3461. parser.c:866:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
  3462. if ( ++p == pe )
  3463. ^
  3464. parser.c:868:1: note: here
  3465. case 5:
  3466. ^~~~
  3467. parser.c: In function ‘cParser_parse_strict’:
  3468. parser.c:1794:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
  3469. if ( ++p == pe )
  3470. ^
  3471. parser.c:1796:1: note: here
  3472. case 1:
  3473. ^~~~
  3474. parser.c:1811:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
  3475. if ( ++p == pe )
  3476. ^
  3477. parser.c:1813:1: note: here
  3478. case 2:
  3479. ^~~~
  3480. parser.c:1820:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
  3481. if ( ++p == pe )
  3482. ^
  3483. parser.c:1822:1: note: here
  3484. case 3:
  3485. ^~~~
  3486. parser.c:1827:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
  3487. if ( ++p == pe )
  3488. ^
  3489. parser.c:1829:1: note: here
  3490. case 4:
  3491. ^~~~
  3492. parser.c:1836:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
  3493. if ( ++p == pe )
  3494. ^
  3495. parser.c:1838:1: note: here
  3496. case 5:
  3497. ^~~~
  3498. parser.rl:757:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
  3499. char *np;
  3500. ^
  3501. parser.rl:759:1: note: here
  3502. np = JSON_parse_array(json, fpc, pe, &result);
  3503. ^
  3504. parser.c:1874:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
  3505. if ( ++p == pe )
  3506. ^
  3507. parser.c:1876:1: note: here
  3508. case 6:
  3509. ^~~~
  3510. parser.c:1883:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
  3511. if ( ++p == pe )
  3512. ^
  3513. parser.c:1885:1: note: here
  3514. case 7:
  3515. ^~~~
  3516. parser.c:1890:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
  3517. if ( ++p == pe )
  3518. ^
  3519. parser.c:1892:1: note: here
  3520. case 8:
  3521. ^~~~
  3522. parser.c:1899:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
  3523. if ( ++p == pe )
  3524. ^
  3525. parser.c:1901:1: note: here
  3526. case 9:
  3527. ^~~~
  3528. make[2]: Leaving directory '/tmp/ruby-build.20181030160655.8597/ruby-2.3.8/ext/mathn/complex'
  3529. make[2]: Entering directory '/tmp/ruby-build.20181030160655.8597/ruby-2.3.8'
  3530. make[2]: warning: -j8 forced in submake: resetting jobserver mode.
  3531. make[2]: Leaving directory '/tmp/ruby-build.20181030160655.8597/ruby-2.3.8/ext/mathn/rational'
  3532. make[2]: Leaving directory '/tmp/ruby-build.20181030160655.8597/ruby-2.3.8/ext/fiddle'
  3533. compiling object_tracing.c
  3534. make[2]: Entering directory '/tmp/ruby-build.20181030160655.8597/ruby-2.3.8'
  3535. make[2]: warning: -j8 forced in submake: resetting jobserver mode.
  3536. compiling objspace.c
  3537. make[2]: Entering directory '/tmp/ruby-build.20181030160655.8597/ruby-2.3.8'
  3538. make[2]: warning: -j8 forced in submake: resetting jobserver mode.
  3539. compiling openssl_missing.c
  3540. compiling ossl.c
  3541. compiling pathname.c
  3542. compiling ossl_asn1.c
  3543. installing default pathname libraries
  3544. compiling objspace_dump.c
  3545. compiling ossl_bio.c
  3546. compiling ossl_bn.c
  3547. compiling ossl_cipher.c
  3548. compiling ossl_config.c
  3549. compiling ossl_digest.c
  3550. In file included from nkf.c:62:
  3551. nkf-utf8/nkf.c: In function ‘module_connection’:
  3552. nkf-utf8/nkf.c:5710:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
  3553. if (nkf_enc_unicode_p(output_encoding))
  3554. ^~
  3555. nkf-utf8/nkf.c:5713:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
  3556. if (x0201_f == NKF_UNSPECIFIED) {
  3557. ^~
  3558. nkf-utf8/nkf.c: In function ‘options’:
  3559. nkf-utf8/nkf.c:6807:22: warning: this statement may fall through [-Wimplicit-fallthrough=]
  3560. fold_preserve_f = TRUE;
  3561. nkf-utf8/nkf.c:6808:2: note: here
  3562. case 'f': /* folding -f60 or -f */
  3563. ^~~~
  3564. In file included from nkf.c:62:
  3565. nkf-utf8/nkf.c: In function ‘set_input_encoding’:
  3566. nkf-utf8/nkf.c:1238:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
  3567. if (x0201_f == NKF_UNSPECIFIED) x0201_f = FALSE; /* -x specified implicitly */
  3568. ^
  3569. nkf-utf8/nkf.c:1239:5: note: here
  3570. case CP50220:
  3571. ^~~~
  3572. In file included from objspace.c:15:
  3573. ../../internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  3574. #if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
  3575. ^
  3576. ../../internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  3577. In file included from openssl_missing.c:21:
  3578. openssl_missing.h:78:35: error: macro "EVP_MD_CTX_create" passed 1 arguments, but takes just 0
  3579. EVP_MD_CTX *EVP_MD_CTX_create(void);
  3580. ^
  3581. In file included from /usr/include/openssl/x509.h:18,
  3582. from /usr/include/openssl/x509_vfy.h:17,
  3583. from openssl_missing.c:15:
  3584. openssl_missing.h:82:6: error: expected declaration specifiers or ‘...’ before ‘(’ token
  3585. void EVP_MD_CTX_init(EVP_MD_CTX *ctx);
  3586. ^~~~~~~~~~~~~~~
  3587. openssl_missing.h:90:6: error: expected declaration specifiers or ‘...’ before ‘(’ token
  3588. void EVP_MD_CTX_destroy(EVP_MD_CTX *ctx);
  3589. ^~~~~~~~~~~~~~~~~~
  3590. openssl_missing.c:39:23: error: macro "EVP_MD_CTX_create" passed 1 arguments, but takes just 0
  3591. EVP_MD_CTX_create(void)
  3592. ^
  3593. openssl_missing.c:40:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
  3594. {
  3595. ^
  3596. openssl_missing.c: In function ‘EVP_MD_CTX_cleanup’:
  3597. openssl_missing.c:55:27: error: invalid application of ‘sizeof’ to incomplete type ‘EVP_MD_CTX’ {aka ‘struct evp_md_ctx_st’}
  3598. memset(ctx, 0, sizeof(EVP_MD_CTX));
  3599. ^~~~~~~~~~
  3600. In file included from /usr/include/openssl/x509.h:18,
  3601. from /usr/include/openssl/x509_vfy.h:17,
  3602. from openssl_missing.c:15:
  3603. openssl_missing.c: At top level:
  3604. openssl_missing.c:63:1: error: expected declaration specifiers or ‘...’ before ‘(’ token
  3605. EVP_MD_CTX_destroy(EVP_MD_CTX *ctx)
  3606. ^~~~~~~~~~~~~~~~~~
  3607. openssl_missing.c:72:1: error: expected declaration specifiers or ‘...’ before ‘(’ token
  3608. EVP_MD_CTX_init(EVP_MD_CTX *ctx)
  3609. ^~~~~~~~~~~~~~~
  3610. openssl_missing.c: In function ‘HMAC_CTX_init’:
  3611. openssl_missing.c:82:25: error: dereferencing pointer to incomplete type ‘HMAC_CTX’ {aka ‘struct hmac_ctx_st’}
  3612. EVP_MD_CTX_init(&ctx->i_ctx);
  3613. ^~
  3614. openssl_missing.c: In function ‘HMAC_CTX_cleanup’:
  3615. openssl_missing.c:95:27: error: invalid application of ‘sizeof’ to incomplete type ‘HMAC_CTX’ {aka ‘struct hmac_ctx_st’}
  3616. memset(ctx, 0, sizeof(HMAC_CTX));
  3617. ^~~~~~~~
  3618. make[2]: *** [Makefile:301: openssl_missing.o] Error 1
  3619. make[2]: *** Waiting for unfinished jobs....
  3620. In file included from object_tracing.c:16:
  3621. ../../internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  3622. #if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
  3623. ^
  3624. ../../internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  3625. In file included from ossl.h:57,
  3626. from ossl.c:10:
  3627. /usr/include/openssl/asn1_mac.h:10:2: error: #error "This file is obsolete; please update your software."
  3628. #error "This file is obsolete; please update your software."
  3629. ^~~~~
  3630. In file included from objspace_dump.c:15:
  3631. ../../internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  3632. #if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
  3633. ^
  3634. ../../internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  3635. In file included from ossl.h:57,
  3636. from ossl_bio.c:10:
  3637. /usr/include/openssl/asn1_mac.h:10:2: error: #error "This file is obsolete; please update your software."
  3638. #error "This file is obsolete; please update your software."
  3639. ^~~~~
  3640. linking shared-object json/ext/parser.so
  3641. In file included from ossl.h:57,
  3642. from ossl_bn.c:11:
  3643. /usr/include/openssl/asn1_mac.h:10:2: error: #error "This file is obsolete; please update your software."
  3644. #error "This file is obsolete; please update your software."
  3645. ^~~~~
  3646. In file included from ossl.h:57,
  3647. from ossl_cipher.c:10:
  3648. /usr/include/openssl/asn1_mac.h:10:2: error: #error "This file is obsolete; please update your software."
  3649. #error "This file is obsolete; please update your software."
  3650. ^~~~~
  3651. In file included from ossl.h:222,
  3652. from ossl.c:10:
  3653. openssl_missing.h:78:35: error: macro "EVP_MD_CTX_create" passed 1 arguments, but takes just 0
  3654. EVP_MD_CTX *EVP_MD_CTX_create(void);
  3655. ^
  3656. In file included from /usr/include/openssl/x509.h:18,
  3657. from /usr/include/openssl/x509v3.h:14,
  3658. from ossl.h:58,
  3659. from ossl.c:10:
  3660. openssl_missing.h:82:6: error: expected declaration specifiers or ‘...’ before ‘(’ token
  3661. void EVP_MD_CTX_init(EVP_MD_CTX *ctx);
  3662. ^~~~~~~~~~~~~~~
  3663. openssl_missing.h:90:6: error: expected declaration specifiers or ‘...’ before ‘(’ token
  3664. void EVP_MD_CTX_destroy(EVP_MD_CTX *ctx);
  3665. ^~~~~~~~~~~~~~~~~~
  3666. In file included from ossl.h:236,
  3667. from ossl.c:10:
  3668. ossl_pkey.h:45:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  3669. #if HAVE_BN_GENCB
  3670. ^~~~~~~~~~~~~
  3671. ossl_pkey.h:45:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  3672. ossl_pkey.h:45:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  3673. ossl.c: In function ‘ossl_protect_x509_ary2sk’:
  3674. ossl.c:80:6: warning: cast between incompatible function types from ‘struct stack_st_X509 * (*)(VALUE)’ {aka ‘struct stack_st_X509 * (*)(long unsigned int)’} to ‘VALUE (*)(VALUE)’ {aka ‘long unsigned int (*)(long unsigned int)’} [-Wcast-function-type]
  3675. (VALUE(*)_((VALUE)))ossl_##name##_ary2sk0, \
  3676. ^
  3677. ossl.c:96:1: note: in expansion of macro ‘OSSL_IMPL_ARY2SK’
  3678. OSSL_IMPL_ARY2SK(x509, X509, cX509Cert, DupX509CertPtr)
  3679. ^~~~~~~~~~~~~~~~
  3680. ossl.c: In function ‘ossl_buf2str’:
  3681. ossl.c:139:22: warning: cast between incompatible function types from ‘VALUE (*)(int)’ {aka ‘long unsigned int (*)(int)’} to ‘VALUE (*)(VALUE)’ {aka ‘long unsigned int (*)(long unsigned int)’} [-Wcast-function-type]
  3682. str = rb_protect((VALUE(*)_((VALUE)))ossl_str_new, len, &status);
  3683. ^
  3684. ossl.c: In function ‘ossl_verify_cb’:
  3685. ossl.c:220:42: error: dereferencing pointer to incomplete type ‘X509_STORE_CTX’ {aka ‘struct x509_store_ctx_st’}
  3686. proc = (VALUE)X509_STORE_get_ex_data(ctx->ctx, ossl_store_ex_verify_cb_idx);
  3687. ^~
  3688. ossl.c:225:20: warning: cast between incompatible function types from ‘VALUE (*)(X509_STORE_CTX *)’ {aka ‘long unsigned int (*)(struct x509_store_ctx_st *)’} to ‘VALUE (*)(VALUE)’ {aka ‘long unsigned int (*)(long unsigned int)’} [-Wcast-function-type]
  3689. rctx = rb_protect((VALUE(*)(VALUE))ossl_x509stctx_new,
  3690. ^
  3691. ossl.c:235:23: warning: cast between incompatible function types from ‘VALUE (*)(struct ossl_verify_cb_args *)’ {aka ‘long unsigned int (*)(struct ossl_verify_cb_args *)’} to ‘VALUE (*)(VALUE)’ {aka ‘long unsigned int (*)(long unsigned int)’} [-Wcast-function-type]
  3692. ret = rb_protect((VALUE(*)(VALUE))ossl_call_verify_cb_proc, (VALUE)&args, &state);
  3693. ^
  3694. At top level:
  3695. ossl.c:545:1: warning: ‘ossl_lock_callback’ defined but not used [-Wunused-function]
  3696. ossl_lock_callback(int mode, int type, const char *file, int line)
  3697. ^~~~~~~~~~~~~~~~~~
  3698. ossl.c:535:22: warning: ‘ossl_thread_id’ defined but not used [-Wunused-function]
  3699. static unsigned long ossl_thread_id(void)
  3700. ^~~~~~~~~~~~~~
  3701. ossl.c:522:1: warning: ‘ossl_dyn_destroy_callback’ defined but not used [-Wunused-function]
  3702. ossl_dyn_destroy_callback(struct CRYPTO_dynlock_value *l, const char *file, int line)
  3703. ^~~~~~~~~~~~~~~~~~~~~~~~~
  3704. ossl.c:516:1: warning: ‘ossl_dyn_lock_callback’ defined but not used [-Wunused-function]
  3705. ossl_dyn_lock_callback(int mode, struct CRYPTO_dynlock_value *l, const char *file, int line)
  3706. ^~~~~~~~~~~~~~~~~~~~~~
  3707. ossl.c:504:1: warning: ‘ossl_dyn_create_callback’ defined but not used [-Wunused-function]
  3708. ossl_dyn_create_callback(const char *file, int line)
  3709. ^~~~~~~~~~~~~~~~~~~~~~~~
  3710. make[2]: *** [Makefile:301: ossl.o] Error 1
  3711. In file included from ossl.h:57,
  3712. from ossl_asn1.c:10:
  3713. /usr/include/openssl/asn1_mac.h:10:2: error: #error "This file is obsolete; please update your software."
  3714. #error "This file is obsolete; please update your software."
  3715. ^~~~~
  3716. In file included from ossl.h:57,
  3717. from ossl_config.c:10:
  3718. /usr/include/openssl/asn1_mac.h:10:2: error: #error "This file is obsolete; please update your software."
  3719. #error "This file is obsolete; please update your software."
  3720. ^~~~~
  3721. make[2]: Leaving directory '/tmp/ruby-build.20181030160655.8597/ruby-2.3.8/ext/json/parser'
  3722. make[2]: Entering directory '/tmp/ruby-build.20181030160655.8597/ruby-2.3.8'
  3723. make[2]: warning: -j8 forced in submake: resetting jobserver mode.
  3724. compiling psych.c
  3725. In file included from ossl.h:222,
  3726. from ossl_bn.c:11:
  3727. openssl_missing.h:78:35: error: macro "EVP_MD_CTX_create" passed 1 arguments, but takes just 0
  3728. EVP_MD_CTX *EVP_MD_CTX_create(void);
  3729. ^
  3730. In file included from /usr/include/openssl/x509.h:18,
  3731. from /usr/include/openssl/x509v3.h:14,
  3732. from ossl.h:58,
  3733. from ossl_bn.c:11:
  3734. openssl_missing.h:82:6: error: expected declaration specifiers or ‘...’ before ‘(’ token
  3735. void EVP_MD_CTX_init(EVP_MD_CTX *ctx);
  3736. ^~~~~~~~~~~~~~~
  3737. openssl_missing.h:90:6: error: expected declaration specifiers or ‘...’ before ‘(’ token
  3738. void EVP_MD_CTX_destroy(EVP_MD_CTX *ctx);
  3739. ^~~~~~~~~~~~~~~~~~
  3740. In file included from ossl.h:236,
  3741. from ossl_bn.c:11:
  3742. ossl_pkey.h:45:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  3743. #if HAVE_BN_GENCB
  3744. ^~~~~~~~~~~~~
  3745. ossl_pkey.h:45:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  3746. ossl_pkey.h:45:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  3747. ossl_bn.c: In function ‘ossl_bn_size’:
  3748. ossl_bn.c:43:19: error: invalid application of ‘sizeof’ to incomplete type ‘BIGNUM’ {aka ‘struct bignum_st’}
  3749. return sizeof(BIGNUM);
  3750. ^~~~~~
  3751. In file included from ossl.h:222,
  3752. from ossl_bio.c:10:
  3753. openssl_missing.h:78:35: error: macro "EVP_MD_CTX_create" passed 1 arguments, but takes just 0
  3754. EVP_MD_CTX *EVP_MD_CTX_create(void);
  3755. ^
  3756. In file included from /usr/include/openssl/x509.h:18,
  3757. from /usr/include/openssl/x509v3.h:14,
  3758. from ossl.h:58,
  3759. from ossl_bio.c:10:
  3760. openssl_missing.h:82:6: error: expected declaration specifiers or ‘...’ before ‘(’ token
  3761. void EVP_MD_CTX_init(EVP_MD_CTX *ctx);
  3762. ^~~~~~~~~~~~~~~
  3763. openssl_missing.h:90:6: error: expected declaration specifiers or ‘...’ before ‘(’ token
  3764. void EVP_MD_CTX_destroy(EVP_MD_CTX *ctx);
  3765. ^~~~~~~~~~~~~~~~~~
  3766. In file included from ossl.h:236,
  3767. from ossl_bio.c:10:
  3768. ossl_pkey.h:45:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  3769. #if HAVE_BN_GENCB
  3770. ^~~~~~~~~~~~~
  3771. ossl_pkey.h:45:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  3772. ossl_pkey.h:45:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  3773. ossl_bio.c: In function ‘ossl_protect_membio2str’:
  3774. ossl_bio.c:47:23: warning: cast between incompatible function types from ‘VALUE (*)(BIO *)’ {aka ‘long unsigned int (*)(struct bio_st *)’} to ‘VALUE (*)(VALUE)’ {aka ‘long unsigned int (*)(long unsigned int)’} [-Wcast-function-type]
  3775. return rb_protect((VALUE(*)_((VALUE)))ossl_membio2str0, (VALUE)bio, status);
  3776. ^
  3777. ossl_bn.c: In function ‘ossl_bn_s_generate_prime’:
  3778. ossl_bn.c:775:5: warning: ‘BN_generate_prime’ is deprecated [-Wdeprecated-declarations]
  3779. if (!BN_generate_prime(result, num, safe, add, rem, NULL, NULL)) {
  3780. ^~
  3781. In file included from /usr/include/openssl/e_os2.h:13,
  3782. from /usr/include/openssl/err.h:13,
  3783. from ossl.h:56,
  3784. from ossl_bn.c:11:
  3785. /usr/include/openssl/bn.h:326:1: note: declared here
  3786. DEPRECATEDIN_0_9_8(BIGNUM *BN_generate_prime(BIGNUM *ret, int bits, int safe,
  3787. ^~~~~~~~~~~~~~~~~~
  3788. ossl_bn.c: In function ‘ossl_bn_is_prime’:
  3789. ossl_bn.c:940:5: warning: ‘BN_is_prime’ is deprecated [-Wdeprecated-declarations]
  3790. switch (BN_is_prime(bn, checks, NULL, ossl_bn_ctx, NULL)) {
  3791. ^~~~~~
  3792. In file included from /usr/include/openssl/e_os2.h:13,
  3793. from /usr/include/openssl/err.h:13,
  3794. from ossl.h:56,
  3795. from ossl_bn.c:11:
  3796. /usr/include/openssl/bn.h:332:1: note: declared here
  3797. DEPRECATEDIN_0_9_8(int
  3798. ^~~~~~~~~~~~~~~~~~
  3799. ossl_bn.c: In function ‘ossl_bn_is_prime_fasttest’:
  3800. ossl_bn.c:979:5: warning: ‘BN_is_prime_fasttest’ is deprecated [-Wdeprecated-declarations]
  3801. switch (BN_is_prime_fasttest(bn, checks, NULL, ossl_bn_ctx, NULL, do_trial_division)) {
  3802. ^~~~~~
  3803. In file included from /usr/include/openssl/e_os2.h:13,
  3804. from /usr/include/openssl/err.h:13,
  3805. from ossl.h:56,
  3806. from ossl_bn.c:11:
  3807. /usr/include/openssl/bn.h:336:1: note: declared here
  3808. DEPRECATEDIN_0_9_8(int
  3809. ^~~~~~~~~~~~~~~~~~
  3810. ossl_bn.c: In function ‘ossl_bn_size’:
  3811. ossl_bn.c:44:1: warning: control reaches end of non-void function [-Wreturn-type]
  3812. }
  3813. ^
  3814. In file included from ossl.h:57,
  3815. from ossl_digest.c:10:
  3816. /usr/include/openssl/asn1_mac.h:10:2: error: #error "This file is obsolete; please update your software."
  3817. #error "This file is obsolete; please update your software."
  3818. ^~~~~
  3819. In file included from ossl.h:222,
  3820. from ossl_cipher.c:10:
  3821. openssl_missing.h:78:35: error: macro "EVP_MD_CTX_create" passed 1 arguments, but takes just 0
  3822. EVP_MD_CTX *EVP_MD_CTX_create(void);
  3823. ^
  3824. In file included from /usr/include/openssl/x509.h:18,
  3825. from /usr/include/openssl/x509v3.h:14,
  3826. from ossl.h:58,
  3827. from ossl_cipher.c:10:
  3828. openssl_missing.h:82:6: error: expected declaration specifiers or ‘...’ before ‘(’ token
  3829. void EVP_MD_CTX_init(EVP_MD_CTX *ctx);
  3830. ^~~~~~~~~~~~~~~
  3831. openssl_missing.h:90:6: error: expected declaration specifiers or ‘...’ before ‘(’ token
  3832. void EVP_MD_CTX_destroy(EVP_MD_CTX *ctx);
  3833. ^~~~~~~~~~~~~~~~~~
  3834. make[2]: *** [Makefile:301: ossl_bn.o] Error 1
  3835. In file included from ossl.h:236,
  3836. from ossl_cipher.c:10:
  3837. ossl_pkey.h:45:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  3838. #if HAVE_BN_GENCB
  3839. ^~~~~~~~~~~~~
  3840. ossl_pkey.h:45:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  3841. ossl_pkey.h:45:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  3842. In file included from ../.././include/ruby.h:33,
  3843. from ossl.h:30,
  3844. from ossl_cipher.c:10:
  3845. ossl_cipher.c: In function ‘ossl_cipher_new’:
  3846. ossl_cipher.c:17:37: error: invalid application of ‘sizeof’ to incomplete type ‘EVP_CIPHER_CTX’ {aka ‘struct evp_cipher_ctx_st’}
  3847. (DATA_PTR(obj) = (ctx) = ZALLOC(EVP_CIPHER_CTX))
  3848. ^~~~~~~~~~~~~~
  3849. ../.././include/ruby/ruby.h:1599:61: note: in definition of macro ‘RB_ZALLOC_N’
  3850. #define RB_ZALLOC_N(type,n) ((type*)ruby_xcalloc((n),sizeof(type)))
  3851. ^~~~
  3852. ../.././include/ruby/ruby.h:1606:22: note: in expansion of macro ‘RB_ZALLOC’
  3853. #define ZALLOC(type) RB_ZALLOC(type)
  3854. ^~~~~~~~~
  3855. ossl_cipher.c:17:30: note: in expansion of macro ‘ZALLOC’
  3856. (DATA_PTR(obj) = (ctx) = ZALLOC(EVP_CIPHER_CTX))
  3857. ^~~~~~
  3858. ossl_cipher.c:70:5: note: in expansion of macro ‘AllocCipher’
  3859. AllocCipher(ret, ctx);
  3860. ^~~~~~~~~~~
  3861. ossl_cipher.c: In function ‘ossl_cipher_memsize’:
  3862. ossl_cipher.c:95:19: error: dereferencing pointer to incomplete type ‘EVP_CIPHER_CTX’ {aka ‘const struct evp_cipher_ctx_st’}
  3863. return sizeof(*ctx);
  3864. ^~~~
  3865. In file included from ../.././include/ruby.h:33,
  3866. from ossl.h:30,
  3867. from ossl_cipher.c:10:
  3868. ossl_cipher.c: In function ‘ossl_cipher_initialize’:
  3869. ossl_cipher.c:17:37: error: invalid application of ‘sizeof’ to incomplete type ‘EVP_CIPHER_CTX’ {aka ‘struct evp_cipher_ctx_st’}
  3870. (DATA_PTR(obj) = (ctx) = ZALLOC(EVP_CIPHER_CTX))
  3871. ^~~~~~~~~~~~~~
  3872. ../.././include/ruby/ruby.h:1599:61: note: in definition of macro ‘RB_ZALLOC_N’
  3873. #define RB_ZALLOC_N(type,n) ((type*)ruby_xcalloc((n),sizeof(type)))
  3874. ^~~~
  3875. ../.././include/ruby/ruby.h:1606:22: note: in expansion of macro ‘RB_ZALLOC’
  3876. #define ZALLOC(type) RB_ZALLOC(type)
  3877. ^~~~~~~~~
  3878. ossl_cipher.c:17:30: note: in expansion of macro ‘ZALLOC’
  3879. (DATA_PTR(obj) = (ctx) = ZALLOC(EVP_CIPHER_CTX))
  3880. ^~~~~~
  3881. ossl_cipher.c:124:5: note: in expansion of macro ‘AllocCipher’
  3882. AllocCipher(self, ctx);
  3883. ^~~~~~~~~~~
  3884. ossl_cipher.c: In function ‘ossl_cipher_copy’:
  3885. ossl_cipher.c:17:37: error: invalid application of ‘sizeof’ to incomplete type ‘EVP_CIPHER_CTX’ {aka ‘struct evp_cipher_ctx_st’}
  3886. (DATA_PTR(obj) = (ctx) = ZALLOC(EVP_CIPHER_CTX))
  3887. ^~~~~~~~~~~~~~
  3888. ../.././include/ruby/ruby.h:1599:61: note: in definition of macro ‘RB_ZALLOC_N’
  3889. #define RB_ZALLOC_N(type,n) ((type*)ruby_xcalloc((n),sizeof(type)))
  3890. ^~~~
  3891. ../.././include/ruby/ruby.h:1606:22: note: in expansion of macro ‘RB_ZALLOC’
  3892. #define ZALLOC(type) RB_ZALLOC(type)
  3893. ^~~~~~~~~
  3894. ossl_cipher.c:17:30: note: in expansion of macro ‘ZALLOC’
  3895. (DATA_PTR(obj) = (ctx) = ZALLOC(EVP_CIPHER_CTX))
  3896. ^~~~~~
  3897. ossl_cipher.c:145:2: note: in expansion of macro ‘AllocCipher’
  3898. AllocCipher(self, ctx1);
  3899. ^~~~~~~~~~~
  3900. ossl_cipher.c: In function ‘ossl_s_ciphers’:
  3901. ossl_cipher.c:177:21: warning: cast between incompatible function types from ‘void * (*)(const OBJ_NAME *, VALUE)’ {aka ‘void * (*)(const struct obj_name_st *, long unsigned int)’} to ‘void (*)(const OBJ_NAME *, void *)’ {aka ‘void (*)(const struct obj_name_st *, void *)’} [-Wcast-function-type]
  3902. (void(*)(const OBJ_NAME*,void*))add_cipher_name_to_ary,
  3903. ^
  3904. make[2]: *** [Makefile:301: ossl_bio.o] Error 1
  3905. ossl_cipher.c: In function ‘ossl_cipher_memsize’:
  3906. ossl_cipher.c:96:1: warning: control reaches end of non-void function [-Wreturn-type]
  3907. }
  3908. ^
  3909. compiling psych_emitter.c
  3910. make[2]: *** [Makefile:301: ossl_cipher.o] Error 1
  3911. compiling psych_parser.c
  3912. linking shared-object json/ext/generator.so
  3913. linking shared-object objspace.so
  3914. compiling psych_to_ruby.c
  3915. In file included from ossl.h:222,
  3916. from ossl_asn1.c:10:
  3917. openssl_missing.h:78:35: error: macro "EVP_MD_CTX_create" passed 1 arguments, but takes just 0
  3918. EVP_MD_CTX *EVP_MD_CTX_create(void);
  3919. ^
  3920. In file included from /usr/include/openssl/x509.h:18,
  3921. from /usr/include/openssl/x509v3.h:14,
  3922. from ossl.h:58,
  3923. from ossl_asn1.c:10:
  3924. openssl_missing.h:82:6: error: expected declaration specifiers or ‘...’ before ‘(’ token
  3925. void EVP_MD_CTX_init(EVP_MD_CTX *ctx);
  3926. ^~~~~~~~~~~~~~~
  3927. openssl_missing.h:90:6: error: expected declaration specifiers or ‘...’ before ‘(’ token
  3928. void EVP_MD_CTX_destroy(EVP_MD_CTX *ctx);
  3929. ^~~~~~~~~~~~~~~~~~
  3930. In file included from ossl.h:236,
  3931. from ossl_asn1.c:10:
  3932. ossl_pkey.h:45:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  3933. #if HAVE_BN_GENCB
  3934. ^~~~~~~~~~~~~
  3935. ossl_pkey.h:45:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  3936. ossl_pkey.h:45:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  3937. compiling psych_yaml_tree.c
  3938. In file included from ossl.h:222,
  3939. from ossl_config.c:10:
  3940. openssl_missing.h:78:35: error: macro "EVP_MD_CTX_create" passed 1 arguments, but takes just 0
  3941. EVP_MD_CTX *EVP_MD_CTX_create(void);
  3942. ^
  3943. In file included from /usr/include/openssl/x509.h:18,
  3944. from /usr/include/openssl/x509v3.h:14,
  3945. from ossl.h:58,
  3946. from ossl_config.c:10:
  3947. openssl_missing.h:82:6: error: expected declaration specifiers or ‘...’ before ‘(’ token
  3948. void EVP_MD_CTX_init(EVP_MD_CTX *ctx);
  3949. ^~~~~~~~~~~~~~~
  3950. openssl_missing.h:90:6: error: expected declaration specifiers or ‘...’ before ‘(’ token
  3951. void EVP_MD_CTX_destroy(EVP_MD_CTX *ctx);
  3952. ^~~~~~~~~~~~~~~~~~
  3953. In file included from ossl.h:222,
  3954. from ossl_digest.c:10:
  3955. openssl_missing.h:78:35: error: macro "EVP_MD_CTX_create" passed 1 arguments, but takes just 0
  3956. EVP_MD_CTX *EVP_MD_CTX_create(void);
  3957. ^
  3958. In file included from /usr/include/openssl/x509.h:18,
  3959. from /usr/include/openssl/x509v3.h:14,
  3960. from ossl.h:58,
  3961. from ossl_digest.c:10:
  3962. openssl_missing.h:82:6: error: expected declaration specifiers or ‘...’ before ‘(’ token
  3963. void EVP_MD_CTX_init(EVP_MD_CTX *ctx);
  3964. ^~~~~~~~~~~~~~~
  3965. openssl_missing.h:90:6: error: expected declaration specifiers or ‘...’ before ‘(’ token
  3966. void EVP_MD_CTX_destroy(EVP_MD_CTX *ctx);
  3967. ^~~~~~~~~~~~~~~~~~
  3968. In file included from ossl.h:236,
  3969. from ossl_config.c:10:
  3970. ossl_pkey.h:45:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  3971. #if HAVE_BN_GENCB
  3972. ^~~~~~~~~~~~~
  3973. ossl_pkey.h:45:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  3974. ossl_pkey.h:45:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  3975. In file included from ossl.h:236,
  3976. from ossl_digest.c:10:
  3977. ossl_pkey.h:45:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  3978. #if HAVE_BN_GENCB
  3979. ^~~~~~~~~~~~~
  3980. ossl_pkey.h:45:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  3981. ossl_pkey.h:45:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  3982. ossl_asn1.c: In function ‘decode_bool’:
  3983. ossl_asn1.c:354:15: warning: implicit declaration of function ‘d2i_ASN1_BOOLEAN’; did you mean ‘V_ASN1_BOOLEAN’? [-Wimplicit-function-declaration]
  3984. if((val = d2i_ASN1_BOOLEAN(NULL, &p, length)) < 0)
  3985. ^~~~~~~~~~~~~~~~
  3986. V_ASN1_BOOLEAN
  3987. ossl_asn1.c: In function ‘decode_int’:
  3988. ossl_asn1.c:371:22: warning: cast between incompatible function types from ‘VALUE (*)(ASN1_INTEGER *)’ {aka ‘long unsigned int (*)(struct asn1_string_st *)’} to ‘VALUE (*)(VALUE)’ {aka ‘long unsigned int (*)(long unsigned int)’} [-Wcast-function-type]
  3989. ret = rb_protect((VALUE(*)_((VALUE)))asn1integer_to_num,
  3990. ^
  3991. ossl_asn1.c: In function ‘decode_enum’:
  3992. ossl_asn1.c:411:22: warning: cast between incompatible function types from ‘VALUE (*)(ASN1_INTEGER *)’ {aka ‘long unsigned int (*)(struct asn1_string_st *)’} to ‘VALUE (*)(VALUE)’ {aka ‘long unsigned int (*)(long unsigned int)’} [-Wcast-function-type]
  3993. ret = rb_protect((VALUE(*)_((VALUE)))asn1integer_to_num,
  3994. ^
  3995. ossl_asn1.c: In function ‘decode_time’:
  3996. ossl_asn1.c:473:22: warning: cast between incompatible function types from ‘VALUE (*)(ASN1_TIME *)’ {aka ‘long unsigned int (*)(struct asn1_string_st *)’} to ‘VALUE (*)(VALUE)’ {aka ‘long unsigned int (*)(long unsigned int)’} [-Wcast-function-type]
  3997. ret = rb_protect((VALUE(*)_((VALUE)))asn1time_to_time,
  3998. ^
  3999. make[2]: *** [Makefile:301: ossl_config.o] Error 1
  4000. make[2]: *** [Makefile:301: ossl_digest.o] Error 1
  4001. linking shared-object bigdecimal.so
  4002. make[2]: *** [Makefile:301: ossl_asn1.o] Error 1
  4003. make[2]: Leaving directory '/tmp/ruby-build.20181030160655.8597/ruby-2.3.8/ext/openssl'
  4004. make[1]: *** [exts.mk:212: ext/openssl/all] Error 2
  4005. make[1]: *** Waiting for unfinished jobs....
  4006. make[2]: Leaving directory '/tmp/ruby-build.20181030160655.8597/ruby-2.3.8/ext/objspace'
  4007. make[2]: Leaving directory '/tmp/ruby-build.20181030160655.8597/ruby-2.3.8/ext/json/generator'
  4008. linking shared-object pathname.so
  4009. make[2]: Leaving directory '/tmp/ruby-build.20181030160655.8597/ruby-2.3.8/ext/bigdecimal'
  4010. make[2]: Leaving directory '/tmp/ruby-build.20181030160655.8597/ruby-2.3.8/ext/pathname'
  4011. installing default psych libraries
  4012. linking shared-object psych.so
  4013. make[2]: Leaving directory '/tmp/ruby-build.20181030160655.8597/ruby-2.3.8/ext/psych'
  4014. linking shared-object date_core.so
  4015. make[2]: Leaving directory '/tmp/ruby-build.20181030160655.8597/ruby-2.3.8/ext/date'
  4016. linking shared-object nkf.so
  4017. make[2]: Leaving directory '/tmp/ruby-build.20181030160655.8597/ruby-2.3.8/ext/nkf'
  4018. make[1]: Leaving directory '/tmp/ruby-build.20181030160655.8597/ruby-2.3.8'
  4019. make: *** [uncommon.mk:203: build-ext] Error 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement