From owner-freebsd-current@FreeBSD.ORG Thu Apr 18 07:49:47 2013 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 9299DCA1 for ; Thu, 18 Apr 2013 07:49:47 +0000 (UTC) (envelope-from davidxu@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 84C2610D; Thu, 18 Apr 2013 07:49:47 +0000 (UTC) Received: from xyf.my.dom (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r3I7nkKQ078386; Thu, 18 Apr 2013 07:49:47 GMT (envelope-from davidxu@freebsd.org) Message-ID: <516FA5B1.2040202@freebsd.org> Date: Thu, 18 Apr 2013 15:50:09 +0800 From: David Xu User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:17.0) Gecko/20130416 Thunderbird/17.0.5 MIME-Version: 1.0 To: Oliver Pinter Subject: Re: swapcontext rewrite broke some software References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: current X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Apr 2013 07:49:47 -0000 On 2013/04/16 21:24, Oliver Pinter wrote: > Hi! > > After this commit: > > commit ac0cfc7fcb1b51ee6aeacfd676fa6dfbe11eefb5 > Author: davidxu > Date: Wed Apr 10 02:40:03 2013 +0000 > > swapcontext wrapper can not be implemented in C, the stack pointer saved in > the context becomes invalid when the function returns, same as setjmp, > it must be implemented in assemble language, see discussions in PR > misc/177624. > > Some* software not found the swapcontext functions after this commit. > Please add a sentence to UPDATING file and/or bump the > __FreeBSD_version to reflect this change. > > > * qemu > Hi, The change is reverted. Regards, David Xu