Project

General

Profile

Bug #17817 ยป ruby-3-jit-tmp-no-such-file-or-directory.log

A full log - jaruga (Jun Aruga), 04/21/2021 02:45 PM

 
1
$ cat ~/scripts/rb_dev_configure.sh 
2
set -e
3

    
4
HEAD_COMMIT=$(git rev-parse HEAD)
5
HEAD_COMMIT_SHORT=${HEAD_COMMIT:0:7}
6
echo "HEAD_COMMIT_SHORT: ${HEAD_COMMIT_SHORT}"
7

    
8
autoconf
9

    
10
./configure \
11
  --prefix=${HOME}/local/ruby-master-${HEAD_COMMIT_SHORT} \
12
  --enable-shared
13

    
14
$ bash ~/scripts/rb_dev_configure.sh 
15
HEAD_COMMIT_SHORT: 3c8a67e
16
checking for ruby... /usr/local/ruby-3.0.1/bin/ruby
17
downloading config.guess ... done
18
downloading config.sub ... done
19
checking build system type... x86_64-pc-linux-gnu
20
checking host system type... x86_64-pc-linux-gnu
21
checking target system type... x86_64-pc-linux-gnu
22
checking for gcc... gcc
23
checking for ld... ld
24
checking for gcc-ar... gcc-ar
25
checking for g++... g++
26
checking for gcc-nm... gcc-nm
27
checking for gcc-ranlib... gcc-ranlib
28
checking for gcc... (cached) gcc
29
checking whether the C compiler works... yes
30
checking for C compiler default output file name... a.out
31
checking for suffix of executables... 
32
checking whether we are cross compiling... no
33
checking for suffix of object files... o
34
checking whether we are using the GNU C compiler... yes
35
checking whether gcc accepts -g... yes
36
checking for gcc option to accept ISO C89... none needed
37
checking for gcc option to accept ISO C99... none needed
38
checking whether we are using the GNU C++ compiler... yes
39
checking whether g++ accepts -g... yes
40
checking how to run the C preprocessor... gcc -E
41
checking for ranlib... (cached) gcc-ranlib
42
checking for gas... no
43
checking for as... as
44
checking for gobjcopy... no
45
checking for objcopy... objcopy
46
checking for gobjdump... no
47
checking for objdump... objdump
48
checking for gstrip... no
49
checking for strip... strip
50
checking for grep that handles long lines and -e... /usr/bin/grep
51
checking for egrep... /usr/bin/grep -E
52
checking for ANSI C header files... yes
53
checking for sys/types.h... yes
54
checking for sys/stat.h... yes
55
checking for stdlib.h... yes
56
checking for string.h... yes
57
checking for memory.h... yes
58
checking for strings.h... yes
59
checking for inttypes.h... yes
60
checking for stdint.h... yes
61
checking for unistd.h... yes
62
checking minix/config.h usability... no
63
checking minix/config.h presence... no
64
checking for minix/config.h... no
65
checking whether it is safe to define __EXTENSIONS__... yes
66
checking whether the linker is GNU ld... yes
67
checking whether gcc -E accepts -o... yes
68
checking for gcc... /usr/bin/gcc
69
checking for gcc-ar flags... rcD
70
checking whether ln -s works... yes
71
checking whether make sets $(MAKE)... yes
72
checking for a BSD-compatible install... /usr/bin/install -c
73
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
74
checking for dtrace... dtrace
75
checking for dot... dot
76
checking for doxygen... no
77
checking for pkg-config... pkg-config
78
checking whether it is Android... no
79
checking for cd using physical directory... cd -P
80
checking whether CFLAGS is valid... yes
81
checking whether LDFLAGS is valid... yes
82
checking whether -Wl,-R. is accepted as LDFLAGS... yes
83
checking whether -Wl,-rpath,. is accepted as LDFLAGS... yes
84
checking whether -fdeclspec is accepted as LDFLAGS... no
85
checking whether -fdeclspec is accepted as CXXFLAGS... no
86
checking whether -Werror=deprecated-declarations is accepted as CFLAGS... yes
87
checking whether -Werror=division-by-zero is accepted as CFLAGS... no
88
checking whether -Wdivision-by-zero is accepted as CFLAGS... no
89
checking whether -Werror=duplicated-cond is accepted as CFLAGS... yes
90
checking whether -Werror=implicit-function-declaration is accepted as CFLAGS... yes
91
checking whether -Werror=implicit-int is accepted as CFLAGS... yes
92
checking whether -Werror=misleading-indentation is accepted as CFLAGS... yes
93
checking whether -Werror=pointer-arith is accepted as CFLAGS... yes
94
checking whether -Werror=shorten-64-to-32 is accepted as CFLAGS... no
95
checking whether -Wshorten-64-to-32 is accepted as CFLAGS... no
96
checking whether -Werror=write-strings is accepted as CFLAGS... yes
97
checking whether -Wimplicit-fallthrough=0 is accepted as CFLAGS... yes
98
checking whether -Wmissing-noreturn is accepted as CFLAGS... yes
99
checking whether -Wno-cast-function-type is accepted as CFLAGS... yes
100
checking whether -Wno-constant-logical-operand is accepted as CFLAGS... yes
101
checking whether -Wno-long-long is accepted as CFLAGS... yes
102
checking whether -Wno-missing-field-initializers is accepted as CFLAGS... yes
103
checking whether -Wno-overlength-strings is accepted as CFLAGS... yes
104
checking whether -Wno-packed-bitfield-compat is accepted as CFLAGS... yes
105
checking whether -Wno-parentheses-equality is accepted as CFLAGS... yes
106
checking whether -Wno-self-assign is accepted as CFLAGS... yes
107
checking whether -Wno-tautological-compare is accepted as CFLAGS... yes
108
checking whether -Wno-unused-parameter is accepted as CFLAGS... yes
109
checking whether -Wno-unused-value is accepted as CFLAGS... yes
110
checking whether -Wsuggest-attribute=format is accepted as CFLAGS... yes
111
checking whether -Wsuggest-attribute=noreturn is accepted as CFLAGS... yes
112
checking whether -Wunused-variable is accepted as CFLAGS... yes
113
checking whether -diag-disable=175,188,1684,2259,2312 is accepted as CFLAGS... no
114
checking whether -Werror=extra-tokens is accepted as CFLAGS... no
115
checking whether -Wextra-tokens is accepted as CFLAGS... no
116
checking whether -Wall -Wextra is accepted as CFLAGS... yes
117
checking whether -Qunused-arguments is accepted as CFLAGS... no
118
checking whether -O3 -D_FORTIFY_SOURCE=2 is accepted as CFLAGS... yes
119
checking whether -fstack-protector-strong is accepted as CFLAGS... yes
120
checking whether -fstack-protector-strong is accepted as LDFLAGS... yes
121
checking whether -Wl,--compress-debug-sections=zlib is accepted as LDFLAGS... yes
122
checking whether -std=gnu99 is accepted as CFLAGS... yes
123
checking whether -fno-strict-overflow is accepted as CFLAGS... yes
124
checking whether -ggdb3 is accepted as CFLAGS... yes
125
checking whether -fvisibility=hidden is accepted as CFLAGS... yes
126
checking whether -fno-fast-math is accepted as CFLAGS... yes
127
checking whether -fexcess-precision=standard is accepted as CFLAGS... yes
128
checking whether -fp-model precise is accepted as CFLAGS... no
129
checking whether compiler has statement and declarations in expressions... yes
130
checking whether CXXFLAGS is valid... yes
131
checking for crypt in -lcrypt... yes
132
checking for dlopen in -ldl... yes
133
checking for shl_load in -ldld... no
134
checking for shutdown in -lsocket... no
135
checking for dirent.h that defines DIR... yes
136
checking for library containing opendir... none required
137
checking for stdbool.h that conforms to C99... yes
138
checking for _Bool... yes
139
checking for sys/wait.h that is POSIX.1 compatible... yes
140
checking atomic.h usability... no
141
checking atomic.h presence... no
142
checking for atomic.h... no
143
checking copyfile.h usability... no
144
checking copyfile.h presence... no
145
checking for copyfile.h... no
146
checking direct.h usability... no
147
checking direct.h presence... no
148
checking for direct.h... no
149
checking grp.h usability... yes
150
checking grp.h presence... yes
151
checking for grp.h... yes
152
checking fcntl.h usability... yes
153
checking fcntl.h presence... yes
154
checking for fcntl.h... yes
155
checking float.h usability... yes
156
checking float.h presence... yes
157
checking for float.h... yes
158
checking ieeefp.h usability... no
159
checking ieeefp.h presence... no
160
checking for ieeefp.h... no
161
checking intrinsics.h usability... no
162
checking intrinsics.h presence... no
163
checking for intrinsics.h... no
164
checking langinfo.h usability... yes
165
checking langinfo.h presence... yes
166
checking for langinfo.h... yes
167
checking limits.h usability... yes
168
checking limits.h presence... yes
169
checking for limits.h... yes
170
checking locale.h usability... yes
171
checking locale.h presence... yes
172
checking for locale.h... yes
173
checking malloc.h usability... yes
174
checking malloc.h presence... yes
175
checking for malloc.h... yes
176
checking malloc/malloc.h usability... no
177
checking malloc/malloc.h presence... no
178
checking for malloc/malloc.h... no
179
checking malloc_np.h usability... no
180
checking malloc_np.h presence... no
181
checking for malloc_np.h... no
182
checking net/socket.h usability... no
183
checking net/socket.h presence... no
184
checking for net/socket.h... no
185
checking process.h usability... no
186
checking process.h presence... no
187
checking for process.h... no
188
checking pwd.h usability... yes
189
checking pwd.h presence... yes
190
checking for pwd.h... yes
191
checking sanitizer/asan_interface.h usability... yes
192
checking sanitizer/asan_interface.h presence... yes
193
checking for sanitizer/asan_interface.h... yes
194
checking sanitizer/msan_interface.h usability... yes
195
checking sanitizer/msan_interface.h presence... yes
196
checking for sanitizer/msan_interface.h... yes
197
checking setjmpex.h usability... no
198
checking setjmpex.h presence... no
199
checking for setjmpex.h... no
200
checking stdalign.h usability... yes
201
checking stdalign.h presence... yes
202
checking for stdalign.h... yes
203
checking sys/attr.h usability... no
204
checking sys/attr.h presence... no
205
checking for sys/attr.h... no
206
checking sys/eventfd.h usability... yes
207
checking sys/eventfd.h presence... yes
208
checking for sys/eventfd.h... yes
209
checking sys/fcntl.h usability... yes
210
checking sys/fcntl.h presence... yes
211
checking for sys/fcntl.h... yes
212
checking sys/file.h usability... yes
213
checking sys/file.h presence... yes
214
checking for sys/file.h... yes
215
checking sys/id.h usability... no
216
checking sys/id.h presence... no
217
checking for sys/id.h... no
218
checking sys/ioctl.h usability... yes
219
checking sys/ioctl.h presence... yes
220
checking for sys/ioctl.h... yes
221
checking sys/mkdev.h usability... no
222
checking sys/mkdev.h presence... no
223
checking for sys/mkdev.h... no
224
checking sys/param.h usability... yes
225
checking sys/param.h presence... yes
226
checking for sys/param.h... yes
227
checking sys/prctl.h usability... yes
228
checking sys/prctl.h presence... yes
229
checking for sys/prctl.h... yes
230
checking sys/random.h usability... yes
231
checking sys/random.h presence... yes
232
checking for sys/random.h... yes
233
checking sys/resource.h usability... yes
234
checking sys/resource.h presence... yes
235
checking for sys/resource.h... yes
236
checking sys/select.h usability... yes
237
checking sys/select.h presence... yes
238
checking for sys/select.h... yes
239
checking sys/sendfile.h usability... yes
240
checking sys/sendfile.h presence... yes
241
checking for sys/sendfile.h... yes
242
checking sys/socket.h usability... yes
243
checking sys/socket.h presence... yes
244
checking for sys/socket.h... yes
245
checking sys/syscall.h usability... yes
246
checking sys/syscall.h presence... yes
247
checking for sys/syscall.h... yes
248
checking sys/sysmacros.h usability... yes
249
checking sys/sysmacros.h presence... yes
250
checking for sys/sysmacros.h... yes
251
checking sys/time.h usability... yes
252
checking sys/time.h presence... yes
253
checking for sys/time.h... yes
254
checking sys/times.h usability... yes
255
checking sys/times.h presence... yes
256
checking for sys/times.h... yes
257
checking sys/uio.h usability... yes
258
checking sys/uio.h presence... yes
259
checking for sys/uio.h... yes
260
checking sys/utime.h usability... no
261
checking sys/utime.h presence... no
262
checking for sys/utime.h... no
263
checking syscall.h usability... yes
264
checking syscall.h presence... yes
265
checking for syscall.h... yes
266
checking time.h usability... yes
267
checking time.h presence... yes
268
checking for time.h... yes
269
checking ucontext.h usability... yes
270
checking ucontext.h presence... yes
271
checking for ucontext.h... yes
272
checking utime.h usability... yes
273
checking utime.h presence... yes
274
checking for utime.h... yes
275
checking x86intrin.h usability... yes
276
checking x86intrin.h presence... yes
277
checking for x86intrin.h... yes
278
checking gmp.h usability... yes
279
checking gmp.h presence... yes
280
checking for gmp.h... yes
281
checking for library containing __gmpz_init... -lgmp
282
checking for special C compiler options needed for large files... no
283
checking for _FILE_OFFSET_BITS value needed for large files... no
284
checking whether byte ordering is bigendian... no
285
checking for an ANSI C-conforming const... yes
286
checking whether char is unsigned... no
287
checking for inline... inline
288
checking for working volatile... yes
289
checking for typeof syntax and keyword spelling... typeof
290
checking for C/C++ restrict keyword... __restrict
291
checking for long long... yes
292
checking for off_t... yes
293
checking char bit... 8
294
checking size of int... 4
295
checking size of short... 2
296
checking size of long... 8
297
checking size of long long... 8
298
checking size of __int64... 0
299
checking size of __int128... 16
300
checking size of off_t... 8
301
checking size of void*... 8
302
checking size of float... 4
303
checking size of double... 8
304
checking size of time_t... 8
305
checking size of clock_t... 8
306
checking packed struct attribute... x __attribute__((packed))
307
checking whether -Wno-address-of-packed-member is accepted as CFLAGS... yes
308
checking for printf prefix for long long... ll
309
checking for pid_t... yes
310
checking for convertible type of pid_t... INT
311
checking for uid_t... yes
312
checking for convertible type of uid_t... UINT
313
checking for gid_t... yes
314
checking for convertible type of gid_t... UINT
315
checking for time_t... yes
316
checking for convertible type of time_t... LONG
317
checking for dev_t... yes
318
checking for convertible type of dev_t... ULONG
319
checking for mode_t... yes
320
checking for convertible type of mode_t... UINT
321
checking for rlim_t... yes
322
checking for convertible type of rlim_t... ULONG
323
checking for off_t... (cached) yes
324
checking for convertible type of off_t... LONG
325
checking for clockid_t... yes
326
checking for convertible type of clockid_t... INT
327
checking for variable length macro... yes
328
checking if _Alignof() works... yes
329
checking for CONSTFUNC function attribute... __attribute__ ((__const__)) x
330
checking for PUREFUNC function attribute... __attribute__ ((__pure__)) x
331
checking for NORETURN function attribute... __attribute__ ((__noreturn__)) x
332
checking for DEPRECATED function attribute... __attribute__ ((__deprecated__)) x
333
checking for DEPRECATED_BY function attribute... __attribute__ ((__deprecated__("by "#n))) x
334
checking for NOINLINE function attribute... __attribute__ ((__noinline__)) x
335
checking for ALWAYS_INLINE function attribute... __attribute__ ((__always_inline__)) x
336
checking for NO_SANITIZE function attribute... __attribute__ ((__no_sanitize__(san))) x
337
checking for NO_SANITIZE_ADDRESS function attribute... __attribute__ ((__no_sanitize_address__)) x
338
checking for NO_ADDRESS_SAFETY_ANALYSIS function attribute... __attribute__ ((__no_address_safety_analysis__)) x
339
checking for WARN_UNUSED_RESULT function attribute... __attribute__ ((__warn_unused_result__)) x
340
checking for MAYBE_UNUSED function attribute... __attribute__ ((__unused__)) x
341
checking for ERRORFUNC function attribute... __attribute__ ((__error__ mesg)) x
342
checking for WARNINGFUNC function attribute... __attribute__ ((__warning__ mesg)) x
343
checking for WEAK function attribute... __attribute__ ((__weak__)) x
344
checking for __attribute__((__depreacted__(msg))) in C++... yes
345
checking for std::nullptr_t... yes
346
checking for FUNC_STDCALL function attribute... x
347
checking for FUNC_CDECL function attribute... x
348
checking for FUNC_FASTCALL function attribute... x
349
checking for FUNC_UNOPTIMIZED function attribute... __attribute__ ((__optimize__("O0"))) x
350
checking for FUNC_MINIMIZED function attribute... __attribute__ ((__optimize__("-Os","-fomit-frame-pointer"))) x
351
checking for function alias... alias
352
checking for __atomic builtins... yes
353
checking for __sync builtins... yes
354
checking for __builtin_unreachable... yes
355
checking for exported function attribute... __attribute__ ((__visibility__("default")))
356
checking for RUBY_FUNC_NONNULL function attribute... __attribute__ ((__nonnull__(n))) x
357
checking for function name string predefined identifier... __func__
358
checking if enum over int is allowed... yes
359
checking whether sys_nerr is declared... no
360
checking whether getenv is declared... yes
361
checking for size_t... yes
362
checking size of size_t... 8
363
checking size of ptrdiff_t... 8
364
checking size of dev_t... 8
365
checking for printf prefix for size_t... z
366
checking for printf prefix for ptrdiff_t... t
367
checking for struct stat.st_blksize... yes
368
checking for struct stat.st_blocks... yes
369
checking for struct stat.st_rdev... yes
370
checking size of struct stat.st_size... SIZEOF_OFF_T
371
checking size of struct stat.st_blocks... SIZEOF_OFF_T
372
checking size of struct stat.st_ino... SIZEOF_LONG
373
checking size of struct stat.st_dev... SIZEOF_DEV_T
374
checking size of struct stat.st_rdev... SIZEOF_DEV_T
375
checking for struct stat.st_atim... yes
376
checking for struct stat.st_atimespec... no
377
checking for struct stat.st_atimensec... no
378
checking for struct stat.st_mtim... yes
379
checking for struct stat.st_mtimespec... no
380
checking for struct stat.st_mtimensec... no
381
checking for struct stat.st_ctim... yes
382
checking for struct stat.st_ctimespec... no
383
checking for struct stat.st_ctimensec... no
384
checking for struct stat.st_birthtimespec... no
385
checking for struct statx.stx_btime... yes
386
checking for struct timeval... yes
387
checking size of struct timeval.tv_sec... SIZEOF_TIME_T
388
checking for struct timespec... yes
389
checking for struct timezone... yes
390
checking for fd_mask... yes
391
checking for int8_t... yes
392
checking size of int8_t... 1
393
checking for uint8_t... yes
394
checking size of uint8_t... 1
395
checking for int16_t... yes
396
checking size of int16_t... 2
397
checking for uint16_t... yes
398
checking size of uint16_t... 2
399
checking for int32_t... yes
400
checking size of int32_t... 4
401
checking for uint32_t... yes
402
checking size of uint32_t... 4
403
checking for int64_t... yes
404
checking size of int64_t... 8
405
checking for uint64_t... yes
406
checking size of uint64_t... 8
407
checking for int128_t... __int128
408
checking for uint128_t... unsigned __int128
409
checking for intptr_t... yes
410
checking size of intptr_t... 8
411
checking for uintptr_t... yes
412
checking size of uintptr_t... 8
413
checking for printf prefix for intptr_t... NONE
414
checking for ssize_t... yes
415
checking size of ssize_t... 8
416
checking for printf prefix for int64_t... NONE
417
checking for stack end address... __libc_stack_end
418
checking for uid_t in sys/types.h... (cached) yes
419
checking type of array argument to getgroups... gid_t
420
checking for working alloca.h... yes
421
checking for alloca... yes
422
checking for dynamic size alloca... ok
423
checking for working memcmp... yes
424
checking for acosh... yes
425
checking for cbrt... yes
426
checking for crypt... yes
427
checking for dup2... yes
428
checking for erf... yes
429
checking for explicit_bzero... yes
430
checking for ffs... yes
431
checking for flock... yes
432
checking for hypot... yes
433
checking for lgamma_r... yes
434
checking for memmove... yes
435
checking for nan... yes
436
checking for nextafter... yes
437
checking for setproctitle... no
438
checking for strchr... yes
439
checking for strerror... yes
440
checking for strlcat... no
441
checking for strlcpy... no
442
checking for strstr... yes
443
checking for tgamma... yes
444
checking whether finite is declared... yes
445
checking whether isinf is declared... yes
446
checking whether isnan is declared... yes
447
checking sys/pstat.h usability... no
448
checking sys/pstat.h presence... no
449
checking for sys/pstat.h... no
450
checking for signbit... yes
451
checking for pid_t... (cached) yes
452
checking vfork.h usability... no
453
checking vfork.h presence... no
454
checking for vfork.h... no
455
checking for fork... yes
456
checking for vfork... yes
457
checking for working fork... yes
458
checking for working vfork... (cached) yes
459
checking for __syscall... no
460
checking for _longjmp... yes
461
checking for arc4random_buf... no
462
checking for atan2l... yes
463
checking for atan2f... yes
464
checking for chroot... yes
465
checking for chsize... no
466
checking for clock_gettime... yes
467
checking for copy_file_range... yes
468
checking for cosh... yes
469
checking for crypt_r... yes
470
checking for daemon... (cached) no
471
checking for dirfd... yes
472
checking for dl_iterate_phdr... yes
473
checking for dlopen... yes
474
checking for dladdr... yes
475
checking for dup... yes
476
checking for dup3... yes
477
checking for eaccess... yes
478
checking for endgrent... yes
479
checking for eventfd... yes
480
checking for explicit_memset... no
481
checking for fcopyfile... no
482
checking for fchmod... yes
483
checking for fchown... yes
484
checking for fcntl... yes
485
checking for fdatasync... yes
486
checking for fdopendir... yes
487
checking for fgetattrlist... no
488
checking for fmod... yes
489
checking for fstatat... yes
490
checking for fsync... yes
491
checking for ftruncate... yes
492
checking for ftruncate64... yes
493
checking for getattrlist... no
494
checking for getcwd... yes
495
checking for getentropy... yes
496
checking for getgidx... no
497
checking for getgrnam... yes
498
checking for getgrnam_r... yes
499
checking for getgroups... yes
500
checking for getlogin... yes
501
checking for getlogin_r... yes
502
checking for getpgid... yes
503
checking for getpgrp... yes
504
checking for getpriority... yes
505
checking for getpwnam... yes
506
checking for getpwnam_r... yes
507
checking for getpwuid... yes
508
checking for getpwuid_r... yes
509
checking for getrandom... yes
510
checking for getresgid... yes
511
checking for getresuid... yes
512
checking for getrlimit... yes
513
checking for getsid... yes
514
checking for gettimeofday... yes
515
checking for getuidx... no
516
checking for gmtime_r... yes
517
checking for grantpt... yes
518
checking for initgroups... yes
519
checking for ioctl... yes
520
checking for isfinite... no
521
checking for issetugid... no
522
checking for killpg... yes
523
checking for lchmod... yes
524
checking for lchown... yes
525
checking for link... yes
526
checking for llabs... yes
527
checking for lockf... yes
528
checking for log2... yes
529
checking for lstat... yes
530
checking for lutimes... yes
531
checking for malloc_usable_size... yes
532
checking for malloc_size... no
533
checking for mblen... yes
534
checking for memalign... yes
535
checking for memset_s... no
536
checking for writev... yes
537
checking for memrchr... yes
538
checking for memmem... yes
539
checking for mkfifo... yes
540
checking for mknod... yes
541
checking for mktime... yes
542
checking for mmap... yes
543
checking for openat... yes
544
checking for pipe2... yes
545
checking for poll... yes
546
checking for posix_fadvise... yes
547
checking for posix_memalign... yes
548
checking for ppoll... yes
549
checking for pread... yes
550
checking for pwrite... yes
551
checking for qsort_r... yes
552
checking for qsort_s... no
553
checking for readlink... yes
554
checking for realpath... yes
555
checking for round... yes
556
checking for sched_getaffinity... yes
557
checking for seekdir... yes
558
checking for select_large_fdset... no
559
checking for sendfile... yes
560
checking for setegid... yes
561
checking for setenv... yes
562
checking for seteuid... yes
563
checking for setgid... yes
564
checking for setgroups... yes
565
checking for setpgid... yes
566
checking for setpgrp... yes
567
checking for setregid... yes
568
checking for setresgid... yes
569
checking for setresuid... yes
570
checking for setreuid... yes
571
checking for setrgid... no
572
checking for setrlimit... yes
573
checking for setruid... no
574
checking for setsid... yes
575
checking for setuid... yes
576
checking for shutdown... yes
577
checking for sigaction... yes
578
checking for sigaltstack... yes
579
checking for sigprocmask... yes
580
checking for sinh... yes
581
checking for spawnv... no
582
checking for symlink... yes
583
checking for syscall... yes
584
checking for sysconf... yes
585
checking for tanh... yes
586
checking for telldir... yes
587
checking for timegm... yes
588
checking for times... yes
589
checking for truncate... yes
590
checking for truncate64... yes
591
checking for unsetenv... yes
592
checking for utimensat... yes
593
checking for utimes... yes
594
checking for wait4... yes
595
checking for waitpid... yes
596
checking for __cospi... no
597
checking for __sinpi... no
598
checking for statx... yes
599
checking if getcwd allocates buffer if NULL is given... yes
600
checking crypt.h usability... yes
601
checking crypt.h presence... yes
602
checking for crypt.h... yes
603
checking for struct crypt_data.initialized... yes
604
checking for __builtin_alloca_with_align... yes
605
checking for __builtin_assume_aligned... yes
606
checking for __builtin_bswap16... yes
607
checking for __builtin_bswap32... yes
608
checking for __builtin_bswap64... yes
609
checking for __builtin_popcount... yes
610
checking for __builtin_popcountll... yes
611
checking for __builtin_clz... yes
612
checking for __builtin_clzl... yes
613
checking for __builtin_clzll... yes
614
checking for __builtin_ctz... yes
615
checking for __builtin_ctzll... yes
616
checking for __builtin_add_overflow... yes
617
checking for __builtin_sub_overflow... yes
618
checking for __builtin_mul_overflow... yes
619
checking for __builtin_mul_overflow_p... yes
620
checking for __builtin_constant_p... yes
621
checking for __builtin_choose_expr... yes
622
checking for __builtin_choose_expr_constant_p... yes
623
checking for __builtin_types_compatible_p... yes
624
checking for __builtin_trap... yes
625
checking whether qsort_r is GNU version... yes
626
checking whether qsort_r is BSD version... no
627
checking whether atan2 handles Inf as C99... yes
628
checking for clock_getres... yes
629
checking for timer_create in -lrt... yes
630
checking for timer_settime in -lrt... yes
631
checking for unsetenv returns a value... yes
632
checking whether struct tm is in sys/time.h or time.h... time.h
633
checking for struct tm.tm_zone... yes
634
checking for struct tm.tm_gmtoff... yes
635
checking for external int daylight... yes
636
checking for negative time_t for gmtime(3)... yes
637
checking for localtime(3) overflow correctly... yes
638
checking for sig_t... yes
639
checking whether right shift preserve sign bit... yes
640
checking whether _SC_CLK_TCK is supported... yes
641
checking stack growing direction on x86_64... -1
642
checking native coroutine implementation for x86_64-linux... amd64
643
checking for pthread_create in -lthr... no
644
checking for pthread_create in -lpthread... yes
645
checking for pthread_np.h... no
646
checking whether pthread_t is scalar type... yes
647
checking for sched_yield... yes
648
checking for pthread_attr_setinheritsched... yes
649
checking for pthread_attr_get_np... no
650
checking for pthread_attr_getstack... yes
651
checking for pthread_attr_getguardsize... yes
652
checking for pthread_get_stackaddr_np... no
653
checking for pthread_get_stacksize_np... no
654
checking for thr_stksegment... no
655
checking for pthread_stackseg_np... no
656
checking for pthread_getthrds_np... no
657
checking for pthread_condattr_setclock... yes
658
checking for pthread_setname_np... yes
659
checking for pthread_set_name_np... no
660
checking for pthread_sigmask... yes
661
checking for pthread_getattr_np... yes
662
checking arguments of pthread_setname_np... (pthread_self(), name)
663
checking if mcontext_t is a pointer... no
664
checking for getcontext... yes
665
checking for setcontext... yes
666
checking if fork works with pthread... yes
667
checking whether ELF binaries are produced... yes
668
checking elf.h usability... yes
669
checking elf.h presence... yes
670
checking for elf.h... yes
671
checking elf_abi.h usability... no
672
checking elf_abi.h presence... no
673
checking for elf_abi.h... no
674
checking for uncompress in -lz... yes
675
checking mach-o/loader.h usability... no
676
checking mach-o/loader.h presence... no
677
checking for mach-o/loader.h... no
678
checking whether OS depend dynamic link works... yes
679
checking for backtrace... yes
680
checking for broken backtrace... no
681
checking valgrind/memcheck.h usability... no
682
checking valgrind/memcheck.h presence... no
683
checking for valgrind/memcheck.h... no
684
checking for strip flags... -S -x
685
checking whether -Wl,--no-undefined is accepted as LDFLAGS... yes
686
checking whether wrapper for LD_LIBRARY_PATH is needed... no
687
checking whether dtrace USDT is available... yes
688
checking whether dtrace needs post processing... yes
689
checking for __builtin_setjmp... yes with cast ()
690
checking for _setjmpex as a macro or function... no
691
checking for _setjmp as a macro or function... yes
692
checking for sigsetjmp as a macro or function... no
693
checking for setjmp type... __builtin_setjmp
694
checking for prefix of external symbols... NONE
695
checking pthread.h usability... yes
696
checking pthread.h presence... yes
697
checking for pthread.h... yes
698
checking if make is GNU make... yes
699
.ext/include/x86_64-linux/ruby/config.h updated
700
configure: ruby library version = 3.1.0
701
configure: creating ./config.status
702
config.status: creating GNUmakefile
703
config.status: creating Makefile
704
config.status: creating ruby-3.1.pc
705
---
706
Configuration summary for ruby version 3.1.0
707

    
708
   * Installation prefix: /home/jaruga/local/ruby-master-3c8a67e
709
   * exec prefix:         ${prefix}
710
   * arch:                x86_64-linux
711
   * site arch:           ${arch}
712
   * RUBY_BASE_NAME:      ruby
713
   * enable shared:       yes
714
   * ruby lib prefix:     ${libdir}/${RUBY_BASE_NAME}
715
   * site libraries path: ${rubylibprefix}/${sitearch}
716
   * vendor path:         ${rubylibprefix}/vendor_ruby
717
   * target OS:           linux
718
   * compiler:            gcc
719
   * with pthread:        yes
720
   * with coroutine:      amd64
721
   * enable shared libs:  yes
722
   * dynamic library ext: so
723
   * CFLAGS:              ${optflags} ${debugflags} ${warnflags}
724
   * LDFLAGS:             -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic
725
   * DLDFLAGS:            -Wl,--compress-debug-sections=zlib
726
   * optflags:            -O3 -fno-fast-math
727
   * debugflags:          -ggdb3
728
   * warnflags:           -Wall -Wextra -Werror=deprecated-declarations -Werror=duplicated-cond \
729
                          -Werror=implicit-function-declaration -Werror=implicit-int \
730
                          -Werror=misleading-indentation -Werror=pointer-arith \
731
                          -Werror=write-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn \
732
                          -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long \
733
                          -Wno-missing-field-initializers -Wno-overlength-strings \
734
                          -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign \
735
                          -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value \
736
                          -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable
737
   * strip command:       strip -S -x
738
   * install doc:         rdoc
739
   * JIT support:         yes
740
   * man page type:       doc
741
   * BASERUBY -v:         ruby 3.0.1p64 (2021-04-05 revision 0fb782ee38) [x86_64-linux]
742

    
743
$ make
744

    
745
$ make install
746

    
747
$ ~/local/ruby-master-3c8a67e/bin/ruby -v
748
ruby 3.1.0dev (2021-04-21T11:45:23Z master 3c8a67e8a5) [x86_64-linux]
749

    
750
$ ~/local/ruby-master-3c8a67e/bin/ruby --disable-gems --jit-verbose=2 --jit-save-temps --jit-min-calls=1 --jit-wait -e '1.times { puts "Hello" }'
751
MJIT: CC defaults to /usr/bin/gcc
752
MJIT: tmp_dir is /tmp
753
Creating precompiled header
754
Starting process: /usr/bin/gcc /usr/bin/gcc -w -Wfatal-errors -fPIC -shared -w -pipe -O3 -fno-fast-math -nodefaultlibs -nostdlib -o /tmp/_ruby_mjit_hp1287652u0.h.gch /home/jaruga/local/ruby-master-3c8a67e/include/ruby-3.1.0/x86_64-linux/rb_mjit_min_header-3.1.0.h
755
start compilation: block in <main>@-e:1 -> /tmp/_ruby_mjit_p1287652u0.c
756
Starting process: /usr/bin/gcc /usr/bin/gcc -w -Wfatal-errors -fPIC -shared -w -pipe -O3 -fno-fast-math -o /tmp/_ruby_mjit_p1287652u0.o /tmp/_ruby_mjit_p1287652u0.c -c -nostartfiles -nodefaultlibs -nostdlib
757
Starting process: /usr/bin/gcc /usr/bin/gcc -shared -Wfatal-errors -fPIC -shared -w -pipe -O3 -fno-fast-math -o /tmp/_ruby_mjit_p1287652u0.so /tmp/_ruby_mjit_p1287652u0.o -lgcc -Wl,--compress-debug-sections=zlib -nostartfiles -nodefaultlibs -nostdlib
758
JIT success (63.2ms): block in <main>@-e:1 -> /tmp/_ruby_mjit_p1287652u0.c
759
Hello
760
Stopping worker thread
761
Successful MJIT finish
762

    
763
$ TMP=./tmp ~/local/ruby-master-3c8a67e/bin/ruby --disable-gems --jit-verbose=2 --jit-save-temps --jit-min-calls=1 --jit-wait -e '1.times { puts "Hello" }'
764
MJIT: CC defaults to /usr/bin/gcc
765
MJIT: tmp_dir is ./tmp
766
Creating precompiled header
767
Starting process: /usr/bin/gcc /usr/bin/gcc -w -Wfatal-errors -fPIC -shared -w -pipe -O3 -fno-fast-math -nodefaultlibs -nostdlib -o ./tmp/_ruby_mjit_hp1287695u0.h.gch /home/jaruga/local/ruby-master-3c8a67e/include/ruby-3.1.0/x86_64-linux/rb_mjit_min_header-3.1.0.h
768
start compilation: block in <main>@-e:1 -> ./tmp/_ruby_mjit_p1287695u0.c
769
Starting process: /usr/bin/gcc /usr/bin/gcc -w -Wfatal-errors -fPIC -shared -w -pipe -O3 -fno-fast-math -o ./tmp/_ruby_mjit_p1287695u0.o ./tmp/_ruby_mjit_p1287695u0.c -c -nostartfiles -nodefaultlibs -nostdlib
770
./tmp/_ruby_mjit_p1287695u0.c:1:10: fatal error: ./tmp/_ruby_mjit_hp1287695u0.h: No such file or directory
771
    1 | #include "./tmp/_ruby_mjit_hp1287695u0.h"
772
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
773
compilation terminated.
774
compile_c_to_so: failed to compile .c to .o: 1
775
Failed to generate so: ./tmp/_ruby_mjit_p1287695u0.so
776
Hello
777
Stopping worker thread
778
Successful MJIT finish
779

    
780

    
781