From owner-freebsd-emulation@FreeBSD.ORG Tue Aug 12 09:22:11 2008 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A1747106564A for ; Tue, 12 Aug 2008 09:22:11 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from mail.zoral.com.ua (skuns.zoral.com.ua [91.193.166.194]) by mx1.freebsd.org (Postfix) with ESMTP id 20F918FC1D for ; Tue, 12 Aug 2008 09:22:10 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (root@deviant.kiev.zoral.com.ua [10.1.1.148]) by mail.zoral.com.ua (8.14.2/8.14.2) with ESMTP id m7C9M7hI074159 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 12 Aug 2008 12:22:07 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.14.2/8.14.2) with ESMTP id m7C9M7SP058706; Tue, 12 Aug 2008 12:22:07 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.14.2/8.14.2/Submit) id m7C9M6WH058705; Tue, 12 Aug 2008 12:22:06 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Tue, 12 Aug 2008 12:22:06 +0300 From: Kostik Belousov To: "Sean C. Farley" Message-ID: <20080812092206.GC2852@deviant.kiev.zoral.com.ua> References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="WfZ7S8PLGjBY9Voh" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i X-Virus-Scanned: ClamAV version 0.93.3, clamav-milter version 0.93.3 on skuns.kiev.zoral.com.ua X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00, NORMAL_HTTP_TO_IP autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on skuns.kiev.zoral.com.ua Cc: freebsd-emulation@freebsd.org, Chagin Dmitry Subject: Re: [PATCH]Re: kern/122318 (CMake core dumping, chroot exiting) X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 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: Tue, 12 Aug 2008 09:22:11 -0000 --WfZ7S8PLGjBY9Voh Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Aug 11, 2008 at 03:14:50PM -0500, Sean C. Farley wrote: > On Sun, 3 Aug 2008, Chagin Dmitry wrote: >=20 > >On Wed, 23 Jul 2008, Sean C. Farley wrote: > > > >>I am seeing if anyone has any insight on this PR (kern/122318[1]). > >>It would be nice to once again build using cmake within a Linux > >>chroot. :) > >> > >>Basically, the bug is that not only that cmake is dumping core; it is > >>also forcing the user out of the chroot environment. Here is the > >>command used to start the chroot: > >>/compat/linux/usr/sbin/chroot su - > >> > >>Thank you. > >> > >>Sean > >> 1. http://www.freebsd.org/cgi/query-pr.cgi?pr=3Dkern/122318 > > > >here patches for -current and releng_7: > >http://78.107.232.239/rt_signals-current.patch > >http://78.107.232.239/rt_signals-releng_7.patch > > > >what patch do: > >- rt sigtramp code works (this solves PR) > >- align stack pointers > >- remove kern_sigaltstack() at the end of rt_sigreturn(), it's a > > bogus. > >Here there is some information on it: > >http://www.ussg.iu.edu/hypermail/linux/kernel/0405.2/1283.html >=20 > I just tried this patch. It helps somewhat in that cmake does not die > immediately when running gcc, which may be dieing itself, but other > applications such as zsh and acroread start coring. With acroread, it > is actually bash, but bash does not core when run directly. >=20 > This is on an amd64 system. CURRENT (what date ?) or RELENG_7 ? --WfZ7S8PLGjBY9Voh Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEYEARECAAYFAkihVj4ACgkQC3+MBN1Mb4heiQCeI/dszluBfNpfkigJln1dtIyZ xs0AoNs4CkWn+NhZ/v4rznGOsG+OJQgB =CBZS -----END PGP SIGNATURE----- --WfZ7S8PLGjBY9Voh--