Received: (at 41467) by debbugs.gnu.org; 1 Aug 2023 11:22:38 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Aug 01 07:22:38 2023 Received: from localhost ([127.0.0.1]:47262 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1qQnSX-0004WT-Oe for submit <at> debbugs.gnu.org; Tue, 01 Aug 2023 07:22:37 -0400 Received: from host2.hosts.geeklan.co.uk ([2001:470:1f13:8c2::1]:45237) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <venture37@HIDDEN>) id 1qQnSV-0004WD-Bu for 41467 <at> debbugs.gnu.org; Tue, 01 Aug 2023 07:22:36 -0400 Received: from host2.hosts.geeklan.co.uk (localhost [127.0.0.1]) by host2.hosts.geeklan.co.uk (OpenSMTPD) with ESMTP id 6a504183 for <41467 <at> debbugs.gnu.org>; Tue, 1 Aug 2023 12:22:26 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=geeklan.co.uk; h= message-id:date:mime-version:subject:from:to:references :in-reply-to:content-type:content-transfer-encoding; s=geeklan; bh=40li6Rz8UkUfPsg15lhvCR2rsUk=; b=rQblNRerU37ezXqKdur8GHB9akCC wZrnE8ufbR1CMVS8HABsfDu5CkoR45x1gImDN9jT9LLTpguuYiolxsoqqzYwSPi2 86ClK0U/Jo6qk5+8t3uuREcdCcoEX4XPQ2yvUcpi4HcnwMFb8K+TJ+REFhfEMAVh LO0sC+L9swPqugdQBo/YxHVZKxxe0SJC/naKPFjcaQUChw5DNXGudnYs9aU3iqrK eGtm2fuYoc/SeGDsV9frLwqEayM0VMc1Az05DtTuwCb2sDRLJRn/H945VTIkh5e/ 8qgMKPm8PreKWNJENmvEq5SEB6uhi08n4dlnqaqJXyLxgw7mmtU/KjIyug== DomainKey-Signature: a=rsa-sha1; c=nofws; d=geeklan.co.uk; h=message-id :date:mime-version:subject:from:to:references:in-reply-to :content-type:content-transfer-encoding; q=dns; s=geeklan; b=pC3 H4WW4vei9TsSYxfTrmRT+j+0EW66b5ddApOz7wKh9YgSjQIHGIEx+m/CILsOdxRz qEt/h/Il5LZm8S+CQDG+bsalSyb6SlUMed/wnVaiY3NLyVNYw8HekGZPfqa52KFt BtzxUENX712HnqcLp+aY8ACNT9h5lZKd0lP+rhxetiaiY2xfumEc5aDdNBsv8367 ///garVi5VcpRqNuFiswfKiqf+vnXYNnW0cAm1+rFO55+ExFgLZt+kE5hS8zhCbq UA+Hp8cvzlCaLWfIM7DhZrRSuFb51oONtUP0qikofez4UYn5KVuURYKiDdX5VQvX ZS04OafhAbDP6lGdu5w== Received: by host2.hosts.geeklan.co.uk (OpenSMTPD) with ESMTPSA id cc7662e4 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO) for <41467 <at> debbugs.gnu.org>; Tue, 1 Aug 2023 12:22:25 +0100 (BST) Message-ID: <9607660a-fc03-0504-3b0f-d89f8944e26e@HIDDEN> Date: Tue, 1 Aug 2023 12:22:25 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Compiling extensions using Guile 3.0.2 headers doesn't work with clang without -std=c11 Content-Language: en-GB From: Sevan Janiyan <venture37@HIDDEN> To: 41467 <at> debbugs.gnu.org References: <ca4a9ed0-3cd9-026c-c7f8-36451cbf8569@HIDDEN> <b032a1ad-a2af-190e-da03-a69e9d15d542@HIDDEN> Autocrypt: addr=venture37@HIDDEN; keydata= xsFNBFV6/hIBEADFfMfQEOJZZuIsrwq4USHbFSfbafwnGfcz67Q0wHI8lVlPkgcPFLMrH/6w lre2qt8DDpNxofLC912PBlrxYdvDsW5GzCc/icmQY6qlA/Km4K+55X3QpewB81quZXBo+uQn +GYJxCdvE8VSSYP1I2aTTSjsN7Y3p87lkpYZSn8WSG/DsGlZjwRN0rIT66jyfmYBQ51zkMk3 i6/pf5KNHJ6xDbZZvC7yG4CLMYbFwsxERlPT7RUHZFvEelOxmfSM3qp+PqnMhX2+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Av3EKn9264Gsr24Y98mEmAK viULOpfjIVYo2pSDau9CDB1lpM8dyyEyzDtTcQq+n8CKqnIdvhoRZ8m7H+I5rCb48Y1DqYDG w8G7Ukd7xoF8SJhtl29UB8Z+01EeRTFSe6If4vCbWsZiJRKjTX4mf9SrJU/Ra7yZwwvV289s UJsAC8vNrNSyVVqeWwXO4OdGCrYL5BveqiSo53Yr0LO4xGUqsWS63T7Ss+RUChWsxsrjUq+T hHNcrm5hoA2CQDi3XJt9PCLFAKsk+EH21Nw9iulLXNv6XFVJpjy879wd7xp3PdfD83WP6RJY 4jnIWXpnbmk/3IkCE5OAUz551mqAScnnxh1/0kEESFGTFHfcSTgdP9VFmWvaTZf0n0nieD/g QacC5p11GbyGe3XuVt4fjFxqCGnpAXOZpByXqTw9X2vKMZouIuA9rSVuT1LOako3XyVRdQty a+7L9eQftmIBHrZj6GjRI06R+8SqsCZNndTKE2Ru2p8EXOplunID4X2LmTrSw99efS7mr7me 1I0NKRkw+UoNHdcpwkuxP8Un+TEUawMyjco+kI/fBhyWZ7x/lafSDIbGybmRHchUxqcbb+2E KvBVxz3gofc= In-Reply-To: <b032a1ad-a2af-190e-da03-a69e9d15d542@HIDDEN> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 41467 X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) On 01/08/2023 12:11, Sevan Janiyan wrote: > The MAX macro in socket.h conflicts with the MAX macro in the system > header files. Forgot to mention, the header inclusions in the diff are because scm_t_dynstack & scm_t_dynstack typedefs were commented out of libguile/scm.h (resolving the redefinition). Sevan
bug-guile@HIDDEN
:bug#41467
; Package guile
.
Full text available.Received: (at 41467) by debbugs.gnu.org; 1 Aug 2023 11:11:39 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Aug 01 07:11:39 2023 Received: from localhost ([127.0.0.1]:47240 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1qQnHu-0004Eb-OA for submit <at> debbugs.gnu.org; Tue, 01 Aug 2023 07:11:39 -0400 Received: from host2.hosts.geeklan.co.uk ([2001:470:1f13:8c2::1]:13238) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <venture37@HIDDEN>) id 1qQnHt-0004EN-0e for 41467 <at> debbugs.gnu.org; Tue, 01 Aug 2023 07:11:37 -0400 Received: from host2.hosts.geeklan.co.uk (localhost [127.0.0.1]) by host2.hosts.geeklan.co.uk (OpenSMTPD) with ESMTP id aabfa581 for <41467 <at> debbugs.gnu.org>; Tue, 1 Aug 2023 12:11:30 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=geeklan.co.uk; h= message-id:date:mime-version:subject:from:to:references :in-reply-to:content-type:content-transfer-encoding; s=geeklan; bh=DsXBzN48s+yECc4mf9kD0gGjjTA=; b=tRz+BU983FOdxTWw/gGkdGMoahip O8mhz3kms5cBC3S0kFPB640c34k+ChfJottKTrLI8naC38uixVDHgu2DTvqpnhQo nilptHCNnNiFx66/6P9sSdUJy591LDoJFbgqt10GBm6IcmvTGTOunJdOjvSXMYlF miJYSuZaSAqfIi3S+INaImmbZXTTXoxI45TKRiJVZhDLftNPYopWyW8jeibvvsOM bCWk0Z8rEtDIJFTrnqQghbDk4QKaMjJ9BQS6aVrI25Odqv25pa20xAZtkkKdWFZb ASF5Br7t/s5JE45hIHTUZuDRpuMml8QXk5Z4ftnsvYkkf5qWxK7vcUdIhg== DomainKey-Signature: a=rsa-sha1; c=nofws; d=geeklan.co.uk; h=message-id :date:mime-version:subject:from:to:references:in-reply-to :content-type:content-transfer-encoding; q=dns; s=geeklan; b=TiK 8c0oNQd0eeEgbkQkNtI10TmAtClnBGrsbdRZPShBrBd8wegC302GuDJ2hliVqTzc 0PJvlZAyBlc11hI2aKc7lIo1C9iLF4gqLMcyLJOn8IOXSDNo2yTbk0wsBi0e6Qx8 TzcYGbWObCls251DhgRqy3p7KPhJlU8BVKpiLk83xmjhAWC4JutwI5jQDHNT05sV m64+ovzxbjoDUDd9AiicNPnfGIH+2fusrSwrNHqh0cxLB1IEMLaSIt9IYK16oyTo WpKLWUamtCmd2+gMKTxLe1YxWBqh69jnNtpUqp/TilQINkiFgDoZUAIVSj1dNHYM PMNcJ+cWGOy1zFhl2Jg== Received: by host2.hosts.geeklan.co.uk (OpenSMTPD) with ESMTPSA id b5ad94ca (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO) for <41467 <at> debbugs.gnu.org>; Tue, 1 Aug 2023 12:11:28 +0100 (BST) Message-ID: <b032a1ad-a2af-190e-da03-a69e9d15d542@HIDDEN> Date: Tue, 1 Aug 2023 12:11:28 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Compiling extensions using Guile 3.0.2 headers doesn't work with clang without -std=c11 Content-Language: en-GB From: Sevan Janiyan <venture37@HIDDEN> To: 41467 <at> debbugs.gnu.org References: <ca4a9ed0-3cd9-026c-c7f8-36451cbf8569@HIDDEN> Autocrypt: addr=venture37@HIDDEN; keydata= xsFNBFV6/hIBEADFfMfQEOJZZuIsrwq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K2xjvu+acK1X+IiqXwE4275Pt339A/EaDSkY/PYEUiSXcim+03UpcIZGslO W/EYwpJsDbaRtlN+4N4wjy5g5gUXDwARAQABwsF8BBgBCAAmAhsMFiEElwgxuAnr98OKuBdv yC3LQFM/SzsFAmSDlBYFCRLK/QMACgkQyC3LQFM/SzuXpA//RpCPQ+s6jyAvAnVMAH3+l0jf utOSYJTiapGIrjqgKvuZiG7oyPHy1E1V+FrG4WHKiYkHx8urlAv3EKn9264Gsr24Y98mEmAK viULOpfjIVYo2pSDau9CDB1lpM8dyyEyzDtTcQq+n8CKqnIdvhoRZ8m7H+I5rCb48Y1DqYDG w8G7Ukd7xoF8SJhtl29UB8Z+01EeRTFSe6If4vCbWsZiJRKjTX4mf9SrJU/Ra7yZwwvV289s UJsAC8vNrNSyVVqeWwXO4OdGCrYL5BveqiSo53Yr0LO4xGUqsWS63T7Ss+RUChWsxsrjUq+T hHNcrm5hoA2CQDi3XJt9PCLFAKsk+EH21Nw9iulLXNv6XFVJpjy879wd7xp3PdfD83WP6RJY 4jnIWXpnbmk/3IkCE5OAUz551mqAScnnxh1/0kEESFGTFHfcSTgdP9VFmWvaTZf0n0nieD/g QacC5p11GbyGe3XuVt4fjFxqCGnpAXOZpByXqTw9X2vKMZouIuA9rSVuT1LOako3XyVRdQty a+7L9eQftmIBHrZj6GjRI06R+8SqsCZNndTKE2Ru2p8EXOplunID4X2LmTrSw99efS7mr7me 1I0NKRkw+UoNHdcpwkuxP8Un+TEUawMyjco+kI/fBhyWZ7x/lafSDIbGybmRHchUxqcbb+2E KvBVxz3gofc= In-Reply-To: <ca4a9ed0-3cd9-026c-c7f8-36451cbf8569@HIDDEN> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 41467 X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) On 01/08/2023 02:38, Sevan Janiyan wrote: > There's more issues after addressing these. I will follow up with a > patch of what I took out for the build to succeed (not necessarily > correct but to highlight where the issues are). Here's the changes related to redefinitions I made in order to be able to mostly compile Guile 3.0.9 with GCC 4.0.1 on PowerPC Mac OS X 10.4. I say mostly as I'm not sure if there are further redefinition issues since I'm currently stuck with issues related to the supplied 32-bit-big-endian image and regenerating it. The MAX macro in socket.h conflicts with the MAX macro in the system header files. diff -ur /tmp/guile-3.0.9/libguile/dynstack.h ./libguile/dynstack.h --- /tmp/guile-3.0.9/libguile/dynstack.h 2018-09-22 21:51:40.000000000 +0100 +++ ./libguile/dynstack.h 2023-07-26 16:47:37.000000000 +0100 @@ -28,7 +28,7 @@ #include "libguile/scm.h" - +#undef scm_t_dynstack; typedef struct scm_dynstack { scm_t_bits *base; diff -ur /tmp/guile-3.0.9/libguile/foreign.h ./libguile/foreign.h --- /tmp/guile-3.0.9/libguile/foreign.h 2022-01-10 16:58:37.000000000 +0000 +++ ./libguile/foreign.h 2023-07-26 17:33:42.000000000 +0100 @@ -22,6 +22,7 @@ #include "libguile/gc.h" #include "libguile/snarf.h" +#include "libguile/print.h" /* A "foreign pointer" is a wrapped C pointer. It is represented by a cell whose second word is a pointer. The first word has the diff -ur /tmp/guile-3.0.9/libguile/pairs.h ./libguile/pairs.h --- /tmp/guile-3.0.9/libguile/pairs.h 2018-09-22 21:51:40.000000000 +0100 +++ ./libguile/pairs.h 2023-07-26 17:30:00.000000000 +0100 @@ -200,6 +200,7 @@ #endif #ifdef BUILDING_LIBGUILE +/* #ifndef HAVE_GC_IS_HEAP_PTR static int GC_is_heap_ptr (void *ptr) @@ -207,6 +208,7 @@ return GC_base (ptr) != NULL; } #endif +*/ static inline int scm_is_mutable_pair (SCM x) diff -ur /tmp/guile-3.0.9/libguile/programs.h ./libguile/programs.h --- /tmp/guile-3.0.9/libguile/programs.h 2018-09-22 21:51:40.000000000 +0100 +++ ./libguile/programs.h 2023-07-26 17:32:06.000000000 +0100 @@ -21,6 +21,7 @@ #define _SCM_PROGRAMS_H_ #include <libguile/gc.h> +#include <libguile/print.h> /* * Programs diff -ur /tmp/guile-3.0.9/libguile/scm.h ./libguile/scm.h --- /tmp/guile-3.0.9/libguile/scm.h 2020-05-27 21:48:00.000000000 +0100 +++ ./libguile/scm.h 2023-07-26 16:48:30.000000000 +0100 @@ -821,8 +821,8 @@ #endif typedef struct scm_dynamic_state scm_t_dynamic_state; -typedef struct scm_print_state scm_print_state; -typedef struct scm_dynstack scm_t_dynstack; +/* typedef struct scm_print_state scm_print_state; +typedef struct scm_dynstack scm_t_dynstack; */ typedef int32_t scm_t_wchar; struct scm_frame; struct scm_vm; diff -ur /tmp/guile-3.0.9/libguile/socket.c ./libguile/socket.c --- /tmp/guile-3.0.9/libguile/socket.c 2022-10-21 16:39:38.000000000 +0100 +++ ./libguile/socket.c 2023-07-26 17:14:20.000000000 +0100 @@ -774,7 +774,7 @@ proc is the name of the original procedure. size returns the size of the structure allocated. */ -#define MAX(A, B) ((A) >= (B) ? (A) : (B)) +#define AMAX(A, B) ((A) >= (B) ? (A) : (B)) static struct sockaddr * scm_fill_sockaddr (int fam, SCM address, SCM *args, int which_arg, @@ -864,7 +864,7 @@ connect/bind etc., to fail. sun_path is always the last member of the structure. */ addr_size = sizeof (struct sockaddr_un) - + MAX (0, c_address_size + 1 - (sizeof soka->sun_path)); + + AMAX (0, c_address_size + 1 - (sizeof soka->sun_path)); soka = (struct sockaddr_un *) scm_malloc (addr_size); memset (soka, 0, addr_size); soka->sun_family = AF_UNIX; diff -ur /tmp/guile-3.0.9/libguile/strings.h ./libguile/strings.h --- /tmp/guile-3.0.9/libguile/strings.h 2022-02-04 10:15:39.000000000 +0000 +++ ./libguile/strings.h 2023-07-26 17:43:11.000000000 +0100 @@ -26,6 +26,7 @@ #include <libguile/error.h> #include "libguile/inline.h" #include <libguile/snarf.h> +#include <libguile/print.h> diff -ur /tmp/guile-3.0.9/libguile/threads.h ./libguile/threads.h --- /tmp/guile-3.0.9/libguile/threads.h 2020-02-08 14:11:34.000000000 +0000 +++ ./libguile/threads.h 2023-07-26 16:41:30.000000000 +0100 @@ -28,6 +28,7 @@ #include "libguile/iselect.h" #include "libguile/smob.h" #include "libguile/vm.h" +#include "libguile/scm.h" #if SCM_USE_PTHREAD_THREADS #include "libguile/pthread-threads.h" diff -ur /tmp/guile-3.0.9/libguile/vm.h ./libguile/vm.h --- /tmp/guile-3.0.9/libguile/vm.h 2019-12-14 17:28:57.000000000 +0000 +++ ./libguile/vm.h 2023-07-26 17:36:53.000000000 +0100 @@ -24,6 +24,7 @@ #include <libguile/gc.h> #include <libguile/programs.h> +#include <libguile/dynstack.h> #define SCM_VM_REGULAR_ENGINE 0 #define SCM_VM_DEBUG_ENGINE 1 diff -ur /tmp/guile-3.0.9/libguile/weak-set.c ./libguile/weak-set.c --- /tmp/guile-3.0.9/libguile/weak-set.c 2020-03-27 11:33:32.000000000 +0000 +++ ./libguile/weak-set.c 2023-07-26 17:46:25.000000000 +0100 @@ -165,6 +165,7 @@ return size - origin + k; } +/* #ifndef HAVE_GC_MOVE_DISAPPEARING_LINK static void GC_move_disappearing_link (void **from, void **to) @@ -173,6 +174,7 @@ SCM_I_REGISTER_DISAPPEARING_LINK (to, *to); } #endif +*/ static void move_weak_entry (scm_t_weak_entry *from, scm_t_weak_entry *to)
bug-guile@HIDDEN
:bug#41467
; Package guile
.
Full text available.Received: (at 41467) by debbugs.gnu.org; 1 Aug 2023 01:39:08 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jul 31 21:39:07 2023 Received: from localhost ([127.0.0.1]:46907 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1qQeLr-0003hj-LQ for submit <at> debbugs.gnu.org; Mon, 31 Jul 2023 21:39:07 -0400 Received: from host2.hosts.geeklan.co.uk ([2001:470:1f13:8c2::1]:65389) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <venture37@HIDDEN>) id 1qQeLp-0003hA-GN for 41467 <at> debbugs.gnu.org; Mon, 31 Jul 2023 21:39:06 -0400 Received: from host2.hosts.geeklan.co.uk (localhost [127.0.0.1]) by host2.hosts.geeklan.co.uk (OpenSMTPD) with ESMTP id 602d9524 for <41467 <at> debbugs.gnu.org>; Tue, 1 Aug 2023 02:38:58 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=geeklan.co.uk; h= message-id:date:mime-version:to:from:subject:content-type :content-transfer-encoding; s=geeklan; bh=g4B5FyCjpIeUgN5j/2qXEv UQydY=; b=ido4KcEZ9T3URtduqhH/4Zov/msjsl5nD+DgXst5c+mFT7Ep8XTEyl DjJvYkHWItiTh2zeRLE6h97GVaxuSMQIHsgHDdS9BQZLDeyqwHcVjkSsbaf8xKnU xBaP4PuH95xNFns0NnelVHIidc2yMs9hRdO8ptggjjtfU8DQYu2/UEu3/d60KhAG kgTtqbXYZz9GWNwNJ3XrX1XxPnQZUpmWgrJdqh7jugJmMUpdwerd2NABfs59PzIa FHfxLMYvL3Dt8QF5UKI7wEJJdzta80BlzgfOeVeHHF5T58GKg+gfUqVYIPGIdjJ8 n5V19TjYP2U3Qry+JfQlRBH7uEOiKfDQ== DomainKey-Signature: a=rsa-sha1; c=nofws; d=geeklan.co.uk; h=message-id :date:mime-version:to:from:subject:content-type :content-transfer-encoding; q=dns; s=geeklan; b=UqCNd6J32QrO8EuI GtQ+cexFC1dcODHnqbeLcm2bKWLkDWfnWHAmlj3YGlmVTjPojrQLTJZDz3IwrgJa azlrVw2fxXYkJi7jlnu249lkQrLnA8onfHt45O+DvmDVL4Wj457SR0wPp65orN2O SY276jdOdY27Snfw6nZ71vq7rg/UPGyo6Ea9JjOpYAO3NAFqKpKOpienTbeSJBFY ukaCegqJ5p1tra7mv+2zTo5q1n7Jw2yokuvd5PhgD950/PokzeEoVhb7M3SHYwFX aQhev9vH23UvdH9R4J87QOC+wNMqNR4h//WD6Cm4imfQJ2kVE8bJhp3DmYFKjKzt +PZRYg== Received: by host2.hosts.geeklan.co.uk (OpenSMTPD) with ESMTPSA id 34d32aff (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO) for <41467 <at> debbugs.gnu.org>; Tue, 1 Aug 2023 02:38:58 +0100 (BST) Message-ID: <ca4a9ed0-3cd9-026c-c7f8-36451cbf8569@HIDDEN> Date: Tue, 1 Aug 2023 02:38:57 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-GB To: 41467 <at> debbugs.gnu.org From: Sevan Janiyan <venture37@HIDDEN> Subject: Re: Compiling extensions using Guile 3.0.2 headers doesn't work with clang without -std=c11 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 41467 X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Hi, Redefinitions are part of C11 and compilers which support C11 and default to C11 mode would have masked the issue which is why we are here. Because of the redefinitions, it is not possible to build Guile with older compilers which only support C99. I hit this issue attempting to build Guile 3.0.9 with GCC 4.0.1. The first error being CC libgnu_la-regex.lo In file included from ../libguile/threads.h:27, from glthread/lock.h:27, from regex_internal.h:56, from regex.c:71: ../libguile/dynstack.h:37: error: redefinition of typedef 'scm_t_dynstack' ../libguile/scm.h:825: error: previous declaration of 'scm_t_dynstack' was here In file included from ../libguile/smob.h:28, from ../libguile/threads.h:29, from glthread/lock.h:27, from regex_internal.h:56, from regex.c:71: ../libguile/print.h:79: error: redefinition of typedef 'scm_print_state' ../libguile/scm.h:824: error: previous declaration of 'scm_print_state' was here make[4]: *** [libgnu_la-regex.lo] Error 1 There's more issues after addressing these. I will follow up with a patch of what I took out for the build to succeed (not necessarily correct but to highlight where the issues are). Sevan
bug-guile@HIDDEN
:bug#41467
; Package guile
.
Full text available.Received: (at submit) by debbugs.gnu.org; 22 May 2020 22:05:52 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Fri May 22 18:05:52 2020 Received: from localhost ([127.0.0.1]:60605 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1jcFnb-0002Ik-RM for submit <at> debbugs.gnu.org; Fri, 22 May 2020 18:05:52 -0400 Received: from lists.gnu.org ([209.51.188.17]:44488) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <vz-gnuguile@HIDDEN>) id 1jcEUa-0000Jg-Jy for submit <at> debbugs.gnu.org; Fri, 22 May 2020 16:42:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38380) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <vz-gnuguile@HIDDEN>) id 1jcEUa-0002X7-CW for bug-guile@HIDDEN; Fri, 22 May 2020 16:42:08 -0400 Received: from sunset.tt-solutions.com ([82.240.17.225]:48749 helo=smtp.tt-solutions.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <vz-gnuguile@HIDDEN>) id 1jcEUZ-0006eU-2f for bug-guile@HIDDEN; Fri, 22 May 2020 16:42:07 -0400 Received: from [192.168.17.86] (helo=Twilight.zeitlins.org) by smtp.tt-solutions.com with esmtps (TLS1.0:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.92) (envelope-from <vz-gnuguile@HIDDEN>) id 1jcEUS-0006mr-SE for bug-guile@HIDDEN; Fri, 22 May 2020 22:42:00 +0200 Date: Fri, 22 May 2020 22:42:00 +0200 From: Vadim Zeitlin <vz-gnuguile@HIDDEN> Subject: Compiling extensions using Guile 3.0.2 headers doesn't work with clang without -std=c11 To: bug-guile@HIDDEN MIME-Version: 1.0 Content-Type: MULTIPART/SIGNED; protocol="application/pgp-signature"; micalg=pgp-sha1; BOUNDARY="444915509-41-1590180120=:14932" X-Mailer: Mahogany 0.68.0 'Cynthia', running under Windows 7 (build 7601, Service Pack 1), 64-bit edition Message-Id: <E1jcEUS-0006mr-SE@HIDDEN> Received-SPF: none client-ip=82.240.17.225; envelope-from=vz-gnuguile@HIDDEN; helo=smtp.tt-solutions.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/05/22 16:42:01 X-ACL-Warn: Detected OS = ??? X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Fri, 22 May 2020 18:05:50 -0400 X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) --444915509-41-1590180120=:14932 Content-Type: TEXT/PLAIN; CHARSET=US-ASCII Content-Disposition: INLINE Hello, I'm am not sure how useful this is because I don't know anything about Guile, but I contribute to the SWIG project which generates Guile bindings among other things and I noticed that one of the CI builds started failing since the upgrade from 2.2.7 to 3.0.2 version due to the errors like this: ---------------------------------- >8 -------------------------------------- In file included from example_wrap.c:739: In file included from /usr/local/Cellar/guile/3.0.2/include/guile/3.0/libguile.h:35: In file included from /usr/local/Cellar/guile/3.0.2/include/guile/3.0/libguile/array-handle.h:27: In file included from /usr/local/Cellar/guile/3.0.2/include/guile/3.0/libguile/numbers.h:29: /usr/local/Cellar/guile/3.0.2/include/guile/3.0/libguile/print.h:79:3: error: redefinition of typedef 'scm_print_state' is a C11 feature [-Werror,-Wtypedef-redefinition] } scm_print_state; ^ /usr/local/Cellar/guile/3.0.2/include/guile/3.0/libguile/scm.h:824:32: note: previous definition is here typedef struct scm_print_state scm_print_state; ^ In file included from example_wrap.c:739: In file included from /usr/local/Cellar/guile/3.0.2/include/guile/3.0/libguile.h:38: In file included from /usr/local/Cellar/guile/3.0.2/include/guile/3.0/libguile/async.h:25: In file included from /usr/local/Cellar/guile/3.0.2/include/guile/3.0/libguile/threads.h:27: /usr/local/Cellar/guile/3.0.2/include/guile/3.0/libguile/dynstack.h:37:3: error: redefinition of typedef 'scm_t_dynstack' is a C11 feature [-Werror,-Wtypedef-redefinition] } scm_t_dynstack; ^ /usr/local/Cellar/guile/3.0.2/include/guile/3.0/libguile/scm.h:825:29: note: previous definition is here typedef struct scm_dynstack scm_t_dynstack; ^ ---------------------------------- >8 -------------------------------------- (see e.g. https://travis-ci.org/github/swig/swig/jobs/683649601 for the actual build output). We're going to work around this in SWIG by adding -std=c11 to the compiler options, but it would probably be better to avoid this problem without it too, unless Guile really requires C11. Best regards, VZ --444915509-41-1590180120=:14932 Content-Type: APPLICATION/PGP-SIGNATURE -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (MingW32) iEYEABECAAYFAl7IORgACgkQBupB3k9sHobAaACeNgeBuOzsYM8t5i2KfyKRc0aM EYwAmgJFXhNfKUdYxtnCRPFeZ8fBbBar =bfgA -----END PGP SIGNATURE----- --444915509-41-1590180120=:14932--
Vadim Zeitlin <vz-gnuguile@HIDDEN>
:bug-guile@HIDDEN
.
Full text available.bug-guile@HIDDEN
:bug#41467
; Package guile
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.