From: takashikkbn@... Date: 2019-07-12T15:51:01+00:00 Subject: [ruby-core:93732] [Ruby master Bug#15986] `TestJIT#test_block_handler_with_possible_frame_omitted_inlining` fails on s390x and armv7hl Issue #15986 has been updated by k0kubun (Takashi Kokubun). File mjit_debug2.diff added Thank you for the next information. Could you also test the new "mjit_debug2.diff" which I attached now in the same way? > BTW a bit OT, but seeing all the information stored in the rb_mjit_min_header-2.7.0.h, I am not sure the JIT will work for binary distributions such as Fedora/RHEL. MJIT's support policy is that the compiler for runtime MJIT compilation and its path must be the same as one used to build Ruby binary. Otherwise it's just out of support. Even if it's a binary distribution, you could also distribute a compiler as needed. ---------------------------------------- Bug #15986: `TestJIT#test_block_handler_with_possible_frame_omitted_inlining` fails on s390x and armv7hl https://bugs.ruby-lang.org/issues/15986#change-79364 * Author: vo.x (Vit Ondruch) * Status: Feedback * 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 ---Files-------------------------------- build-s390x.log (1.29 MB) build-armv7hl.log (1.26 MB) build-x86_64.log (1.28 MB) mjit_debug.diff (1.69 KB) build-x86_64.log (2.76 KB) build-s390x.log (3.03 KB) build-armv7hl.log (2.86 KB) mjit_debug2.diff (2.66 KB) -- https://bugs.ruby-lang.org/ Unsubscribe: