From owner-freebsd-emulation@freebsd.org Mon May 8 14:15:39 2017 Return-Path: Delivered-To: freebsd-emulation@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A010FD6333F for ; Mon, 8 May 2017 14:15:39 +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 1238718F2 for ; Mon, 8 May 2017 14:15:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 0C6B2D6333E; Mon, 8 May 2017 14:15:39 +0000 (UTC) Delivered-To: emulation@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 099A3D6333D for ; Mon, 8 May 2017 14:15:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 59FD218E4 for ; Mon, 8 May 2017 14:15:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by freefall.freebsd.org (Postfix) id A9BF13FCC; Mon, 8 May 2017 14:15:07 +0000 (UTC) Delivered-To: vbox@localmail.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mx1.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by freefall.freebsd.org (Postfix) with ESMTPS id 941853FCA for ; Mon, 8 May 2017 14:15:07 +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 mx1.freebsd.org (Postfix) with ESMTPS id AD76416D7 for ; Mon, 8 May 2017 14:15:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v48EF6cZ082145 for ; Mon, 8 May 2017 14:15:06 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: vbox@FreeBSD.org Subject: [Bug 219035] devel/kBuild failed to build Date: Mon, 08 May 2017 14:15:06 +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: vvd@unislabs.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: vbox@FreeBSD.org X-Bugzilla-Flags: 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-Mailman-Approved-At: Mon, 08 May 2017 16:06:14 +0000 X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 May 2017 14:15:39 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D219035 vvd@unislabs.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |vvd@unislabs.com --- Comment #4 from vvd@unislabs.com --- It was discussed a month ago in #bsdports@EFNet IRC. I had the same with=20 # grep =3DRELRO /var/db/ports/devel_binutils/options OPTIONS_FILE_SET+=3DRELRO After I changed it to OPTIONS_FILE_UNSET+=3DRELRO and recompile devel/binut= ils - devel/kBuild builded without errors. A bit more info: #include int main () { islower('a'); return 0; } $ gcc -o test test.c $ ./test Segmentation fault Quote from irc log: VVD, there is a commit to libexec/rtld-elf from early this year wi= th message "For the main binary, postpone enforcing relro read-only protection until copy relocations are done." svn r311984 in head and MFCed to stable/11 and stable/10 jilles, do I need recompile binutils with OPTIONS_FILE_UNSET+=3DRELRO= ? VVD, that's a possible workaround will try jilles, yes, it fixed: binutils with OPTIONS_FILE_UNSET+=3DRELRO --=20 You are receiving this mail because: You are the assignee for the bug.=