ruby-core@ruby-lang.org archive (unofficial mirror)
 help / color / mirror / Atom feed
From: takashikkbn@gmail.com
To: ruby-core@ruby-lang.org
Subject: [ruby-core:91002] [Ruby trunk Bug#15522][Feedback] TestJIT#test_compile_insn_local fails on aarch64 RHEL7
Date: Thu, 10 Jan 2019 14:56:01 +0000 (UTC)	[thread overview]
Message-ID: <redmine.journal-76223.20190110145600.3e2116cb2c96db5c@ruby-lang.org> (raw)
In-Reply-To: redmine.issue-15522.20190110104455@ruby-lang.org

Issue #15522 has been updated by k0kubun (Takashi Kokubun).

Status changed from Open to Feedback

Thank you. I'll wait for that first.
Also having logs with --jit-verbose=2 version of https://bugs.ruby-lang.org/issues/15522#note-3 would be helpful.

P.S. The output format is changed in r66781.

----------------------------------------
Bug #15522: TestJIT#test_compile_insn_local fails on aarch64 RHEL7
https://bugs.ruby-lang.org/issues/15522#change-76223

* Author: vo.x (Vit Ondruch)
* Status: Feedback
* Priority: Normal
* Assignee: 
* Target version: 
* ruby -v: ruby 2.6.0p0 (2018-12-25 revision 66547) [aarch64-linux]
* Backport: 2.4: UNKNOWN, 2.5: UNKNOWN, 2.6: UNKNOWN
----------------------------------------
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)


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

  parent reply	other threads:[~2019-01-10 14:56 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 ` takashikkbn [this message]
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 ` [ruby-core:91079] [Ruby trunk Bug#15522] TestJIT#test_compile_insn_local fails on aarch64 RHEL7 v.ondruch
2019-01-17 21:54 ` [ruby-core:91147] " 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-76223.20190110145600.3e2116cb2c96db5c@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).