[ruby-core:93808] [Ruby master Bug#15986] `TestJIT#test_block_handler_with_possible_frame_omitted_inlining` fails on s390x and armv7hl

[email protected]
Newsgroups gmane.comp.lang.ruby.core
Message-ID <redmine.journal-79677.20190716053440.3afa43fd4339beff@ruby-lang.org>
Issue #15986 has been updated by vo.x (Vit Ondruch).


I did several build with 0c6c937904 and all passed. Thx for the fix.

----------------------------------------
Bug #15986: `TestJIT#test_block_handler_with_possible_frame_omitted_inlining` fails on s390x and armv7hl
https://bugs.ruby-lang.org/issues/15986#change-79677

* Author: vo.x (Vit Ondruch)
* Status: Closed
* 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 <main>@-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)
build-armv7hl.log (4.48 KB)
build-s390x.log (5.06 KB)
build-x86_64.log (5.09 KB)


-- 
https://bugs.ruby-lang.org/

Unsubscribe: <mailto:[email protected]?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.