From owner-freebsd-emulation@FreeBSD.ORG Tue Aug 12 16:35:55 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 2A41D106566B for ; Tue, 12 Aug 2008 16:35:55 +0000 (UTC) (envelope-from root@dchagin.dialup.corbina.ru) Received: from contrabass.post.ru (contrabass.post.ru [85.21.78.5]) by mx1.freebsd.org (Postfix) with ESMTP id DC1648FC08 for ; Tue, 12 Aug 2008 16:35:54 +0000 (UTC) (envelope-from root@dchagin.dialup.corbina.ru) Received: from corbina.ru (mail.post.ru [195.14.50.16]) by contrabass.post.ru (Postfix) with ESMTP id C8BFA167665 for ; Tue, 12 Aug 2008 20:35:52 +0400 (MSD) X-Virus-Scanned: by cgpav Uf39PSi9pFi9oFi9 Received: from [10.208.17.3] (HELO dchagin.dialup.corbina.ru) by corbina.ru (CommuniGate Pro SMTP 5.1.14) with ESMTPS id 945487557 for freebsd-emulation@freebsd.org; Tue, 12 Aug 2008 20:35:52 +0400 Received: from dchagin.dialup.corbina.ru (localhost.chd.net [127.0.0.1]) by dchagin.dialup.corbina.ru (8.14.2/8.14.2) with ESMTP id m7CGZqIm006540 for ; Tue, 12 Aug 2008 20:35:52 +0400 (MSD) (envelope-from root@dchagin.dialup.corbina.ru) Received: (from root@localhost) by dchagin.dialup.corbina.ru (8.14.2/8.14.2/Submit) id m7CGZlVA006539 for freebsd-emulation@freebsd.org; Tue, 12 Aug 2008 20:35:47 +0400 (MSD) (envelope-from root) Date: Tue, 12 Aug 2008 20:35:47 +0400 From: Chagin Dmitry To: freebsd-emulation@freebsd.org Message-ID: <20080812163547.GA6520@dchagin.dialup.corbina.ru> Mail-Followup-To: freebsd-emulation@freebsd.org References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i 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 16:35:55 -0000 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=kern/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. > strange, please, ktrace/kdump output -- Have fun! chd