libgcroots: No AX_FUNC_GETCONTEXT please
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 |
From: gniibe <gni...@gmail.com>
Date: Sun, 6 Apr 2008 17:57:30 -0700 (PDT)
Local: Sun, Apr 6 2008 8:57 pm
Subject: libgcroots: No AX_FUNC_GETCONTEXT please
AX_FUNC_GETCONTEXT doesn't work as expected.
Namely, GNU C library has a stub for getcontext:
https://www.codeblog.org/viewcvs/glibc/libc/stdlib/getcontext.c?rev=1...
If we just check the symbol of getcontext, AX_FUNC_GETCONTEXT
successes.
So, sigscheme will fail on m68k, sparc, and ia64.
http://buildd.debian.org/build.cgi?pkg=sigscheme
Attached is what I did for Debian. Just use AC_CHECK_FUNCS for
getcontext. The stub causes failure as expected, it goes well.
--- sigscheme-0.8.1.orig/libgcroots/configure.ac
+++ sigscheme-0.8.1/libgcroots/configure.ac
@@ -376,7 +376,8 @@
AC_SUBST(INCLUDES)
AC_SUBST(CXXINCLUDES)
-AX_FUNC_GETCONTEXT
+# AX_FUNC_GETCONTEXT
+AC_CHECK_FUNCS([getcontext])
# Configuration of shared libraries
#
You must Sign in before you can post messages.
You do not have the permission required to post.
|
 |
From: YAMAMOTO Kengo / YamaKen <yama...@bp.iij4u.or.jp>
Date: Tue, 08 Apr 2008 02:09:39 +0900
Local: Mon, Apr 7 2008 1:09 pm
Subject: Re: [sigscheme-ja 17] libgcroots: No AX_FUNC_GETCONTEXT please
At Sun, 6 Apr 2008 17:57:30 -0700 (PDT), Thank you for the report. I'll fix it and release an updated version later, probably this weekend. ------------------------------------------------ YAMAMOTO Kengo / YamaKen yama...@bp.iij4u.or.jp FAMILY Given / Nick http://en.wikipedia.org/wiki/Japanese_name
You must Sign in before you can post messages.
You do not have the permission required to post.
|
|
|