Advertisement
Guest User

Untitled

a guest
Aug 20th, 2017
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 74.36 KB | None | 0 0
  1. ```console
  2. tsuyoshi@mira% tar xf ruby-2.3.4.tar.gz
  3. tsuyoshi@mira% cd ruby-2.3.4
  4. tsuyoshi@mira% ./configure
  5. checking for ruby... /opt/rbenv/shims/ruby
  6. config.guess already exists
  7. config.sub already exists
  8. checking build system type... x86_64-pc-linux-gnu
  9. checking host system type... x86_64-pc-linux-gnu
  10. checking target system type... x86_64-pc-linux-gnu
  11. checking for gcc... gcc
  12. checking whether the C compiler works... yes
  13. checking for C compiler default output file name... a.out
  14. checking for suffix of executables...
  15. checking whether we are cross compiling... no
  16. checking for suffix of object files... o
  17. checking whether we are using the GNU C compiler... yes
  18. checking whether gcc accepts -g... yes
  19. checking for gcc option to accept ISO C89... none needed
  20. checking for g++... g++
  21. checking whether we are using the GNU C++ compiler... yes
  22. checking whether g++ accepts -g... yes
  23. checking how to run the C preprocessor... gcc -E
  24. checking for grep that handles long lines and -e... /bin/grep
  25. checking for egrep... /bin/grep -E
  26. checking whether gcc needs -traditional... no
  27. checking for ld... ld
  28. checking whether the linker is GNU ld... yes
  29. checking whether gcc -E accepts -o... yes
  30. checking for ranlib... ranlib
  31. checking for ar... ar
  32. checking for as... as
  33. checking for objdump... objdump
  34. checking for objcopy... objcopy
  35. checking for nm... nm
  36. checking whether ln -s works... yes
  37. checking whether make sets $(MAKE)... yes
  38. checking for a BSD-compatible install... /usr/bin/install -c
  39. checking for a thread-safe mkdir -p... /bin/mkdir -p
  40. checking for dtrace... no
  41. checking for dot... dot
  42. checking for doxygen... no
  43. checking for pkg-config... pkg-config
  44. checking for ANSI C header files... yes
  45. checking for sys/types.h... yes
  46. checking for sys/stat.h... yes
  47. checking for stdlib.h... yes
  48. checking for string.h... yes
  49. checking for memory.h... yes
  50. checking for strings.h... yes
  51. checking for inttypes.h... yes
  52. checking for stdint.h... yes
  53. checking for unistd.h... yes
  54. checking minix/config.h usability... no
  55. checking minix/config.h presence... no
  56. checking for minix/config.h... no
  57. checking whether it is safe to define __EXTENSIONS__... yes
  58. checking for cd using physical directory... cd -P
  59. checking whether CFLAGS is valid... yes
  60. checking whether LDFLAGS is valid... yes
  61. checking whether -Wno-unused-parameter is accepted as CFLAGS... yes
  62. checking whether -Wno-parentheses is accepted as CFLAGS... yes
  63. checking whether -Wno-long-long is accepted as CFLAGS... yes
  64. checking whether -diag-disable=2259 is accepted as CFLAGS... no
  65. checking whether -Wno-missing-field-initializers is accepted as CFLAGS... yes
  66. checking whether -Wunused-variable is accepted as CFLAGS... yes
  67. checking whether -Wpointer-arith is accepted as CFLAGS... yes
  68. checking whether -Wwrite-strings is accepted as CFLAGS... yes
  69. checking whether -Wdeclaration-after-statement is accepted as CFLAGS... yes
  70. checking whether -Wshorten-64-to-32 is accepted as CFLAGS... no
  71. checking whether -Wimplicit-function-declaration is accepted as CFLAGS... yes
  72. checking whether -Wdivision-by-zero is accepted as CFLAGS... no
  73. checking whether -Wdeprecated-declarations is accepted as CFLAGS... yes
  74. checking whether -Wno-packed-bitfield-compat is accepted as CFLAGS... yes
  75. checking whether -Wextra-tokens is accepted as CFLAGS... no
  76. checking whether -Wall -Wextra is accepted as CFLAGS... yes
  77. checking whether -Qunused-arguments is accepted as CFLAGS... no
  78. checking whether INFINITY is available without C99 option... yes
  79. checking whether NAN is available without C99 option... yes
  80. checking whether -D_FORTIFY_SOURCE=2 is accepted as CFLAGS... yes
  81. checking whether -fstack-protector is accepted as CFLAGS... yes
  82. checking whether -fstack-protector is accepted as LDFLAGS... yes
  83. checking whether -std=iso9899:1999 is accepted as CFLAGS... yes
  84. checking whether -fno-strict-overflow is accepted as CFLAGS... yes
  85. checking whether -ggdb3 is accepted as CFLAGS... yes
  86. checking whether -fvisibility=hidden is accepted as CFLAGS... yes
  87. checking whether -fno-fast-math is accepted as CFLAGS... yes
  88. checking whether -fp-model precise is accepted as CFLAGS... no
  89. checking for crypt in -lcrypt... yes
  90. checking for dlopen in -ldl... yes
  91. checking for shl_load in -ldld... no
  92. checking for shutdown in -lsocket... no
  93. checking for dirent.h that defines DIR... yes
  94. checking for library containing opendir... none required
  95. checking for stdbool.h that conforms to C99... yes
  96. checking for _Bool... yes
  97. checking for sys/wait.h that is POSIX.1 compatible... yes
  98. checking a.out.h usability... yes
  99. checking a.out.h presence... yes
  100. checking for a.out.h... yes
  101. checking atomic.h usability... no
  102. checking atomic.h presence... no
  103. checking for atomic.h... no
  104. checking direct.h usability... no
  105. checking direct.h presence... no
  106. checking for direct.h... no
  107. checking grp.h usability... yes
  108. checking grp.h presence... yes
  109. checking for grp.h... yes
  110. checking fcntl.h usability... yes
  111. checking fcntl.h presence... yes
  112. checking for fcntl.h... yes
  113. checking float.h usability... yes
  114. checking float.h presence... yes
  115. checking for float.h... yes
  116. checking ieeefp.h usability... no
  117. checking ieeefp.h presence... no
  118. checking for ieeefp.h... no
  119. checking intrinsics.h usability... no
  120. checking intrinsics.h presence... no
  121. checking for intrinsics.h... no
  122. checking langinfo.h usability... yes
  123. checking langinfo.h presence... yes
  124. checking for langinfo.h... yes
  125. checking limits.h usability... yes
  126. checking limits.h presence... yes
  127. checking for limits.h... yes
  128. checking locale.h usability... yes
  129. checking locale.h presence... yes
  130. checking for locale.h... yes
  131. checking malloc.h usability... yes
  132. checking malloc.h presence... yes
  133. checking for malloc.h... yes
  134. checking malloc/malloc.h usability... no
  135. checking malloc/malloc.h presence... no
  136. checking for malloc/malloc.h... no
  137. checking malloc_np.h usability... no
  138. checking malloc_np.h presence... no
  139. checking for malloc_np.h... no
  140. checking net/socket.h usability... no
  141. checking net/socket.h presence... no
  142. checking for net/socket.h... no
  143. checking process.h usability... no
  144. checking process.h presence... no
  145. checking for process.h... no
  146. checking pwd.h usability... yes
  147. checking pwd.h presence... yes
  148. checking for pwd.h... yes
  149. checking setjmpex.h usability... no
  150. checking setjmpex.h presence... no
  151. checking for setjmpex.h... no
  152. checking sys/attr.h usability... no
  153. checking sys/attr.h presence... no
  154. checking for sys/attr.h... no
  155. checking sys/fcntl.h usability... yes
  156. checking sys/fcntl.h presence... yes
  157. checking for sys/fcntl.h... yes
  158. checking sys/file.h usability... yes
  159. checking sys/file.h presence... yes
  160. checking for sys/file.h... yes
  161. checking sys/id.h usability... no
  162. checking sys/id.h presence... no
  163. checking for sys/id.h... no
  164. checking sys/ioctl.h usability... yes
  165. checking sys/ioctl.h presence... yes
  166. checking for sys/ioctl.h... yes
  167. checking sys/mkdev.h usability... no
  168. checking sys/mkdev.h presence... no
  169. checking for sys/mkdev.h... no
  170. checking sys/param.h usability... yes
  171. checking sys/param.h presence... yes
  172. checking for sys/param.h... yes
  173. checking sys/prctl.h usability... yes
  174. checking sys/prctl.h presence... yes
  175. checking for sys/prctl.h... yes
  176. checking sys/resource.h usability... yes
  177. checking sys/resource.h presence... yes
  178. checking for sys/resource.h... yes
  179. checking sys/select.h usability... yes
  180. checking sys/select.h presence... yes
  181. checking for sys/select.h... yes
  182. checking sys/sendfile.h usability... yes
  183. checking sys/sendfile.h presence... yes
  184. checking for sys/sendfile.h... yes
  185. checking sys/socket.h usability... yes
  186. checking sys/socket.h presence... yes
  187. checking for sys/socket.h... yes
  188. checking sys/syscall.h usability... yes
  189. checking sys/syscall.h presence... yes
  190. checking for sys/syscall.h... yes
  191. checking sys/time.h usability... yes
  192. checking sys/time.h presence... yes
  193. checking for sys/time.h... yes
  194. checking sys/times.h usability... yes
  195. checking sys/times.h presence... yes
  196. checking for sys/times.h... yes
  197. checking sys/uio.h usability... yes
  198. checking sys/uio.h presence... yes
  199. checking for sys/uio.h... yes
  200. checking sys/utime.h usability... no
  201. checking sys/utime.h presence... no
  202. checking for sys/utime.h... no
  203. checking syscall.h usability... yes
  204. checking syscall.h presence... yes
  205. checking for syscall.h... yes
  206. checking time.h usability... yes
  207. checking time.h presence... yes
  208. checking for time.h... yes
  209. checking ucontext.h usability... yes
  210. checking ucontext.h presence... yes
  211. checking for ucontext.h... yes
  212. checking utime.h usability... yes
  213. checking utime.h presence... yes
  214. checking for utime.h... yes
  215. checking gmp.h usability... yes
  216. checking gmp.h presence... yes
  217. checking for gmp.h... yes
  218. checking for __gmpz_init in -lgmp... yes
  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... no
  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... 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 whether -Wl,-R. is accepted as LDFLAGS... yes
  562. checking for backtrace... yes
  563. checking for broken backtrace... no
  564. checking valgrind/memcheck.h usability... no
  565. checking valgrind/memcheck.h presence... no
  566. checking for valgrind/memcheck.h... no
  567. checking for strip... strip
  568. checking whether -fPIE is accepted as CFLAGS... yes
  569. checking whether -pie is accepted as LDFLAGS... yes
  570. checking whether wrapper for LD_LIBRARY_PATH is needed... no
  571. checking for __builtin_setjmp... yes with cast ()
  572. checking for setjmp type... __builtin_setjmp
  573. checking for prefix of external symbols... NONE
  574. checking pthread.h usability... yes
  575. checking pthread.h presence... yes
  576. checking for pthread.h... yes
  577. checking if make is GNU make... yes
  578. checking for nroff... /usr/bin/nroff
  579. .ext/include/x86_64-linux/ruby/config.h updated
  580. configure: ruby library version = 2.3.0
  581. configure: creating ./config.status
  582. config.status: creating GNUmakefile
  583. config.status: creating Makefile
  584. config.status: creating ruby-2.3.pc
  585. tsuyoshi@mira% make -j4
  586. CC = gcc
  587. LD = ld
  588. LDSHARED = gcc -shared
  589. 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
  590. XCFLAGS = -D_FORTIFY_SOURCE=2 -fstack-protector -fno-strict-overflow -fvisibility=hidden -DRUBY_EXPORT -fPIE
  591. CPPFLAGS = -I. -I.ext/include/x86_64-linux -I./include -I.
  592. DLDFLAGS = -fstack-protector -pie
  593. SOLIBS = -lgmp
  594. Using built-in specs.
  595. COLLECT_GCC=gcc
  596. COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/7/lto-wrapper
  597. OFFLOAD_TARGET_NAMES=nvptx-none
  598. OFFLOAD_TARGET_DEFAULT=1
  599. Target: x86_64-linux-gnu
  600. Configured with: ../src/configure -v --with-pkgversion='Debian 7.2.0-1' --with-bugurl=file:///usr/share/doc/gcc-7/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++ --prefix=/usr --with-gcc-major-version-only --program-suffix=-7 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
  601. Thread model: posix
  602. gcc version 7.2.0 (Debian 7.2.0-1)
  603. copying dummy probes.h
  604. compiling main.c
  605. compiling dmydln.c
  606. compiling miniinit.c
  607. compiling dmyext.c
  608. compiling miniprelude.c
  609. compiling array.c
  610. compiling bignum.c
  611. compiling class.c
  612. compiling compar.c
  613. In file included from array.c:14:0:
  614. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  615. #if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
  616. ^
  617. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  618. In file included from bignum.c:12:0:
  619. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  620. #if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
  621. ^
  622. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  623. In file included from class.c:26:0:
  624. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  625. #if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
  626. ^
  627. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  628. array.c: In function ‘rb_ary_rindex’:
  629. array.c:1532:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
  630. if (!rb_equal(e, val)) break;
  631. ^
  632. array.c:1533:4: note: here
  633. case Qtrue:
  634. ^~~~
  635. array.c: In function ‘rb_ary_index’:
  636. array.c:1469:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
  637. if (!rb_equal(e, val)) break;
  638. ^
  639. array.c:1470:4: note: here
  640. case Qtrue:
  641. ^~~~
  642. compiling complex.c
  643. In file included from complex.c:14:0:
  644. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  645. #if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
  646. ^
  647. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  648. compiling dir.c
  649. In file included from dir.c:14:0:
  650. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  651. #if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
  652. ^
  653. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  654. compiling dln_find.c
  655. compiling encoding.c
  656. In file included from encoding.c:12:0:
  657. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  658. #if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
  659. ^
  660. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  661. encoding.c: In function ‘rb_enc_get_index’:
  662. encoding.c:793:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
  663. if (NIL_P(obj)) break;
  664. ^
  665. encoding.c:794:7: note: here
  666. case T_DATA:
  667. ^~~~
  668. encoding.c: In function ‘enc_capable’:
  669. encoding.c:746:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
  670. if (is_data_encoding(obj)) return TRUE;
  671. ^
  672. encoding.c:747:7: note: here
  673. default:
  674. ^~~~~~~
  675. compiling enum.c
  676. In file included from enum.c:12:0:
  677. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  678. #if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
  679. ^
  680. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  681. compiling enumerator.c
  682. In file included from enumerator.c:15:0:
  683. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  684. #if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
  685. ^
  686. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  687. compiling error.c
  688. In file included from error.c:12:0:
  689. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  690. #if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
  691. ^
  692. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  693. compiling eval.c
  694. In file included from eval.c:14:0:
  695. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  696. #if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
  697. ^
  698. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  699. eval.c: In function ‘rb_raise_jump’:
  700. eval.c:763:8: warning: unused variable ‘mid’ [-Wunused-variable]
  701. ID mid = me->called_id;
  702. ^~~
  703. compiling load.c
  704. In file included from load.c:5:0:
  705. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  706. #if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
  707. ^
  708. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  709. load.c: In function ‘search_required’:
  710. load.c:922:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
  711. if (ft) {
  712. ^
  713. load.c:927:7: note: here
  714. case 1:
  715. ^~~~
  716. compiling proc.c
  717. In file included from method.h:14:0,
  718. from vm_core.h:62,
  719. from eval_intern.h:5,
  720. from proc.c:12:
  721. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  722. #if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
  723. ^
  724. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  725. compiling file.c
  726. In file included from file.c:26:0:
  727. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  728. #if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
  729. ^
  730. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  731. compiling gc.c
  732. In file included from gc.c:17:0:
  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. compiling hash.c
  738. In file included from hash.c:14:0:
  739. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  740. #if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
  741. ^
  742. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  743. hash.c: In function ‘rb_hash_s_create’:
  744. hash.c:658:11: warning: this statement may fall through [-Wimplicit-fallthrough=]
  745. val = RARRAY_AREF(v, 1);
  746. hash.c:659:5: note: here
  747. case 1:
  748. ^~~~
  749. compiling inits.c
  750. In file included from inits.c:12:0:
  751. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  752. #if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
  753. ^
  754. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  755. compiling io.c
  756. In file included from io.c:14:0:
  757. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  758. #if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
  759. ^
  760. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  761. io.c: In function ‘rb_io_s_popen’:
  762. io.c:6274:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
  763. pmode = argv[1];
  764. ~~~~~~^~~~~~~~~
  765. io.c:6275:7: note: here
  766. case 1:
  767. ^~~~
  768. compiling marshal.c
  769. In file included from marshal.c:16:0:
  770. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  771. #if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
  772. ^
  773. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  774. marshal.c: In function ‘r_object0’:
  775. marshal.c:1749:7: warning: this statement may fall through [-Wimplicit-fallthrough=]
  776. if (bs & 1) --dst;
  777. ^
  778. marshal.c:1750:9: note: here
  779. default: bs = 0; break;
  780. ^~~~~~~
  781. marshal.c: In function ‘load_mantissa’:
  782. marshal.c:365:19: warning: this statement may fall through [-Wimplicit-fallthrough=]
  783. default: m = *buf++ & 0xff;
  784. ~~^~~~~~~~~~~~~~~
  785. marshal.c:367:8: note: here
  786. case 3: m = (m << 8) | (*buf++ & 0xff);
  787. ^~~~
  788. marshal.c:367:18: warning: this statement may fall through [-Wimplicit-fallthrough=]
  789. case 3: m = (m << 8) | (*buf++ & 0xff);
  790. ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
  791. marshal.c:370:8: note: here
  792. case 2: m = (m << 8) | (*buf++ & 0xff);
  793. ^~~~
  794. marshal.c:370:18: warning: this statement may fall through [-Wimplicit-fallthrough=]
  795. case 2: m = (m << 8) | (*buf++ & 0xff);
  796. ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
  797. marshal.c:373:8: note: here
  798. case 1: m = (m << 8) | (*buf++ & 0xff);
  799. ^~~~
  800. compiling math.c
  801. In file included from math.c:12:0:
  802. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  803. #if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
  804. ^
  805. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  806. compiling node.c
  807. In file included from method.h:14:0,
  808. from vm_core.h:62,
  809. from node.c:13:
  810. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  811. #if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
  812. ^
  813. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  814. compiling numeric.c
  815. In file included from numeric.c:12:0:
  816. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  817. #if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
  818. ^
  819. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  820. compiling object.c
  821. In file included from object.c:14:0:
  822. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  823. #if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
  824. ^
  825. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  826. compiling pack.c
  827. object.c: In function ‘rb_f_integer’:
  828. object.c:2740:7: warning: this statement may fall through [-Wimplicit-fallthrough=]
  829. base = NUM2INT(argv[1]);
  830. object.c:2741:7: note: here
  831. case 1:
  832. ^~~~
  833. In file included from pack.c:12:0:
  834. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  835. #if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
  836. ^
  837. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  838. compiling parse.c
  839. In file included from parse.y:27:0:
  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. parse.y: In function ‘ruby_yyparse’:
  845. parse.y:3993:13: warning: this statement may fall through [-Wimplicit-fallthrough=]
  846. node = NEW_NODE(NODE_DSTR, STR_NEW0(), 1, NEW_LIST(node));
  847. parse.y:3994:6: note: here
  848. case NODE_DSTR:
  849. ^~~~
  850. parse.y:340:22: warning: this statement may fall through [-Wimplicit-fallthrough=]
  851. #define yyerror(msg) parser_yyerror(parser, (msg))
  852. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  853. parse.y:5014:5: note: in expansion of macro ‘yyerror’
  854. yyerror("can't define singleton method for literals");
  855. ^~~~~~~
  856. parse.y:5015:10: note: here
  857. default:
  858. ^~~~~~~
  859. parse.y: In function ‘parser_yylex’:
  860. parse.y:8223:6: warning: this statement may fall through [-Wimplicit-fallthrough=]
  861. if (peek('.') == (c == '&')) {
  862. ^
  863. parse.y:8229:8: note: here
  864. default:
  865. ^~~~~~~
  866. parse.y:8231:16: warning: this statement may fall through [-Wimplicit-fallthrough=]
  867. lex_nextline = lex_lastline;
  868. parse.y:8232:8: note: here
  869. case -1: /* EOF no decrement*/
  870. ^~~~
  871. parse.y:8577:12: warning: this statement may fall through [-Wimplicit-fallthrough=]
  872. paren_nest--;
  873. parse.y:8578:7: note: here
  874. case '}':
  875. ^~~~
  876. parse.y: In function ‘parser_here_document’:
  877. parse.y:6887:23: warning: this statement may fall through [-Wimplicit-fallthrough=]
  878. if (--pend == p || pend[-1] != '\r') {
  879. ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
  880. parse.y:6891:5: note: here
  881. case '\r':
  882. ^~~~
  883. parse.y: In function ‘parser_read_escape’:
  884. parse.y:6038:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
  885. if ((c = nextc()) != '-') {
  886. ^
  887. parse.y:6042:7: note: here
  888. case 'c':
  889. ^~~~
  890. parse.y: In function ‘parse_gvar’:
  891. parse.y:7945:6: warning: this statement may fall through [-Wimplicit-fallthrough=]
  892. if (!parser_is_identchar()) {
  893. ^
  894. parse.y:7955:7: note: here
  895. case '0':
  896. ^~~~
  897. parse.y: In function ‘is_static_content’:
  898. parse.y:9760:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
  899. if (!(node = node->nd_head)) break;
  900. ^
  901. parse.y:9761:7: note: here
  902. case NODE_ARRAY:
  903. ^~~~
  904. compiling process.c
  905. compiling random.c
  906. In file included from process.c:14:0:
  907. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  908. #if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
  909. ^
  910. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  911. In file included from random.c:62:0:
  912. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  913. #if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
  914. ^
  915. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  916. In file included from random.c:1448:0:
  917. siphash.c: In function ‘ruby_sip_hash24’:
  918. siphash.c:430:26: warning: this statement may fall through [-Wimplicit-fallthrough=]
  919. #define OR_BYTE(n) (last |= ((uint64_t) end[n]) << ((n) * 8))
  920. ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  921. siphash.c:444:6: note: in expansion of macro ‘OR_BYTE’
  922. OR_BYTE(6);
  923. ^~~~~~~
  924. siphash.c:445:2: note: here
  925. case 6:
  926. ^~~~
  927. siphash.c:430:26: warning: this statement may fall through [-Wimplicit-fallthrough=]
  928. #define OR_BYTE(n) (last |= ((uint64_t) end[n]) << ((n) * 8))
  929. ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  930. siphash.c:446:6: note: in expansion of macro ‘OR_BYTE’
  931. OR_BYTE(5);
  932. ^~~~~~~
  933. siphash.c:447:2: note: here
  934. case 5:
  935. ^~~~
  936. siphash.c:430:26: warning: this statement may fall through [-Wimplicit-fallthrough=]
  937. #define OR_BYTE(n) (last |= ((uint64_t) end[n]) << ((n) * 8))
  938. ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  939. siphash.c:448:6: note: in expansion of macro ‘OR_BYTE’
  940. OR_BYTE(4);
  941. ^~~~~~~
  942. siphash.c:449:2: note: here
  943. case 4:
  944. ^~~~
  945. siphash.c:430:26: warning: this statement may fall through [-Wimplicit-fallthrough=]
  946. #define OR_BYTE(n) (last |= ((uint64_t) end[n]) << ((n) * 8))
  947. ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  948. siphash.c:461:6: note: in expansion of macro ‘OR_BYTE’
  949. OR_BYTE(2);
  950. ^~~~~~~
  951. siphash.c:462:2: note: here
  952. case 2:
  953. ^~~~
  954. siphash.c:430:26: warning: this statement may fall through [-Wimplicit-fallthrough=]
  955. #define OR_BYTE(n) (last |= ((uint64_t) end[n]) << ((n) * 8))
  956. ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  957. siphash.c:463:6: note: in expansion of macro ‘OR_BYTE’
  958. OR_BYTE(1);
  959. ^~~~~~~
  960. siphash.c:464:2: note: here
  961. case 1:
  962. ^~~~
  963. random.c: In function ‘rand_range’:
  964. random.c:1221:21: warning: this statement may fall through [-Wimplicit-fallthrough=]
  965. case T_FLOAT: {
  966. ^
  967. random.c:1227:7: note: here
  968. default:
  969. ^~~~~~~
  970. random.c: In function ‘random_load’:
  971. random.c:747:7: warning: this statement may fall through [-Wimplicit-fallthrough=]
  972. seed = ary[2];
  973. ~~~~~^~~~~~~~
  974. random.c:748:7: note: here
  975. case 2:
  976. ^~~~
  977. random.c:749:7: warning: this statement may fall through [-Wimplicit-fallthrough=]
  978. left = ary[1];
  979. ~~~~~^~~~~~~~
  980. random.c:750:7: note: here
  981. case 1:
  982. ^~~~
  983. compiling range.c
  984. In file included from range.c:12:0:
  985. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  986. #if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
  987. ^
  988. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  989. compiling rational.c
  990. In file included from rational.c:8:0:
  991. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  992. #if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
  993. ^
  994. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  995. compiling re.c
  996. In file included from re.c:12:0:
  997. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  998. #if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
  999. ^
  1000. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  1001. re.c: In function ‘unescape_nonascii’:
  1002. re.c:2310:17: warning: this statement may fall through [-Wimplicit-fallthrough=]
  1003. {
  1004. ^
  1005. re.c:2321:15: note: here
  1006. case '0': /* \0, \0O, \0OO */
  1007. ^~~~
  1008. re.c: In function ‘read_escaped_byte’:
  1009. re.c:2083:22: warning: this statement may fall through [-Wimplicit-fallthrough=]
  1010. if (p == end || *p++ != '-') {
  1011. ~~~~~~~~~^~~~~~~~~~~~~~
  1012. re.c:2087:7: note: here
  1013. case 'c': /* \cX, \c\M-X */
  1014. ^~~~
  1015. compiling regcomp.c
  1016. compiling regenc.c
  1017. compiling regerror.c
  1018. compiling regexec.c
  1019. compiling regparse.c
  1020. regparse.c: In function ‘parse_enclose’:
  1021. regparse.c:5183:10: warning: this statement may fall through [-Wimplicit-fallthrough=]
  1022. if (IS_SYNTAX_OP2(env->syntax, ONIG_SYN_OP2_OPTION_PERL)) {
  1023. ^
  1024. regparse.c:5211:5: note: here
  1025. case '-': case 'i': case 'm': case 's': case 'x':
  1026. ^~~~
  1027. compiling regsyntax.c
  1028. compiling ruby.c
  1029. In file included from ruby.c:18:0:
  1030. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  1031. #if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
  1032. ^
  1033. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  1034. ruby.c: In function ‘proc_options’:
  1035. ruby.c:856:20: warning: this statement may fall through [-Wimplicit-fallthrough=]
  1036. opt->do_print = TRUE;
  1037. ruby.c:858:4: note: here
  1038. case 'n':
  1039. ^~~~
  1040. ruby.c:882:19: warning: this statement may fall through [-Wimplicit-fallthrough=]
  1041. opt->verbose = 1;
  1042. ~~~~~~~~~~~~~^~~
  1043. ruby.c:883:4: note: here
  1044. case 'w':
  1045. ^~~~
  1046. ruby.c:1194:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
  1047. if (!s[1])
  1048. ^
  1049. ruby.c:1197:4: note: here
  1050. default:
  1051. ^~~~~~~
  1052. compiling safe.c
  1053. In file included from method.h:14:0,
  1054. from vm_core.h:62,
  1055. from safe.c:20:
  1056. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  1057. #if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
  1058. ^
  1059. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  1060. compiling signal.c
  1061. In file included from signal.c:14:0:
  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. compiling sprintf.c
  1067. In file included from sprintf.c:14:0:
  1068. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  1069. #if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
  1070. ^
  1071. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  1072. compiling st.c
  1073. sprintf.c: In function ‘rb_str_format’:
  1074. sprintf.c:661:7: warning: this statement may fall through [-Wimplicit-fallthrough=]
  1075. p--;
  1076. ~^~
  1077. sprintf.c:662:4: note: here
  1078. case '%':
  1079. ^~~~
  1080. In file included from sprintf.c:1278:0:
  1081. vsnprintf.c: In function ‘BSD_vfprintf’:
  1082. vsnprintf.c:886:7: warning: this statement may fall through [-Wimplicit-fallthrough=]
  1083. if (prec != 0)
  1084. ^
  1085. vsnprintf.c:888:3: note: here
  1086. case 'g':
  1087. ^~~~
  1088. In file included from st.c:9:0:
  1089. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  1090. #if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
  1091. ^
  1092. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  1093. st.c: In function ‘st_hash’:
  1094. st.c:1561:4: warning: this statement may fall through [-Wimplicit-fallthrough=]
  1095. t |= data_at(n) << CHAR_BIT*(n)
  1096. ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1097. st.c:1463:25: note: in expansion of macro ‘UNALIGNED_ADD’
  1098. #define UNALIGNED_ADD_8 UNALIGNED_ADD(6); UNALIGNED_ADD(5); UNALIGNED_ADD(4); UNALIGNED_ADD(3); UNALIGNED_ADD_4
  1099. ^~~~~~~~~~~~~
  1100. st.c:1469:27: note: in expansion of macro ‘UNALIGNED_ADD_8’
  1101. #define UNALIGNED_ADD_ALL UNALIGNED_ADD_8
  1102. ^~~~~~~~~~~~~~~
  1103. st.c:1563:2: note: in expansion of macro ‘UNALIGNED_ADD_ALL’
  1104. UNALIGNED_ADD_ALL;
  1105. ^~~~~~~~~~~~~~~~~
  1106. st.c:1560:27: note: here
  1107. # define UNALIGNED_ADD(n) case (n) + 1: \
  1108. ^
  1109. st.c:1463:43: note: in expansion of macro ‘UNALIGNED_ADD’
  1110. #define UNALIGNED_ADD_8 UNALIGNED_ADD(6); UNALIGNED_ADD(5); UNALIGNED_ADD(4); UNALIGNED_ADD(3); UNALIGNED_ADD_4
  1111. ^~~~~~~~~~~~~
  1112. st.c:1469:27: note: in expansion of macro ‘UNALIGNED_ADD_8’
  1113. #define UNALIGNED_ADD_ALL UNALIGNED_ADD_8
  1114. ^~~~~~~~~~~~~~~
  1115. st.c:1563:2: note: in expansion of macro ‘UNALIGNED_ADD_ALL’
  1116. UNALIGNED_ADD_ALL;
  1117. ^~~~~~~~~~~~~~~~~
  1118. st.c:1561:4: warning: this statement may fall through [-Wimplicit-fallthrough=]
  1119. t |= data_at(n) << CHAR_BIT*(n)
  1120. ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1121. st.c:1463:43: note: in expansion of macro ‘UNALIGNED_ADD’
  1122. #define UNALIGNED_ADD_8 UNALIGNED_ADD(6); UNALIGNED_ADD(5); UNALIGNED_ADD(4); UNALIGNED_ADD(3); UNALIGNED_ADD_4
  1123. ^~~~~~~~~~~~~
  1124. st.c:1469:27: note: in expansion of macro ‘UNALIGNED_ADD_8’
  1125. #define UNALIGNED_ADD_ALL UNALIGNED_ADD_8
  1126. ^~~~~~~~~~~~~~~
  1127. st.c:1563:2: note: in expansion of macro ‘UNALIGNED_ADD_ALL’
  1128. UNALIGNED_ADD_ALL;
  1129. ^~~~~~~~~~~~~~~~~
  1130. st.c:1560:27: note: here
  1131. # define UNALIGNED_ADD(n) case (n) + 1: \
  1132. ^
  1133. st.c:1463:61: note: in expansion of macro ‘UNALIGNED_ADD’
  1134. #define UNALIGNED_ADD_8 UNALIGNED_ADD(6); UNALIGNED_ADD(5); UNALIGNED_ADD(4); UNALIGNED_ADD(3); UNALIGNED_ADD_4
  1135. ^~~~~~~~~~~~~
  1136. st.c:1469:27: note: in expansion of macro ‘UNALIGNED_ADD_8’
  1137. #define UNALIGNED_ADD_ALL UNALIGNED_ADD_8
  1138. ^~~~~~~~~~~~~~~
  1139. st.c:1563:2: note: in expansion of macro ‘UNALIGNED_ADD_ALL’
  1140. UNALIGNED_ADD_ALL;
  1141. ^~~~~~~~~~~~~~~~~
  1142. st.c:1561:4: warning: this statement may fall through [-Wimplicit-fallthrough=]
  1143. t |= data_at(n) << CHAR_BIT*(n)
  1144. ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1145. st.c:1463:61: note: in expansion of macro ‘UNALIGNED_ADD’
  1146. #define UNALIGNED_ADD_8 UNALIGNED_ADD(6); UNALIGNED_ADD(5); UNALIGNED_ADD(4); UNALIGNED_ADD(3); UNALIGNED_ADD_4
  1147. ^~~~~~~~~~~~~
  1148. st.c:1469:27: note: in expansion of macro ‘UNALIGNED_ADD_8’
  1149. #define UNALIGNED_ADD_ALL UNALIGNED_ADD_8
  1150. ^~~~~~~~~~~~~~~
  1151. st.c:1563:2: note: in expansion of macro ‘UNALIGNED_ADD_ALL’
  1152. UNALIGNED_ADD_ALL;
  1153. ^~~~~~~~~~~~~~~~~
  1154. st.c:1560:27: note: here
  1155. # define UNALIGNED_ADD(n) case (n) + 1: \
  1156. ^
  1157. st.c:1463:79: note: in expansion of macro ‘UNALIGNED_ADD’
  1158. #define UNALIGNED_ADD_8 UNALIGNED_ADD(6); UNALIGNED_ADD(5); UNALIGNED_ADD(4); UNALIGNED_ADD(3); UNALIGNED_ADD_4
  1159. ^~~~~~~~~~~~~
  1160. st.c:1469:27: note: in expansion of macro ‘UNALIGNED_ADD_8’
  1161. #define UNALIGNED_ADD_ALL UNALIGNED_ADD_8
  1162. ^~~~~~~~~~~~~~~
  1163. st.c:1563:2: note: in expansion of macro ‘UNALIGNED_ADD_ALL’
  1164. UNALIGNED_ADD_ALL;
  1165. ^~~~~~~~~~~~~~~~~
  1166. st.c:1561:4: warning: this statement may fall through [-Wimplicit-fallthrough=]
  1167. t |= data_at(n) << CHAR_BIT*(n)
  1168. ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1169. st.c:1463:79: note: in expansion of macro ‘UNALIGNED_ADD’
  1170. #define UNALIGNED_ADD_8 UNALIGNED_ADD(6); UNALIGNED_ADD(5); UNALIGNED_ADD(4); UNALIGNED_ADD(3); UNALIGNED_ADD_4
  1171. ^~~~~~~~~~~~~
  1172. st.c:1469:27: note: in expansion of macro ‘UNALIGNED_ADD_8’
  1173. #define UNALIGNED_ADD_ALL UNALIGNED_ADD_8
  1174. ^~~~~~~~~~~~~~~
  1175. st.c:1563:2: note: in expansion of macro ‘UNALIGNED_ADD_ALL’
  1176. UNALIGNED_ADD_ALL;
  1177. ^~~~~~~~~~~~~~~~~
  1178. st.c:1560:27: note: here
  1179. # define UNALIGNED_ADD(n) case (n) + 1: \
  1180. ^
  1181. st.c:1461:25: note: in expansion of macro ‘UNALIGNED_ADD’
  1182. #define UNALIGNED_ADD_4 UNALIGNED_ADD(2); UNALIGNED_ADD(1); UNALIGNED_ADD(0)
  1183. ^~~~~~~~~~~~~
  1184. st.c:1463:97: note: in expansion of macro ‘UNALIGNED_ADD_4’
  1185. #define UNALIGNED_ADD_8 UNALIGNED_ADD(6); UNALIGNED_ADD(5); UNALIGNED_ADD(4); UNALIGNED_ADD(3); UNALIGNED_ADD_4
  1186. ^~~~~~~~~~~~~~~
  1187. st.c:1469:27: note: in expansion of macro ‘UNALIGNED_ADD_8’
  1188. #define UNALIGNED_ADD_ALL UNALIGNED_ADD_8
  1189. ^~~~~~~~~~~~~~~
  1190. st.c:1563:2: note: in expansion of macro ‘UNALIGNED_ADD_ALL’
  1191. UNALIGNED_ADD_ALL;
  1192. ^~~~~~~~~~~~~~~~~
  1193. st.c:1561:4: warning: this statement may fall through [-Wimplicit-fallthrough=]
  1194. t |= data_at(n) << CHAR_BIT*(n)
  1195. ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1196. st.c:1461:25: note: in expansion of macro ‘UNALIGNED_ADD’
  1197. #define UNALIGNED_ADD_4 UNALIGNED_ADD(2); UNALIGNED_ADD(1); UNALIGNED_ADD(0)
  1198. ^~~~~~~~~~~~~
  1199. st.c:1463:97: note: in expansion of macro ‘UNALIGNED_ADD_4’
  1200. #define UNALIGNED_ADD_8 UNALIGNED_ADD(6); UNALIGNED_ADD(5); UNALIGNED_ADD(4); UNALIGNED_ADD(3); UNALIGNED_ADD_4
  1201. ^~~~~~~~~~~~~~~
  1202. st.c:1469:27: note: in expansion of macro ‘UNALIGNED_ADD_8’
  1203. #define UNALIGNED_ADD_ALL UNALIGNED_ADD_8
  1204. ^~~~~~~~~~~~~~~
  1205. st.c:1563:2: note: in expansion of macro ‘UNALIGNED_ADD_ALL’
  1206. UNALIGNED_ADD_ALL;
  1207. ^~~~~~~~~~~~~~~~~
  1208. st.c:1560:27: note: here
  1209. # define UNALIGNED_ADD(n) case (n) + 1: \
  1210. ^
  1211. st.c:1461:43: note: in expansion of macro ‘UNALIGNED_ADD’
  1212. #define UNALIGNED_ADD_4 UNALIGNED_ADD(2); UNALIGNED_ADD(1); UNALIGNED_ADD(0)
  1213. ^~~~~~~~~~~~~
  1214. st.c:1463:97: note: in expansion of macro ‘UNALIGNED_ADD_4’
  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:1461:43: note: in expansion of macro ‘UNALIGNED_ADD’
  1227. #define UNALIGNED_ADD_4 UNALIGNED_ADD(2); UNALIGNED_ADD(1); UNALIGNED_ADD(0)
  1228. ^~~~~~~~~~~~~
  1229. st.c:1463:97: note: in expansion of macro ‘UNALIGNED_ADD_4’
  1230. #define UNALIGNED_ADD_8 UNALIGNED_ADD(6); UNALIGNED_ADD(5); UNALIGNED_ADD(4); UNALIGNED_ADD(3); UNALIGNED_ADD_4
  1231. ^~~~~~~~~~~~~~~
  1232. st.c:1469:27: note: in expansion of macro ‘UNALIGNED_ADD_8’
  1233. #define UNALIGNED_ADD_ALL UNALIGNED_ADD_8
  1234. ^~~~~~~~~~~~~~~
  1235. st.c:1563:2: note: in expansion of macro ‘UNALIGNED_ADD_ALL’
  1236. UNALIGNED_ADD_ALL;
  1237. ^~~~~~~~~~~~~~~~~
  1238. st.c:1560:27: note: here
  1239. # define UNALIGNED_ADD(n) case (n) + 1: \
  1240. ^
  1241. st.c:1461:61: note: in expansion of macro ‘UNALIGNED_ADD’
  1242. #define UNALIGNED_ADD_4 UNALIGNED_ADD(2); UNALIGNED_ADD(1); UNALIGNED_ADD(0)
  1243. ^~~~~~~~~~~~~
  1244. st.c:1463:97: note: in expansion of macro ‘UNALIGNED_ADD_4’
  1245. #define UNALIGNED_ADD_8 UNALIGNED_ADD(6); UNALIGNED_ADD(5); UNALIGNED_ADD(4); UNALIGNED_ADD(3); UNALIGNED_ADD_4
  1246. ^~~~~~~~~~~~~~~
  1247. st.c:1469:27: note: in expansion of macro ‘UNALIGNED_ADD_8’
  1248. #define UNALIGNED_ADD_ALL UNALIGNED_ADD_8
  1249. ^~~~~~~~~~~~~~~
  1250. st.c:1563:2: note: in expansion of macro ‘UNALIGNED_ADD_ALL’
  1251. UNALIGNED_ADD_ALL;
  1252. ^~~~~~~~~~~~~~~~~
  1253. compiling strftime.c
  1254. strftime.c: In function ‘rb_strftime_with_timespec’:
  1255. strftime.c:780:12: warning: this statement may fall through [-Wimplicit-fallthrough=]
  1256. padding = '0';
  1257. ~~~~~~~~^~~~~
  1258. strftime.c:781:3: note: here
  1259. case '1': case '2': case '3': case '4':
  1260. ^~~~
  1261. compiling string.c
  1262. In file included from string.c:14:0:
  1263. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  1264. #if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
  1265. ^
  1266. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  1267. compiling struct.c
  1268. compiling symbol.c
  1269. In file included from struct.c:12:0:
  1270. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  1271. #if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
  1272. ^
  1273. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  1274. In file included from symbol.c:12:0:
  1275. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  1276. #if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
  1277. ^
  1278. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  1279. compiling time.c
  1280. compiling transcode.c
  1281. In file included from time.c:12:0:
  1282. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  1283. #if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
  1284. ^
  1285. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  1286. time.c: In function ‘utc_offset_arg’:
  1287. time.c:2092:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
  1288. n += (s[7] * 10 + s[8] - '0' * 11);
  1289. ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1290. time.c:2093:4: note: here
  1291. case 6:
  1292. ^~~~
  1293. In file included from transcode.c:12:0:
  1294. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  1295. #if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
  1296. ^
  1297. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  1298. compiling util.c
  1299. In file included from util.c:12:0:
  1300. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  1301. #if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
  1302. ^
  1303. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  1304. util.c: In function ‘ruby_strtod’:
  1305. util.c:2006:18: warning: this statement may fall through [-Wimplicit-fallthrough=]
  1306. sign = 1;
  1307. ~~~~~^~~
  1308. util.c:2008:11: note: here
  1309. case '+':
  1310. ^~~~
  1311. util.c:2169:19: warning: this statement may fall through [-Wimplicit-fallthrough=]
  1312. esign = 1;
  1313. ~~~~~~^~~
  1314. util.c:2170:11: note: here
  1315. case '+':
  1316. ^~~~
  1317. util.c: In function ‘ruby_dtoa’:
  1318. util.c:3344:19: warning: this statement may fall through [-Wimplicit-fallthrough=]
  1319. leftright = 0;
  1320. ~~~~~~~~~~^~~
  1321. util.c:3346:7: note: here
  1322. case 4:
  1323. ^~~~
  1324. util.c:3352:19: warning: this statement may fall through [-Wimplicit-fallthrough=]
  1325. leftright = 0;
  1326. ~~~~~~~~~~^~~
  1327. util.c:3354:7: note: here
  1328. case 5:
  1329. ^~~~
  1330. compiling variable.c
  1331. In file included from variable.c:14:0:
  1332. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  1333. #if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
  1334. ^
  1335. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  1336. compiling version.c
  1337. compiling compile.c
  1338. In file included from compile.c:12:0:
  1339. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  1340. #if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
  1341. ^
  1342. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  1343. compiling debug.c
  1344. compile.c: In function ‘iseq_compile_each’:
  1345. compile.c:4560:11: warning: this statement may fall through [-Wimplicit-fallthrough=]
  1346. boff = 1;
  1347. ~~~~~^~~
  1348. compile.c:4561:4: note: here
  1349. default:
  1350. ^~~~~~~
  1351. compile.c:5015:11: warning: this statement may fall through [-Wimplicit-fallthrough=]
  1352. flag |= VM_CALL_VCALL;
  1353. compile.c:5017:4: note: here
  1354. case NODE_FCALL:
  1355. ^~~~
  1356. compile.c:4018:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
  1357. if (node->nd_var) {
  1358. ^
  1359. compile.c:4044:7: note: here
  1360. case NODE_ITER:{
  1361. ^~~~
  1362. compile.c:4886:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
  1363. if (node->nd_mid == idAREF && !private_recv_p(node) && node->nd_args &&
  1364. ^
  1365. compile.c:4902:7: note: here
  1366. case NODE_QCALL:
  1367. ^~~~
  1368. In file included from method.h:14:0,
  1369. from vm_core.h:62,
  1370. from eval_intern.h:5,
  1371. from debug.c:16:
  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. compile.c: In function ‘defined_expr0’:
  1377. compile.c:3329:23: warning: this statement may fall through [-Wimplicit-fallthrough=]
  1378. case NODE_ARRAY:{
  1379. ^
  1380. compile.c:3341:7: note: here
  1381. case NODE_STR:
  1382. ^~~~
  1383. compile.c: In function ‘iseq_peephole_optimize’:
  1384. compile.c:2251:13: warning: this statement may fall through [-Wimplicit-fallthrough=]
  1385. piobj = iobj;
  1386. ~~~~~~^~~~~~
  1387. compile.c:2252:5: note: here
  1388. default:
  1389. ^~~~~~~
  1390. compiling iseq.c
  1391. In file included from iseq.c:12:0:
  1392. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  1393. #if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
  1394. ^
  1395. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  1396. iseq.c: In function ‘rb_insn_operand_intern’:
  1397. iseq.c:1279:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
  1398. op = ID2SYM(op);
  1399. iseq.c:1281:7: note: here
  1400. case TS_VALUE: /* VALUE */
  1401. ^~~~
  1402. compiling vm.c
  1403. In file included from vm.c:15:0:
  1404. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  1405. #if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
  1406. ^
  1407. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  1408. In file included from vm.c:201:0:
  1409. vm_insnhelper.c: In function ‘check_method_entry’:
  1410. vm_insnhelper.c:389:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
  1411. if (can_be_svar) {
  1412. ^
  1413. vm_insnhelper.c:392:7: note: here
  1414. default:
  1415. ^~~~~~~
  1416. In file included from vm_exec.c:120:0,
  1417. from vm.c:203:
  1418. insns.def: In function ‘vm_exec_core’:
  1419. insns.def:1262:21: warning: this statement may fall through [-Wimplicit-fallthrough=]
  1420. case T_FLOAT: {
  1421. ^
  1422. insns.def:1268:7: note: here
  1423. case T_TRUE:
  1424. ^~~~
  1425. In file included from vm.c:201:0:
  1426. vm_insnhelper.c: In function ‘vm_defined’:
  1427. vm_insnhelper.c:2591:6: warning: this statement may fall through [-Wimplicit-fallthrough=]
  1428. if (!rb_obj_is_kind_of(GET_SELF(), rb_class_real(klass))) {
  1429. ^
  1430. vm_insnhelper.c:2594:8: note: here
  1431. case METHOD_VISI_PUBLIC:
  1432. ^~~~
  1433. In file included from vm.c:201:0:
  1434. vm_insnhelper.c: In function ‘check_cref’:
  1435. vm_insnhelper.c:440:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
  1436. if (can_be_svar) {
  1437. ^
  1438. vm_insnhelper.c:443:7: note: here
  1439. default:
  1440. ^~~~~~~
  1441. In file included from vm.c:206:0:
  1442. vm_eval.c: In function ‘singleton_class_for_eval’:
  1443. vm_eval.c:1671:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
  1444. if (FL_TEST_RAW(self, RSTRING_FSTR)) return Qnil;
  1445. ^
  1446. vm_eval.c:1672:7: note: here
  1447. default:
  1448. ^~~~~~~
  1449. In file included from vm.c:201:0:
  1450. vm_insnhelper.c: In function ‘cref_replace_with_duplicated_cref_each_frame’:
  1451. vm_insnhelper.c:510:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
  1452. if (can_be_svar) {
  1453. ^
  1454. vm_insnhelper.c:513:4: note: here
  1455. case imemo_ment:
  1456. ^~~~
  1457. compiling vm_dump.c
  1458. In file included from vm_dump.c:12:0:
  1459. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  1460. #if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
  1461. ^
  1462. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  1463. compiling vm_backtrace.c
  1464. In file included from vm_backtrace.c:12:0:
  1465. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  1466. #if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
  1467. ^
  1468. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  1469. compiling vm_trace.c
  1470. In file included from vm_trace.c:24:0:
  1471. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  1472. #if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
  1473. ^
  1474. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  1475. compiling thread.c
  1476. In file included from method.h:14:0,
  1477. from vm_core.h:62,
  1478. from eval_intern.h:5,
  1479. from thread.c:60:
  1480. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  1481. #if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
  1482. ^
  1483. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  1484. compiling cont.c
  1485. In file included from cont.c:12:0:
  1486. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  1487. #if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
  1488. ^
  1489. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  1490. compiling ./missing/explicit_bzero.c
  1491. compiling ./missing/setproctitle.c
  1492. compiling ./missing/strlcat.c
  1493. compiling ./missing/strlcpy.c
  1494. compiling addr2line.c
  1495. addr2line.c: In function ‘kvprintf’:
  1496. addr2line.c:960:7: warning: this statement may fall through [-Wimplicit-fallthrough=]
  1497. if (!dot) {
  1498. ^
  1499. addr2line.c:964:3: note: here
  1500. case '1': case '2': case '3': case '4':
  1501. ^~~~
  1502. addr2line.c:1100:10: warning: this statement may fall through [-Wimplicit-fallthrough=]
  1503. upper = 1;
  1504. ~~~~~~^~~
  1505. addr2line.c:1101:3: note: here
  1506. case 'x':
  1507. ^~~~
  1508. In function ‘iseq_build_kw.isra.59’,
  1509. inlined from ‘rb_iseq_build_from_ary’ at compile.c:6690:30:
  1510. compile.c:6590:9: warning: argument 1 range [18446744071562067968, 18446744073709551615] exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=]
  1511. dvs = ALLOC_N(VALUE, default_len);
  1512. In file included from ./include/ruby/ruby.h:36:0,
  1513. from ./include/ruby.h:33,
  1514. from internal.h:15,
  1515. from compile.c:12:
  1516. compile.c: In function ‘rb_iseq_build_from_ary’:
  1517. ./include/ruby/defines.h:109:18: note: in a call to allocation function ‘ruby_xmalloc2’ declared here
  1518. #define xmalloc2 ruby_xmalloc2
  1519. ^
  1520. ./include/ruby/defines.h:122:7: note: in expansion of macro ‘xmalloc2’
  1521. void *xmalloc2(size_t,size_t) RUBY_ATTR_ALLOC_SIZE((1,2));
  1522. ^~~~~~~~
  1523. In file included from ./include/ruby/ruby.h:36:0,
  1524. from eval_intern.h:4,
  1525. from thread.c:60:
  1526. thread.c: In function ‘rb_thread_fd_select’:
  1527. ./include/ruby/defines.h:113:15: warning: ‘orig_except.fdset’ may be used uninitialized in this function [-Wmaybe-uninitialized]
  1528. #define xfree ruby_xfree
  1529. ^~~~~~~~~~
  1530. In file included from method.h:14:0,
  1531. from vm_core.h:62,
  1532. from eval_intern.h:5,
  1533. from thread.c:60:
  1534. thread.c:3562:34: note: ‘orig_except.fdset’ was declared here
  1535. rb_fdset_t UNINITIALIZED_VAR(orig_except);
  1536. ^
  1537. internal.h:40:30: note: in definition of macro ‘UNINITIALIZED_VAR’
  1538. #define UNINITIALIZED_VAR(x) x __attribute__((unused))
  1539. ^
  1540. In file included from ./include/ruby/ruby.h:36:0,
  1541. from eval_intern.h:4,
  1542. from thread.c:60:
  1543. ./include/ruby/defines.h:113:15: warning: ‘orig_write.fdset’ may be used uninitialized in this function [-Wmaybe-uninitialized]
  1544. #define xfree ruby_xfree
  1545. ^~~~~~~~~~
  1546. In file included from method.h:14:0,
  1547. from vm_core.h:62,
  1548. from eval_intern.h:5,
  1549. from thread.c:60:
  1550. thread.c:3561:34: note: ‘orig_write.fdset’ was declared here
  1551. rb_fdset_t UNINITIALIZED_VAR(orig_write);
  1552. ^
  1553. internal.h:40:30: note: in definition of macro ‘UNINITIALIZED_VAR’
  1554. #define UNINITIALIZED_VAR(x) x __attribute__((unused))
  1555. ^
  1556. In file included from ./include/ruby/ruby.h:36:0,
  1557. from eval_intern.h:4,
  1558. from thread.c:60:
  1559. ./include/ruby/defines.h:113:15: warning: ‘orig_read.fdset’ may be used uninitialized in this function [-Wmaybe-uninitialized]
  1560. #define xfree ruby_xfree
  1561. ^~~~~~~~~~
  1562. In file included from method.h:14:0,
  1563. from vm_core.h:62,
  1564. from eval_intern.h:5,
  1565. from thread.c:60:
  1566. thread.c:3560:34: note: ‘orig_read.fdset’ was declared here
  1567. rb_fdset_t UNINITIALIZED_VAR(orig_read);
  1568. ^
  1569. internal.h:40:30: note: in definition of macro ‘UNINITIALIZED_VAR’
  1570. #define UNINITIALIZED_VAR(x) x __attribute__((unused))
  1571. ^
  1572. compiling dmyenc.c
  1573. compiling dln.c
  1574. compiling localeinit.c
  1575. In file included from localeinit.c:12:0:
  1576. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  1577. #if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
  1578. ^
  1579. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  1580. compiling prelude.c
  1581. In file included from prelude.c:7:0:
  1582. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  1583. #if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
  1584. ^
  1585. internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
  1586. compiling enc/ascii.c
  1587. compiling enc/us_ascii.c
  1588. compiling enc/unicode.c
  1589. compiling enc/utf_8.c
  1590. compiling enc/trans/newline.c
  1591. linking miniruby
  1592. generating encdb.h
  1593. rbconfig.rb updated
  1594. generating enc.mk
  1595. creating verconf.h
  1596. verconf.h updated
  1597. compiling loadpath.c
  1598. *** Error in `./miniruby': malloc(): memory corruption: 0x00007fff38bab618 ***
  1599. ======= Backtrace: =========
  1600. /lib/x86_64-linux-gnu/libc.so.6(+0x70bfb)[0x7fee8ca70bfb]
  1601. /lib/x86_64-linux-gnu/libc.so.6(+0x76fc6)[0x7fee8ca76fc6]
  1602. /lib/x86_64-linux-gnu/libc.so.6(+0x79089)[0x7fee8ca79089]
  1603. /lib/x86_64-linux-gnu/libc.so.6(__libc_calloc+0x27b)[0x7fee8ca7bb7b]
  1604. ./miniruby(+0xaa866)[0x55bfddfc2866]
  1605. ./miniruby(st_init_numtable_with_size+0x54)[0x55bfde08b9f4]
  1606. ./miniruby(+0xfbb55)[0x55bfde013b55]
  1607. ./miniruby(+0x10b5cd)[0x55bfde0235cd]
  1608. ./miniruby(+0x111d73)[0x55bfde029d73]
  1609. ./miniruby(+0x20a8c9)[0x55bfde1228c9]
  1610. ./miniruby(rb_iseq_compile_with_option+0x38d)[0x55bfde0fb78d]
  1611. ./miniruby(+0x1f9812)[0x55bfde111812]
  1612. ./miniruby(rb_mod_module_eval+0x165)[0x55bfde117f45]
  1613. ./miniruby(+0x1ec024)[0x55bfde104024]
  1614. ./miniruby(+0x1f1724)[0x55bfde109724]
  1615. ./miniruby(+0x1f76cc)[0x55bfde10f6cc]
  1616. ./miniruby(+0x1f840d)[0x55bfde11040d]
  1617. ./miniruby(rb_yield+0x5f)[0x55bfde11738f]
  1618. ./miniruby(rb_ary_each+0x3c)[0x55bfddf4119c]
  1619. ./miniruby(+0x1ec024)[0x55bfde104024]
  1620. ./miniruby(+0x1f8b29)[0x55bfde110b29]
  1621. ./miniruby(+0x1f90d3)[0x55bfde1110d3]
  1622. ./miniruby(+0x1f17f4)[0x55bfde1097f4]
  1623. ./miniruby(+0x1f76cc)[0x55bfde10f6cc]
  1624. ./miniruby(+0x86769)[0x55bfddf9e769]
  1625. ./miniruby(+0x89498)[0x55bfddfa1498]
  1626. ./miniruby(rb_f_require+0x13)[0x55bfddfa1573]
  1627. ./miniruby(+0x1ec024)[0x55bfde104024]
  1628. ./miniruby(+0x1f8b29)[0x55bfde110b29]
  1629. ./miniruby(+0x1f90d3)[0x55bfde1110d3]
  1630. ./miniruby(+0x1f1724)[0x55bfde109724]
  1631. ./miniruby(+0x1f76cc)[0x55bfde10f6cc]
  1632. ./miniruby(+0x86769)[0x55bfddf9e769]
  1633. ./miniruby(+0x86dd2)[0x55bfddf9edd2]
  1634. ./miniruby(+0x1ec024)[0x55bfde104024]
  1635. ./miniruby(+0x1f8b29)[0x55bfde110b29]
  1636. ./miniruby(+0x1f90d3)[0x55bfde1110d3]
  1637. ./miniruby(+0x1f1724)[0x55bfde109724]
  1638. ./miniruby(+0x1f76cc)[0x55bfde10f6cc]
  1639. ./miniruby(+0x80e07)[0x55bfddf98e07]
  1640. ./miniruby(ruby_run_node+0x2f)[0x55bfddf9c6bf]
  1641. ./miniruby(+0x246fb)[0x55bfddf3c6fb]
  1642. /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf1)[0x7fee8ca202e1]
  1643. ./minirubyencdb.h updated
  1644. 55bfddf18000-55bfde204000 r-xp 00000000 00:26 237372 /tmp/a/ruby-2.3.4/miniruby
  1645. 55bfde404000-55bfde409000 r--p 002ec000 00:26 237372 /tmp/a/ruby-2.3.4/miniruby
  1646. 55bfde409000-55bfde40a000 rw-p 002f1000 00:26 237372 /tmp/a/ruby-2.3.4/miniruby
  1647. 55bfde40a000-55bfde41b000 rw-p 00000000 00:00 0
  1648. 55bfdf86f000-55bfdfbed000 rw-p 00000000 00:00 0 [heap]
  1649. 7fee88000000-7fee88021000 rw-p 00000000 00:00 0
  1650. 7fee88021000-7fee8c000000 ---p 00000000 00:00 0
  1651. 7fee8c6e8000-7fee8c6fe000 r-xp 00000000 fe:00 790 /lib/x86_64-linux-gnu/libgcc_s.so.1
  1652. 7fee8c6fe000-7fee8c8fd000 ---p 00016000 fe:00 790 /lib/x86_64-linux-gnu/libgcc_s.so.1
  1653. 7fee8c8fd000-7fee8c8fe000 r--p 00015000 fe:00 790 /lib/x86_64-linux-gnu/libgcc_s.so.1
  1654. 7fee8c8fe000-7fee8c8ff000 rw-p 00016000 fe:00 790 /lib/x86_64-linux-gnu/libgcc_s.so.1
  1655. 7fee8c8ff000-7fee8ca00000 rw-p 00000000 00:00 0
  1656. 7fee8ca00000-7fee8cb93000 r-xp 00000000 fe:00 1386 /lib/x86_64-linux-gnu/libc-2.24.so
  1657. 7fee8cb93000-7fee8cd93000 ---p 00193000 fe:00 1386 /lib/x86_64-linux-gnu/libc-2.24.so
  1658. 7fee8cd93000-7fee8cd97000 r--p 00193000 fe:00 1386 /lib/x86_64-linux-gnu/libc-2.24.so
  1659. 7fee8cd97000-7fee8cd99000 rw-p 00197000 fe:00 1386 /lib/x86_64-linux-gnu/libc-2.24.so
  1660. 7fee8cd99000-7fee8cd9d000 rw-p 00000000 00:00 0
  1661. 7fee8cd9d000-7fee8cea0000 r-xp 00000000 fe:00 1404 /lib/x86_64-linux-gnu/libm-2.24.so
  1662. 7fee8cea0000-7fee8d09f000 ---p 00103000 fe:00 1404 /lib/x86_64-linux-gnu/libm-2.24.so
  1663. 7fee8d09f000-7fee8d0a0000 r--p 00102000 fe:00 1404 /lib/x86_64-linux-gnu/libm-2.24.so
  1664. 7fee8d0a0000-7fee8d0a1000 rw-p 00103000 fe:00 1404 /lib/x86_64-linux-gnu/libm-2.24.so
  1665. 7fee8d0a1000-7fee8d0a9000 r-xp 00000000 fe:00 1396 /lib/x86_64-linux-gnu/libcrypt-2.24.so
  1666. 7fee8d0a9000-7fee8d2a9000 ---p 00008000 fe:00 1396 /lib/x86_64-linux-gnu/libcrypt-2.24.so
  1667. 7fee8d2a9000-7fee8d2aa000 r--p 00008000 fe:00 1396 /lib/x86_64-linux-gnu/libcrypt-2.24.so
  1668. 7fee8d2aa000-7fee8d2ab000 rw-p 00009000 fe:00 1396 /lib/x86_64-linux-gnu/libcrypt-2.24.so
  1669. 7fee8d2ab000-7fee8d2d9000 rw-p 00000000 00:00 0
  1670. 7fee8d2d9000-7fee8d2db000 r-xp 00000000 fe:00 1402 /lib/x86_64-linux-gnu/libdl-2.24.so
  1671. 7fee8d2db000-7fee8d4db000 ---p 00002000 fe:00 1402 /lib/x86_64-linux-gnu/libdl-2.24.so
  1672. 7fee8d4db000-7fee8d4dc000 r--p 00002000 fe:00 1402 /lib/x86_64-linux-gnu/libdl-2.24.so
  1673. 7fee8d4dc000-7fee8d4dd000 rw-p 00003000 fe:00 1402 /lib/x86_64-linux-gnu/libdl-2.24.so
  1674. 7fee8d4dd000-7fee8d55e000 r-xp 00000000 fe:03 395462 /usr/lib/x86_64-linux-gnu/libgmp.so.10.3.2
  1675. 7fee8d55e000-7fee8d75e000 ---p 00081000 fe:03 395462 /usr/lib/x86_64-linux-gnu/libgmp.so.10.3.2
  1676. 7fee8d75e000-7fee8d75f000 r--p 00081000 fe:03 395462 /usr/lib/x86_64-linux-gnu/libgmp.so.10.3.2
  1677. 7fee8d75f000-7fee8d760000 rw-p 00082000 fe:03 395462 /usr/lib/x86_64-linux-gnu/libgmp.so.10.3.2
  1678. 7fee8d760000-7fee8d778000 r-xp 00000000 fe:00 2380 /lib/x86_64-linux-gnu/libpthread-2.24.so
  1679. 7fee8d778000-7fee8d977000 ---p 00018000 fe:00 2380 /lib/x86_64-linux-gnu/libpthread-2.24.so
  1680. 7fee8d977000-7fee8d978000 r--p 00017000 fe:00 2380 /lib/x86_64-linux-gnu/libpthread-2.24.so
  1681. 7fee8d978000-7fee8d979000 rw-p 00018000 fe:00 2380 /lib/x86_64-linux-gnu/libpthread-2.24.so
  1682. 7fee8d979000-7fee8d97d000 rw-p 00000000 00:00 0
  1683. 7fee8d97d000-7fee8d9a0000 r-xp 00000000 fe:00 1379 /lib/x86_64-linux-gnu/ld-2.24.so
  1684. 7fee8da62000-7fee8db7b000 r--p 00000000 fe:03 396268 /usr/lib/locale/locale-archive
  1685. 7fee8db7b000-7fee8db7f000 rw-p 00000000 00:00 0
  1686. 7fee8db91000-7fee8db92000 rw-p 00000000 00:00 0
  1687. 7fee8db92000-7fee8db99000 r--s 00000000 fe:03 418223 /usr/lib/x86_64-linux-gnu/gconv/gconv-modules.cache
  1688. 7fee8db99000-7fee8db9a000 ---p 00000000 00:00 0
  1689. 7fee8db9a000-7fee8dba0000 rw-p 00000000 00:00 0
  1690. 7fee8dba0000-7fee8dba1000 r--p 00023000 fe:00 1379 /lib/x86_64-linux-gnu/ld-2.24.so
  1691. 7fee8dba1000-7fee8dba2000 rw-p 00024000 fe:00 1379 /lib/x86_64-linux-gnu/ld-2.24.so
  1692. 7fee8dba2000-7fee8dba3000 rw-p 00000000 00:00 0
  1693. 7fff383b1000-7fff38bb0000 rw-p 00000000 00:00 0 [stack]
  1694. 7fff38be1000-7fff38be4000 r--p 00000000 00:00 0 [vvar]
  1695. 7fff38be4000-7fff38be6000 r-xp 00000000 00:00 0 [vdso]
  1696. ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall]
  1697. Aborted
  1698. uncommon.mk:654: ターゲット 'enc.mk' のレシピで失敗しました
  1699. make: *** [enc.mk] エラー 134
  1700. make: *** 未完了のジョブを待っています....
  1701. ```
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement