From owner-freebsd-emulation@FreeBSD.ORG Tue Aug 12 14:18:40 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 104D71065671; Tue, 12 Aug 2008 14:18:40 +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 A4D978FC2B; Tue, 12 Aug 2008 14:18:38 +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 m7CEIVg2092424 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 12 Aug 2008 17:18:31 +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 m7CEIVFv026930; Tue, 12 Aug 2008 17:18:31 +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 m7CEIVpR026923; Tue, 12 Aug 2008 17:18:31 +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 17:18:31 +0300 From: Kostik Belousov To: "Sean C. Farley" Message-ID: <20080812141831.GB1803@deviant.kiev.zoral.com.ua> References: <20080812092206.GC2852@deviant.kiev.zoral.com.ua> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="dTy3Mrz/UPE2dbVg" 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 14:18:40 -0000 --dTy3Mrz/UPE2dbVg Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Aug 12, 2008 at 08:36:16AM -0500, Sean C. Farley wrote: > On Tue, 12 Aug 2008, Kostik Belousov wrote: >=20 > >On Mon, Aug 11, 2008 at 03:14:50PM -0500, Sean C. Farley wrote: > >>On Sun, 3 Aug 2008, Chagin Dmitry wrote: > >>>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 > >> > >>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. > >> > >>This is on an amd64 system. > > > >CURRENT (what date ?) or RELENG_7 ? >=20 > RELENG_7 fairly recent (r181375). Without the patch, there are no > problems. I really like that uname displays the revision. As a wild guess, please merge r180992 and try again. I doubt that this is the reason for the problem, but it might be. --dTy3Mrz/UPE2dbVg Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEYEARECAAYFAkihm7YACgkQC3+MBN1Mb4jfygCfY+zBBdFWmpJbsVryHkpUhf8X pncAniuxnIZ3xrgTRFjIlHIxWo6O7dKz =Enin -----END PGP SIGNATURE----- --dTy3Mrz/UPE2dbVg--