From owner-freebsd-ppc@freebsd.org Sun Jan 5 23:26:24 2020 Return-Path: Delivered-To: freebsd-ppc@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id ECE451EA20C for ; Sun, 5 Jan 2020 23:26:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [96.47.72.132]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47rZXJ64gSz3Q7x for ; Sun, 5 Jan 2020 23:26:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by freefall.freebsd.org (Postfix) id CA4B88F13; Sun, 5 Jan 2020 23:26:24 +0000 (UTC) Delivered-To: powerpc@localmail.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits)) (Client CN "mx1.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by freefall.freebsd.org (Postfix) with ESMTPS id AE6F78F12 for ; Sun, 5 Jan 2020 23:26:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47rZXJ2sXSz3Q7r for ; Sun, 5 Jan 2020 23:26:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 40EAC544F for ; Sun, 5 Jan 2020 23:26:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 005NQOG6015680 for ; Sun, 5 Jan 2020 23:26:24 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 005NQOV9015662 for powerpc@FreeBSD.org; Sun, 5 Jan 2020 23:26:24 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: powerpc@FreeBSD.org Subject: [Bug 242630] [PowerPC] lang/ruby26 build fails on rb_mjit_min_header-2.6.5.h (FreeBSD 12.1-RELEASE-p1) Date: Sun, 05 Jan 2020 23:26:23 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: marklmi26-fbsd@yahoo.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ruby@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Jan 2020 23:26:25 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D242630 Mark Millard changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |marklmi26-fbsd@yahoo.com --- Comment #12 from Mark Millard --- (In reply to commit-hook from comment #10) Context: cross building via ports-mgmt/poudriere-devel on an old PowerMac G5. As seen from inside a jail for the 32-bit powerpc world area poudriere uses: JAILNAME VERSION ARCH METHOD TIMESTAMP PATH FBSDpowerpc 13.0-CURRENT powerpc null 2019-12-31 01:21:28 /usr/obj/DESTDIRs/clang-powerpc-installworld-poud Based on -r522079 of ports in a head -r356187 based context (both the G5 and the system in clang-powerpc-installworld-poud): . . . (through linking miniruby) . . . building .ext/include/powerpc-freebsd13/rb_mjit_min_header-2.6.5.h ./miniruby -I./lib -I. -I.ext/common ./tool/transform_mjit_header.rb "cc " rb_mjit_header.h .ext/include/powerpc-freebsd13/rb_mjit_min_header-2.6.5.h *** Signal 6 Stop. make[1]: stopped in /wrkdirs/usr/ports/lang/ruby26/work/ruby-2.6.5 *** Error code 1 In other words: the miniruby that it built crashes when it is then used. The backtrace shows a __stack_chk_fail during rb_vm_exec: Program terminated with signal SIGABRT, Aborted. #0 kill () at kill.S:4 4 kill.S: No such file or directory. (gdb) bt #0 kill () at kill.S:4 #1 0x41d7f648 in __fail (msg=3D) at /usr/src/lib/libc/secure/stack_protector.c:128 #2 0x41d7f598 in __stack_chk_fail () at /usr/src/lib/libc/secure/stack_protector.c:135 #3 0x01a25dac in rb_vm_exec (ec=3D0x41f51028, mjit_enable_p=3D1) at vm.c:1= 903 #4 0x01a25fa8 in rb_iseq_eval (iseq=3D0x41fe0890) at vm.c:2133 #5 0x018f2554 in rb_load_internal0 (ec=3D0x41f51028, fname=3D, wrap=3D) at load.c:612 #6 0x018f3230 in rb_require_internal (fname=3D, safe=3D0) at load.c:1029 #7 0x018f272c in rb_require_safe (fname=3D1107240840, safe=3D) at load.c:1075 #8 rb_f_require (obj=3D, fname=3D1107240840) at load.c:821 #9 0x01a31938 in call_cfunc_1 (func=3D, recv=3D, argc=3D, argv=3D) at ./vm_insnhelper.c:1755 #10 0x01a2b0e0 in vm_call_cfunc_with_frame (ec=3D0x41f51028, reg_cfp=3D0x41= fdb708, calling=3D, ci=3D0x442d3500, cc=3D) at ./vm_insnhelper.c:1908 #11 vm_call_cfunc (ec=3D0x41f51028, reg_cfp=3D0x41fdb708, calling=3D, ci=3D0x442d3500, cc=3D) at ./vm_insnhelper.c:1924 #12 0x01a2a00c in vm_call_method_each_type (ec=3D, cfp=3D, calling=3D, ci=3D, cc=3D= ) at ./vm_insnhelper.c:2245 #13 0x01a29e40 in vm_call_method (ec=3D0x41f51028, cfp=3D0x41fdb708, calling=3D0xffffce20, ci=3D0x442d3500, cc=3D0x44348000) at ./vm_insnhelper.= c:2400 #14 0x01a10384 in vm_call_general (ec=3D, reg_cfp=3D, calling=3D, ci=3D, cc=3D) at ./vm_insnhelper.c:2417 #15 0x01a1337c in vm_exec_core (ec=3D0x41f51028, initial=3D)= at insns.def:765 #16 0x01a25cb8 in rb_vm_exec (ec=3D0x41f51028, mjit_enable_p=3D1) at vm.c:2= 104 #17 0x01a260d8 in rb_iseq_eval_main (iseq=3D) at vm.c:2144 #18 0x0189b2c4 in ruby_exec_internal (n=3D0x41ff8080) at eval.c:262 #19 ruby_exec_node (n=3D) at eval.c:326 #20 0x0189b0d4 in ruby_run_node (n=3D) at eval.c:318 #21 0x018146ec in main (argc=3D, argv=3D) at ./main.c:42 --=20 You are receiving this mail because: You are on the CC list for the bug.=