From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Newsgroups: gmane.lisp.guile.bugs Subject: bug#39183: Missing =?UTF-8?Q?=E2=80=98scm=5Fsym=5F=E2=80=99?= symbols in libguile-3.0.so Date: Sat, 18 Jan 2020 23:20:27 +0100 Message-ID: <87ftgcv238.fsf@inria.fr> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="16660"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) To: bug-Guile@gnu.org Original-X-From: bug-guile-bounces+guile-bugs=m.gmane-mx.org@gnu.org Sat Jan 18 23:21:12 2020 Return-path: Envelope-to: guile-bugs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1iswSs-0004Gt-Uw for guile-bugs@m.gmane-mx.org; Sat, 18 Jan 2020 23:21:10 +0100 Original-Received: from localhost ([::1]:45342 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iswSs-0004UN-0H for guile-bugs@m.gmane-mx.org; Sat, 18 Jan 2020 17:21:10 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36646) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iswSn-0004UG-N1 for bug-guile@gnu.org; Sat, 18 Jan 2020 17:21:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iswSm-000813-Ps for bug-guile@gnu.org; Sat, 18 Jan 2020 17:21:05 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:36462) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iswSm-00080v-N3 for bug-guile@gnu.org; Sat, 18 Jan 2020 17:21:04 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iswSk-0003Zf-8k; Sat, 18 Jan 2020 17:21:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: wingo@pobox.com, bug-guile@gnu.org Resent-Date: Sat, 18 Jan 2020 22:21:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 39183 X-GNU-PR-Package: guile X-Debbugs-Original-Xcc: wingo@pobox.com Original-Received: via spool by submit@debbugs.gnu.org id=B.157938603513681 (code B ref -1); Sat, 18 Jan 2020 22:21:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 18 Jan 2020 22:20:35 +0000 Original-Received: from localhost ([127.0.0.1]:42433 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iswSJ-0003Ya-7D for submit@debbugs.gnu.org; Sat, 18 Jan 2020 17:20:35 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:55738) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iswSG-0003YS-Ft for submit@debbugs.gnu.org; Sat, 18 Jan 2020 17:20:33 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36594) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iswSF-0004Qc-CO for bug-Guile@gnu.org; Sat, 18 Jan 2020 17:20:32 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:58629) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iswSF-0007Lh-7Q for bug-Guile@gnu.org; Sat, 18 Jan 2020 17:20:31 -0500 Original-Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=60998 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1iswSD-0008Er-E0 for bug-Guile@gnu.org; Sat, 18 Jan 2020 17:20:30 -0500 X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 29 =?UTF-8?Q?Niv=C3=B4se?= an 228 de la =?UTF-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-guile@gnu.org List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guile-bounces+guile-bugs=m.gmane-mx.org@gnu.org Original-Sender: "bug-guile" Xref: news.gmane.io gmane.lisp.guile.bugs:9517 Archived-At: --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hello, Libguile in 3.0.0 lacks all the C exports for variables created with =E2=80=98SCM_GLOBAL_SYMBOL=E2=80=99 in =E2=80=98expand.c=E2=80=99: --8<---------------cut here---------------start------------->8--- $ objdump -T /gnu/store/b9xkl8vbxbyblzkwp7xzwwmharswkbgy-guile-2.2.6-1/lib/= libguile-2.2.so |grep scm_sym_lambda 000000000012c298 g DO .bss 0000000000000008 GUILE_2.0 scm_sym_lambda $ objdump -T /gnu/store/7z0zzqbchcjmc1krwhy0jd5hsny5y77w-guile-next-3.0.0/l= ib/libguile-3.0.so |grep scm_sym_lambda --8<---------------cut here---------------end--------------->8--- That=E2=80=99s because they accidentally ended up having the =E2=80=9Chidde= n=E2=80=9D visibility, which is fixed by the patch below. This will obviously augment the ABI. Should we push? Thanks, Ludo=E2=80=99. --=-=-= Content-Type: text/x-patch Content-Disposition: inline diff --git a/libguile/expand.c b/libguile/expand.c index 11e43c2b9..6ba65ffa2 100644 --- a/libguile/expand.c +++ b/libguile/expand.c @@ -1,4 +1,4 @@ -/* Copyright 1995-2014,2016,2018-2019 +/* Copyright 1995-2014,2016,2018-2020 Free Software Foundation, Inc. This file is part of Guile. @@ -32,6 +32,7 @@ #include "keywords.h" #include "list.h" #include "macros.h" +#include "memoize.h" /* for the SCM_API declarations of 'scm_sym_' */ #include "modules.h" #include "pairs.h" #include "ports.h" --=-=-=--