From owner-freebsd-emulation@FreeBSD.ORG Sat Aug 2 22:55:01 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 F22111065676 for ; Sat, 2 Aug 2008 22:55:01 +0000 (UTC) (envelope-from chagin.dmitry@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.156]) by mx1.freebsd.org (Postfix) with ESMTP id 78EFA8FC1C for ; Sat, 2 Aug 2008 22:55:01 +0000 (UTC) (envelope-from chagin.dmitry@gmail.com) Received: by fg-out-1718.google.com with SMTP id l26so1985074fgb.35 for ; Sat, 02 Aug 2008 15:55:00 -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=DkCi81vRhoynSMZ8MRUhHle+WDsOeO4LCSAPf3QYK9Y=; b=bAHRa4FDZgIaNeMKKJ45fTCA/R17wzkofxYg2PPYZ9w8V13N0As8KCfCHCAzqWliE5 UrBgIs91wHxX7ZelFcLwvz3ZD8mmG/sgCQUfTKeyEmtYL7h9jzdFhCnECNcoVdUZsxmx ua6QklPbBKjPDJj3J8fsnddhyykvNaisd4ltc= 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=YmnnOVkV1I4aXqwlt5YO5t559HV9jFyFllc2SRZ/fMv4SE5MTyZqPDYiDMYbnKq/qu 62b0kMqf9/+5VFzciVsu3U+ejFjAO/zd7xrmwMZHkKSymaAYsj+733O8qw2MIxSgNaL0 KrxEqNsk70bfeqn3EsSFIGejzzbHbES8d2OPc= Received: by 10.86.82.16 with SMTP id f16mr8858173fgb.9.1217717700125; Sat, 02 Aug 2008 15:55:00 -0700 (PDT) Received: from ora.chd.net ( [78.107.232.239]) by mx.google.com with ESMTPS id 4sm2623903fge.5.2008.08.02.15.54.58 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 02 Aug 2008 15:54:59 -0700 (PDT) Date: Sun, 3 Aug 2008 02:54:53 +0400 (MSD) To: Roman Divacky In-Reply-To: <20080802222109.GA78151@freebsd.org> Message-ID: References: <20080802222109.GA78151@freebsd.org> User-Agent: Alpine 1.10 (BSF 962 2008-03-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed From: Chagin Dmitry 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: Sat, 02 Aug 2008 22:55:02 -0000 On Sun, 3 Aug 2008, Roman Divacky wrote: > On Sun, Aug 03, 2008 at 12:53:58AM +0400, 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 quickly skimmed over it and it looks correct, but please avoid > making gratuitous changes like moving stuff before comment after > the comment etc. > I have simply transferred a line on place where it should be :) > I will do a little more thorough review but so far it looks good > and please, test it on i386. -- Have fun! chd