|
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 -w -Wfatal-errors -fPIC -shared -w -pipe -O3 -nodefaultlibs -nostdlib -o /tmp/_ruby_mjit_hp25028u0.h.gch /builddir/build/BUILD/ruby-2.7.0-d9f8b88b47/.ext/include/armv7hl-linux/rb_mjit_min_header-2.7.0.h
|
|
DEBUG: c_file_len:27
|
|
DEBUG: sizeof(c_ext):3
|
|
DEBUG: sizeof(o_ext):3
|
|
DEBUG: sizeof(so_ext):4
|
|
DEBUG: c_ext:`.c`
|
|
DEBUG: so_ext:`.so`
|
|
DEBUG: c_file:`/tmp/_ruby_mjit_p25028u0.c`
|
|
DEBUG: o_file:`/tmp/_ruby_mjit_p25028u0.o`
|
|
DEBUG: so_file:`/tmp/_ruby_mjit_p25028u0.so`
|
|
DEBUG: so_file ptr:0xb4887d30
|
|
start compilation: block in <main>@-e:6 -> /tmp/_ruby_mjit_p25028u0.c
|
|
Starting process: /usr/bin/gcc /usr/bin/gcc -w -Wfatal-errors -fPIC -shared -w -pipe -O3 -o /tmp/_ruby_mjit_p25028u0.o /tmp/_ruby_mjit_p25028u0.c -c -lgcc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -nostartfiles -nodefaultlibs -nostdlib
|
|
Starting process: /usr/bin/gcc /usr/bin/gcc -shared -Wfatal-errors -fPIC -shared -w -pipe -O3 -o /tmp/_ruby_mjit_p25028u0.so /tmp/_ruby_mjit_p25028u0.o -lgcc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -nostartfiles -nodefaultlibs -nostdlib
|
|
JIT success (305.2ms): block in <main>@-e:6 -> /tmp/_ruby_mjit_p25028u0.c
|
|
DEBUG: c_file_len:27
|
|
DEBUG: sizeof(c_ext):3
|
|
DEBUG: sizeof(o_ext):3
|
|
DEBUG: sizeof(so_ext):4
|
|
DEBUG: c_ext:`.c`
|
|
DEBUG: so_ext:`.so`
|
|
DEBUG: c_file:`/tmp/_ruby_mjit_p25028u1.c`
|
|
DEBUG: o_file:`/tmp/_ruby_mjit_p25028u1.o`
|
|
DEBUG: so_file:`/tmp/_ruby_mjit_p25028u1.so`
|
|
DEBUG: so_file ptr:0xb4887d30
|
|
start compilation: multiply@-e:2 -> /tmp/_ruby_mjit_p25028u1.c
|
|
Starting process: /usr/bin/gcc /usr/bin/gcc -w -Wfatal-errors -fPIC -shared -w -pipe -O3 -o /tmp/_ruby_mjit_p25028u1.o /tmp/_ruby_mjit_p25028u1.c -c -lgcc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -nostartfiles -nodefaultlibs -nostdlib
|
|
Starting process: /usr/bin/gcc /usr/bin/gcc -shared -Wfatal-errors -fPIC -shared -w -pipe -O3 -o /tmp/_ruby_mjit_p25028u1.o -lgcc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -nostartfiles -nodefaultlibs -nostdlib
|
|
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.448548s, 0.6903 tests/s, 3.4517 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]
|
|
|