cvs commit: ports/lang/guile Makefile ports/lang/guile/files
extra-patch-ia64 patch-libguile_gc_os_dep.c
Joe Marcus Clarke
marcus at FreeBSD.org
Sun Oct 19 22:32:15 PDT 2003
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
More information about the cvs-ports
mailing list