GNU bug report logs - #17661
Some guile-2.0 asyncs functions do not link correctly

Previous Next

Package: guile;

Reported by: Chris Vine <chris <at> cvine.freeserve.co.uk>

Date: Sun, 1 Jun 2014 17:15:02 UTC

Severity: normal

Done: Mark H Weaver <mhw <at> netris.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 17661 in the body.
You can then email your comments to 17661 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guile <at> gnu.org:
bug#17661; Package guile. (Sun, 01 Jun 2014 17:15:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Chris Vine <chris <at> cvine.freeserve.co.uk>:
New bug report received and forwarded. Copy sent to bug-guile <at> gnu.org. (Sun, 01 Jun 2014 17:15:03 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Chris Vine <chris <at> cvine.freeserve.co.uk>
To: bug-guile <at> gnu.org
Subject: Some guile-2.0 asyncs functions do not link correctly
Date: Sun, 1 Jun 2014 17:54:48 +0100
guile-2.0's scm_c_call_with_blocked_asyncs,
scm_c_call_with_unblocked_asyncs, scm_dynwind_block_asyncs and
scm_dynwind_unblock_asyncs will not link for me using 32-bit
ubuntu-14.04 (gcc-4.8.2/guile-2.0.9) or 32-bit slackware-14.1
(gcc-4.9.0/guile-2.0.11).  I do not have a machine to test a 64-bit
system at present.

The issue appears to be that this part of the API is not exported, even
though these functions are documented and appear intended to be called
by user code.

A patch, against guile-2.0.11, is below, dealing with this.


--- guile-2.0.11/libguile/async.h.orig	2014-05-04 10:38:14.631777784 +0100
+++ guile-2.0.11/libguile/async.h	2014-05-04 10:45:45.615763664 +0100
@@ -44,10 +44,10 @@
 SCM_API SCM scm_noop (SCM args);
 SCM_API SCM scm_call_with_blocked_asyncs (SCM proc);
 SCM_API SCM scm_call_with_unblocked_asyncs (SCM proc);
-void *scm_c_call_with_blocked_asyncs (void *(*p) (void *d), void *d);
-void *scm_c_call_with_unblocked_asyncs (void *(*p) (void *d), void *d);
-void scm_dynwind_block_asyncs (void);
-void scm_dynwind_unblock_asyncs (void);
+SCM_API void *scm_c_call_with_blocked_asyncs (void *(*p) (void *d), void *d);
+SCM_API void *scm_c_call_with_unblocked_asyncs (void *(*p) (void *d), void *d);
+SCM_API void scm_dynwind_block_asyncs (void);
+SCM_API void scm_dynwind_unblock_asyncs (void);
 
 /* Critical sections */
 




Reply sent to Mark H Weaver <mhw <at> netris.org>:
You have taken responsibility. (Mon, 02 Jun 2014 00:56:02 GMT) Full text and rfc822 format available.

Notification sent to Chris Vine <chris <at> cvine.freeserve.co.uk>:
bug acknowledged by developer. (Mon, 02 Jun 2014 00:56:03 GMT) Full text and rfc822 format available.

Message #10 received at 17661-done <at> debbugs.gnu.org (full text, mbox):

From: Mark H Weaver <mhw <at> netris.org>
To: Chris Vine <chris <at> cvine.freeserve.co.uk>
Cc: 17661-done <at> debbugs.gnu.org
Subject: Re: bug#17661: Some guile-2.0 asyncs functions do not link correctly
Date: Sun, 01 Jun 2014 20:55:23 -0400
Chris Vine <chris <at> cvine.freeserve.co.uk> writes:

> guile-2.0's scm_c_call_with_blocked_asyncs,
> scm_c_call_with_unblocked_asyncs, scm_dynwind_block_asyncs and
> scm_dynwind_unblock_asyncs will not link for me using 32-bit
> ubuntu-14.04 (gcc-4.8.2/guile-2.0.9) or 32-bit slackware-14.1
> (gcc-4.9.0/guile-2.0.11).  I do not have a machine to test a 64-bit
> system at present.
>
> The issue appears to be that this part of the API is not exported, even
> though these functions are documented and appear intended to be called
> by user code.
>
> A patch, against guile-2.0.11, is below, dealing with this.

Pushed to stable-2.0, commit 12c6a47773041ff5d0a3553421d2f358d9e479a9.

    Thanks!
      Mark




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 30 Jun 2014 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 9 years and 303 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.