Google Groups Home
Help | Sign in
libgcroots: No AX_FUNC_GETCONTEXT please
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all
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
gniibe  
View profile
 More options Apr 6, 8:57 pm
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
 #


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
YAMAMOTO Kengo / YamaKen  
View profile
 More options Apr 7, 1:09 pm
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),

gni...@gmail.com wrote:

> 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.

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


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2008 Google