Date: Wed, 27 Jan 2016 09:42:35 +0000 From: bugzilla-noreply@freebsd.org To: ruby@FreeBSD.org Subject: [Bug 206664] lang/ruby21: miniruby gets bus error on arm that requires alignment (SCTLR bit[1]==1); build fails Message-ID: <bug-206664-21402-UdBWsCMFXT@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-206664-21402@https.bugs.freebsd.org/bugzilla/> References: <bug-206664-21402@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D206664 --- Comment #1 from Mark Millard <markmi@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=20 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=20 [New Thread 50a15000 (LWP 100208)] Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 50a15000 (LWP 100208)] 0x00000000100a964c in gc_mark_roots (objspace=3D0xffffffffffffc608, full_ma= rk=3D0, categoryp=3D0xffffffffffffc608) 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) =3D> 0x100a964c <gc_mark_roots+500>: ld r3,0(r3) 0x100a9650 <gc_mark_roots+504>: bl 0x100a4b08 <rb_gc_mark_mayb= e> (gdb) info registers . . . r3 0x6c696265786563 30515168814851427 . . . r31 0xffffffffffffc560 18446744073709536608 . . . --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-206664-21402-UdBWsCMFXT>