From owner-freebsd-gecko@freebsd.org Mon Dec 17 22:47:31 2018 Return-Path: Delivered-To: freebsd-gecko@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CFB8D134E2AE for ; Mon, 17 Dec 2018 22:47:31 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 6584D8DC18 for ; Mon, 17 Dec 2018 22:47:31 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 23B30134E2AD; Mon, 17 Dec 2018 22:47:31 +0000 (UTC) Delivered-To: gecko@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 012A7134E2AC for ; Mon, 17 Dec 2018 22:47:31 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::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.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9294C8DC17 for ; Mon, 17 Dec 2018 22:47:30 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id E8B1251FC for ; Mon, 17 Dec 2018 22:47:29 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id wBHMlTYB032448 for ; Mon, 17 Dec 2018 22:47:29 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id wBHMlTAk032447 for gecko@FreeBSD.org; Mon, 17 Dec 2018 22:47:29 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: gecko@FreeBSD.org Subject: [Bug 234080] devel/rust-cbindgen 0.6.7_1 segfaults during configure with *** Signal 11 on FreeBSD 12.0-RELEASE Date: Mon, 17 Dec 2018 22:47:30 +0000 X-Bugzilla-Reason: AssignedTo 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: kreinholz@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: gecko@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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-gecko@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gecko Rendering Engine issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Dec 2018 22:47:32 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D234080 --- Comment #4 from Kevin Reinholz --- @Jan Beich I followed your advice and got rust-cbindgen to accept rust-nigh= tly as a dependency in place of rust. However, it still segfaults with Signal 11 during configure. It seems that rust-cbindgen's mistaken expectation about = stat memory layout on FreeBSD is still in play, as detailed in the links you provided that explain the problem quite thoroughly. I do not know why COMPAT_FREEBSD11 enabled as an option in my kernel is insufficient to get the libc (crate) ABI to work FreeBSD 11.x style. I susp= ect more users will encounter this same problem upon upgrade to FreeBSD 12.x, g= iven that I have a GENERIC kernel configuration and no outlandish customizations= to my userland. (I install packages from the Ports tree and keep them up-to-da= te with portmaster, pretty vanilla FreeBSD Desktop user behavior. I don't mix packages with Ports, except as was recommending during the freebsd-update process where rebuilding all third party installed applications was require= d, but even then I've since rebuilt almost every last application from Ports in order to track with the latest versions). Any idea (for now) how to trick rust-cbindgen into using the correct memory layout, or letting my system know it needs to provide FreeBSD 11.x stat mem= ory layout to rust-cbindgen? For now I've migrated to Chromium but I dislike the thought of Firefox and Thunderbird being non-options on FreeBSD 12.x until = libc and/or rust makes changes to accommodate ABI-breaking differences between FreeBSD versions. Thank you! --=20 You are receiving this mail because: You are the assignee for the bug.=