From owner-freebsd-emulation@FreeBSD.ORG Mon Aug 11 20:14:52 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 EA3991065670 for ; Mon, 11 Aug 2008 20:14:52 +0000 (UTC) (envelope-from scf@FreeBSD.org) Received: from mail.farley.org (farley.org [67.64.95.201]) by mx1.freebsd.org (Postfix) with ESMTP id B1D888FC15 for ; Mon, 11 Aug 2008 20:14:52 +0000 (UTC) (envelope-from scf@FreeBSD.org) Received: from thor.farley.org (HPooka@thor.farley.org [192.168.1.5]) by mail.farley.org (8.14.3/8.14.3) with ESMTP id m7BKEohk087677; Mon, 11 Aug 2008 15:14:50 -0500 (CDT) (envelope-from scf@FreeBSD.org) Date: Mon, 11 Aug 2008 15:14:50 -0500 (CDT) From: "Sean C. Farley" To: Chagin Dmitry In-Reply-To: Message-ID: References: User-Agent: Alpine 1.10 (BSF 962 2008-03-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Spam-Status: No, score=-4.4 required=3.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 mail.farley.org Cc: freebsd-emulation@FreeBSD.org 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: Mon, 11 Aug 2008 20:14:53 -0000 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. Sean -- scf@FreeBSD.org