From owner-freebsd-amd64@FreeBSD.ORG Fri Dec 30 08:10:08 2011 Return-Path: Delivered-To: freebsd-amd64@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8504E1065678 for ; Fri, 30 Dec 2011 08:10:08 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 7074B8FC0A for ; Fri, 30 Dec 2011 08:10:08 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id pBU8A8lC022013 for ; Fri, 30 Dec 2011 08:10:08 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id pBU8A8fo022012; Fri, 30 Dec 2011 08:10:08 GMT (envelope-from gnats) Date: Fri, 30 Dec 2011 08:10:08 GMT Message-Id: <201112300810.pBU8A8fo022012@freefall.freebsd.org> To: freebsd-amd64@FreeBSD.org From: Peter Wemm Cc: Subject: Re: amd64/163710: setjump in userboot.so causes stack corruption X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Peter Wemm List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Dec 2011 08:10:08 -0000 The following reply was made to PR amd64/163710; it has been noted by GNATS. From: Peter Wemm To: Russell Cattelan Cc: freebsd-gnats-submit@freebsd.org Subject: Re: amd64/163710: setjump in userboot.so causes stack corruption Date: Thu, 29 Dec 2011 23:33:37 -0800 On Thu, Dec 29, 2011 at 7:16 PM, Russell Cattelan wrote: >>Description: > For some reason the forth interpreter is built and linked as 32bit even > on amd64. That's the catch. We use the same 32 bit loader on i386 and amd64. The common loader understands both kernel formats. This unfortunately has meant that the libstand and sys/boot environment has had to be 32 bit. -- Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com; KI6FJV "All of this is for nothing if we don't go to the stars" - JMS/B5 "If Java had true garbage collection, most programs would delete themselves upon execution." -- Robert Sewell