From owner-cvs-all@FreeBSD.ORG Sun Oct 19 22:32:15 2003 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0B0C316A4B3; Sun, 19 Oct 2003 22:32:15 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 15E6F43FDD; Sun, 19 Oct 2003 22:32:14 -0700 (PDT) (envelope-from marcus@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id h9K5WDXJ014796; Sun, 19 Oct 2003 22:32:13 -0700 (PDT) (envelope-from marcus@repoman.freebsd.org) Received: (from marcus@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id h9K5WDWa014795; Sun, 19 Oct 2003 22:32:13 -0700 (PDT) (envelope-from marcus) Message-Id: <200310200532.h9K5WDWa014795@repoman.freebsd.org> From: Joe Marcus Clarke Date: Sun, 19 Oct 2003 22:32:13 -0700 (PDT) To: ports-committers@FreeBSD.org, cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: ports/lang/guile Makefile ports/lang/guile/files extra-patch-ia64 patch-libguile_gc_os_dep.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Oct 2003 05:32:15 -0000 marcus 2003/10/19 22:32:13 PDT FreeBSD ports repository Modified files: lang/guile Makefile lang/guile/files patch-libguile_gc_os_dep.c Added files: lang/guile/files extra-patch-ia64 Log: Fix build and execution of guile on ia64: * Use continuation->backing_store to determine if we return for the first time from getcontext(). This avoids having to depend on non-POSIX semantics of the Linux implementation. * Avoid using __libc_ia64_register_backing_store_base by hardcoding the base of the backing store. The kernel is changed to put the backing store at this address. It's not entirely clean, but I want to avoid adding all sorts of variables in our libc for this for now. * Fix a genuine bug in the ia64 case: the ia64-specific fields are not initialized. On FreeBSD this means they have garbage (= 0xd0). Call memset() after allocation to make sure the contregs structure is properly cleared. Since this may affect other architectures, this patch will be ia64 only. Submitted by: marcel Revision Changes Path 1.45 +7 -1 ports/lang/guile/Makefile 1.1 +96 -0 ports/lang/guile/files/extra-patch-ia64 (new) 1.5 +9 -4 ports/lang/guile/files/patch-libguile_gc_os_dep.c