Date: Sun, 19 Oct 2003 22:32:13 -0700 (PDT) From: Joe Marcus Clarke <marcus@FreeBSD.org> To: ports-committers@FreeBSD.org, cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: ports/lang/guile Makefile ports/lang/guile/files extra-patch-ia64 patch-libguile_gc_os_dep.c Message-ID: <200310200532.h9K5WDWa014795@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200310200532.h9K5WDWa014795>
