From: takashikkbn@... Date: 2019-07-04T12:54:35+00:00 Subject: [ruby-core:93543] [Ruby master Bug#15986] `TestJIT#test_block_handler_with_possible_frame_omitted_inlining` fails on s390x and aarch64 Issue #15986 has been updated by k0kubun (Takashi Kokubun). Assignee set to k0kubun (Takashi Kokubun) Status changed from Open to Assigned Thanks to report. I'd like to know more about the context to fix the issue. * Does the error happen at the same place when you retry running the tests? * If so, could you share the output of the following command and all .c/.h files referenced in it? ``` $ ruby --disable-gems --jit-verbose=2 --jit-save-temps --jit-wait --jit-min-calls=2 -e " def multiply(a, b) a *= b end 3.times do p multiply(7.0, 10.0) end " ``` In my case, they were `/home/k0kubun/.rbenv/versions/ruby/include/ruby-2.7.0/x86_64-linux/rb_mjit_min_header-2.7.0.h`, `/tmp/_ruby_mjit_p17484u0.c`, and `/tmp/_ruby_mjit_p17484u1.c`. Also the output of `ls -la /tmp` after that may be also helpful. ---------------------------------------- Bug #15986: `TestJIT#test_block_handler_with_possible_frame_omitted_inlining` fails on s390x and aarch64 https://bugs.ruby-lang.org/issues/15986#change-79107 * Author: vo.x (Vit Ondruch) * Status: Assigned * Priority: Normal * Assignee: k0kubun (Takashi Kokubun) * Target version: * ruby -v: ruby -v: ruby 2.7.0dev (2019-07-04T10:34:08Z master d9f8b88b47) [s390x-linux] * Backport: 2.4: UNKNOWN, 2.5: UNKNOWN, 2.6: UNKNOWN ---------------------------------------- I am trying to build the Ruby 2.7 snapshot for Fedora Rawhide [1], but I observe the following test failure on s390x and aarch64 platforms: ~~~ 1) Failure: TestJIT#test_block_handler_with_possible_frame_omitted_inlining [/builddir/build/BUILD/ruby-2.7.0-d9f8b88b47/test/ruby/test_jit.rb:846]: Expected 2 times of JIT success, but succeeded 1 times. script: """ def multiply(a, b) a *= b end 3.times do p multiply(7.0, 10.0) end """ stderr: """ JIT success (65.9ms): block in
@-e:6 -> /tmp/_ruby_mjit_p54157u0.c gcc: fatal error: output filename may not be empty compilation terminated. Successful MJIT finish """ .. <2> expected but was <1>. Finished tests in 440.892116s, 47.2746 tests/s, 6150.4071 assertions/s. ~~~ [1]: https://koji.fedoraproject.org/koji/taskinfo?taskID=36030301 -- https://bugs.ruby-lang.org/ Unsubscribe: