From: v.ondruch@tiscali.cz
To: ruby-core@ruby-lang.org
Subject: [ruby-core:91079] [Ruby trunk Bug#15522] TestJIT#test_compile_insn_local fails on aarch64 RHEL7
Date: Mon, 14 Jan 2019 11:58:51 +0000 (UTC) [thread overview]
Message-ID: <redmine.journal-76308.20190114115849.9fb321dfc83a0373@ruby-lang.org> (raw)
In-Reply-To: redmine.issue-15522.20190110104455@ruby-lang.org
Issue #15522 has been updated by vo.x (Vit Ondruch).
k0kubun (Takashi Kokubun) wrote:
> @vo.x Could you check if r66812 works?
Actually it is r66811 + r66812. Applying these two patches, the test suite passes on RHEL7 on all supported architectures and it keeps passing on Fedora Rawhide on all supported architectures. Thx for the fix.
----------------------------------------
Bug #15522: TestJIT#test_compile_insn_local fails on aarch64 RHEL7
https://bugs.ruby-lang.org/issues/15522#change-76308
* Author: vo.x (Vit Ondruch)
* Status: Closed
* Priority: Normal
* Assignee: k0kubun (Takashi Kokubun)
* Target version:
* ruby -v: ruby 2.6.0p0 (2018-12-25 revision 66547) [aarch64-linux]
* Backport: 2.4: DONTNEED, 2.5: DONTNEED, 2.6: REQUIRED
----------------------------------------
Trying to build Ruby 2.6 on RHEL7, I observe the following test failure on RHEL7, but just on aarch64. The other platforms pass just fine:
~~~
1) Failure:
TestJIT#test_compile_insn_local [/builddir/build/BUILD/ruby-2.6.0/test/ruby/test_jit.rb:64]:
Expected 3 times of JIT success, but succeeded 2 times.
script:
```
def foo
a = 0
[1, 2].each do |i|
a += i
[3, 4].each do |j|
a *= j
end
end
a
end
print foo
```
stderr:
```
JIT success (276.6ms): foo@-e:2 -> /tmp/_ruby_mjit_p20163u0.c
JIT success (347.3ms): block in foo@-e:4 -> /tmp/_ruby_mjit_p20163u1.c
MJIT warning: failure in loading code from '/tmp/_ruby_mjit_p20163u2.so': /tmp/_ruby_mjit_p20163u2.so: undefined symbol: __multi3
Successful MJIT finish
```
..
<3> expected but was
<2>.
~~~
I suspect this must be some combination of architecture/compiler (gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-16)), because I don't observe similar issues on Fedora.
---Files--------------------------------
_ruby_mjit_p207u2.c (3.48 KB)
rb_mjit_min_header-2.6.0.h (781 KB)
mjit_multi3.tgz (993 KB)
--
https://bugs.ruby-lang.org/
next prev parent reply other threads:[~2019-01-14 11:59 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <redmine.issue-15522.20190110104455@ruby-lang.org>
2019-01-10 10:44 ` [ruby-core:90986] [Ruby trunk Bug#15522] TestJIT#test_compile_insn_local fails on aarch64 RHEL7 v.ondruch
2019-01-10 10:46 ` [ruby-core:90987] " v.ondruch
2019-01-10 11:08 ` [ruby-core:90988] " dan
2019-01-10 11:36 ` [ruby-core:90990] " v.ondruch
2019-01-10 11:48 ` [ruby-core:90991] " v.ondruch
2019-01-10 12:40 ` [ruby-core:90993] " takashikkbn
2019-01-10 12:42 ` [ruby-core:90994] " takashikkbn
2019-01-10 14:06 ` [ruby-core:90996] " v.ondruch
2019-01-10 14:56 ` [ruby-core:91002] [Ruby trunk Bug#15522][Feedback] " takashikkbn
2019-01-11 10:02 ` [ruby-core:91016] [Ruby trunk Bug#15522][Open] " v.ondruch
2019-01-11 10:42 ` [ruby-core:91017] [Ruby trunk Bug#15522] " dan
2019-01-11 11:10 ` [ruby-core:91019] [Ruby trunk Bug#15522][Assigned] " takashikkbn
2019-01-11 16:11 ` [ruby-core:91027] [Ruby trunk Bug#15522] " v.ondruch
2019-01-14 6:32 ` [ruby-core:91069] [Ruby trunk Bug#15522] TestJIT#test_compile_insn_local fails onaarch64 RHEL7 takashikkbn
2019-01-14 11:58 ` v.ondruch [this message]
2019-01-17 21:54 ` [ruby-core:91147] [Ruby trunk Bug#15522] TestJIT#test_compile_insn_local fails on aarch64 RHEL7 naruse
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-list from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.ruby-lang.org/en/community/mailing-lists/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=redmine.journal-76308.20190114115849.9fb321dfc83a0373@ruby-lang.org \
--to=ruby-core@ruby-lang.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).