From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS4713 221.184.0.0/13 X-Spam-Status: No, score=-3.1 required=3.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, FORGED_GMAIL_RCVD,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED, SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from neon.ruby-lang.org (neon.ruby-lang.org [221.186.184.75]) by dcvr.yhbt.net (Postfix) with ESMTP id EF3A11F803 for ; Thu, 10 Jan 2019 12:42:46 +0000 (UTC) Received: from neon.ruby-lang.org (localhost [IPv6:::1]) by neon.ruby-lang.org (Postfix) with ESMTP id 09D5E114DE7; Thu, 10 Jan 2019 21:42:45 +0900 (JST) Received: from o1678916x28.outbound-mail.sendgrid.net (o1678916x28.outbound-mail.sendgrid.net [167.89.16.28]) by neon.ruby-lang.org (Postfix) with ESMTPS id 48893114DE0 for ; Thu, 10 Jan 2019 21:42:43 +0900 (JST) Received: by filter0163p3mdw1.sendgrid.net with SMTP id filter0163p3mdw1-14984-5C373DBF-4D 2019-01-10 12:42:39.782262886 +0000 UTC m=+218842.272431778 Received: from herokuapp.com (ec2-3-85-21-215.compute-1.amazonaws.com [3.85.21.215]) by ismtpd0040p1iad2.sendgrid.net (SG) with ESMTP id c83AtJKYT56mIJKMbthZmg Thu, 10 Jan 2019 12:42:39.630 +0000 (UTC) Date: Thu, 10 Jan 2019 12:42:40 +0000 (UTC) From: takashikkbn@gmail.com To: ruby-core@ruby-lang.org Message-ID: References: Mime-Version: 1.0 X-Redmine-MailingListIntegration-Message-Ids: 66429 X-Redmine-Project: ruby-trunk X-Redmine-Issue-Id: 15522 X-Redmine-Issue-Author: vo.x X-Redmine-Issue-Assignee: k0kubun X-Redmine-Sender: k0kubun X-Mailer: Redmine X-Redmine-Host: bugs.ruby-lang.org X-Redmine-Site: Ruby Issue Tracking System X-Auto-Response-Suppress: All Auto-Submitted: auto-generated X-SG-EID: ync6xU2WACa70kv/Ymy4QrNMhiuLXJG8OTL2vJD1yS5O6bd9VzysK1PX8mIFkZAeltkMPjrx1LVKUP QsHXTDugYSMLTcDsoAeTSfFx5w62VDNLv1Ig8kccO/0nx6SDdKJXh8C/atCoMGuzv2h+yskvdl5EhB OF8tgf/SveUf+KnrKYtXrk5JFeXnS3oE0w1JRqf4Jk7Clskg+HrEEX11qA== X-ML-Name: ruby-core X-Mail-Count: 90994 Subject: [ruby-core:90994] [Ruby trunk Bug#15522] TestJIT#test_compile_insn_local fails on aarch64 RHEL7 X-BeenThere: ruby-core@ruby-lang.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Ruby developers List-Id: Ruby developers List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ruby-core-bounces@ruby-lang.org Sender: "ruby-core" Issue #15522 has been updated by k0kubun (Takashi Kokubun). Assignee set to k0kubun (Takashi Kokubun) ---------------------------------------- Bug #15522: TestJIT#test_compile_insn_local fails on aarch64 RHEL7 https://bugs.ruby-lang.org/issues/15522#change-76214 * Author: vo.x (Vit Ondruch) * Status: Open * Priority: Normal * Assignee: k0kubun (Takashi Kokubun) * 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/