From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: stefan Newsgroups: gmane.lisp.guile.devel Subject: Re: Guile garbage collector on ia64-linux Date: Wed, 25 Jun 2003 20:07:11 +0200 (CEST) Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Message-ID: References: <16121.54431.794996.977946@napali.hpl.hp.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="8323584-150945042-1056564431=:594" X-Trace: main.gmane.org 1056567135 9462 80.91.224.249 (25 Jun 2003 18:52:15 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 25 Jun 2003 18:52:15 +0000 (UTC) Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Wed Jun 25 20:52:13 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19VFMi-0002Oh-00 for ; Wed, 25 Jun 2003 20:51:32 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19VFJ6-0007Ln-IZ for guile-devel@m.gmane.org; Wed, 25 Jun 2003 14:47:48 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20) id 19VFGE-0006ct-GI for guile-devel@gnu.org; Wed, 25 Jun 2003 14:44:50 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20) id 19VF4m-0003JH-AZ for guile-devel@gnu.org; Wed, 25 Jun 2003 14:33:02 -0400 Original-Received: from obh.snafu.de ([213.73.92.34]) by monty-python.gnu.org with esmtp (Exim 4.20) id 19VElO-000662-4w for guile-devel@gnu.org; Wed, 25 Jun 2003 14:12:58 -0400 Original-Received: from p-164-156.zrz.tu-berlin.de ([130.149.164.156] helo=bono) by obh.snafu.de with asmtp (TLSv1:DES-CBC3-SHA:168) (Exim 3.36 #1) id 19VElG-000FnK-00 for guile-devel@gnu.org; Wed, 25 Jun 2003 20:12:55 +0200 Original-Received: from localhost ([127.0.0.1] ident=ela) by bono with esmtp (Exim 3.36 #1) id 19VEfn-0000TZ-00 for guile-devel@gnu.org; Wed, 25 Jun 2003 20:07:12 +0200 X-X-Sender: stefan@bono.reversers.net Original-To: guile-devel@gnu.org In-Reply-To: <16121.54431.794996.977946@napali.hpl.hp.com> X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Developers list for Guile, the GNU extensibility library List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.lisp.guile.devel:2580 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.devel:2580 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. Send mail to mime@docserver.cac.washington.edu for more info. --8323584-150945042-1056564431=:594 Content-Type: TEXT/PLAIN; charset=US-ASCII On Wed, 25 Jun 2003, David Mosberger wrote: > >>>>> On Wed, 25 Jun 2003 04:58:59 +0200 (CEST), stefan said: > > Stefan> * have some header where ucontext_t is declared but > Stefan> setcontext()/getcontext() is not -> so we can redeclare it > Stefan> to make getcontext() return the 'struct rv'. > > One way of achieving this is to do: > > #define getcontext hide_getcontext > #include > #undef getcontext > > Andreas suggested another method. Both have their ups and downs. > > Stefan> * determination of the size and location of the backing > Stefan> store; this has been previously achieved by: > Stefan> ctx.uc_mcontext.sc_ar_bsp -> the top > Stefan> __libc_ia64_register_backing_store_base -> the bottom Newer > Stefan> glibc headers don't have 'sc_ar_bsp', but things like > Stefan> 'ar_bsp_base' or 'ar_bspstore'. Can something in the > Stefan> structure ucontext_t be used to achieve the same? Will this > Stefan> change often in the future? > > This doesn't sound right. There were no member-name changes "struct > sigcontext". I just checked the current libc CVS tree and it has: > > struct sigcontext > { > : > unsigned long int sc_ar_bsp; /* backing store pointer */ Finally I applied a patch to CVS Guile. This should work now. Could please someone backport it (attached) to Guile 1.6.x recent? Then the Debian builders may succeed... Cheers, stefan@lkcc.org --8323584-150945042-1056564431=:594 Content-Type: TEXT/PLAIN; charset=US-ASCII; name="g.diff" Content-Transfer-Encoding: BASE64 Content-ID: Content-Description: Content-Disposition: attachment; filename="g.diff" PyBnLmRpZmYNCkluZGV4OiBsaWJndWlsZS9jb250aW51YXRpb25zLmMNCj09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT0NClJDUyBmaWxlOiAvY3Zzcm9vdC9ndWls ZS9ndWlsZS9ndWlsZS1jb3JlL2xpYmd1aWxlL2NvbnRpbnVhdGlvbnMuYyx2 DQpyZXRyaWV2aW5nIHJldmlzaW9uIDEuNDkNCmRpZmYgLXUgLXIxLjQ5IGNv bnRpbnVhdGlvbnMuYw0KLS0tIGxpYmd1aWxlL2NvbnRpbnVhdGlvbnMuYwky MCBBcHIgMjAwMyAwNzoxOTozOCAtMDAwMAkxLjQ5DQorKysgbGliZ3VpbGUv Y29udGludWF0aW9ucy5jCTI1IEp1biAyMDAzIDE4OjA3OjEyIC0wMDAwDQpA QCAtOTcsOCArOTcsNyBAQA0KICAgbG9uZyByZXR2YWw7DQogICBsb25nIGZp cnN0X3JldHVybjsNCiB9Ow0KLWV4dGVybiBzdHJ1Y3QgcnYgZ2V0Y29udGV4 dCAodWNvbnRleHRfdCAqKTsNCi1leHRlcm4gaW50IHNldGNvbnRleHQgKHVj b250ZXh0X3QgKik7DQorZXh0ZXJuIHN0cnVjdCBydiBpYTY0X2dldGNvbnRl eHQgKHVjb250ZXh0X3QgKikgX19hc21fXyAoImdldGNvbnRleHQiKTsNCiAj ZW5kaWYgLyogX19pYTY0X18gKi8NCiANCiAvKiB0aGlzIG1heSByZXR1cm4g bW9yZSB0aGFuIG9uY2U6IHRoZSBmaXJzdCB0aW1lIHdpdGggdGhlIGVzY2Fw ZQ0KQEAgLTEzOCw3ICsxMzcsNyBAQA0KICAgbWVtY3B5IChjb250aW51YXRp b24tPnN0YWNrLCBzcmMsIHNpemVvZiAoU0NNX1NUQUNLSVRFTSkgKiBzdGFj a19zaXplKTsNCiANCiAjaWZkZWYgX19pYTY0X18NCi0gIHJ2ID0gZ2V0Y29u dGV4dCAoJmNvbnRpbnVhdGlvbi0+Y3R4KTsNCisgIHJ2ID0gaWE2NF9nZXRj b250ZXh0ICgmY29udGludWF0aW9uLT5jdHgpOw0KICAgaWYgKHJ2LmZpcnN0 X3JldHVybikNCiAgICAgew0KICAgICAgIGNvbnRpbnVhdGlvbi0+YmFja2lu Z19zdG9yZV9zaXplID0gDQpJbmRleDogbGliZ3VpbGUvY29udGludWF0aW9u cy5oDQo9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09DQpSQ1MgZmlsZTogL2N2c3Jv b3QvZ3VpbGUvZ3VpbGUvZ3VpbGUtY29yZS9saWJndWlsZS9jb250aW51YXRp b25zLmgsdg0KcmV0cmlldmluZyByZXZpc2lvbiAxLjMwDQpkaWZmIC11IC1y MS4zMCBjb250aW51YXRpb25zLmgNCi0tLSBsaWJndWlsZS9jb250aW51YXRp b25zLmgJMjAgQXByIDIwMDMgMDc6MTk6MzggLTAwMDAJMS4zMA0KKysrIGxp Ymd1aWxlL2NvbnRpbnVhdGlvbnMuaAkyNSBKdW4gMjAwMyAxODowNzoxMiAt MDAwMA0KQEAgLTI2LDcgKzI2LDcgQEANCiANCiAjaWZkZWYgX19pYTY0X18N CiAjaW5jbHVkZSA8c2lnbmFsLmg+DQotI2luY2x1ZGUgPHN5cy91Y29udGV4 dC5oPg0KKyNpbmNsdWRlIDx1Y29udGV4dC5oPg0KIGV4dGVybiB1bnNpZ25l ZCBsb25nICogX19saWJjX2lhNjRfcmVnaXN0ZXJfYmFja2luZ19zdG9yZV9i YXNlOw0KICNlbmRpZiAvKiBfX2lhNjRfXyAqLw0KIAwNCg== --8323584-150945042-1056564431=:594 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://mail.gnu.org/mailman/listinfo/guile-devel --8323584-150945042-1056564431=:594--