Advertisement
Guest User

Untitled

a guest
Dec 17th, 2016
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 91.83 KB | None | 0 0
  1. /tmp/ruby-build.20161217152540.70329 ~/Downloads
  2. /tmp/ruby-build.20161217152540.70329/ruby-2.1.6 /tmp/ruby-build.20161217152540.70329 ~/Downloads
  3. checking build system type... x86_64-apple-darwin16.1.0
  4. checking host system type... x86_64-apple-darwin16.1.0
  5. checking target system type... x86_64-apple-darwin16.1.0
  6. checking whether the C compiler works... yes
  7. checking for C compiler default output file name... a.out
  8. checking for suffix of executables...
  9. checking whether we are cross compiling... no
  10. checking for suffix of object files... o
  11. checking whether we are using the GNU C compiler... yes
  12. checking whether clang accepts -g... yes
  13. checking for clang option to accept ISO C89... none needed
  14. checking whether we are using the GNU C++ compiler... yes
  15. checking whether clang++ accepts -g... yes
  16. checking how to run the C preprocessor... clang -E
  17. checking for grep that handles long lines and -e... /usr/bin/grep
  18. checking for egrep... /usr/bin/grep -E
  19. checking whether clang needs -traditional... no
  20. checking for ld... ld
  21. checking whether the linker is GNU ld... no
  22. checking whether clang -E accepts -o... yes
  23. checking for real target cpu... x86_64
  24. checking for ranlib... ranlib
  25. checking for ar... ar
  26. checking for as... as
  27. checking for objdump... objdump
  28. checking for objcopy... no
  29. checking for gobjcopy... no
  30. checking for nm... nm
  31. checking whether ln -s works... yes
  32. checking whether make sets $(MAKE)... yes
  33. checking for a BSD-compatible install... /usr/bin/install -c
  34. checking for a thread-safe mkdir -p... -d
  35. use 'mkdir -p' as MKDIR_P
  36. checking for dtrace... dtrace
  37. checking for dot... no
  38. checking for doxygen... no
  39. checking for pkg-config... pkg-config
  40. checking for ANSI C header files... yes
  41. checking for sys/types.h... yes
  42. checking for sys/stat.h... yes
  43. checking for stdlib.h... yes
  44. checking for string.h... yes
  45. checking for memory.h... yes
  46. checking for strings.h... yes
  47. checking for inttypes.h... yes
  48. checking for stdint.h... yes
  49. checking for unistd.h... yes
  50. checking minix/config.h usability... no
  51. checking minix/config.h presence... no
  52. checking for minix/config.h... no
  53. checking whether it is safe to define __EXTENSIONS__... yes
  54. checking for cd using physical directory... cd -P
  55. checking whether CFLAGS is valid... yes
  56. checking whether LDFLAGS is valid... yes
  57. checking whether -Wno-unused-parameter is accepted as CFLAGS... yes
  58. checking whether -Wno-parentheses is accepted as CFLAGS... yes
  59. checking whether -Wno-long-long is accepted as CFLAGS... yes
  60. checking whether -Wno-missing-field-initializers is accepted as CFLAGS... yes
  61. checking whether -Wunused-variable is accepted as CFLAGS... yes
  62. checking whether -Wpointer-arith is accepted as CFLAGS... yes
  63. checking whether -Wwrite-strings is accepted as CFLAGS... yes
  64. checking whether -Wdeclaration-after-statement is accepted as CFLAGS... yes
  65. checking whether -Wshorten-64-to-32 is accepted as CFLAGS... yes
  66. checking whether -Wimplicit-function-declaration is accepted as CFLAGS... yes
  67. checking whether -Wdivision-by-zero is accepted as CFLAGS... yes
  68. checking whether -Wextra-tokens is accepted as CFLAGS... yes
  69. checking whether -Wall -Wextra is accepted as CFLAGS... yes
  70. checking whether -Qunused-arguments is accepted as CFLAGS... yes
  71. checking whether -D_FORTIFY_SOURCE=2 is accepted as CFLAGS... yes
  72. checking whether -fstack-protector is accepted as CFLAGS... yes
  73. checking whether -fstack-protector is accepted as LDFLAGS... yes
  74. checking whether -fno-strict-overflow is accepted as CFLAGS... yes
  75. checking whether -ggdb3 is accepted as CFLAGS... yes
  76. checking whether -fvisibility=hidden is accepted as CFLAGS... yes
  77. checking whether -fno-fast-math is accepted as CFLAGS... yes
  78. checking whether Mac OS X 10.5 or later... yes
  79. checking for broken crypt with 8bit chars... no
  80. checking for codesign... codesign
  81. checking for crt_externs.h... yes
  82. checking for crypt in -lcrypt... (cached) no
  83. checking for dlopen in -ldl... yes
  84. checking for shl_load in -ldld... no
  85. checking for shutdown in -lsocket... no
  86. checking for dirent.h that defines DIR... yes
  87. checking for library containing opendir... none required
  88. checking for stdbool.h that conforms to C99... yes
  89. checking for _Bool... yes
  90. checking for sys/wait.h that is POSIX.1 compatible... yes
  91. checking limits.h usability... yes
  92. checking limits.h presence... yes
  93. checking for limits.h... yes
  94. checking sys/file.h usability... yes
  95. checking sys/file.h presence... yes
  96. checking for sys/file.h... yes
  97. checking sys/ioctl.h usability... yes
  98. checking sys/ioctl.h presence... yes
  99. checking for sys/ioctl.h... yes
  100. checking sys/syscall.h usability... yes
  101. checking sys/syscall.h presence... yes
  102. checking for sys/syscall.h... yes
  103. checking fcntl.h usability... yes
  104. checking fcntl.h presence... yes
  105. checking for fcntl.h... yes
  106. checking sys/fcntl.h usability... yes
  107. checking sys/fcntl.h presence... yes
  108. checking for sys/fcntl.h... yes
  109. checking sys/select.h usability... yes
  110. checking sys/select.h presence... yes
  111. checking for sys/select.h... yes
  112. checking sys/time.h usability... yes
  113. checking sys/time.h presence... yes
  114. checking for sys/time.h... yes
  115. checking sys/times.h usability... yes
  116. checking sys/times.h presence... yes
  117. checking for sys/times.h... yes
  118. checking sys/param.h usability... yes
  119. checking sys/param.h presence... yes
  120. checking for sys/param.h... yes
  121. checking syscall.h usability... no
  122. checking syscall.h presence... no
  123. checking for syscall.h... no
  124. checking pwd.h usability... yes
  125. checking pwd.h presence... yes
  126. checking for pwd.h... yes
  127. checking grp.h usability... yes
  128. checking grp.h presence... yes
  129. checking for grp.h... yes
  130. checking a.out.h usability... no
  131. checking a.out.h presence... no
  132. checking for a.out.h... no
  133. checking utime.h usability... yes
  134. checking utime.h presence... yes
  135. checking for utime.h... yes
  136. checking direct.h usability... no
  137. checking direct.h presence... no
  138. checking for direct.h... no
  139. checking sys/resource.h usability... yes
  140. checking sys/resource.h presence... yes
  141. checking for sys/resource.h... yes
  142. checking sys/mkdev.h usability... no
  143. checking sys/mkdev.h presence... no
  144. checking for sys/mkdev.h... no
  145. checking sys/utime.h usability... no
  146. checking sys/utime.h presence... no
  147. checking for sys/utime.h... no
  148. checking float.h usability... yes
  149. checking float.h presence... yes
  150. checking for float.h... yes
  151. checking ieeefp.h usability... no
  152. checking ieeefp.h presence... no
  153. checking for ieeefp.h... no
  154. checking for ucontext.h... (cached) no
  155. checking intrinsics.h usability... no
  156. checking intrinsics.h presence... no
  157. checking for intrinsics.h... no
  158. checking langinfo.h usability... yes
  159. checking langinfo.h presence... yes
  160. checking for langinfo.h... yes
  161. checking locale.h usability... yes
  162. checking locale.h presence... yes
  163. checking for locale.h... yes
  164. checking sys/sendfile.h usability... no
  165. checking sys/sendfile.h presence... no
  166. checking for sys/sendfile.h... no
  167. checking time.h usability... yes
  168. checking time.h presence... yes
  169. checking for time.h... yes
  170. checking net/socket.h usability... no
  171. checking net/socket.h presence... no
  172. checking for net/socket.h... no
  173. checking sys/socket.h usability... yes
  174. checking sys/socket.h presence... yes
  175. checking for sys/socket.h... yes
  176. checking process.h usability... no
  177. checking process.h presence... no
  178. checking for process.h... no
  179. checking sys/prctl.h usability... no
  180. checking sys/prctl.h presence... no
  181. checking for sys/prctl.h... no
  182. checking atomic.h usability... no
  183. checking atomic.h presence... no
  184. checking for atomic.h... no
  185. checking malloc.h usability... no
  186. checking malloc.h presence... no
  187. checking for malloc.h... no
  188. checking malloc_np.h usability... no
  189. checking malloc_np.h presence... no
  190. checking for malloc_np.h... no
  191. checking malloc/malloc.h usability... yes
  192. checking malloc/malloc.h presence... yes
  193. checking for malloc/malloc.h... yes
  194. checking setjmpex.h usability... no
  195. checking setjmpex.h presence... no
  196. checking for setjmpex.h... no
  197. checking gmp.h usability... yes
  198. checking gmp.h presence... yes
  199. checking for gmp.h... yes
  200. checking for __gmpz_init in -lgmp... yes
  201. checking for special C compiler options needed for large files... no
  202. checking for _FILE_OFFSET_BITS value needed for large files... no
  203. checking whether byte ordering is bigendian... no
  204. checking for an ANSI C-conforming const... yes
  205. checking whether char is unsigned... no
  206. checking for inline... inline
  207. checking for working volatile... yes
  208. checking for long long... yes
  209. checking for off_t... yes
  210. checking char bit... 8
  211. checking size of int... 4
  212. checking size of short... 2
  213. checking size of long... 8
  214. checking size of long long... 8
  215. checking size of __int64... 0
  216. checking size of __int128... 16
  217. checking size of off_t... 8
  218. checking size of void*... 8
  219. checking size of float... 4
  220. checking size of double... 8
  221. checking size of time_t... 8
  222. checking size of clock_t... 8
  223. checking for printf prefix for long long... ll
  224. checking for pid_t... yes
  225. checking for convertible type of pid_t... INT
  226. checking for uid_t... yes
  227. checking for convertible type of uid_t... UINT
  228. checking for gid_t... yes
  229. checking for convertible type of gid_t... UINT
  230. checking for time_t... yes
  231. checking for convertible type of time_t... LONG
  232. checking for dev_t... yes
  233. checking for convertible type of dev_t... INT
  234. checking for mode_t... yes
  235. checking for convertible type of mode_t... UINT
  236. checking for rlim_t... yes
  237. checking for convertible type of rlim_t... ULL
  238. checking for off_t... (cached) yes
  239. checking for convertible type of off_t... LL
  240. checking for clockid_t... no
  241. checking for convertible type of clockid_t... INT
  242. checking for prototypes... yes
  243. checking token paste string... ansi
  244. checking stringization... #expr
  245. checking string literal concatenation... yes
  246. checking for variable length prototypes and stdarg.h... yes
  247. checking for variable length macro... yes
  248. checking for noreturn function attribute... __attribute__ ((noreturn)) x
  249. checking for deprecated function attribute... __attribute__ ((deprecated)) x
  250. checking for noinline function attribute... __attribute__ ((noinline)) x
  251. checking for stdcall function attribute... x
  252. checking for cdecl function attribute... __attribute__ ((cdecl)) x
  253. checking for fastcall function attribute... x
  254. checking for function alias... no
  255. checking for __atomic builtins... yes
  256. checking for __sync builtins... yes
  257. checking for __builtin_unreachable... yes
  258. checking for exported function attribute... __attribute__ ((visibility("default")))
  259. checking for function name string predefined identifier... __func__
  260. checking whether sys_nerr is declared... yes
  261. checking whether getenv is declared... yes
  262. checking for size_t... yes
  263. checking size of size_t... 8
  264. checking size of ptrdiff_t... 8
  265. checking for printf prefix for size_t... z
  266. checking for printf prefix for ptrdiff_t... t
  267. checking for struct stat.st_blksize... yes
  268. checking for struct stat.st_blocks... yes
  269. checking for struct stat.st_rdev... yes
  270. checking size of struct stat.st_size... SIZEOF_LONG
  271. checking size of struct stat.st_blocks... SIZEOF_LONG
  272. checking for struct stat.st_atim... no
  273. checking for struct stat.st_atimespec... yes
  274. checking for struct stat.st_atimensec... no
  275. checking for struct stat.st_mtim... no
  276. checking for struct stat.st_mtimespec... yes
  277. checking for struct stat.st_mtimensec... no
  278. checking for struct stat.st_ctim... no
  279. checking for struct stat.st_ctimespec... yes
  280. checking for struct stat.st_ctimensec... no
  281. checking for struct timeval... yes
  282. checking size of struct timeval.tv_sec... SIZEOF_TIME_T
  283. checking for struct timespec... yes
  284. checking for struct timezone... yes
  285. checking for clockid_t... (cached) no
  286. checking for fd_mask... yes
  287. checking for int8_t... yes
  288. checking size of int8_t... 1
  289. checking for uint8_t... yes
  290. checking size of uint8_t... 1
  291. checking for int16_t... yes
  292. checking size of int16_t... 2
  293. checking for uint16_t... yes
  294. checking size of uint16_t... 2
  295. checking for int32_t... yes
  296. checking size of int32_t... 4
  297. checking for uint32_t... yes
  298. checking size of uint32_t... 4
  299. checking for int64_t... yes
  300. checking size of int64_t... 8
  301. checking for uint64_t... yes
  302. checking size of uint64_t... 8
  303. checking for int128_t... __int128
  304. checking for uint128_t... unsigned __int128
  305. checking for intptr_t... yes
  306. checking size of intptr_t... 8
  307. checking for uintptr_t... yes
  308. checking size of uintptr_t... 8
  309. checking for ssize_t... yes
  310. checking size of ssize_t... 8
  311. checking for stack end address... no
  312. checking for uid_t in sys/types.h... (cached) yes
  313. checking type of array argument to getgroups... (cached) gid_t
  314. checking return type of signal handlers... void
  315. checking for working alloca.h... yes
  316. checking for alloca... yes
  317. checking for dynamic size alloca... ok
  318. checking for working memcmp... yes
  319. checking for broken erfc of glibc-2.3.6 on IA64... no
  320. checking for dup2... yes
  321. checking for memmove... yes
  322. checking for strerror... yes
  323. checking for strchr... yes
  324. checking for strstr... yes
  325. checking for crypt... yes
  326. checking for flock... yes
  327. checking for isnan... yes
  328. checking for finite... yes
  329. checking for isinf... yes
  330. checking for hypot... yes
  331. checking for acosh... yes
  332. checking for erf... yes
  333. checking for tgamma... yes
  334. checking for lgamma_r... yes
  335. checking for cbrt... yes
  336. checking for strlcpy... yes
  337. checking for strlcat... yes
  338. checking for ffs... yes
  339. checking for setproctitle... no
  340. checking sys/pstat.h usability... no
  341. checking sys/pstat.h presence... no
  342. checking for sys/pstat.h... no
  343. checking for signbit... yes
  344. checking for __syscall... yes
  345. checking for _longjmp... yes
  346. checking for _setjmp... no
  347. checking for _setjmpex... no
  348. checking for chroot... yes
  349. checking for chsize... no
  350. checking for clock_gettime... yes
  351. checking for cosh... yes
  352. checking for daemon... (cached) no
  353. checking for dl_iterate_phdr... no
  354. checking for dlopen... yes
  355. checking for dup... yes
  356. checking for dup3... no
  357. checking for eaccess... no
  358. checking for endgrent... yes
  359. checking for fchmod... yes
  360. checking for fchown... yes
  361. checking for fcntl... yes
  362. checking for fdatasync... (cached) no
  363. checking for fmod... yes
  364. checking for fork... yes
  365. checking for fsync... yes
  366. checking for ftruncate... yes
  367. checking for ftruncate64... no
  368. checking for getcwd... yes
  369. checking for getgrnam_r... yes
  370. checking for getgroups... yes
  371. checking for getpgid... yes
  372. checking for getpgrp... yes
  373. checking for getpriority... yes
  374. checking for getpwnam_r... yes
  375. checking for getrlimit... yes
  376. checking for getsid... yes
  377. checking for gettimeofday... yes
  378. checking for gmtime_r... yes
  379. checking for initgroups... yes
  380. checking for ioctl... yes
  381. checking for isfinite... no
  382. checking for issetugid... yes
  383. checking for killpg... yes
  384. checking for lchmod... yes
  385. checking for lchown... yes
  386. checking for link... yes
  387. checking for llabs... yes
  388. checking for lockf... yes
  389. checking for log2... yes
  390. checking for lstat... yes
  391. checking for malloc_usable_size... no
  392. checking for malloc_size... yes
  393. checking for mblen... yes
  394. checking for memalign... no
  395. checking for memrchr... no
  396. checking for mktime... yes
  397. checking for pipe2... no
  398. checking for poll... yes
  399. checking for posix_fadvise... no
  400. checking for posix_memalign... yes
  401. checking for ppoll... no
  402. checking for pread... yes
  403. checking for readlink... yes
  404. checking for round... yes
  405. checking for seekdir... yes
  406. checking for select_large_fdset... no
  407. checking for sendfile... yes
  408. checking for setegid... yes
  409. checking for setenv... yes
  410. checking for seteuid... yes
  411. checking for setgid... yes
  412. checking for setgroups... yes
  413. checking for setpgid... yes
  414. checking for setpgrp... yes
  415. checking for setregid... yes
  416. checking for setresgid... no
  417. checking for setresuid... no
  418. checking for setreuid... yes
  419. checking for setrgid... yes
  420. checking for setrlimit... yes
  421. checking for setruid... yes
  422. checking for setsid... yes
  423. checking for setuid... yes
  424. checking for shutdown... yes
  425. checking for sigaction... yes
  426. checking for sigaltstack... yes
  427. checking for sigprocmask... yes
  428. checking for sinh... yes
  429. checking for spawnv... no
  430. checking for symlink... yes
  431. checking for syscall... yes
  432. checking for sysconf... yes
  433. checking for tanh... yes
  434. checking for telldir... yes
  435. checking for timegm... yes
  436. checking for times... yes
  437. checking for truncate... yes
  438. checking for truncate64... no
  439. checking for unsetenv... yes
  440. checking for utimensat... no
  441. checking for utimes... yes
  442. checking for wait4... yes
  443. checking for waitpid... yes
  444. checking for __builtin_bswap16... yes
  445. checking for __builtin_bswap32... yes
  446. checking for __builtin_bswap64... yes
  447. checking for __builtin_clz... yes
  448. checking for __builtin_clzl... yes
  449. checking for __builtin_clzll... yes
  450. checking for __builtin_choose_expr... yes
  451. checking for __builtin_types_compatible_p... yes
  452. checking for clock_getres... yes
  453. checking for unsetenv returns a value... yes
  454. checking for sigsetjmp as a macro or function... yes
  455. checking whether struct tm is in sys/time.h or time.h... time.h
  456. checking for struct tm.tm_zone... yes
  457. checking for struct tm.tm_gmtoff... yes
  458. checking for external int daylight... yes
  459. checking for external timezone... long
  460. checking for external altzone... no
  461. checking for timezone... yes
  462. checking whether timezone requires zero arguments... yes
  463. checking for negative time_t for gmtime(3)... yes
  464. checking for localtime(3) overflow correctly... yes
  465. checking whether right shift preserve sign bit... yes
  466. checking read count field in FILE structures... _r
  467. checking read buffer ptr field in FILE structures... _p
  468. checking size of struct stat.st_ino... SIZEOF_LONG
  469. checking whether _SC_CLK_TCK is supported... yes
  470. checking stack growing direction on x86_64... -1
  471. checking for pthread_kill in -lthr... no
  472. checking for pthread_kill in -lpthread... yes
  473. checking for pthread_np.h... no
  474. checking for sched_yield... yes
  475. checking for pthread_attr_setinheritsched... yes
  476. checking for pthread_getattr_np... no
  477. checking for pthread_attr_get_np... no
  478. checking for pthread_attr_getstack... yes
  479. checking for pthread_get_stackaddr_np... yes
  480. checking for pthread_get_stacksize_np... yes
  481. checking for thr_stksegment... no
  482. checking for pthread_stackseg_np... no
  483. checking for pthread_getthrds_np... no
  484. checking for pthread_cond_init... yes
  485. checking for pthread_condattr_setclock... no
  486. checking for pthread_condattr_init... yes
  487. checking for pthread_sigmask... yes
  488. checking for pthread_setname_np... yes
  489. checking for pthread_attr_init... yes
  490. checking arguments of pthread_setname_np... (name)
  491. checking if fork works with pthread... yes
  492. checking whether ELF binaries are produced... no
  493. checking whether OS depend dynamic link works... yes
  494. checking execinfo.h usability... yes
  495. checking execinfo.h presence... yes
  496. checking for execinfo.h... yes
  497. checking for backtrace in -lexecinfo... no
  498. checking for backtrace... yes
  499. checking for broken backtrace... yes
  500. checking valgrind/memcheck.h usability... no
  501. checking valgrind/memcheck.h presence... no
  502. checking for valgrind/memcheck.h... no
  503. checking for strip... strip
  504. checking whether -fPIE is accepted as CFLAGS... yes
  505. checking whether -pie is accepted as LDFLAGS... no
  506. checking whether -Wl,-pie is accepted as LDFLAGS... yes
  507. checking whether dtrace USDT is available... yes
  508. checking whether dtrace USDT is available... (cached) yes
  509. checking whether dtrace needs post processing... no
  510. checking for __builtin_setjmp... (cached) no
  511. checking for setjmp type... sigsetjmp
  512. checking for prefix of external symbols... _
  513. checking pthread.h usability... yes
  514. checking pthread.h presence... yes
  515. checking for pthread.h... yes
  516. checking if make is GNU make... yes
  517. checking for memmem... yes
  518. checking for broken memmem... yes
  519. checking for nroff... /usr/bin/nroff
  520. .ext/include/x86_64-darwin16.0/ruby/config.h updated
  521. ruby library version = 2.1.0
  522. configure: creating ./config.status
  523. config.status: creating GNUmakefile
  524. config.status: creating Makefile
  525. config.status: creating ruby-2.1.pc
  526. CC = clang
  527. LD = ld
  528. LDSHARED = clang -dynamic -bundle
  529. CFLAGS = -O3 -Wno-error=shorten-64-to-32 -pipe
  530. XCFLAGS = -D_FORTIFY_SOURCE=2 -fstack-protector -fno-strict-overflow -fvisibility=hidden -DRUBY_EXPORT -fPIE
  531. CPPFLAGS = -I/Users/zhengdai/.rbenv/versions/2.1.6/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -I. -I.ext/include/x86_64-darwin16.0 -I./include -I.
  532. DLDFLAGS = -Wl,-undefined,dynamic_lookup -Wl,-multiply_defined,suppress -fstack-protector -Wl,-u,_objc_msgSend -Wl,-pie -framework CoreFoundation
  533. SOLIBS = -lgmp
  534. compiling main.c
  535. compiling dmydln.c
  536. compiling miniinit.c
  537. Apple LLVM version 8.0.0 (clang-800.0.42.1)
  538. Target: x86_64-apple-darwin16.1.0
  539. Thread model: posix
  540. InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
  541. compiling miniprelude.c
  542. translating probes probes.d
  543. compiling bignum.c
  544. compiling class.c
  545. compiling compar.c
  546. . ./vm_opts.h
  547. compiling complex.c
  548. compiling dir.c
  549. compiling dln_find.c
  550. compiling encoding.c
  551. compiling enum.c
  552. compiling enumerator.c
  553. compiling error.c
  554. bignum.c:4414:24: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
  555. return INT2FIX(-1);
  556. ^~~~~~~~~~~
  557. ./include/ruby/ruby.h:231:48: note: expanded from macro 'INT2FIX'
  558. #define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
  559. ~~~~~~~~~~~~~~~~~~~^
  560. bignum.c:4421:30: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
  561. return hibitsx ? INT2FIX(-1) : INT2FIX(0);
  562. ^~~~~~~~~~~
  563. ./include/ruby/ruby.h:231:48: note: expanded from macro 'INT2FIX'
  564. #define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
  565. ~~~~~~~~~~~~~~~~~~~^
  566. bignum.c:4458:57: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
  567. return RBIGNUM_POSITIVE_P(x) ? INT2FIX(0) : INT2FIX(-1);
  568. ^~~~~~~~~~~
  569. ./include/ruby/ruby.h:231:48: note: expanded from macro 'INT2FIX'
  570. #define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
  571. ~~~~~~~~~~~~~~~~~~~^
  572. bignum.c:5308:30: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
  573. if (yd > 0.0) return INT2FIX(-1);
  574. ^~~~~~~~~~~
  575. ./include/ruby/ruby.h:231:48: note: expanded from macro 'INT2FIX'
  576. #define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
  577. ~~~~~~~~~~~~~~~~~~~^
  578. bignum.c:5325:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
  579. return INT2FIX(-1);
  580. ^~~~~~~~~~~
  581. ./include/ruby/ruby.h:231:48: note: expanded from macro 'INT2FIX'
  582. #define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
  583. ~~~~~~~~~~~~~~~~~~~^
  584. bignum.c:5329:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
  585. return INT2FIX(-1);
  586. ^~~~~~~~~~~
  587. ./include/ruby/ruby.h:231:48: note: expanded from macro 'INT2FIX'
  588. #define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
  589. ~~~~~~~~~~~~~~~~~~~^
  590. bignum.c:5335:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
  591. return INT2FIX(-1);
  592. ^~~~~~~~~~~
  593. ./include/ruby/ruby.h:231:48: note: expanded from macro 'INT2FIX'
  594. #define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
  595. ~~~~~~~~~~~~~~~~~~~^
  596. bignum.c:5345:12: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
  597. return INT2FIX(-1);
  598. ^~~~~~~~~~~
  599. ./include/ruby/ruby.h:231:48: note: expanded from macro 'INT2FIX'
  600. #define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
  601. ~~~~~~~~~~~~~~~~~~~^
  602. bignum.c:5410:51: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
  603. if (RBIGNUM_SIGN(x) < RBIGNUM_SIGN(y)) return INT2FIX(-1);
  604. ^~~~~~~~~~~
  605. ./include/ruby/ruby.h:231:48: note: expanded from macro 'INT2FIX'
  606. #define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
  607. ~~~~~~~~~~~~~~~~~~~^
  608. bignum.c:5606:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
  609. if (!n) return INT2FIX(-1);
  610. ^~~~~~~~~~~
  611. ./include/ruby/ruby.h:231:48: note: expanded from macro 'INT2FIX'
  612. #define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
  613. ~~~~~~~~~~~~~~~~~~~^
  614. bignum.c:5617:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
  615. return INT2FIX(-1);
  616. ^~~~~~~~~~~
  617. ./include/ruby/ruby.h:231:48: note: expanded from macro 'INT2FIX'
  618. #define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
  619. ~~~~~~~~~~~~~~~~~~~^
  620. bignum.c:6538:25: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
  621. if (y == -1) return INT2FIX(-1);
  622. ^~~~~~~~~~~
  623. ./include/ruby/ruby.h:231:48: note: expanded from macro 'INT2FIX'
  624. #define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
  625. ~~~~~~~~~~~~~~~~~~~^
  626. bignum.c:6539:35: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
  627. if (xn == 0) return hibitsx ? INT2FIX(-1) : LONG2FIX(y);
  628. ^~~~~~~~~~~
  629. ./include/ruby/ruby.h:231:48: note: expanded from macro 'INT2FIX'
  630. #define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
  631. ~~~~~~~~~~~~~~~~~~~^
  632. compiling eval.c
  633. compiling load.c
  634. compiling proc.c
  635. compiling file.c
  636. compiling gc.c
  637. compiling hash.c
  638. file.c:420:51: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
  639. if (ts1.tv_nsec < ts2.tv_nsec) return INT2FIX(-1);
  640. ^~~~~~~~~~~
  641. ./include/ruby/ruby.h:231:48: note: expanded from macro 'INT2FIX'
  642. #define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
  643. ~~~~~~~~~~~~~~~~~~~^
  644. file.c:423:45: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
  645. if (ts1.tv_sec < ts2.tv_sec) return INT2FIX(-1);
  646. ^~~~~~~~~~~
  647. ./include/ruby/ruby.h:231:48: note: expanded from macro 'INT2FIX'
  648. #define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
  649. ~~~~~~~~~~~~~~~~~~~^
  650. compiling inits.c
  651. compiling io.c
  652. compiling marshal.c
  653. compiling math.c
  654. compiling node.c
  655. compiling numeric.c
  656. compiling object.c
  657. numeric.c:1129:23: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
  658. if (a < b) return INT2FIX(-1);
  659. ^~~~~~~~~~~
  660. ./include/ruby/ruby.h:231:48: note: expanded from macro 'INT2FIX'
  661. #define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
  662. ~~~~~~~~~~~~~~~~~~~^
  663. numeric.c:1171:13: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
  664. return INT2FIX(-1);
  665. ^~~~~~~~~~~
  666. ./include/ruby/ruby.h:231:48: note: expanded from macro 'INT2FIX'
  667. #define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
  668. ~~~~~~~~~~~~~~~~~~~^
  669. object.c:1663:9: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
  670. return INT2FIX(-1);
  671. ^~~~~~~~~~~
  672. ./include/ruby/ruby.h:231:48: note: expanded from macro 'INT2FIX'
  673. #define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
  674. ~~~~~~~~~~~~~~~~~~~^
  675. numeric.c:3077:10: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
  676. return INT2FIX(-1);
  677. ^~~~~~~~~~~
  678. ./include/ruby/ruby.h:231:48: note: expanded from macro 'INT2FIX'
  679. #define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
  680. ~~~~~~~~~~~~~~~~~~~^
  681. numeric.c:3094:18: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
  682. else return INT2FIX(-1);
  683. ^~~~~~~~~~~
  684. ./include/ruby/ruby.h:231:48: note: expanded from macro 'INT2FIX'
  685. #define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
  686. ~~~~~~~~~~~~~~~~~~~^
  687. numeric.c:3164:9: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
  688. return INT2FIX(-1);
  689. ^~~~~~~~~~~
  690. ./include/ruby/ruby.h:231:48: note: expanded from macro 'INT2FIX'
  691. #define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
  692. ~~~~~~~~~~~~~~~~~~~^
  693. numeric.c:3247:46: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
  694. return rb_integer_float_cmp(x, y) == INT2FIX(-1) ? Qtrue : Qfalse;
  695. ^~~~~~~~~~~
  696. ./include/ruby/ruby.h:231:48: note: expanded from macro 'INT2FIX'
  697. #define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
  698. ~~~~~~~~~~~~~~~~~~~^
  699. numeric.c:3274:16: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
  700. return rel == INT2FIX(-1) || rel == INT2FIX(0) ? Qtrue : Qfalse;
  701. ^~~~~~~~~~~
  702. ./include/ruby/ruby.h:231:48: note: expanded from macro 'INT2FIX'
  703. #define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
  704. ~~~~~~~~~~~~~~~~~~~^
  705. numeric.c:3445:22: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
  706. if (val < 0) return INT2FIX(-1);
  707. ^~~~~~~~~~~
  708. ./include/ruby/ruby.h:231:48: note: expanded from macro 'INT2FIX'
  709. #define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
  710. ~~~~~~~~~~~~~~~~~~~^
  711. numeric.c:3640:68: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
  712. return ruby_num_interval_step_size(from, RARRAY_AREF(args, 0), INT2FIX(-1), FALSE);
  713. ^~~~~~~~~~~
  714. ./include/ruby/ruby.h:231:48: note: expanded from macro 'INT2FIX'
  715. #define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
  716. ~~~~~~~~~~~~~~~~~~~^
  717. numeric.c:4013:43: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
  718. rb_define_const(rb_cFloat, "MIN_EXP", INT2FIX(DBL_MIN_EXP));
  719. ^~~~~~~~~~~~~~~~~~~~
  720. ./include/ruby/ruby.h:231:48: note: expanded from macro 'INT2FIX'
  721. #define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
  722. ~~~~~~~~~~~~~~~~~~~^
  723. numeric.c:4027:46: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
  724. rb_define_const(rb_cFloat, "MIN_10_EXP", INT2FIX(DBL_MIN_10_EXP));
  725. ^~~~~~~~~~~~~~~~~~~~~~~
  726. ./include/ruby/ruby.h:231:48: note: expanded from macro 'INT2FIX'
  727. #define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
  728. ~~~~~~~~~~~~~~~~~~~^
  729. 2 warnings generated.
  730. compiling pack.c
  731. compiling parse.c
  732. parse.y:1360:4: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
  733. nd_set_line((yyval.node), (yyvsp[(2) - (5)].num));
  734. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  735. ./node.h:290:43: note: expanded from macro 'nd_set_line'
  736. RNODE(n)->flags=((RNODE(n)->flags&~(-1<<NODE_LSHIFT))|(((l)&NODE_LMASK)<<NODE_LSHIFT))
  737. ~~^
  738. parse.y:1372:4: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
  739. nd_set_line((yyval.node), tokline);
  740. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  741. ./node.h:290:43: note: expanded from macro 'nd_set_line'
  742. RNODE(n)->flags=((RNODE(n)->flags&~(-1<<NODE_LSHIFT))|(((l)&NODE_LMASK)<<NODE_LSHIFT))
  743. ~~^
  744. parse.y:2602:5: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
  745. nd_set_line((yyvsp[(3) - (4)].node), (yyvsp[(2) - (4)].num));
  746. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  747. ./node.h:290:43: note: expanded from macro 'nd_set_line'
  748. RNODE(n)->flags=((RNODE(n)->flags&~(-1<<NODE_LSHIFT))|(((l)&NODE_LMASK)<<NODE_LSHIFT))
  749. ~~^
  750. parse.y:2605:4: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
  751. nd_set_line((yyval.node), (yyvsp[(2) - (4)].num));
  752. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  753. ./node.h:290:43: note: expanded from macro 'nd_set_line'
  754. RNODE(n)->flags=((RNODE(n)->flags&~(-1<<NODE_LSHIFT))|(((l)&NODE_LMASK)<<NODE_LSHIFT))
  755. ~~^
  756. parse.y:2906:4: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
  757. nd_set_line((yyval.node), (yyvsp[(4) - (6)].num));
  758. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  759. ./node.h:290:43: note: expanded from macro 'nd_set_line'
  760. RNODE(n)->flags=((RNODE(n)->flags&~(-1<<NODE_LSHIFT))|(((l)&NODE_LMASK)<<NODE_LSHIFT))
  761. ~~^
  762. parse.y:2951:4: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
  763. nd_set_line((yyval.node), (yyvsp[(3) - (5)].num));
  764. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  765. ./node.h:290:43: note: expanded from macro 'nd_set_line'
  766. RNODE(n)->flags=((RNODE(n)->flags&~(-1<<NODE_LSHIFT))|(((l)&NODE_LMASK)<<NODE_LSHIFT))
  767. ~~^
  768. parse.y:2972:4: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
  769. nd_set_line((yyval.node), (yyvsp[(1) - (6)].num));
  770. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  771. ./node.h:290:43: note: expanded from macro 'nd_set_line'
  772. RNODE(n)->flags=((RNODE(n)->flags&~(-1<<NODE_LSHIFT))|(((l)&NODE_LMASK)<<NODE_LSHIFT))
  773. ~~^
  774. parse.y:2994:4: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
  775. nd_set_line((yyval.node), (yyvsp[(1) - (9)].num));
  776. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  777. ./node.h:290:43: note: expanded from macro 'nd_set_line'
  778. RNODE(n)->flags=((RNODE(n)->flags&~(-1<<NODE_LSHIFT))|(((l)&NODE_LMASK)<<NODE_LSHIFT))
  779. ~~^
  780. parse.y:3475:4: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
  781. nd_set_line((yyval.node), (yyvsp[(4) - (5)].num));
  782. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  783. ./node.h:290:43: note: expanded from macro 'nd_set_line'
  784. RNODE(n)->flags=((RNODE(n)->flags&~(-1<<NODE_LSHIFT))|(((l)&NODE_LMASK)<<NODE_LSHIFT))
  785. ~~^
  786. parse.y:3520:4: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
  787. nd_set_line((yyval.node), (yyvsp[(2) - (5)].num));
  788. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  789. ./node.h:290:43: note: expanded from macro 'nd_set_line'
  790. RNODE(n)->flags=((RNODE(n)->flags&~(-1<<NODE_LSHIFT))|(((l)&NODE_LMASK)<<NODE_LSHIFT))
  791. ~~^
  792. parse.y:3598:4: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
  793. nd_set_line((yyval.node), (yyvsp[(4) - (5)].num));
  794. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  795. ./node.h:290:43: note: expanded from macro 'nd_set_line'
  796. RNODE(n)->flags=((RNODE(n)->flags&~(-1<<NODE_LSHIFT))|(((l)&NODE_LMASK)<<NODE_LSHIFT))
  797. ~~^
  798. parse.y:3614:4: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
  799. nd_set_line((yyval.node), (yyvsp[(4) - (5)].num));
  800. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  801. ./node.h:290:43: note: expanded from macro 'nd_set_line'
  802. RNODE(n)->flags=((RNODE(n)->flags&~(-1<<NODE_LSHIFT))|(((l)&NODE_LMASK)<<NODE_LSHIFT))
  803. ~~^
  804. parse.y:3638:4: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
  805. nd_set_line((yyval.node), (yyvsp[(3) - (4)].num));
  806. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  807. ./node.h:290:43: note: expanded from macro 'nd_set_line'
  808. RNODE(n)->flags=((RNODE(n)->flags&~(-1<<NODE_LSHIFT))|(((l)&NODE_LMASK)<<NODE_LSHIFT))
  809. ~~^
  810. parse.y:3655:4: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
  811. nd_set_line((yyval.node), (yyvsp[(3) - (4)].num));
  812. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  813. ./node.h:290:43: note: expanded from macro 'nd_set_line'
  814. RNODE(n)->flags=((RNODE(n)->flags&~(-1<<NODE_LSHIFT))|(((l)&NODE_LMASK)<<NODE_LSHIFT))
  815. ~~^
  816. parse.y:3705:4: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
  817. nd_set_line((yyval.node), (yyvsp[(2) - (5)].num));
  818. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  819. ./node.h:290:43: note: expanded from macro 'nd_set_line'
  820. RNODE(n)->flags=((RNODE(n)->flags&~(-1<<NODE_LSHIFT))|(((l)&NODE_LMASK)<<NODE_LSHIFT))
  821. ~~^
  822. parse.y:3724:4: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
  823. nd_set_line((yyval.node), (yyvsp[(2) - (5)].num));
  824. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  825. ./node.h:290:43: note: expanded from macro 'nd_set_line'
  826. RNODE(n)->flags=((RNODE(n)->flags&~(-1<<NODE_LSHIFT))|(((l)&NODE_LMASK)<<NODE_LSHIFT))
  827. ~~^
  828. parse.y:6382:5: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
  829. nd_set_line(lex_strterm, ruby_sourceline);
  830. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  831. ./node.h:290:43: note: expanded from macro 'nd_set_line'
  832. RNODE(n)->flags=((RNODE(n)->flags&~(-1<<NODE_LSHIFT))|(((l)&NODE_LMASK)<<NODE_LSHIFT))
  833. ~~^
  834. parse.y:8277:5: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
  835. nd_set_line(n, ruby_sourceline);
  836. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  837. ./node.h:290:43: note: expanded from macro 'nd_set_line'
  838. RNODE(n)->flags=((RNODE(n)->flags&~(-1<<NODE_LSHIFT))|(((l)&NODE_LMASK)<<NODE_LSHIFT))
  839. ~~^
  840. parse.y:8309:5: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
  841. nd_set_line(node, nd_line(orig));
  842. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  843. ./node.h:290:43: note: expanded from macro 'nd_set_line'
  844. RNODE(n)->flags=((RNODE(n)->flags&~(-1<<NODE_LSHIFT))|(((l)&NODE_LMASK)<<NODE_LSHIFT))
  845. ~~^
  846. 1 warning generated.
  847. compiling process.c
  848. process.c:1889:46: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
  849. rb_hash_aset(h, INT2FIX(fd), INT2FIX(-1));
  850. ^~~~~~~~~~~
  851. ./include/ruby/ruby.h:231:48: note: expanded from macro 'INT2FIX'
  852. #define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
  853. ~~~~~~~~~~~~~~~~~~~^
  854. compiling random.c
  855. 11 warnings generated.
  856. compiling range.c
  857. compiling rational.c
  858. rational.c:233:40: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
  859. return rb_funcall(x, id_eqeq_p, 1, INT2FIX(-1));
  860. ^~~~~~~~~~~
  861. ./include/ruby/ruby.h:231:48: note: expanded from macro 'INT2FIX'
  862. #define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
  863. ~~~~~~~~~~~~~~~~~~~^
  864. compiling re.c
  865. compiling regcomp.c
  866. compiling regenc.c
  867. compiling regerror.c
  868. compiling regexec.c
  869. 1 warning generated.
  870. compiling regparse.c
  871. compiling regsyntax.c
  872. 1 warning generated.
  873. compiling ruby.c
  874. compiling safe.c
  875. compiling signal.c
  876. compiling sprintf.c
  877. compiling st.c
  878. compiling strftime.c
  879. compiling string.c
  880. compiling struct.c
  881. string.c:2682:12: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
  882. return INT2FIX(-1);
  883. ^~~~~~~~~~~
  884. ./include/ruby/ruby.h:231:48: note: expanded from macro 'INT2FIX'
  885. #define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
  886. ~~~~~~~~~~~~~~~~~~~^
  887. 13 warnings generated.
  888. compiling time.c
  889. time.c:1539:19: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
  890. if (lt(v, INT2NUM(INT_MIN)) || lt(INT2NUM(INT_MAX), v))
  891. ~~~~~~^~~~~~~~~~~~~~~~~
  892. ./include/ruby/ruby.h:1277:21: note: expanded from macro 'INT2NUM'
  893. # define INT2NUM(v) INT2FIX((int)(v))
  894. ^
  895. ./include/ruby/ruby.h:231:48: note: expanded from macro 'INT2FIX'
  896. #define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
  897. ^
  898. time.c:67:27: note: expanded from macro 'lt'
  899. #define lt(x,y) (cmp((x),(y)) < 0)
  900. ^
  901. time.c:2598:24: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
  902. if (le(utc_offset, INT2FIX(-86400)) || ge(utc_offset, INT2FIX(86400)))
  903. ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
  904. ./include/ruby/ruby.h:231:48: note: expanded from macro 'INT2FIX'
  905. #define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
  906. ^
  907. time.c:69:27: note: expanded from macro 'le'
  908. #define le(x,y) (cmp((x),(y)) <= 0)
  909. ^
  910. time.c:3335:12: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
  911. return INT2FIX(-1);
  912. ^~~~~~~~~~~
  913. ./include/ruby/ruby.h:231:48: note: expanded from macro 'INT2FIX'
  914. #define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
  915. ~~~~~~~~~~~~~~~~~~~^
  916. compiling transcode.c
  917. compiling util.c
  918. compiling variable.c
  919. compiling version.c
  920. compiling compile.c
  921. compiling debug.c
  922. compile.c:5388:39: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
  923. ADD_INSN1(ret, line, putobject, INT2FIX(-1));
  924. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
  925. ./include/ruby/ruby.h:231:48: note: expanded from macro 'INT2FIX'
  926. #define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
  927. ^
  928. compile.c:190:62: note: expanded from macro 'ADD_INSN1'
  929. new_insn_body(iseq, (line), BIN(insn), 1, (VALUE)(op1)))
  930. ^~~
  931. compile.c:5396:35: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
  932. ADD_INSN1(ret, line, putobject, INT2FIX(-1));
  933. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
  934. ./include/ruby/ruby.h:231:48: note: expanded from macro 'INT2FIX'
  935. #define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
  936. ^
  937. compile.c:190:62: note: expanded from macro 'ADD_INSN1'
  938. new_insn_body(iseq, (line), BIN(insn), 1, (VALUE)(op1)))
  939. ^~~
  940. compiling iseq.c
  941. compiling vm.c
  942. In file included from vm.c:79:
  943. ./vm_insnhelper.c:649:7: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
  944. if (VM_FRAME_TYPE(cfp) == VM_FRAME_MAGIC_LAMBDA) {
  945. ^~~~~~~~~~~~~~~~~~
  946. ./vm_core.h:772:43: note: expanded from macro 'VM_FRAME_TYPE'
  947. #define VM_FRAME_TYPE(cfp) ((cfp)->flag & VM_FRAME_MAGIC_MASK)
  948. ^~~~~~~~~~~~~~~~~~~
  949. ./vm_core.h:770:36: note: expanded from macro 'VM_FRAME_MAGIC_MASK'
  950. #define VM_FRAME_MAGIC_MASK (~(~0<<VM_FRAME_MAGIC_MASK_BITS))
  951. ~~^
  952. In file included from vm.c:79:
  953. ./vm_insnhelper.c:719:8: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
  954. if (VM_FRAME_TYPE(cfp) == VM_FRAME_MAGIC_LAMBDA) {
  955. ^~~~~~~~~~~~~~~~~~
  956. ./vm_core.h:772:43: note: expanded from macro 'VM_FRAME_TYPE'
  957. #define VM_FRAME_TYPE(cfp) ((cfp)->flag & VM_FRAME_MAGIC_MASK)
  958. ^~~~~~~~~~~~~~~~~~~
  959. ./vm_core.h:770:36: note: expanded from macro 'VM_FRAME_MAGIC_MASK'
  960. #define VM_FRAME_MAGIC_MASK (~(~0<<VM_FRAME_MAGIC_MASK_BITS))
  961. ~~^
  962. 3 warnings generated.
  963. compiling vm_dump.c
  964. compiling vm_backtrace.c
  965. vm.c:298:6: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
  966. if (VM_FRAME_TYPE(th->cfp) != VM_FRAME_MAGIC_CFUNC) {
  967. ^~~~~~~~~~~~~~~~~~~~~~
  968. ./vm_core.h:772:43: note: expanded from macro 'VM_FRAME_TYPE'
  969. #define VM_FRAME_TYPE(cfp) ((cfp)->flag & VM_FRAME_MAGIC_MASK)
  970. ^~~~~~~~~~~~~~~~~~~
  971. ./vm_core.h:770:36: note: expanded from macro 'VM_FRAME_MAGIC_MASK'
  972. #define VM_FRAME_MAGIC_MASK (~(~0<<VM_FRAME_MAGIC_MASK_BITS))
  973. ~~^
  974. vm_dump.c:48:13: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
  975. switch (VM_FRAME_TYPE(cfp)) {
  976. ^~~~~~~~~~~~~~~~~~
  977. ./vm_core.h:772:43: note: expanded from macro 'VM_FRAME_TYPE'
  978. #define VM_FRAME_TYPE(cfp) ((cfp)->flag & VM_FRAME_MAGIC_MASK)
  979. ^~~~~~~~~~~~~~~~~~~
  980. ./vm_core.h:770:36: note: expanded from macro 'VM_FRAME_MAGIC_MASK'
  981. #define VM_FRAME_MAGIC_MASK (~(~0<<VM_FRAME_MAGIC_MASK_BITS))
  982. ~~^
  983. vm.c:1420:19: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
  984. if (UNLIKELY(VM_FRAME_TYPE(th->cfp) == VM_FRAME_MAGIC_CFUNC)) {
  985. ^~~~~~~~~~~~~~~~~~~~~~
  986. ./vm_core.h:772:43: note: expanded from macro 'VM_FRAME_TYPE'
  987. #define VM_FRAME_TYPE(cfp) ((cfp)->flag & VM_FRAME_MAGIC_MASK)
  988. ^~~~~~~~~~~~~~~~~~~
  989. ./vm_core.h:770:36: note: expanded from macro 'VM_FRAME_MAGIC_MASK'
  990. #define VM_FRAME_MAGIC_MASK (~(~0<<VM_FRAME_MAGIC_MASK_BITS))
  991. ~~^
  992. ./vm_core.h:106:40: note: expanded from macro 'UNLIKELY'
  993. #define UNLIKELY(x) (__builtin_expect((x), 0))
  994. ^
  995. vm.c:1457:16: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
  996. switch (VM_FRAME_TYPE(cfp)) {
  997. ^~~~~~~~~~~~~~~~~~
  998. ./vm_core.h:772:43: note: expanded from macro 'VM_FRAME_TYPE'
  999. #define VM_FRAME_TYPE(cfp) ((cfp)->flag & VM_FRAME_MAGIC_MASK)
  1000. ^~~~~~~~~~~~~~~~~~~
  1001. ./vm_core.h:770:36: note: expanded from macro 'VM_FRAME_MAGIC_MASK'
  1002. #define VM_FRAME_MAGIC_MASK (~(~0<<VM_FRAME_MAGIC_MASK_BITS))
  1003. ~~^
  1004. vm.c:1602:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
  1005. switch (VM_FRAME_TYPE(th->cfp)) {
  1006. ^~~~~~~~~~~~~~~~~~~~~~
  1007. ./vm_core.h:772:43: note: expanded from macro 'VM_FRAME_TYPE'
  1008. #define VM_FRAME_TYPE(cfp) ((cfp)->flag & VM_FRAME_MAGIC_MASK)
  1009. ^~~~~~~~~~~~~~~~~~~
  1010. ./vm_core.h:770:36: note: expanded from macro 'VM_FRAME_MAGIC_MASK'
  1011. #define VM_FRAME_MAGIC_MASK (~(~0<<VM_FRAME_MAGIC_MASK_BITS))
  1012. ~~^
  1013. vm_backtrace.c:473:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
  1014. else if (RUBYVM_CFUNC_FRAME_P(cfp)) {
  1015. ^~~~~~~~~~~~~~~~~~~~~~~~~
  1016. ./vm_core.h:782:4: note: expanded from macro 'RUBYVM_CFUNC_FRAME_P'
  1017. (VM_FRAME_TYPE(cfp) == VM_FRAME_MAGIC_CFUNC)
  1018. ^~~~~~~~~~~~~~~~~~
  1019. ./vm_core.h:772:43: note: expanded from macro 'VM_FRAME_TYPE'
  1020. #define VM_FRAME_TYPE(cfp) ((cfp)->flag & VM_FRAME_MAGIC_MASK)
  1021. ^~~~~~~~~~~~~~~~~~~
  1022. ./vm_core.h:770:36: note: expanded from macro 'VM_FRAME_MAGIC_MASK'
  1023. #define VM_FRAME_MAGIC_MASK (~(~0<<VM_FRAME_MAGIC_MASK_BITS))
  1024. ~~^
  1025. compiling vm_trace.c
  1026. 1 warning generated.
  1027. compiling thread.c
  1028. 1 warning generated.
  1029. compiling cont.c
  1030. compiling ./enc/ascii.c
  1031. compiling ./enc/us_ascii.c
  1032. compiling ./enc/unicode.c
  1033. compiling ./enc/utf_8.c
  1034. compiling newline.c
  1035. 19 warnings generated.
  1036. compiling ./missing/setproctitle.c
  1037. compiling dmyext.c
  1038. compiling dln.c
  1039. compiling localeinit.c
  1040. compiling array.c
  1041. array.c:3890:12: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
  1042. return INT2FIX(-1);
  1043. ^~~~~~~~~~~
  1044. ./include/ruby/ruby.h:231:48: note: expanded from macro 'INT2FIX'
  1045. #define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
  1046. ~~~~~~~~~~~~~~~~~~~^
  1047. 1 warning generated.
  1048. 1 warning generated.
  1049. 2 warnings generated.
  1050. 6 warnings generated.
  1051. linking miniruby
  1052. generating encdb.h
  1053. rbconfig.rb updated
  1054. generating enc.mk
  1055. creating verconf.h
  1056. generating prelude.c
  1057. compiling prelude.c
  1058. compiling loadpath.c
  1059. encdb.h unchanged
  1060. making srcs under enc
  1061. linking static-library libruby-static.a
  1062. make[1]: Nothing to be done for `srcs'.
  1063. generating transdb.h
  1064. transdb.h unchanged
  1065. verifying static-library libruby-static.a
  1066. making enc
  1067. making trans
  1068. generating makefile exts.mk
  1069. compiling ./enc/encdb.c
  1070. compiling ./enc/trans/transdb.c
  1071. compiling ./enc/cp949.c
  1072. compiling ./enc/euc_kr.c
  1073. compiling ./enc/euc_jp.c
  1074. compiling ./enc/emacs_mule.c
  1075. compiling ./enc/big5.c
  1076. compiling ./enc/euc_tw.c
  1077. compiling ./enc/trans/big5.c
  1078. configuring -test-/array/resize
  1079. compiling ./enc/trans/chinese.c
  1080. configuring -test-/bignum
  1081. configuring -test-/bug-3571
  1082. compiling ./enc/gb2312.c
  1083. configuring -test-/bug-3662
  1084. configuring -test-/bug-5832
  1085. configuring -test-/bug_reporter
  1086. configuring -test-/class
  1087. configuring -test-/debug
  1088. configuring -test-/exception
  1089. compiling ./enc/trans/emoji.c
  1090. configuring -test-/fatal
  1091. configuring -test-/file
  1092. configuring -test-/funcall
  1093. configuring -test-/iter
  1094. configuring -test-/load/dot.dot
  1095. configuring -test-/marshal/compat
  1096. compiling ./enc/trans/emoji_iso2022_kddi.c
  1097. configuring -test-/marshal/usr
  1098. configuring -test-/method
  1099. configuring -test-/num2int
  1100. configuring -test-/old_thread_select
  1101. compiling ./enc/trans/emoji_sjis_docomo.c
  1102. compiling ./enc/trans/emoji_sjis_kddi.c
  1103. compiling ./enc/gb18030.c
  1104. configuring -test-/path_to_class
  1105. configuring -test-/postponed_job
  1106. configuring -test-/printf
  1107. configuring -test-/rational
  1108. configuring -test-/recursion
  1109. configuring -test-/st/numhash
  1110. configuring -test-/st/update
  1111. configuring -test-/string
  1112. configuring -test-/struct
  1113. configuring -test-/symbol
  1114. configuring -test-/tracepoint
  1115. configuring -test-/typeddata
  1116. configuring -test-/wait_for_single_fd
  1117. configuring -test-/win32/dln
  1118. Failed to configure -test-/win32/dln. It will not be installed.
  1119. configuring -test-/win32/dln/empty
  1120. Failed to configure -test-/win32/dln/empty. It will not be installed.
  1121. configuring -test-/win32/fd_setsize
  1122. compiling ./enc/gbk.c
  1123. Failed to configure -test-/win32/fd_setsize. It will not be installed.
  1124. configuring bigdecimal
  1125. compiling ./enc/iso_8859_1.c
  1126. compiling ./enc/iso_8859_2.c
  1127. configuring continuation
  1128. configuring coverage
  1129. configuring date
  1130. configuring dbm
  1131. compiling ./enc/iso_8859_3.c
  1132. compiling ./enc/iso_8859_4.c
  1133. compiling ./enc/iso_8859_5.c
  1134. compiling ./enc/iso_8859_6.c
  1135. compiling ./enc/trans/emoji_sjis_softbank.c
  1136. compiling ./enc/iso_8859_7.c
  1137. compiling ./enc/iso_8859_8.c
  1138. compiling ./enc/iso_8859_9.c
  1139. compiling ./enc/iso_8859_10.c
  1140. compiling ./enc/iso_8859_11.c
  1141. compiling ./enc/iso_8859_13.c
  1142. compiling ./enc/iso_8859_14.c
  1143. header: ndbm.h
  1144. library: libc
  1145. compiling ./enc/iso_8859_15.c
  1146. compiling ./enc/iso_8859_16.c
  1147. compiling ./enc/trans/escape.c
  1148. compiling ./enc/koi8_r.c
  1149. compiling ./enc/koi8_u.c
  1150. compiling ./enc/trans/gb18030.c
  1151. compiling ./enc/trans/gbk.c
  1152. compiling ./enc/trans/iso2022.c
  1153. compiling ./enc/shift_jis.c
  1154. compiling ./enc/utf_16be.c
  1155. configuring digest
  1156. configuring digest/bubblebabble
  1157. configuring digest/md5
  1158. compiling ./enc/trans/japanese.c
  1159. compiling ./enc/utf_16le.c
  1160. compiling ./enc/utf_32be.c
  1161. compiling ./enc/utf_32le.c
  1162. compiling ./enc/trans/japanese_euc.c
  1163. compiling ./enc/trans/japanese_sjis.c
  1164. compiling ./enc/windows_31j.c
  1165. compiling ./enc/windows_1251.c
  1166. compiling ./enc/trans/korean.c
  1167. configuring digest/rmd160
  1168. linking encoding encdb.bundle
  1169. linking encoding big5.bundle
  1170. linking encoding cp949.bundle
  1171. linking encoding emacs_mule.bundle
  1172. linking encoding euc_jp.bundle
  1173. linking encoding euc_kr.bundle
  1174. linking encoding euc_tw.bundle
  1175. linking encoding gb2312.bundle
  1176. linking encoding gb18030.bundle
  1177. linking encoding gbk.bundle
  1178. linking encoding iso_8859_1.bundle
  1179. linking encoding iso_8859_2.bundle
  1180. configuring digest/sha1
  1181. linking encoding iso_8859_3.bundle
  1182. linking encoding iso_8859_4.bundle
  1183. linking encoding iso_8859_5.bundle
  1184. linking encoding iso_8859_6.bundle
  1185. linking encoding iso_8859_7.bundle
  1186. compiling ./enc/trans/single_byte.c
  1187. linking encoding iso_8859_8.bundle
  1188. linking encoding iso_8859_9.bundle
  1189. linking encoding iso_8859_10.bundle
  1190. linking encoding iso_8859_11.bundle
  1191. linking encoding iso_8859_13.bundle
  1192. linking encoding iso_8859_14.bundle
  1193. linking encoding iso_8859_15.bundle
  1194. linking encoding iso_8859_16.bundle
  1195. linking encoding koi8_r.bundle
  1196. linking encoding koi8_u.bundle
  1197. configuring digest/sha2
  1198. linking encoding shift_jis.bundle
  1199. linking encoding utf_16be.bundle
  1200. linking encoding utf_16le.bundle
  1201. linking encoding utf_32be.bundle
  1202. linking encoding utf_32le.bundle
  1203. linking encoding windows_31j.bundle
  1204. linking encoding windows_1251.bundle
  1205. compiling ./enc/trans/utf8_mac.c
  1206. compiling ./enc/trans/utf_16_32.c
  1207. linking transcoder transdb.bundle
  1208. linking transcoder chinese.bundle
  1209. linking transcoder emoji.bundle
  1210. linking transcoder emoji_iso2022_kddi.bundle
  1211. linking transcoder emoji_sjis_docomo.bundle
  1212. linking transcoder emoji_sjis_kddi.bundle
  1213. linking transcoder emoji_sjis_softbank.bundle
  1214. linking transcoder escape.bundle
  1215. linking transcoder gb18030.bundle
  1216. linking transcoder iso2022.bundle
  1217. linking transcoder japanese.bundle
  1218. linking transcoder japanese_sjis.bundle
  1219. configuring dl
  1220. linking transcoder single_byte.bundle
  1221. linking transcoder utf_16_32.bundle
  1222. linking transcoder gbk.bundle
  1223. configuring dl/callback
  1224. configuring etc
  1225. linking transcoder korean.bundle
  1226. linking transcoder utf8_mac.bundle
  1227. linking transcoder japanese_euc.bundle
  1228. linking transcoder big5.bundle
  1229. making encs
  1230. configuring fcntl
  1231. configuring fiber
  1232. configuring fiddle
  1233. configuring gdbm
  1234. configuring io/console
  1235. configuring io/nonblock
  1236. configuring io/wait
  1237. configuring json
  1238. configuring json/generator
  1239. configuring json/parser
  1240. configuring mathn/complex
  1241. configuring mathn/rational
  1242. configuring nkf
  1243. configuring objspace
  1244. configuring openssl
  1245. configuring pathname
  1246. configuring psych
  1247. configuring pty
  1248. configuring racc/cparse
  1249. configuring rbconfig/sizeof
  1250. configuring readline
  1251. configuring ripper
  1252. configuring sdbm
  1253. configuring socket
  1254. configuring stringio
  1255. configuring strscan
  1256. configuring syslog
  1257. configuring thread
  1258. configuring tk
  1259. ...........
  1260. check struct members..
  1261. check libraries....
  1262. Use ActiveTcl libraries (if available).
  1263. Search tclConfig.sh and tkConfig.sh...................
  1264. Ignore "/usr/local/lib/tclConfig.sh" (unsupported version of Tcl/Tk).
  1265. Ignore "/usr/local/lib/tclconfig.sh" (unsupported version of Tcl/Tk).
  1266. .................
  1267. Valid [tclConfig.sh, tkConfig.sh] are found in [["/System/Library/Frameworks/Tcl.framework", "/System/Library/Frameworks/Tk.framework"], ["/usr/lib", "/usr/lib"], ["/System/Library/Frameworks/Tcl.framework/Versions/Current", "/System/Library/Frameworks/Tk.framework/Versions/Current"], ["/System/Library/Frameworks/Tcl.framework/Versions/8.5", "/System/Library/Frameworks/Tk.framework/Versions/8.5"], ["/System/Library/Frameworks/Tcl.framework/Versions/8.4", "/System/Library/Frameworks/Tk.framework/Versions/8.4"]]
  1268. Use [tclConfig.sh, tkConfig.sh] == ["/System/Library/Frameworks/Tcl.framework/tclConfig.sh", "/System/Library/Frameworks/Tk.framework/tkConfig.sh"]
  1269. Use MacOS X Frameworks.
  1270.  
  1271. Find Tcl/Tk libraries. Make tcltklib.so which is required by Ruby/Tk.
  1272. configuring tk/tkutil
  1273. configuring win32
  1274. Failed to configure win32. It will not be installed.
  1275. configuring win32ole
  1276. Failed to configure win32ole. It will not be installed.
  1277. configuring zlib
  1278. compiling bug.c
  1279. compiling big2str.c
  1280. compiling resize.c
  1281. compiling bug.c
  1282. compiling bug.c
  1283. compiling bug_reporter.c
  1284. compiling init.c
  1285. compiling class2name.c
  1286. compiling inspector.c
  1287. compiling init.c
  1288. installing default bug libraries
  1289. installing default resize libraries
  1290. installing default bug libraries
  1291. installing default bug_reporter libraries
  1292. installing default bug libraries
  1293. linking shared-object -test-/bug-5832/bug.bundle
  1294. linking shared-object -test-/array/resize.bundle
  1295. linking shared-object -test-/bug-3662/bug.bundle
  1296. linking shared-object -test-/bug_reporter/bug_reporter.bundle
  1297. linking shared-object -test-/bug-3571/bug.bundle
  1298. compiling bigzero.c
  1299. compiling profile_frames.c
  1300. installing default class libraries
  1301. compiling div.c
  1302. compiling dataerror.c
  1303. compiling rb_fatal.c
  1304. compiling init.c
  1305. linking shared-object -test-/class.bundle
  1306. compiling enc_raise.c
  1307. compiling passing_block.c
  1308. compiling init.c
  1309. installing default debug libraries
  1310. linking shared-object -test-/debug.bundle
  1311. compiling break.c
  1312. installing default rb_fatal libraries
  1313. compiling stat.c
  1314. compiling intpack.c
  1315. linking shared-object -test-/fatal/rb_fatal.bundle
  1316. compiling dot.dot.c
  1317. compiling mul.c
  1318. installing default dot.dot libraries
  1319. linking shared-object -test-/load/dot.dot/dot.dot.bundle
  1320. compiling ensured.c
  1321. compiling usrcompat.c
  1322. installing default funcall libraries
  1323. linking shared-object -test-/funcall/funcall.bundle
  1324. compiling usrmarshal.c
  1325. compiling init.c
  1326. installing default file libraries
  1327. compiling str2big.c
  1328. linking shared-object -test-/file.bundle
  1329. compiling yield.c
  1330. compiling init.c
  1331. installing default bignum libraries
  1332. installing default iter libraries
  1333. installing default compat libraries
  1334. linking shared-object -test-/marshal/compat.bundle
  1335. compiling arity.c
  1336. compiling num2int.c
  1337. installing default usr libraries
  1338. linking shared-object -test-/marshal/usr.bundle
  1339. compiling old_thread_select.c
  1340. installing default exception libraries
  1341. compiling path_to_class.c
  1342. compiling postponed_job.c
  1343. linking shared-object -test-/bignum.bundle
  1344. compiling init.c
  1345. linking shared-object -test-/iter.bundle
  1346. linking shared-object -test-/exception.bundle
  1347. old_thread_select.c:57:10: warning: 'rb_thread_select' is deprecated [-Wdeprecated-declarations]
  1348. rc = rb_thread_select(max, rp, wp, ep, tvp);
  1349. ^
  1350. ../../.././include/ruby/intern.h:440:16: note: 'rb_thread_select' has been explicitly marked deprecated here
  1351. DEPRECATED(int rb_thread_select(int, fd_set *, fd_set *, fd_set *, struct timeval *));
  1352. ^
  1353. installing default old_thread_select libraries
  1354. compiling printf.c
  1355. installing default method libraries
  1356. installing default postponed_job libraries
  1357. compiling rat.c
  1358. installing default printf libraries
  1359. installing default path_to_class libraries
  1360. linking shared-object -test-/path_to_class/path_to_class.bundle
  1361. linking shared-object -test-/postponed_job.bundle
  1362. compiling recursion.c
  1363. installing default num2int libraries
  1364. installing default rational libraries
  1365. linking shared-object -test-/method.bundle
  1366. compiling numhash.c
  1367. linking shared-object -test-/num2int/num2int.bundle
  1368. compiling update.c
  1369. 1 warning generated.
  1370. linking shared-object -test-/old_thread_select/old_thread_select.bundle
  1371. installing default recursion libraries
  1372. compiling coderange.c
  1373. compiling init.c
  1374. installing default update libraries
  1375. compiling init.c
  1376. linking shared-object -test-/recursion.bundle
  1377. linking shared-object -test-/rational.bundle
  1378. linking shared-object -test-/st/update.bundle
  1379. installing default numhash libraries
  1380. compiling gc_hook.c
  1381. compiling typeddata.c
  1382. compiling tracepoint.c
  1383. compiling member.c
  1384. linking shared-object -test-/printf.bundle
  1385. linking shared-object -test-/st/numhash.bundle
  1386. compiling cstr.c
  1387. compiling intern.c
  1388. installing default struct libraries
  1389. installing default tracepoint libraries
  1390. compiling ellipsize.c
  1391. compiling wait_for_single_fd.c
  1392. linking shared-object -test-/struct.bundle
  1393. installing default typeddata libraries
  1394. linking shared-object -test-/typeddata/typeddata.bundle
  1395. compiling type.c
  1396. linking shared-object -test-/tracepoint.bundle
  1397. installing default symbol libraries
  1398. make[2]: Nothing to be done for `all'.
  1399. compiling enc_associate.c
  1400. make[2]: Nothing to be done for `all'.
  1401. compiling enc_str_buf_cat.c
  1402. installing default wait_for_single_fd libraries
  1403. compiling init.c
  1404. make[2]: Nothing to be done for `all'.
  1405. compiling bigdecimal.c
  1406. compiling continuation.c
  1407. compiling coverage.c
  1408. linking shared-object -test-/wait_for_single_fd/wait_for_single_fd.bundle
  1409. installing default continuation libraries
  1410. linking shared-object continuation.bundle
  1411. compiling modify.c
  1412. compiling date_core.c
  1413. linking shared-object -test-/symbol.bundle
  1414. installing default coverage libraries
  1415. compiling normalize.c
  1416. compiling dbm.c
  1417. bigdecimal.c:622:31: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
  1418. if (VpIsNegInf(p)) return INT2FIX(-1);
  1419. ^~~~~~~~~~~
  1420. ../.././include/ruby/ruby.h:231:48: note: expanded from macro 'INT2FIX'
  1421. #define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
  1422. ~~~~~~~~~~~~~~~~~~~^
  1423. compiling qsort.c
  1424. bigdecimal.c:680:48: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
  1425. numerator = rb_funcall(numerator, '*', 1, INT2FIX(-1));
  1426. ^~~~~~~~~~~
  1427. ../.././include/ruby/ruby.h:231:48: note: expanded from macro 'INT2FIX'
  1428. #define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
  1429. ~~~~~~~~~~~~~~~~~~~^
  1430. bigdecimal.c:768:44: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
  1431. numerator = rb_funcall(numerator, '*', 1, INT2FIX(-1));
  1432. ^~~~~~~~~~~
  1433. ../.././include/ruby/ruby.h:231:48: note: expanded from macro 'INT2FIX'
  1434. #define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
  1435. ~~~~~~~~~~~~~~~~~~~^
  1436. compiling digest.c
  1437. linking shared-object coverage.bundle
  1438. compiling bubblebabble.c
  1439. bigdecimal.c:3206:59: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
  1440. rb_define_const(rb_cBigDecimal, "SIGN_NEGATIVE_ZERO", INT2FIX(VP_SIGN_NEGATIVE_ZERO));
  1441. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1442. ../.././include/ruby/ruby.h:231:48: note: expanded from macro 'INT2FIX'
  1443. #define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
  1444. ~~~~~~~~~~~~~~~~~~~^
  1445. bigdecimal.c:3212:61: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
  1446. rb_define_const(rb_cBigDecimal, "SIGN_NEGATIVE_FINITE", INT2FIX(VP_SIGN_NEGATIVE_FINITE));
  1447. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1448. ../.././include/ruby/ruby.h:231:48: note: expanded from macro 'INT2FIX'
  1449. #define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
  1450. ~~~~~~~~~~~~~~~~~~~^
  1451. bigdecimal.c:3218:63: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
  1452. rb_define_const(rb_cBigDecimal, "SIGN_NEGATIVE_INFINITE", INT2FIX(VP_SIGN_NEGATIVE_INFINITE));
  1453. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1454. ../.././include/ruby/ruby.h:231:48: note: expanded from macro 'INT2FIX'
  1455. #define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
  1456. ~~~~~~~~~~~~~~~~~~~^
  1457. compiling md5init.c
  1458. compiling date_parse.c
  1459. date_core.c:3303:9: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
  1460. y = INT2FIX(-4712);
  1461. ^~~~~~~~~~~~~~
  1462. ../.././include/ruby/ruby.h:231:48: note: expanded from macro 'INT2FIX'
  1463. #define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
  1464. ~~~~~~~~~~~~~~~~~~~^
  1465. date_core.c:3371:9: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
  1466. y = INT2FIX(-4712);
  1467. ^~~~~~~~~~~~~~
  1468. ../.././include/ruby/ruby.h:231:48: note: expanded from macro 'INT2FIX'
  1469. #define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
  1470. ~~~~~~~~~~~~~~~~~~~^
  1471. date_core.c:3448:9: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
  1472. y = INT2FIX(-4712);
  1473. ^~~~~~~~~~~~~~
  1474. ../.././include/ruby/ruby.h:231:48: note: expanded from macro 'INT2FIX'
  1475. #define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
  1476. ~~~~~~~~~~~~~~~~~~~^
  1477. compiling set_len.c
  1478. compiling md5ossl.c
  1479. date_parse.c:528:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
  1480. if (p = strchr(s, ':')) {
  1481. ~~^~~~~~~~~~~~~~~~
  1482. date_parse.c:528:9: note: place parentheses around the assignment to silence this warning
  1483. if (p = strchr(s, ':')) {
  1484. ^
  1485. ( )
  1486. date_parse.c:528:9: note: use '==' to turn this assignment into an equality comparison
  1487. if (p = strchr(s, ':')) {
  1488. ^
  1489. ==
  1490. date_parse.c:531:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
  1491. if (p = strchr(s, ':')) {
  1492. ~~^~~~~~~~~~~~~~~~
  1493. date_parse.c:531:13: note: place parentheses around the assignment to silence this warning
  1494. if (p = strchr(s, ':')) {
  1495. ^
  1496. ( )
  1497. date_parse.c:531:13: note: use '==' to turn this assignment into an equality comparison
  1498. if (p = strchr(s, ':')) {
  1499. ^
  1500. ==
  1501. date_parse.c:534:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
  1502. if (p = strchr(s, ':')) {
  1503. ~~^~~~~~~~~~~~~~~~
  1504. date_parse.c:534:10: note: place parentheses around the assignment to silence this warning
  1505. if (p = strchr(s, ':')) {
  1506. ^
  1507. ( )
  1508. date_parse.c:534:10: note: use '==' to turn this assignment into an equality comparison
  1509. if (p = strchr(s, ':')) {
  1510. ^
  1511. ==
  1512. installing default bubblebabble libraries
  1513. linking shared-object digest/bubblebabble.bundle
  1514. installing default md5 libraries
  1515. date_core.c:6162:27: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
  1516. linking shared-object digest/md5.bundle
  1517. date = d_lite_plus(date, INT2FIX(-1));
  1518. ^~~~~~~~~~~
  1519. ../.././include/ruby/ruby.h:231:48: note: expanded from macro 'INT2FIX'
  1520. #define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
  1521. ~~~~~~~~~~~~~~~~~~~^
  1522. date_core.c:6207:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
  1523. return INT2FIX(-1);
  1524. ^~~~~~~~~~~
  1525. ../.././include/ruby/ruby.h:231:48: note: expanded from macro 'INT2FIX'
  1526. #define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
  1527. ~~~~~~~~~~~~~~~~~~~^
  1528. date_core.c:6214:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
  1529. return INT2FIX(-1);
  1530. ^~~~~~~~~~~
  1531. ../.././include/ruby/ruby.h:231:48: note: expanded from macro 'INT2FIX'
  1532. #define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
  1533. ~~~~~~~~~~~~~~~~~~~^
  1534. date_core.c:6221:10: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
  1535. return INT2FIX(-1);
  1536. ^~~~~~~~~~~
  1537. ../.././include/ruby/ruby.h:231:48: note: expanded from macro 'INT2FIX'
  1538. #define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
  1539. ~~~~~~~~~~~~~~~~~~~^
  1540. date_core.c:6228:13: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
  1541. return INT2FIX(-1);
  1542. ^~~~~~~~~~~
  1543. ../.././include/ruby/ruby.h:231:48: note: expanded from macro 'INT2FIX'
  1544. #define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
  1545. ~~~~~~~~~~~~~~~~~~~^
  1546. date_core.c:6280:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
  1547. return INT2FIX(-1);
  1548. ^~~~~~~~~~~
  1549. ../.././include/ruby/ruby.h:231:48: note: expanded from macro 'INT2FIX'
  1550. #define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
  1551. ~~~~~~~~~~~~~~~~~~~^
  1552. date_core.c:6287:10: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
  1553. return INT2FIX(-1);
  1554. ^~~~~~~~~~~
  1555. ../.././include/ruby/ruby.h:231:48: note: expanded from macro 'INT2FIX'
  1556. #define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
  1557. ~~~~~~~~~~~~~~~~~~~^
  1558. installing default string libraries
  1559. linking shared-object -test-/string/string.bundle
  1560. installing default bigdecimal libraries
  1561. compiling date_strftime.c
  1562. installing default dbm libraries
  1563. compiling date_strptime.c
  1564. date_core.c:7229:9: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
  1565. y = INT2FIX(-4712);
  1566. ^~~~~~~~~~~~~~
  1567. ../.././include/ruby/ruby.h:231:48: note: expanded from macro 'INT2FIX'
  1568. #define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
  1569. ~~~~~~~~~~~~~~~~~~~^
  1570. date_core.c:7305:9: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
  1571. y = INT2FIX(-4712);
  1572. ^~~~~~~~~~~~~~
  1573. ../.././include/ruby/ruby.h:231:48: note: expanded from macro 'INT2FIX'
  1574. #define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
  1575. ~~~~~~~~~~~~~~~~~~~^
  1576. date_core.c:7402:9: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
  1577. y = INT2FIX(-4712);
  1578. ^~~~~~~~~~~~~~
  1579. ../.././include/ruby/ruby.h:231:48: note: expanded from macro 'INT2FIX'
  1580. #define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
  1581. ~~~~~~~~~~~~~~~~~~~^
  1582. compiling rmd160init.c
  1583. linking shared-object digest.bundle
  1584. installing digest libraries
  1585. installing default digest libraries
  1586. compiling sha1init.c
  1587. compiling rmd160.c
  1588. linking shared-object dbm.bundle
  1589. compiling sha1ossl.c
  1590. installing default rmd160 libraries
  1591. compiling sha2init.c
  1592. installing default sha1 libraries
  1593. linking shared-object digest/sha1.bundle
  1594. installing default date_core libraries
  1595. compiling sha2ossl.c
  1596. compiling cfunc.c
  1597. installing default sha2 libraries
  1598. linking shared-object digest/sha2.bundle
  1599. compiling callback.c
  1600. compiling callback-0.c
  1601. compiling cptr.c
  1602. cptr.c:438:36: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
  1603. return diff > 0 ? INT2NUM(1) : INT2NUM(-1);
  1604. ^~~~~~~~~~~
  1605. ../.././include/ruby/ruby.h:1277:21: note: expanded from macro 'INT2NUM'
  1606. # define INT2NUM(v) INT2FIX((int)(v))
  1607. ^~~~~~~~~~~~~~~~~
  1608. ../.././include/ruby/ruby.h:231:48: note: expanded from macro 'INT2FIX'
  1609. #define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
  1610. ~~~~~~~~~~~~~~~~~~~^
  1611. compiling etc.c
  1612. etc.c:230:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
  1613. while (pw = getpwent()) {
  1614. ~~~^~~~~~~~~~~~
  1615. etc.c:230:15: note: place parentheses around the assignment to silence this warning
  1616. while (pw = getpwent()) {
  1617. ^
  1618. ( )
  1619. etc.c:230:15: note: use '==' to turn this assignment into an equality comparison
  1620. while (pw = getpwent()) {
  1621. ^
  1622. ==
  1623. etc.c:276:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
  1624. else if (pw = getpwent()) {
  1625. ~~~^~~~~~~~~~~~
  1626. etc.c:276:17: note: place parentheses around the assignment to silence this warning
  1627. else if (pw = getpwent()) {
  1628. ^
  1629. ( )
  1630. etc.c:276:17: note: use '==' to turn this assignment into an equality comparison
  1631. else if (pw = getpwent()) {
  1632. ^
  1633. ==
  1634. etc.c:358:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
  1635. if (pw = getpwent()) {
  1636. ~~~^~~~~~~~~~~~
  1637. etc.c:358:12: note: place parentheses around the assignment to silence this warning
  1638. if (pw = getpwent()) {
  1639. ^
  1640. ( )
  1641. etc.c:358:12: note: use '==' to turn this assignment into an equality comparison
  1642. if (pw = getpwent()) {
  1643. ^
  1644. ==
  1645. etc.c:474:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
  1646. while (pw = getgrent()) {
  1647. ~~~^~~~~~~~~~~~
  1648. etc.c:474:15: note: place parentheses around the assignment to silence this warning
  1649. while (pw = getgrent()) {
  1650. ^
  1651. ( )
  1652. etc.c:474:15: note: use '==' to turn this assignment into an equality comparison
  1653. while (pw = getgrent()) {
  1654. ^
  1655. ==
  1656. etc.c:516:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
  1657. else if (grp = getgrent()) {
  1658. ~~~~^~~~~~~~~~~~
  1659. etc.c:516:18: note: place parentheses around the assignment to silence this warning
  1660. else if (grp = getgrent()) {
  1661. ^
  1662. ( )
  1663. etc.c:516:18: note: use '==' to turn this assignment into an equality comparison
  1664. else if (grp = getgrent()) {
  1665. ^
  1666. ==
  1667. etc.c:595:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
  1668. if (gr = getgrent()) {
  1669. ~~~^~~~~~~~~~~~
  1670. etc.c:595:12: note: place parentheses around the assignment to silence this warning
  1671. if (gr = getgrent()) {
  1672. ^
  1673. ( )
  1674. etc.c:595:12: note: use '==' to turn this assignment into an equality comparison
  1675. if (gr = getgrent()) {
  1676. ^
  1677. ==
  1678. linking shared-object digest/rmd160.bundle
  1679. compiling fcntl.c
  1680. 1 warning generated.
  1681. 6 warnings generated.
  1682. compiling callback-1.c
  1683. installing default etc libraries
  1684. linking shared-object etc.bundle
  1685. compiling dl.c
  1686. installing default fcntl libraries
  1687. linking shared-object fcntl.bundle
  1688. compiling handle.c
  1689. dl.c:350:45: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
  1690. rb_define_const(rb_mDL, "TYPE_SIZE_T", INT2NUM(DLTYPE_SIZE_T));
  1691. ^~~~~~~~~~~~~~~~~~~~~~
  1692. ../.././include/ruby/ruby.h:1277:21: note: expanded from macro 'INT2NUM'
  1693. # define INT2NUM(v) INT2FIX((int)(v))
  1694. ^~~~~~~~~~~~~~~~~
  1695. ../.././include/ruby/ruby.h:231:48: note: expanded from macro 'INT2FIX'
  1696. #define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
  1697. ~~~~~~~~~~~~~~~~~~~^
  1698. dl.c:374:47: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
  1699. rb_define_const(rb_mDL, "TYPE_UINTPTR_T", INT2NUM(DLTYPE_UINTPTR_T));
  1700. ^~~~~~~~~~~~~~~~~~~~~~~~~
  1701. ../.././include/ruby/ruby.h:1277:21: note: expanded from macro 'INT2NUM'
  1702. # define INT2NUM(v) INT2FIX((int)(v))
  1703. ^~~~~~~~~~~~~~~~~
  1704. ../.././include/ruby/ruby.h:231:48: note: expanded from macro 'INT2FIX'
  1705. #define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
  1706. ~~~~~~~~~~~~~~~~~~~^
  1707. 2 warnings generated.
  1708. handle.c:315:5: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
  1709. CHECK_DLERROR;
  1710. ^~~~~~~~~~~~~
  1711. handle.c:304:32: note: expanded from macro 'CHECK_DLERROR'
  1712. # define CHECK_DLERROR if( err = dlerror() ){ func = 0; }
  1713. ~~~~^~~~~~~~~~~
  1714. handle.c:315:5: note: place parentheses around the assignment to silence this warning
  1715. handle.c:304:32: note: expanded from macro 'CHECK_DLERROR'
  1716. # define CHECK_DLERROR if( err = dlerror() ){ func = 0; }
  1717. ^
  1718. handle.c:315:5: note: use '==' to turn this assignment into an equality comparison
  1719. handle.c:304:32: note: expanded from macro 'CHECK_DLERROR'
  1720. # define CHECK_DLERROR if( err = dlerror() ){ func = 0; }
  1721. ^
  1722. compiling callback-2.c
  1723. 1 warning generated.
  1724. compiling callback-3.c
  1725. installing dl libraries
  1726. linking shared-object dl.bundle
  1727. installing default dl libraries
  1728. compiling callback-4.c
  1729. 3 warnings generated.
  1730. compiling fiber.c
  1731. installing default fiber libraries
  1732. linking shared-object fiber.bundle
  1733. compiling callback-5.c
  1734. compiling closure.c
  1735. compiling conversions.c
  1736. compiling fiddle.c
  1737. fiddle.c:233:47: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
  1738. rb_define_const(mFiddle, "TYPE_SIZE_T", INT2NUM(TYPE_SIZE_T));
  1739. ^~~~~~~~~~~~~~~~~~~~
  1740. ../.././include/ruby/ruby.h:1277:21: note: expanded from macro 'INT2NUM'
  1741. # define INT2NUM(v) INT2FIX((int)(v))
  1742. ^~~~~~~~~~~~~~~~~
  1743. ../.././include/ruby/ruby.h:231:48: note: expanded from macro 'INT2FIX'
  1744. #define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
  1745. ~~~~~~~~~~~~~~~~~~~^
  1746. fiddle.c:257:49: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
  1747. rb_define_const(mFiddle, "TYPE_UINTPTR_T", INT2NUM(TYPE_UINTPTR_T));
  1748. ^~~~~~~~~~~~~~~~~~~~~~~
  1749. ../.././include/ruby/ruby.h:1277:21: note: expanded from macro 'INT2NUM'
  1750. # define INT2NUM(v) INT2FIX((int)(v))
  1751. ^~~~~~~~~~~~~~~~~
  1752. ../.././include/ruby/ruby.h:231:48: note: expanded from macro 'INT2FIX'
  1753. #define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
  1754. ~~~~~~~~~~~~~~~~~~~^
  1755. 2 warnings generated.
  1756. compiling function.c
  1757. compiling gdbm.c
  1758. compiling handle.c
  1759. handle.c:327:5: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
  1760. CHECK_DLERROR;
  1761. ^~~~~~~~~~~~~
  1762. handle.c:316:32: note: expanded from macro 'CHECK_DLERROR'
  1763. # define CHECK_DLERROR if( err = dlerror() ){ func = 0; }
  1764. ~~~~^~~~~~~~~~~
  1765. handle.c:327:5: note: place parentheses around the assignment to silence this warning
  1766. handle.c:316:32: note: expanded from macro 'CHECK_DLERROR'
  1767. # define CHECK_DLERROR if( err = dlerror() ){ func = 0; }
  1768. ^
  1769. handle.c:327:5: note: use '==' to turn this assignment into an equality comparison
  1770. handle.c:316:32: note: expanded from macro 'CHECK_DLERROR'
  1771. # define CHECK_DLERROR if( err = dlerror() ){ func = 0; }
  1772. ^
  1773. 1 warning generated.
  1774. compiling pointer.c
  1775. compiling console.c
  1776. pointer.c:478:36: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
  1777. return diff > 0 ? INT2NUM(1) : INT2NUM(-1);
  1778. ^~~~~~~~~~~
  1779. ../.././include/ruby/ruby.h:1277:21: note: expanded from macro 'INT2NUM'
  1780. # define INT2NUM(v) INT2FIX((int)(v))
  1781. ^~~~~~~~~~~~~~~~~
  1782. ../.././include/ruby/ruby.h:231:48: note: expanded from macro 'INT2FIX'
  1783. #define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
  1784. ~~~~~~~~~~~~~~~~~~~^
  1785. linking shared-object io/console.bundle
  1786. 1 warning generated.
  1787. installing default console libraries
  1788. installing default gdbm libraries
  1789. linking shared-object fiddle.bundle
  1790. compiling nonblock.c
  1791. compiling wait.c
  1792. 6 warnings generated.
  1793. installing default fiddle libraries
  1794. linking shared-object bigdecimal.bundle
  1795. linking shared-object gdbm.bundle
  1796. compiling callback-6.c
  1797. installing default wait libraries
  1798. installing default nonblock libraries
  1799. compiling generator.c
  1800. linking shared-object io/nonblock.bundle
  1801. linking shared-object io/wait.bundle
  1802. compiling callback-7.c
  1803. compiling parser.c
  1804. installing default libraries
  1805. compiling callback-8.c
  1806. compiling complex.c
  1807. installing default complex libraries
  1808. linking shared-object mathn/complex.bundle
  1809. installing default callback libraries
  1810. installing default parser libraries
  1811. installing default generator libraries
  1812. compiling rational.c
  1813. installing default rational libraries
  1814. linking shared-object mathn/rational.bundle
  1815. compiling nkf.c
  1816. compiling object_tracing.c
  1817. compiling objspace.c
  1818. linking shared-object json/ext/parser.bundle
  1819. installing default nkf libraries
  1820. compiling objspace_dump.c
  1821. compiling openssl_missing.c
  1822. linking shared-object json/ext/generator.bundle
  1823. installing default objspace libraries
  1824. compiling pathname.c
  1825. compiling ossl.c
  1826. pathname.c:146:24: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
  1827. return INT2FIX(-1);
  1828. ^~~~~~~~~~~
  1829. ../.././include/ruby/ruby.h:231:48: note: expanded from macro 'INT2FIX'
  1830. #define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
  1831. ~~~~~~~~~~~~~~~~~~~^
  1832. pathname.c:154:16: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
  1833. return INT2FIX(-1);
  1834. ^~~~~~~~~~~
  1835. ../.././include/ruby/ruby.h:231:48: note: expanded from macro 'INT2FIX'
  1836. #define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
  1837. ~~~~~~~~~~~~~~~~~~~^
  1838. linking shared-object objspace.bundle
  1839. installing default pathname libraries
  1840. compiling ossl_asn1.c
  1841. compiling psych.c
  1842. compiling ossl_bio.c
  1843. compiling pty.c
  1844. 2 warnings generated.
  1845. linking shared-object pathname.bundle
  1846. linking shared-object dl/callback.bundle
  1847. compiling psych_emitter.c
  1848. compiling psych_parser.c
  1849. compiling cparse.c
  1850. installing default pty libraries
  1851. linking shared-object pty.bundle
  1852. compiling ossl_bn.c
  1853. compiling psych_to_ruby.c
  1854. compiling sizes.c
  1855. compiling psych_yaml_tree.c
  1856. compiling ossl_cipher.c
  1857. installing default sizeof libraries
  1858. linking shared-object rbconfig/sizeof.bundle
  1859. 13 warnings generated.
  1860. linking shared-object date_core.bundle
  1861. installing default cparse libraries
  1862. linking shared-object racc/cparse.bundle
  1863. compiling readline.c
  1864. compiling ossl_config.c
  1865. compiling ripper.c
  1866. installing default readline libraries
  1867. compiling _sdbm.c
  1868. linking shared-object psych.bundle
  1869. installing default psych libraries
  1870. compiling ossl_digest.c
  1871. compiling ossl_engine.c
  1872. generating constant definitions
  1873. ripper.y:6382:5: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
  1874. nd_set_line(lex_strterm, ruby_sourceline);
  1875. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1876. ../../node.h:290:43: note: expanded from macro 'nd_set_line'
  1877. RNODE(n)->flags=((RNODE(n)->flags&~(-1<<NODE_LSHIFT))|(((l)&NODE_LMASK)<<NODE_LSHIFT))
  1878. ~~^
  1879. generating constant definitions
  1880. compiling stringio.c
  1881. compiling basicsocket.c
  1882. linking shared-object readline.bundle
  1883. compiling init.c
  1884. compiling ossl_hmac.c
  1885. compiling ossl_ns_spki.c
  1886. installing default stringio libraries
  1887. compiling socket.c
  1888. installing default sdbm libraries
  1889. compiling strscan.c
  1890. compiling ipsocket.c
  1891. compiling ossl_ocsp.c
  1892. linking shared-object sdbm.bundle
  1893. checking ../.././parse.y and ../.././ext/ripper/eventids2.c
  1894. installing default strscan libraries
  1895. compiling tcpsocket.c
  1896. compiling syslog.c
  1897. compiling ossl_pkcs12.c
  1898. compiling tcpserver.c
  1899. ossl_ocsp.c:749:5: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
  1900. DefOCSPConst(REVOKED_STATUS_NOSTATUS);
  1901. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1902. ossl_ocsp.c:740:52: note: expanded from macro 'DefOCSPConst'
  1903. #define DefOCSPConst(x) rb_define_const(mOCSP, #x, INT2NUM(OCSP_##x))
  1904. ^~~~~~~~~~~~~~~~~
  1905. ../.././include/ruby/ruby.h:1277:21: note: expanded from macro 'INT2NUM'
  1906. # define INT2NUM(v) INT2FIX((int)(v))
  1907. ^~~~~~~~~~~~~~~~~
  1908. ../.././include/ruby/ruby.h:231:48: note: expanded from macro 'INT2FIX'
  1909. #define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
  1910. ~~~~~~~~~~~~~~~~~~~^
  1911. linking shared-object stringio.bundle
  1912. compiling ossl_pkcs5.c
  1913. linking shared-object strscan.bundle
  1914. installing default ripper libraries
  1915. installing default syslog libraries
  1916. compiling ossl_pkcs7.c
  1917. linking shared-object syslog.bundle
  1918. compiling sockssocket.c
  1919. compiling thread.c
  1920. compiling udpsocket.c
  1921. 1 warning generated.
  1922. installing default thread libraries
  1923. compiling unixsocket.c
  1924. compiling stubs.c
  1925. compiling unixserver.c
  1926. compiling tkutil.c
  1927. linking shared-object thread.bundle
  1928. compiling tcltklib.c
  1929. compiling option.c
  1930. make[2]: Nothing to be done for `all'.
  1931. make[2]: Nothing to be done for `all'.
  1932. tkutil.c:1331:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
  1933. if (len = inf->keylen[idx]) {
  1934. ~~~~^~~~~~~~~~~~~~~~~~
  1935. tkutil.c:1331:13: note: place parentheses around the assignment to silence this warning
  1936. if (len = inf->keylen[idx]) {
  1937. ^
  1938. ( )
  1939. tkutil.c:1331:13: note: use '==' to turn this assignment into an equality comparison
  1940. if (len = inf->keylen[idx]) {compiling zlib.c
  1941.  
  1942. ^
  1943. ==
  1944. tkutil.c:1398:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
  1945. if (len = inf->keylen[idx]) {
  1946. ~~~~^~~~~~~~~~~~~~~~~~
  1947. tkutil.c:1398:10: note: place parentheses around the assignment to silence this warning
  1948. if (len = inf->keylen[idx]) {
  1949. ^
  1950. ( )
  1951. tkutil.c:1398:10: note: use '==' to turn this assignment into an equality comparison
  1952. if (len = inf->keylen[idx]) {
  1953. ^
  1954. ==
  1955. tkutil.c:1497:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
  1956. if (len = inf->keylen[idx]) {
  1957. ~~~~^~~~~~~~~~~~~~~~~~
  1958. tkutil.c:1497:15: note: place parentheses around the assignment to silence this warning
  1959. if (len = inf->keylen[idx]) {
  1960. ^
  1961. ( )
  1962. tkutil.c:1497:15: note: use '==' to turn this assignment into an equality comparison
  1963. if (len = inf->keylen[idx]) {
  1964. ^
  1965. ==
  1966. tkutil.c:1678:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
  1967. if (type_chr = inf->type[*(keyptr + idx)]) {
  1968. ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1969. tkutil.c:1678:15: note: place parentheses around the assignment to silence this warning
  1970. if (type_chr = inf->type[*(keyptr + idx)]) {
  1971. ^
  1972. ( )
  1973. tkutil.c:1678:15: note: use '==' to turn this assignment into an equality comparison
  1974. if (type_chr = inf->type[*(keyptr + idx)]) {
  1975. ^
  1976. ==
  1977. compiling ossl_pkey.c
  1978. installing default tkutil libraries
  1979. installing tcltklib libraries
  1980. compiling ossl_pkey_dh.c
  1981. zlib.c:4311:7: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
  1982. INT2FIX(Z_DEFAULT_COMPRESSION));
  1983. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1984. ../.././include/ruby/ruby.h:231:48: note: expanded from macro 'INT2FIX'
  1985. #define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
  1986. ~~~~~~~~~~~~~~~~~~~^
  1987. tcltklib.c:10795:43: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
  1988. rb_define_const(ev_flag, "ALL", INT2FIX(TCL_ALL_EVENTS));
  1989. ^~~~~~~~~~~~~~~~~~~~~~~
  1990. ../.././include/ruby/ruby.h:231:48: note: expanded from macro 'INT2FIX'
  1991. #define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
  1992. ~~~~~~~~~~~~~~~~~~~^
  1993. compiling ancdata.c
  1994. linking shared-object nkf.bundle
  1995. installing default zlib libraries
  1996. compiling ossl_pkey_dsa.c
  1997. compiling raddrinfo.c
  1998. compiling ifaddr.c
  1999. compiling ossl_pkey_ec.c
  2000. compiling ossl_pkey_rsa.c
  2001. installing default socket libraries
  2002. compiling ossl_rand.c
  2003. 4 warnings generated.
  2004. linking shared-object tkutil.bundle
  2005. compiling ossl_ssl.c
  2006. compiling init.c
  2007. compiling ossl_ssl_session.c
  2008. compiling constants.c
  2009. compiling ossl_x509.c
  2010. ossl_ssl.c:1114:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
  2011. if (rc = SSL_shutdown(ssl))
  2012. ~~~^~~~~~~~~~~~~~~~~~~
  2013. ossl_ssl.c:1114:13: note: place parentheses around the assignment to silence this warning
  2014. if (rc = SSL_shutdown(ssl))
  2015. ^
  2016. ( )
  2017. ossl_ssl.c:1114:13: note: use '==' to turn this assignment into an equality comparison
  2018. if (rc = SSL_shutdown(ssl))
  2019. ^
  2020. ==
  2021. ossl_ssl.c:2239:5: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
  2022. ossl_ssl_def_const(OP_ALL);
  2023. ^~~~~~~~~~~~~~~~~~~~~~~~~~
  2024. ossl_ssl.c:2217:57: note: expanded from macro 'ossl_ssl_def_const'
  2025. #define ossl_ssl_def_const(x) rb_define_const(mSSL, #x, INT2NUM(SSL_##x))
  2026. ^~~~~~~~~~~~~~~~
  2027. ../.././include/ruby/ruby.h:1277:21: note: expanded from macro 'INT2NUM'
  2028. # define INT2NUM(v) INT2FIX((int)(v))
  2029. ^~~~~~~~~~~~~~~~~
  2030. ../.././include/ruby/ruby.h:231:48: note: expanded from macro 'INT2FIX'
  2031. #define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
  2032. ~~~~~~~~~~~~~~~~~~~^
  2033. compiling ossl_x509attr.c
  2034. 1 warning generated.
  2035. linking shared-object zlib.bundle
  2036. compiling ossl_x509cert.c
  2037. compiling ossl_x509crl.c
  2038. compiling ossl_x509ext.c
  2039. compiling ossl_x509name.c
  2040. 2 warnings generated.
  2041. compiling ossl_x509req.c
  2042. compiling ossl_x509revoked.c
  2043. compiling ossl_x509store.c
  2044. ossl_x509name.c:323:28: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
  2045. if (result < 0) return INT2FIX(-1);
  2046. ^~~~~~~~~~~
  2047. ../.././include/ruby/ruby.h:231:48: note: expanded from macro 'INT2FIX'
  2048. #define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
  2049. ~~~~~~~~~~~~~~~~~~~^
  2050. installing default openssl libraries
  2051. 1 warning generated.
  2052. 1 warning generated.
  2053. linking shared-object socket.bundle
  2054. linking shared-object openssl.bundle
  2055. linking shared-object tcltklib.bundle
  2056. installing default tcltklib libraries
  2057. 1 warning generated.
  2058. linking shared-object ripper.bundle
  2059. linking ruby
  2060. Generating RDoc documentation
  2061. /private/tmp/ruby-build.20161217152540.70329/ruby-2.1.6/lib/rubygems/ext/builder.rb:89:in `run': ERROR: Failed to build gem native extension. (Gem::Ext::BuildError)
  2062.  
  2063. /Users/zhengdai/.rbenv/versions/2.1.6/bin/ruby extconf.rb
  2064. sh: /Users/zhengdai/.rbenv/versions/2.1.6/bin/ruby: No such file or directory
  2065.  
  2066. extconf failed, exit code 127
  2067.  
  2068. Gem files will remain installed in /Users/zhengdai/.rbenv/versions/2.1.6/lib/ruby/gems/2.1.0/gems/json-1.8.3 for inspection.
  2069. Results logged to /Users/zhengdai/.rbenv/versions/2.1.6/lib/ruby/gems/2.1.0/extensions/x86_64-darwin-16/2.1.0-static/json-1.8.3/gem_make.out
  2070. from /private/tmp/ruby-build.20161217152540.70329/ruby-2.1.6/lib/rubygems/ext/ext_conf_builder.rb:38:in `block in build'
  2071. from /private/tmp/ruby-build.20161217152540.70329/ruby-2.1.6/lib/tempfile.rb:324:in `open'
  2072. from /private/tmp/ruby-build.20161217152540.70329/ruby-2.1.6/lib/rubygems/ext/ext_conf_builder.rb:17:in `build'
  2073. from /private/tmp/ruby-build.20161217152540.70329/ruby-2.1.6/lib/rubygems/ext/builder.rb:161:in `block (2 levels) in build_extension'
  2074. from /private/tmp/ruby-build.20161217152540.70329/ruby-2.1.6/lib/rubygems/ext/builder.rb:160:in `chdir'
  2075. from /private/tmp/ruby-build.20161217152540.70329/ruby-2.1.6/lib/rubygems/ext/builder.rb:160:in `block in build_extension'
  2076. from /private/tmp/ruby-build.20161217152540.70329/ruby-2.1.6/lib/rubygems/ext/builder.rb:159:in `synchronize'
  2077. from /private/tmp/ruby-build.20161217152540.70329/ruby-2.1.6/lib/rubygems/ext/builder.rb:159:in `build_extension'
  2078. from /private/tmp/ruby-build.20161217152540.70329/ruby-2.1.6/lib/rubygems/ext/builder.rb:198:in `block in build_extensions'
  2079. from /private/tmp/ruby-build.20161217152540.70329/ruby-2.1.6/lib/rubygems/ext/builder.rb:195:in `each'
  2080. from /private/tmp/ruby-build.20161217152540.70329/ruby-2.1.6/lib/rubygems/ext/builder.rb:195:in `build_extensions'
  2081. from /private/tmp/ruby-build.20161217152540.70329/ruby-2.1.6/lib/rubygems/specification.rb:1436:in `block in build_extensions'
  2082. from /private/tmp/ruby-build.20161217152540.70329/ruby-2.1.6/lib/rubygems/user_interaction.rb:45:in `use_ui'
  2083. from /private/tmp/ruby-build.20161217152540.70329/ruby-2.1.6/lib/rubygems/specification.rb:1434:in `build_extensions'
  2084. from /private/tmp/ruby-build.20161217152540.70329/ruby-2.1.6/lib/rubygems/basic_specification.rb:56:in `contains_requirable_file?'
  2085. from /private/tmp/ruby-build.20161217152540.70329/ruby-2.1.6/lib/rubygems/specification.rb:937:in `block in find_in_unresolved'
  2086. from /private/tmp/ruby-build.20161217152540.70329/ruby-2.1.6/lib/rubygems/specification.rb:937:in `each'
  2087. from /private/tmp/ruby-build.20161217152540.70329/ruby-2.1.6/lib/rubygems/specification.rb:937:in `find_all'
  2088. from /private/tmp/ruby-build.20161217152540.70329/ruby-2.1.6/lib/rubygems/specification.rb:937:in `find_in_unresolved'
  2089. from /private/tmp/ruby-build.20161217152540.70329/ruby-2.1.6/lib/rubygems/core_ext/kernel_require.rb:80:in `require'
  2090. from /private/tmp/ruby-build.20161217152540.70329/ruby-2.1.6/lib/rdoc/generator/darkfish.rb:3:in `<top (required)>'
  2091. from /private/tmp/ruby-build.20161217152540.70329/ruby-2.1.6/lib/rubygems/core_ext/kernel_require.rb:73:in `require'
  2092. from /private/tmp/ruby-build.20161217152540.70329/ruby-2.1.6/lib/rubygems/core_ext/kernel_require.rb:73:in `require'
  2093. from /private/tmp/ruby-build.20161217152540.70329/ruby-2.1.6/lib/rdoc/rdoc.rb:566:in `<top (required)>'
  2094. from ./bin/rdoc:16:in `require'
  2095. from ./bin/rdoc:16:in `<main>'
  2096. make: *** [rdoc] Error 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement