虚無庵

徒然なるままに

今日の ruby build 2023-11-21

今日のビルド

4de54c967549dedc47127c67b9348b5df7732c2b までを pull ってきてビルド。

In file included from ./include/ruby/internal/arithmetic/long.h:42,
                 from ./include/ruby/internal/arithmetic/int.h:26,
                 from ./include/ruby/internal/arithmetic/char.h:23,
                 from ./include/ruby/internal/arithmetic.h:24,
                 from ./include/ruby/ruby.h:28,
                 from internal.h:31,
                 from complex.c:19:
complex.c: In function ‘rb_complex_pow’:
./include/ruby/internal/special_consts.h:313:16: warning: ‘zr’ may be used uninitialized [-Wmaybe-uninitialized]
  313 |     return obj & RUBY_IMMEDIATE_MASK;
      |            ~~~~^~~~~~~~~~~~~~~~~~~~~
complex.c:1048:11: note: ‘zr’ was declared here
 1048 |     VALUE zr, zi;
      |           ^~
In file included from ./include/ruby/internal/arithmetic/long.h:42,
                 from ./include/ruby/internal/arithmetic/int.h:26,
                 from ./include/ruby/internal/arithmetic/char.h:23,
                 from ./include/ruby/internal/arithmetic.h:24,
                 from ./include/ruby/ruby.h:28,
                 from internal.h:31,
                 from complex.c:19:
./include/ruby/internal/special_consts.h:313:16: warning: ‘zi’ may be used uninitialized [-Wmaybe-uninitialized]
  313 |     return obj & RUBY_IMMEDIATE_MASK;
      |            ~~~~^~~~~~~~~~~~~~~~~~~~~
complex.c:1048:15: note: ‘zi’ was declared here
 1048 |     VALUE zr, zi;
      |               ^~
complex.c: At top level:
cc1: note: unrecognized command-line option ‘-Wno-self-assign’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-parentheses-equality’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-constant-logical-operand’ may have been intended to silence earlier diagnostics

これは初めて見る警告だな。なんだろ…?

  Files:       1051

  Classes:     1262 ( 317 undocumented)
  Modules:      243 (  81 undocumented)
  Constants:   2457 ( 788 undocumented)
  Attributes:  1493 ( 258 undocumented)
  Methods:    12672 (2516 undocumented)

  Total:      18127 (3960 undocumented)
   78.15% documented

  Elapsed: 32.8s

今日のテスト

make test-all を実行。

Leaked file descriptor: TestIRB::ContextTest#test_build_completor: 8 #<File::Stat dev=0x10302, ino=2652792, mode=040755, nlink=2, uid=1000, gid=1000, rdev=0x0, size=4096, blksize=4096, blocks=8, atime=2023-11-20 20:43:51.026625739 +0900, mtime=2023-07-16 02:16:13.835839041 +0900, ctime=2023-07-16 02:16:13.835839041 +0900>
Closed file descriptor: TestIRB::ContextTest#test_eval_input_with_long_exception: 8
Finished tests in 638.080913s, 41.4869 tests/s, 11231.8655 assertions/s.
26472 tests, 7166839 assertions, 0 failures, 0 errors, 87 skips

ruby -v: ruby 3.3.0dev (2023-11-21T09:22:02Z master 4de54c9675) [x86_64-linux]

今日のビルド(Universal Parser 有効化)

4de54c967549dedc47127c67b9348b5df7732c2b までを pull ってきてビルド。

In file included from ./include/ruby/internal/arithmetic/long.h:42,
                 from ./include/ruby/internal/arithmetic/int.h:26,
                 from ./include/ruby/internal/arithmetic/char.h:23,
                 from ./include/ruby/internal/arithmetic.h:24,
                 from ./include/ruby/ruby.h:28,
                 from internal.h:31,
                 from complex.c:19:
complex.c: In function ‘rb_complex_pow’:
./include/ruby/internal/special_consts.h:313:16: warning: ‘zr’ may be used uninitialized [-Wmaybe-uninitialized]
  313 |     return obj & RUBY_IMMEDIATE_MASK;
      |            ~~~~^~~~~~~~~~~~~~~~~~~~~
complex.c:1048:11: note: ‘zr’ was declared here
 1048 |     VALUE zr, zi;
      |           ^~
In file included from ./include/ruby/internal/arithmetic/long.h:42,
                 from ./include/ruby/internal/arithmetic/int.h:26,
                 from ./include/ruby/internal/arithmetic/char.h:23,
                 from ./include/ruby/internal/arithmetic.h:24,
                 from ./include/ruby/ruby.h:28,
                 from internal.h:31,
                 from complex.c:19:
./include/ruby/internal/special_consts.h:329:32: warning: ‘zi’ may be used uninitialized [-Wmaybe-uninitialized]
  329 |     return RB_IMMEDIATE_P(obj) || obj == RUBY_Qfalse;
      |                                ^
complex.c:1048:15: note: ‘zi’ was declared here
 1048 |     VALUE zr, zi;
      |               ^~
complex.c: At top level:
cc1: note: unrecognized command-line option ‘-Wno-self-assign’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-parentheses-equality’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-constant-logical-operand’ may have been intended to silence earlier diagnostics
ruby_parser.c: In function ‘rb_parser_config_initialize’:
ruby_parser.c:721:29: warning: assignment left-hand side might be a candidate for a format attribute [-Wsuggest-attribute=format]
  721 |     config->compile_warn    = rb_compile_warn;
      |                             ^
ruby_parser.c:722:29: warning: assignment left-hand side might be a candidate for a format attribute [-Wsuggest-attribute=format]
  722 |     config->compile_warning = rb_compile_warning;
      |                             ^
ruby_parser.c:723:29: warning: assignment left-hand side might be a candidate for a format attribute [-Wsuggest-attribute=format]
  723 |     config->bug             = rb_bug;
      |                             ^
ruby_parser.c:724:29: warning: assignment left-hand side might be a candidate for a format attribute [-Wsuggest-attribute=format]
  724 |     config->fatal           = rb_fatal;
      |                             ^
ruby_parser.c: At top level:
cc1: note: unrecognized command-line option ‘-Wno-self-assign’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-parentheses-equality’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-constant-logical-operand’ may have been intended to silence earlier diagnostics
  Files:       1051

  Classes:     1262 ( 317 undocumented)
  Modules:      243 (  81 undocumented)
  Constants:   2457 ( 788 undocumented)
  Attributes:  1493 ( 258 undocumented)
  Methods:    12672 (2516 undocumented)

  Total:      18127 (3960 undocumented)
   78.15% documented

  Elapsed: 37.1s

今日のテスト(Universal Parser 有効化)

make test-all を実行。

Leaked file descriptor: TestIRB::ContextTest#test_build_completor: 5 #<File::Stat dev=0x10302, ino=3297912, mode=0100644, nlink=1, uid=1000, gid=1000, rdev=0x0, size=1013, blksize=4096, blocks=8, atime=2023-11-20 20:44:02.360091797 +0900, mtime=2023-08-23 21:49:10.259310789 +0900, ctime=2023-08-23 21:49:10.259310789 +0900>
Closed file descriptor: TestIRB::ContextTest#test_default_return_format: 5
Finished tests in 695.078374s, 38.0849 tests/s, 10309.2475 assertions/s.
26472 tests, 7165735 assertions, 0 failures, 0 errors, 85 skips

ruby -v: ruby 3.3.0dev (2023-11-21T09:22:02Z master 4de54c9675) [x86_64-linux]

今日のビルド(YJIT 有効化)

4de54c967549dedc47127c67b9348b5df7732c2b までを pull ってきてビルド。

In file included from ./include/ruby/internal/arithmetic/long.h:42,
                 from ./include/ruby/internal/arithmetic/int.h:26,
                 from ./include/ruby/internal/arithmetic/char.h:23,
                 from ./include/ruby/internal/arithmetic.h:24,
                 from ./include/ruby/ruby.h:28,
                 from internal.h:31,
                 from complex.c:19:
complex.c: In function ‘rb_complex_pow’:
./include/ruby/internal/special_consts.h:313:16: warning: ‘zr’ may be used uninitialized [-Wmaybe-uninitialized]
  313 |     return obj & RUBY_IMMEDIATE_MASK;
      |            ~~~~^~~~~~~~~~~~~~~~~~~~~
complex.c:1048:11: note: ‘zr’ was declared here
 1048 |     VALUE zr, zi;
      |           ^~
In file included from ./include/ruby/internal/arithmetic/long.h:42,
                 from ./include/ruby/internal/arithmetic/int.h:26,
                 from ./include/ruby/internal/arithmetic/char.h:23,
                 from ./include/ruby/internal/arithmetic.h:24,
                 from ./include/ruby/ruby.h:28,
                 from internal.h:31,
                 from complex.c:19:
./include/ruby/internal/special_consts.h:313:16: warning: ‘zi’ may be used uninitialized [-Wmaybe-uninitialized]
  313 |     return obj & RUBY_IMMEDIATE_MASK;
      |            ~~~~^~~~~~~~~~~~~~~~~~~~~
complex.c:1048:15: note: ‘zi’ was declared here
 1048 |     VALUE zr, zi;
      |               ^~
complex.c: At top level:
cc1: note: unrecognized command-line option ‘-Wno-self-assign’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-parentheses-equality’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-constant-logical-operand’ may have been intended to silence earlier diagnostics

今日のテスト(YJIT 有効化)

make test-all を実行。

Leaked file descriptor: TestIRB::ContextTest#test_build_completor: 5 #<File::Stat dev=0x10302, ino=2624449, mode=0100644, nlink=1, uid=1000, gid=1000, rdev=0x0, size=1013, blksize=4096, blocks=8, atime=2023-11-20 20:43:53.039598977 +0900, mtime=2023-09-17 15:37:01.752490258 +0900, ctime=2023-09-17 15:37:01.752490258 +0900>
Closed file descriptor: TestIRB::ContextTest#test_eval_input_with_long_exception: 5
Finished tests in 651.050071s, 40.6605 tests/s, 11008.2946 assertions/s.
26472 tests, 7166951 assertions, 0 failures, 0 errors, 86 skips

ruby -v: ruby 3.3.0dev (2023-11-21T09:22:02Z master 4de54c9675) [x86_64-linux]

今日のビルド(RJIT 有効化)

4de54c967549dedc47127c67b9348b5df7732c2b までを pull ってきてビルド。

In file included from ./include/ruby/internal/arithmetic/long.h:42,
                 from ./include/ruby/internal/arithmetic/int.h:26,
                 from ./include/ruby/internal/arithmetic/char.h:23,
                 from ./include/ruby/internal/arithmetic.h:24,
                 from ./include/ruby/ruby.h:28,
                 from internal.h:31,
                 from complex.c:19:
complex.c: In function ‘rb_complex_pow’:
./include/ruby/internal/special_consts.h:313:16: warning: ‘zr’ may be used uninitialized [-Wmaybe-uninitialized]
  313 |     return obj & RUBY_IMMEDIATE_MASK;
      |            ~~~~^~~~~~~~~~~~~~~~~~~~~
complex.c:1048:11: note: ‘zr’ was declared here
 1048 |     VALUE zr, zi;
      |           ^~
In file included from ./include/ruby/internal/arithmetic/long.h:42,
                 from ./include/ruby/internal/arithmetic/int.h:26,
                 from ./include/ruby/internal/arithmetic/char.h:23,
                 from ./include/ruby/internal/arithmetic.h:24,
                 from ./include/ruby/ruby.h:28,
                 from internal.h:31,
                 from complex.c:19:
./include/ruby/internal/special_consts.h:313:16: warning: ‘zi’ may be used uninitialized [-Wmaybe-uninitialized]
  313 |     return obj & RUBY_IMMEDIATE_MASK;
      |            ~~~~^~~~~~~~~~~~~~~~~~~~~
complex.c:1048:15: note: ‘zi’ was declared here
 1048 |     VALUE zr, zi;
      |               ^~
complex.c: At top level:
cc1: note: unrecognized command-line option ‘-Wno-self-assign’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-parentheses-equality’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-constant-logical-operand’ may have been intended to silence earlier diagnostics

今日のテスト(RJIT 有効化)

make test-all を実行。

Leaked file descriptor: TestIRB::ContextTest#test_build_completor: 5 #<File::Stat dev=0x10302, ino=2520440, mode=0100644, nlink=1, uid=1000, gid=1000, rdev=0x0, size=1013, blksize=4096, blocks=8, atime=2023-11-20 20:43:52.657657557 +0900, mtime=2023-09-17 15:37:40.725234164 +0900, ctime=2023-09-17 15:37:40.725234164 +0900>
Closed file descriptor: TestIRB::ContextTest#test_default_return_format: 5
Finished tests in 651.290281s, 40.6455 tests/s, 11002.6469 assertions/s.
26472 tests, 7165917 assertions, 0 failures, 0 errors, 86 skips

ruby -v: ruby 3.3.0dev (2023-11-21T09:22:02Z master 4de54c9675) [x86_64-linux]