From owner-freebsd-emulation@FreeBSD.ORG Sat Aug 2 20:54:44 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 B97011065787 for ; Sat, 2 Aug 2008 20:54:44 +0000 (UTC) (envelope-from chagin.dmitry@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.154]) by mx1.freebsd.org (Postfix) with ESMTP id 400B18FC17 for ; Sat, 2 Aug 2008 20:54:44 +0000 (UTC) (envelope-from chagin.dmitry@gmail.com) Received: by fg-out-1718.google.com with SMTP id l26so1945812fgb.35 for ; Sat, 02 Aug 2008 13:54:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:to:cc:subject :in-reply-to:message-id:references:user-agent:mime-version :content-type:from; bh=4/XaTIjrWg/hy/cVbU0m41F84YY7Wuc/QLQ69yaCrSU=; b=jeAZOBrXWvpZzBlHgkzzaExTSJzdFtUO9hRAeRegPfyAqX6pi0B5H3AtSMBMg7he9m pBI7WrCXSBYTmlOUCBMvtG54fduRVudesTt6sK5sfaXvCkPH38ZJX+7cjnMm6LLkl3aJ cMB7UN8wHUnvFGiMJ8gNz7c7IDKJqBI5ST7M8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:to:cc:subject:in-reply-to:message-id:references:user-agent :mime-version:content-type:from; b=dAkSYxT0BVGYm7h+KHxn5n3RFD2xnNjyDLowabXdk0PW+6ajFOOgyPZgvUGTiPj7+B zYDC7/bo5Uz2Vvzx2rqzoDv7TkRpsxbtNMISsDGyaBUdAblihEasZTZWljgBJaUW1O/m tQQ5nRhkmVrGvvGk9S0ITfufxlzffblPtbNB4= Received: by 10.86.95.20 with SMTP id s20mr8742594fgb.49.1217710475898; Sat, 02 Aug 2008 13:54:35 -0700 (PDT) Received: from ora.chd.net ( [78.107.232.239]) by mx.google.com with ESMTPS id l12sm3814291fgb.6.2008.08.02.13.54.34 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 02 Aug 2008 13:54:35 -0700 (PDT) Date: Sun, 3 Aug 2008 00:53:58 +0400 (MSD) To: "Sean C. Farley" In-Reply-To: Message-ID: References: User-Agent: Alpine 1.10 (BSF 962 2008-03-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII From: Chagin Dmitry Cc: freebsd-emulation@freebsd.org Subject: [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: Sat, 02 Aug 2008 20:54:44 -0000 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 thnx! -- Have fun! chd