[Bug 206664] lang/ruby21: miniruby gets bus error on arm that requires alignment (SCTLR bit[1]==1); build fails
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Jan 27 09:42:35 UTC 2016
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=206664
--- Comment #1 from Mark Millard <markmi at dsl-only.net> ---
I attempted a powerpc64 (big endian) build of portupgrade (and so of ruby21).
miniruby again had pointer problems, in this case a segmentation violation that
stopped the build. Again using a separate explicit run under gdb to show
detail:
# /usr/local/bin/gdb
/usr/obj/portswork/usr/ports/lang/ruby21/work/ruby-2.1.8/miniruby
GNU gdb (GDB) 7.10 [GDB v7.10 for FreeBSD]
. . .
(gdb) run
Starting program:
/usr/obj/portswork/usr/ports/lang/ruby21/work/ruby-2.1.8/miniruby
[New Thread 50a15000 (LWP 100208)]
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 50a15000 (LWP 100208)]
0x00000000100a964c in gc_mark_roots (objspace=0xffffffffffffc608, full_mark=0,
categoryp=0xffffffffffffc608) at gc.c:4122
4122 rb_gc_mark_maybe(*list->varptr);
(gdb) x/4i 0x00000000100a9644
0x100a9644 <gc_mark_roots+492>: ld r3,120(r31)
0x100a9648 <gc_mark_roots+496>: ld r3,0(r3)
=> 0x100a964c <gc_mark_roots+500>: ld r3,0(r3)
0x100a9650 <gc_mark_roots+504>: bl 0x100a4b08 <rb_gc_mark_maybe>
(gdb) info registers
. . .
r3 0x6c696265786563 30515168814851427
. . .
r31 0xffffffffffffc560 18446744073709536608
. . .
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ruby
mailing list