From owner-freebsd-current@FreeBSD.ORG Fri Nov 30 06:35:53 2007 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9A9F316A41A for ; Fri, 30 Nov 2007 06:35:53 +0000 (UTC) (envelope-from carl.shapiro@gmail.com) Received: from rn-out-0102.google.com (rn-out-0910.google.com [64.233.170.186]) by mx1.freebsd.org (Postfix) with ESMTP id 4310513C4D3 for ; Fri, 30 Nov 2007 06:35:53 +0000 (UTC) (envelope-from carl.shapiro@gmail.com) Received: by rn-out-0102.google.com with SMTP id e5so2052936rng for ; Thu, 29 Nov 2007 22:35:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=VZC3nQw8cl1QOCQk1fiJiOUXnCrEVpSag78tX8cExKQ=; b=sqBtfvPOAqzwlkRkn9XC85mRMEvvjnX3u56/ZWQAoVpb0MZcTt8whDG8E9OWF/y/czpA5u0PwMhUvIjxuLN/0QtO4zQevgZO3AiIrb+jNrmIxbnwskjSqAyclHzhIOIafBUTBXb27caM0EUqcy/kLPhUcDkJFDkohWwXOigx7NA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=voCWV/DTYDLrNKYVqz333tqHFmLqi2imXOjFUBLG+DjMwHazfgn4jcxHOYMrwMLg0dlLF6ggNlW3aWHVnxUUBUDh7nlKyUhHPucK6JBOAbxsl/2H/Aq4uVJtB2+yUDBDX2D/uxj2St04TjCMaKdEMAUzcBQ877EHfMrO/iNzOQE= Received: by 10.150.52.2 with SMTP id z2mr315410ybz.1196404552595; Thu, 29 Nov 2007 22:35:52 -0800 (PST) Received: by 10.150.200.6 with HTTP; Thu, 29 Nov 2007 22:35:52 -0800 (PST) Message-ID: <4dcb5abd0711292235k2bc2af86t45f7268d429c03ad@mail.gmail.com> Date: Thu, 29 Nov 2007 22:35:52 -0800 From: "Carl Shapiro" To: "Kostik Belousov" In-Reply-To: <20071129112824.GD83121@deviant.kiev.zoral.com.ua> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <4dcb5abd0711290226u69105089ya10526519e5cc12d@mail.gmail.com> <20071129112824.GD83121@deviant.kiev.zoral.com.ua> Cc: freebsd-current@freebsd.org, davidxu@freebsd.org Subject: Re: Serious compatibility breakage in -current. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Fri, 30 Nov 2007 06:35:53 -0000 On Nov 29, 2007 3:28 AM, Kostik Belousov wrote: > Please, try the patch below and report whether it is enough to fix cmucl > and any other regressions. With this patch applied old and new binaries are delivered a SIGBUS instead of SIGSEGV and the si_code is always BUS_ADRERR. This is halfway between the behavior old binaries expect and the new behavior. When an access violation occurs, old binaries expect a SIGBUS and an si_code of BUS_PAGE_FAULT. Presumably, we want new binaries to receive a SIGSEGV when an access violation occurs. This patch does not consider whether we are running under an old or new binary. Is that really okay?