From unknown Sat Sep 13 19:06:19 2025 X-Loop: help-debbugs@gnu.org Subject: bug#17661: Some guile-2.0 asyncs functions do not link correctly Resent-From: Chris Vine Original-Sender: "Debbugs-submit" Resent-CC: bug-guile@gnu.org Resent-Date: Sun, 01 Jun 2014 17:15:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 17661 X-GNU-PR-Package: guile X-GNU-PR-Keywords: To: 17661@debbugs.gnu.org X-Debbugs-Original-To: bug-guile@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.140164287017917 (code B ref -1); Sun, 01 Jun 2014 17:15:02 +0000 Received: (at submit) by debbugs.gnu.org; 1 Jun 2014 17:14:30 +0000 Received: from localhost ([127.0.0.1]:40037 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Wr9L3-0004eo-7P for submit@debbugs.gnu.org; Sun, 01 Jun 2014 13:14:29 -0400 Received: from eggs.gnu.org ([208.118.235.92]:35392) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Wr92X-00042Q-Co for submit@debbugs.gnu.org; Sun, 01 Jun 2014 12:55:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wr92I-0006PH-0n for submit@debbugs.gnu.org; Sun, 01 Jun 2014 12:55:15 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:52252) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wr92H-0006P7-V3 for submit@debbugs.gnu.org; Sun, 01 Jun 2014 12:55:05 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37112) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wr92A-0004YC-DZ for bug-guile@gnu.org; Sun, 01 Jun 2014 12:55:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wr922-0006Fo-Tv for bug-guile@gnu.org; Sun, 01 Jun 2014 12:54:58 -0400 Received: from smtpout2.wanadoo.co.uk ([80.12.242.42]:45671 helo=smtpout.wanadoo.co.uk) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wr922-0006Fk-OJ for bug-guile@gnu.org; Sun, 01 Jun 2014 12:54:50 -0400 Received: from bother.homenet ([95.146.111.162]) by mwinf5d17 with ME id 94uo1o00C3WGlpK034uoga; Sun, 01 Jun 2014 18:54:48 +0200 X-ME-Helo: bother.homenet X-ME-Date: Sun, 01 Jun 2014 18:54:48 +0200 X-ME-IP: 95.146.111.162 Received: from bother.homenet (localhost [127.0.0.1]) by bother.homenet (Postfix) with ESMTP id 404A08A213 for ; Sun, 1 Jun 2014 17:54:48 +0100 (BST) Date: Sun, 1 Jun 2014 17:54:48 +0100 From: Chris Vine Message-ID: <20140601175448.00cbf158@bother.homenet> X-Mailer: Claws Mail 3.9.2 (GTK+ 2.24.23; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Mailman-Approved-At: Sun, 01 Jun 2014 13:14:27 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) 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 */ From unknown Sat Sep 13 19:06:19 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.503 (Entity 5.503) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Chris Vine Subject: bug#17661: closed (Re: bug#17661: Some guile-2.0 asyncs functions do not link correctly) Message-ID: References: <87fvjo2kqs.fsf@yeeloong.lan> <20140601175448.00cbf158@bother.homenet> X-Gnu-PR-Message: they-closed 17661 X-Gnu-PR-Package: guile Reply-To: 17661@debbugs.gnu.org Date: Mon, 02 Jun 2014 00:56:03 +0000 Content-Type: multipart/mixed; boundary="----------=_1401670563-6811-1" This is a multi-part message in MIME format... ------------=_1401670563-6811-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #17661: Some guile-2.0 asyncs functions do not link correctly which was filed against the guile package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 17661@debbugs.gnu.org. --=20 17661: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D17661 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1401670563-6811-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 17661-done) by debbugs.gnu.org; 2 Jun 2014 00:55:45 +0000 Received: from localhost ([127.0.0.1]:40131 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WrGXQ-0001lG-BH for submit@debbugs.gnu.org; Sun, 01 Jun 2014 20:55:45 -0400 Received: from world.peace.net ([96.39.62.75]:59840 ident=hope2) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WrGXJ-0001ks-NQ for 17661-done@debbugs.gnu.org; Sun, 01 Jun 2014 20:55:38 -0400 Received: from 209-6-91-212.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com ([209.6.91.212] helo=yeeloong.lan) by world.peace.net with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1WrGXC-0003aC-MT; Sun, 01 Jun 2014 20:55:30 -0400 From: Mark H Weaver To: Chris Vine Subject: Re: bug#17661: Some guile-2.0 asyncs functions do not link correctly References: <20140601175448.00cbf158@bother.homenet> Date: Sun, 01 Jun 2014 20:55:23 -0400 In-Reply-To: <20140601175448.00cbf158@bother.homenet> (Chris Vine's message of "Sun, 1 Jun 2014 17:54:48 +0100") Message-ID: <87fvjo2kqs.fsf@yeeloong.lan> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 17661-done Cc: 17661-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) Chris Vine 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 ------------=_1401670563-6811-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 1 Jun 2014 17:14:30 +0000 Received: from localhost ([127.0.0.1]:40037 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Wr9L3-0004eo-7P for submit@debbugs.gnu.org; Sun, 01 Jun 2014 13:14:29 -0400 Received: from eggs.gnu.org ([208.118.235.92]:35392) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Wr92X-00042Q-Co for submit@debbugs.gnu.org; Sun, 01 Jun 2014 12:55:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wr92I-0006PH-0n for submit@debbugs.gnu.org; Sun, 01 Jun 2014 12:55:15 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:52252) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wr92H-0006P7-V3 for submit@debbugs.gnu.org; Sun, 01 Jun 2014 12:55:05 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37112) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wr92A-0004YC-DZ for bug-guile@gnu.org; Sun, 01 Jun 2014 12:55:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wr922-0006Fo-Tv for bug-guile@gnu.org; Sun, 01 Jun 2014 12:54:58 -0400 Received: from smtpout2.wanadoo.co.uk ([80.12.242.42]:45671 helo=smtpout.wanadoo.co.uk) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wr922-0006Fk-OJ for bug-guile@gnu.org; Sun, 01 Jun 2014 12:54:50 -0400 Received: from bother.homenet ([95.146.111.162]) by mwinf5d17 with ME id 94uo1o00C3WGlpK034uoga; Sun, 01 Jun 2014 18:54:48 +0200 X-ME-Helo: bother.homenet X-ME-Date: Sun, 01 Jun 2014 18:54:48 +0200 X-ME-IP: 95.146.111.162 Received: from bother.homenet (localhost [127.0.0.1]) by bother.homenet (Postfix) with ESMTP id 404A08A213 for ; Sun, 1 Jun 2014 17:54:48 +0100 (BST) Date: Sun, 1 Jun 2014 17:54:48 +0100 From: Chris Vine To: bug-guile@gnu.org Subject: Some guile-2.0 asyncs functions do not link correctly Message-ID: <20140601175448.00cbf158@bother.homenet> X-Mailer: Claws Mail 3.9.2 (GTK+ 2.24.23; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Sun, 01 Jun 2014 13:14:27 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) 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 */ ------------=_1401670563-6811-1--