Project

General

Profile

Bug #15986 » build-armv7hl.log

vo.x (Vit Ondruch), 07/15/2019 01:14 PM

 
+ make test-all 'TESTS=test/ruby/test_jit.rb -n /test_block_handler_with_possible_frame_omitted_inlining/'
./revision.h unchanged
config.status: creating ruby-runner.h
making mjit_build_dir.so
Run options: "--ruby=./miniruby -I./lib -I. -I.ext/common ./tool/runruby.rb --extout=.ext -- --disable-gems" --excludes-dir=./test/excludes --name=!/memory_leak/ -n /test_block_handler_with_possible_frame_omitted_inlining/
# Running tests:
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:
"""
MJIT: CC defaults to /usr/bin/gcc
MJIT: tmp_dir is /tmp
Creating precompiled header
Starting process: /usr/bin/gcc `/usr/bin/gcc`(0xb6e52b68) `-w`(0xb6e52ed0) `-Wfatal-errors`(0xb6e52eb8) `-fPIC`(0xb6e52ec8) `-shared`(0xb6e52eb0) `-w`(0xb6e52ed0) `-pipe`(0xb6e52ed4) `-O3`(0xb6e52edc) `-nodefaultlibs`(0xb6e52178) `-nostdlib`(0xb6e52188) `-o`(0xb6e52194) `/tmp/_ruby_mjit_hp26335u0.h.gch`(0x11e6870) `/builddir/build/BUILD/ruby-2.7.0-d9f8b88b47/.ext/include/armv7hl-linux/rb_mjit_min_header-2.7.0.h`(0x11e6808)
DEBUG1: so_file:`/tmp/_ruby_mjit_p26335u0.so`
DEBUG1: so_file ptr:0xb48a6d30
start compilation: block in <main>@-e:6 -> /tmp/_ruby_mjit_p26335u0.c
Starting process: /usr/bin/gcc `/usr/bin/gcc`(0xb6e52b68) `-w`(0xb6e52ed0) `-Wfatal-errors`(0xb6e52eb8) `-fPIC`(0xb6e52ec8) `-shared`(0xb6e52eb0) `-w`(0xb6e52ed0) `-pipe`(0xb6e52ed4) `-O3`(0xb6e52edc) `-o`(0xb6e52194) `/tmp/_ruby_mjit_p26335u0.o`(0xb48a6d50) `/tmp/_ruby_mjit_p26335u0.c`(0xb48a6dd4) `-c`(0xb6e52198) `-lgcc`(0xb6e52e3c) `-Wl,-z,relro`(0xb6e52e44) `-Wl,--as-needed`(0xb6e52e54) `-Wl,-z,now`(0xb6e52e64) `-specs=/usr/lib/rpm/redhat/redhat-hardened-ld`(0xb6e52e70) `-nostartfiles`(0xb6e52ea0) `-nodefaultlibs`(0xb6e52178) `-nostdlib`(0xb6e52188)
DEBUG2: so_file:`/tmp/_ruby_mjit_p26335u0.so`
DEBUG2: so_file ptr:0xb48a6d30
DEBUG3: so_file:`/tmp/_ruby_mjit_p26335u0.so`
DEBUG3: so_file ptr:0xb48a6d30
DEBUG4: so_file:`/tmp/_ruby_mjit_p26335u0.so`
DEBUG4: so_file ptr:0xb48a6d30
Starting process: /usr/bin/gcc `/usr/bin/gcc`(0xb6e52b68) `-shared`(0xb6e52eb0) `-Wfatal-errors`(0xb6e52eb8) `-fPIC`(0xb6e52ec8) `-shared`(0xb6e52eb0) `-w`(0xb6e52ed0) `-pipe`(0xb6e52ed4) `-O3`(0xb6e52edc) `-o`(0xb6e52194) `/tmp/_ruby_mjit_p26335u0.so`(0xb48a6d30) `/tmp/_ruby_mjit_p26335u0.o`(0xb48a6d50) `-lgcc`(0xb6e52e3c) `-Wl,-z,relro`(0xb6e52e44) `-Wl,--as-needed`(0xb6e52e54) `-Wl,-z,now`(0xb6e52e64) `-specs=/usr/lib/rpm/redhat/redhat-hardened-ld`(0xb6e52e70) `-nostartfiles`(0xb6e52ea0) `-nodefaultlibs`(0xb6e52178) `-nostdlib`(0xb6e52188)
JIT success (319.6ms): block in <main>@-e:6 -> /tmp/_ruby_mjit_p26335u0.c
DEBUG1: so_file:`/tmp/_ruby_mjit_p26335u1.so`
DEBUG1: so_file ptr:0xb48a6d30
start compilation: multiply@-e:2 -> /tmp/_ruby_mjit_p26335u1.c
Starting process: /usr/bin/gcc `/usr/bin/gcc`(0xb6e52b68) `-w`(0xb6e52ed0) `-Wfatal-errors`(0xb6e52eb8) `-fPIC`(0xb6e52ec8) `-shared`(0xb6e52eb0) `-w`(0xb6e52ed0) `-pipe`(0xb6e52ed4) `-O3`(0xb6e52edc) `-o`(0xb6e52194) `/tmp/_ruby_mjit_p26335u1.o`(0xb48a6d50) `/tmp/_ruby_mjit_p26335u1.c`(0xb48a6dd4) `-c`(0xb6e52198) `-lgcc`(0xb6e52e3c) `-Wl,-z,relro`(0xb6e52e44) `-Wl,--as-needed`(0xb6e52e54) `-Wl,-z,now`(0xb6e52e64) `-specs=/usr/lib/rpm/redhat/redhat-hardened-ld`(0xb6e52e70) `-nostartfiles`(0xb6e52ea0) `-nodefaultlibs`(0xb6e52178) `-nostdlib`(0xb6e52188)
DEBUG2: so_file:``
DEBUG2: so_file ptr:0xb48a6d30
DEBUG3: so_file:``
DEBUG3: so_file ptr:0xb48a6d30
DEBUG4: so_file:``
DEBUG4: so_file ptr:0xb48a6d30
Starting process: /usr/bin/gcc `/usr/bin/gcc`(0xb6e52b68) `-shared`(0xb6e52eb0) `-Wfatal-errors`(0xb6e52eb8) `-fPIC`(0xb6e52ec8) `-shared`(0xb6e52eb0) `-w`(0xb6e52ed0) `-pipe`(0xb6e52ed4) `-O3`(0xb6e52edc) `-o`(0xb6e52194) ``(0xb48a6d30) `/tmp/_ruby_mjit_p26335u1.o`(0xb48a6d50) `-lgcc`(0xb6e52e3c) `-Wl,-z,relro`(0xb6e52e44) `-Wl,--as-needed`(0xb6e52e54) `-Wl,-z,now`(0xb6e52e64) `-specs=/usr/lib/rpm/redhat/redhat-hardened-ld`(0xb6e52e70) `-nostartfiles`(0xb6e52ea0) `-nodefaultlibs`(0xb6e52178) `-nostdlib`(0xb6e52188)
gcc: fatal error: output filename may not be empty
compilation terminated.
link_o_to_so: link error: 1
Failed to generate so:
Stopping worker thread
Successful MJIT finish
"""
.
<2> expected but was
<1>.
Finished tests in 1.256213s, 0.7960 tests/s, 3.9802 assertions/s.
1 tests, 5 assertions, 1 failures, 0 errors, 0 skips
ruby -v: ruby 2.7.0dev (2019-07-04T10:34:08Z master d9f8b88b47) [armv7hl-linux]
(9-9/11)