From unknown Fri Aug 15 15:34:15 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#60234 <60234@debbugs.gnu.org> To: bug#60234 <60234@debbugs.gnu.org> Subject: Status: Build failure on mac os 12.6 / gcc 12.2 Reply-To: bug#60234 <60234@debbugs.gnu.org> Date: Fri, 15 Aug 2025 22:34:15 +0000 retitle 60234 Build failure on mac os 12.6 / gcc 12.2 reassign 60234 guile submitter 60234 lloda severity 60234 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Wed Dec 21 01:50:00 2022 Received: (at submit) by debbugs.gnu.org; 21 Dec 2022 06:50:00 +0000 Received: from localhost ([127.0.0.1]:49832 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p7svP-0002qq-PG for submit@debbugs.gnu.org; Wed, 21 Dec 2022 01:50:00 -0500 Received: from lists.gnu.org ([209.51.188.17]:37980) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p7svN-0002qk-Na for submit@debbugs.gnu.org; Wed, 21 Dec 2022 01:49:58 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p7svN-0007Y9-Er for bug-guile@gnu.org; Wed, 21 Dec 2022 01:49:57 -0500 Received: from mta-08-3.privateemail.com ([198.54.127.61]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p7svL-0003jG-Qz for bug-guile@gnu.org; Wed, 21 Dec 2022 01:49:57 -0500 Received: from mta-08.privateemail.com (localhost [127.0.0.1]) by mta-08.privateemail.com (Postfix) with ESMTP id 5F56918000A2 for ; Wed, 21 Dec 2022 01:49:39 -0500 (EST) Received: from [192.168.1.105] (unknown [51.154.167.214]) by mta-08.privateemail.com (Postfix) with ESMTPA id E377918000A0 for ; Wed, 21 Dec 2022 01:49:37 -0500 (EST) From: lloda Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.7\)) Subject: Build failure on mac os 12.6 / gcc 12.2 Message-Id: <5404ACA9-05C6-4349-9736-3185914D8A0F@sarc.name> Date: Wed, 21 Dec 2022 07:49:37 +0100 To: bug-guile@gnu.org X-Mailer: Apple Mail (2.3608.120.23.2.7) X-Virus-Scanned: ClamAV using ClamSMTP Received-SPF: pass client-ip=198.54.127.61; envelope-from=lloda@sarc.name; helo=MTA-08-3.privateemail.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: -2.3 (--) The error is .../libguile/threads.h:194:43: error: 'scm_i_current_thread' is defined = with tls model global-dynamic 194 | SCM_INTERNAL SCM_THREAD_LOCAL scm_thread *scm_i_current_thread; | ^ .../libguile/threads.c:357:30: note: previously defined here as = local-dynamic 357 | SCM_THREAD_LOCAL scm_thread *scm_i_current_thread =3D NULL; Simply repeating SCM_INTERNAL in the .c fixes it... regards Daniel From debbugs-submit-bounces@debbugs.gnu.org Wed Dec 21 02:07:11 2022 Received: (at 60234-done) by debbugs.gnu.org; 21 Dec 2022 07:07:11 +0000 Received: from localhost ([127.0.0.1]:49909 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p7tC2-00031N-Rw for submit@debbugs.gnu.org; Wed, 21 Dec 2022 02:07:11 -0500 Received: from mta-12-4.privateemail.com ([198.54.127.107]:29340) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p7tC1-00031H-4G for 60234-done@debbugs.gnu.org; Wed, 21 Dec 2022 02:07:09 -0500 Received: from mta-12.privateemail.com (localhost [127.0.0.1]) by mta-12.privateemail.com (Postfix) with ESMTP id 4032F18000A7 for <60234-done@debbugs.gnu.org>; Wed, 21 Dec 2022 02:07:03 -0500 (EST) Received: from [192.168.1.105] (unknown [51.154.167.214]) by mta-12.privateemail.com (Postfix) with ESMTPA id D451C18000A3 for <60234-done@debbugs.gnu.org>; Wed, 21 Dec 2022 02:07:02 -0500 (EST) From: lloda Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.7\)) Subject: Re: bug#60234: Build failure on mac os 12.6 / gcc 12.2 Date: Wed, 21 Dec 2022 08:06:59 +0100 References: <5404ACA9-05C6-4349-9736-3185914D8A0F@sarc.name> To: 60234-done@debbugs.gnu.org In-Reply-To: <5404ACA9-05C6-4349-9736-3185914D8A0F@sarc.name> Message-Id: X-Mailer: Apple Mail (2.3608.120.23.2.7) X-Virus-Scanned: ClamAV using ClamSMTP X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 60234-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: -1.0 (-) Patched in f859e0f58b211eedcb0dce4f2382cfebf37010d7. From unknown Fri Aug 15 15:34:15 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 18 Jan 2023 12:24:08 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator From unknown Fri Aug 15 15:34:15 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: Did not alter fixed versions and reopened. Date: Wed, 18 Jan 2023 21:58:01 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # Did not alter fixed versions and reopened. thanks # This fakemail brought to you by your local debbugs # administrator From debbugs-submit-bounces@debbugs.gnu.org Fri Jan 20 03:58:36 2023 Received: (at control) by debbugs.gnu.org; 20 Jan 2023 08:58:36 +0000 Received: from localhost ([127.0.0.1]:45534 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pInEK-0004pg-JV for submit@debbugs.gnu.org; Fri, 20 Jan 2023 03:58:36 -0500 Received: from eggs.gnu.org ([209.51.188.92]:41078) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pInEI-0004pR-An for control@debbugs.gnu.org; Fri, 20 Jan 2023 03:58:34 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pInED-0003Ru-3O for control@debbugs.gnu.org; Fri, 20 Jan 2023 03:58:29 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:Subject:From:To:Date:in-reply-to: references; bh=ZT3FotZbdXDElanTH9lkFqSmPzcbMRXZatruParaawE=; b=o4lh+gGEcI8LU2 Vb9z1AFnv42/ipgj+0IQIBDm9bsxMiX2NLPy+js0XGfXDLCVmhC/L9AuqUxwp7yJeZ+wGtVFmgTkr 4gvAUm/dvHQa4VLdp31iAOhRdFcHa1zikC98bVt16sGnTbRgIUUCzes1BdihNiOtHm6mBkVT2Xm3n IFmeBYfUNOF/Kx+TcI1BDvaJ8T8Ml5sZufS4bH3c2+Ob6DAgz0FDlMy6lXDYR/GFpJw6JgldLW4vv NaNgJ5zfZB4ifC4mYfj8gKk/SRK6BkLABL6/UJ2lNS4vCK6CFUceBSkXIAwhIKdEOrQq4WQAJkAGs 4CRAybHA6a8Ehw5BRMEA==; Received: from [193.50.110.246] (helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pInEC-0006Hb-If for control@debbugs.gnu.org; Fri, 20 Jan 2023 03:58:28 -0500 Date: Fri, 20 Jan 2023 09:58:25 +0100 Message-Id: <87o7qt8tvy.fsf@gnu.org> To: control@debbugs.gnu.org From: =?utf-8?Q?Ludovic_Court=C3=A8s?= Subject: control message for bug #60234 MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: -3.3 (---) unarchive 60234 quit From unknown Fri Aug 15 15:34:15 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: Did not alter fixed versions and reopened. Date: Fri, 20 Jan 2023 08:59:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # Did not alter fixed versions and reopened. thanks # This fakemail brought to you by your local debbugs # administrator From debbugs-submit-bounces@debbugs.gnu.org Fri Jan 20 04:01:56 2023 Received: (at 60234) by debbugs.gnu.org; 20 Jan 2023 09:01:56 +0000 Received: from localhost ([127.0.0.1]:45548 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pInHY-0007If-Cd for submit@debbugs.gnu.org; Fri, 20 Jan 2023 04:01:56 -0500 Received: from eggs.gnu.org ([209.51.188.92]:38528) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pInHW-0007IS-0W for 60234@debbugs.gnu.org; Fri, 20 Jan 2023 04:01:54 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pInHQ-00049j-IO; Fri, 20 Jan 2023 04:01:48 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:References:Date:In-Reply-To:Subject:To: From; bh=H0HMo3pNrmbYW8GhsIjZY6rpnvuYA1KBQZuKzRGzNTQ=; b=rf7AoVr5Wy2RSsDdhjWw AIc98UUMSgoooqD4JirX054n4ITi3tqR2cQgM/8cQsxhU/Pj8mSZkMuTkjJh7Gba9EMSK4O48z/qD 1/N8cjh0oeJIrKM21CbrR3JjlGD7FphrLm8iI20f5aZJEATAt0nF3BnNt8TYcXL4W/qRlvZG2JSCo hnQbh+aeVIZzcyrUU1QqnLcOA7hynu9ZbikjxvAY605r4oalf1Nit7SDzfFX1lU6k0F0zTNVHU8Vh yKpRIbSYIFcrvHIzxMvxHk9f8TC+eA6vCVgPxEfI7m2/X4ujg+xKuIjPx+xQiBtZDU/DL60KIBP39 L4T2Pvfj/yArSA==; Received: from [193.50.110.246] (helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pInHQ-0004Ko-5J; Fri, 20 Jan 2023 04:01:48 -0500 From: Ludovic =?utf-8?Q?Court=C3=A8s?= To: lloda Subject: Re: bug#60234: Build failure on mac os 12.6 / gcc 12.2 In-Reply-To: <5404ACA9-05C6-4349-9736-3185914D8A0F@sarc.name> (lloda@sarc.name's message of "Wed, 21 Dec 2022 07:49:37 +0100") Date: Wed, 18 Jan 2023 23:16:41 +0100 Lines: 44 References: <5404ACA9-05C6-4349-9736-3185914D8A0F@sarc.name> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) Message-ID: <87k01h8tqd.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -1.8 (-) X-Debbugs-Envelope-To: 60234 Cc: 60234@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: -2.8 (--) Hi Daniel, lloda skribis: > .../libguile/threads.h:194:43: error: 'scm_i_current_thread' is defined w= ith tls model global-dynamic > 194 | SCM_INTERNAL SCM_THREAD_LOCAL scm_thread *scm_i_current_thread; > | ^ > .../libguile/threads.c:357:30: note: previously defined here as local-dyn= amic > 357 | SCM_THREAD_LOCAL scm_thread *scm_i_current_thread =3D NULL; > > Simply repeating SCM_INTERNAL in the .c fixes it... The problem is that =E2=80=98SCM_INTERNAL=E2=80=99 is synonymous with =E2= =80=98extern=E2=80=99, which makes no sense for a definition (threads.c:357), so rightfully GCC GNU/Linux rightfully complains: --8<---------------cut here---------------start------------->8--- CC libguile_3.0_la-threads.lo threads.c:358:43: warning: 'scm_i_current_thread' initialized and declared = 'extern' 358 | SCM_INTERNAL SCM_THREAD_LOCAL scm_thread *scm_i_current_thread =3D = NULL; | ^~~~~~~~~~~~~~~~~~~~ --8<---------------cut here---------------end--------------->8--- It=E2=80=99s just a warning, but still not looking good. Is there something else at play, such as a =E2=80=98-ftls-model=E2=80=99 fl= ag being passed to GCC somehow (info =E2=80=9C(gcc) Code Gen Options")? If not, should we have: #define SCM_THREAD_LOCAL \ __thread __attribute__ ((__tls_model__ ("global-dynamic"))) instead (info "(gcc) Common Variable Attributes")? Would that work with Clang? Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Fri Jan 20 04:38:32 2023 Received: (at 60234) by debbugs.gnu.org; 20 Jan 2023 09:38:32 +0000 Received: from localhost ([127.0.0.1]:45604 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pInqx-0008HN-Iz for submit@debbugs.gnu.org; Fri, 20 Jan 2023 04:38:32 -0500 Received: from mta-07-4.privateemail.com ([68.65.122.27]:31657) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pInqu-0008H6-OE for 60234@debbugs.gnu.org; Fri, 20 Jan 2023 04:38:30 -0500 Received: from mta-07.privateemail.com (localhost [127.0.0.1]) by mta-07.privateemail.com (Postfix) with ESMTP id 32A3D18000AD; Fri, 20 Jan 2023 04:38:22 -0500 (EST) Received: from [192.168.1.105] (unknown [51.154.167.214]) by mta-07.privateemail.com (Postfix) with ESMTPA id 4DCA418000A6; Fri, 20 Jan 2023 04:38:20 -0500 (EST) From: lloda Message-Id: Content-Type: multipart/alternative; boundary="Apple-Mail=_D17C3DD7-422A-45C2-BAC7-7DB0E34072C0" Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.7\)) Subject: Re: bug#60234: Build failure on mac os 12.6 / gcc 12.2 Date: Fri, 20 Jan 2023 10:38:18 +0100 In-Reply-To: <87k01h8tqd.fsf@gnu.org> To: =?utf-8?Q?Ludovic_Court=C3=A8s?= References: <5404ACA9-05C6-4349-9736-3185914D8A0F@sarc.name> <87k01h8tqd.fsf@gnu.org> X-Mailer: Apple Mail (2.3608.120.23.2.7) X-Virus-Scanned: ClamAV using ClamSMTP X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 60234 Cc: 60234@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: -1.0 (-) --Apple-Mail=_D17C3DD7-422A-45C2-BAC7-7DB0E34072C0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 > On 18 Jan 2023, at 23:16, Ludovic Court=C3=A8s > wrote: >=20 > Hi Daniel, >=20 > lloda > skribis: >=20 >> .../libguile/threads.h:194:43: error: 'scm_i_current_thread' is = defined with tls model global-dynamic >> 194 | SCM_INTERNAL SCM_THREAD_LOCAL scm_thread *scm_i_current_thread; >> | ^ >> .../libguile/threads.c:357:30: note: previously defined here as = local-dynamic >> 357 | SCM_THREAD_LOCAL scm_thread *scm_i_current_thread =3D NULL; >>=20 >> Simply repeating SCM_INTERNAL in the .c fixes it... >=20 > The problem is that =E2=80=98SCM_INTERNAL=E2=80=99 is synonymous with = =E2=80=98extern=E2=80=99, which > makes no sense for a definition (threads.c:357), so rightfully GCC > GNU/Linux rightfully complains: >=20 > --8<---------------cut here---------------start------------->8--- > CC libguile_3.0_la-threads.lo > threads.c:358:43: warning: 'scm_i_current_thread' initialized and = declared 'extern' > 358 | SCM_INTERNAL SCM_THREAD_LOCAL scm_thread *scm_i_current_thread =3D= NULL; > | ^~~~~~~~~~~~~~~~~~~~ > --8<---------------cut here---------------end--------------->8--- >=20 > It=E2=80=99s just a warning, but still not looking good. Hi, Agreed, I had the same warning on mac os. Looked like the least bad = choice... > Is there something else at play, such as a =E2=80=98-ftls-model=E2=80=99= flag being > passed to GCC somehow (info =E2=80=9C(gcc) Code Gen Options")? >=20 > If not, should we have: >=20 > #define SCM_THREAD_LOCAL \ > __thread __attribute__ ((__tls_model__ ("global-dynamic"))) >=20 > instead (info "(gcc) Common Variable Attributes")? >=20 > Would that work with Clang? >=20 > Ludo=E2=80=99. I don't seem to have any such flags. The attribute does fix the issue on mac os with gcc 12. I hadn't tried clang before, but I did now, and clang 14 works fine with = or without the attribute. So the fix would only be for gcc. Thanks Daniel= --Apple-Mail=_D17C3DD7-422A-45C2-BAC7-7DB0E34072C0 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8

On 18 Jan 2023, at 23:16, Ludovic = Court=C3=A8s <ludo@gnu.org> wrote:

Hi = Daniel,

lloda <lloda@sarc.name> = skribis:

.../libguile/threads.h:194:43: error: 'scm_i_current_thread' = is defined with tls model global-dynamic
194 | = SCM_INTERNAL SCM_THREAD_LOCAL scm_thread *scm_i_current_thread;
    | =             &n= bsp;           &nbs= p;            =      ^
.../libguile/threads.c:357:30: note: previously defined here = as local-dynamic
357 | SCM_THREAD_LOCAL scm_thread = *scm_i_current_thread =3D NULL;

Simply = repeating SCM_INTERNAL in the .c fixes it...

The problem is that = =E2=80=98SCM_INTERNAL=E2=80=99 is synonymous with =E2=80=98extern=E2=80=99= , which
makes no sense for a definition (threads.c:357), = so rightfully GCC
GNU/Linux rightfully complains:

--8<---------------cut = here---------------start------------->8---
CC =       libguile_3.0_la-threads.lo
threads.c:358:43: warning: 'scm_i_current_thread' initialized = and declared 'extern'
358 | SCM_INTERNAL SCM_THREAD_LOCAL = scm_thread *scm_i_current_thread =3D NULL;
    | =             &n= bsp;           &nbs= p;            =      ^~~~~~~~~~~~~~~~~~~~
--8<---------------cut = here---------------end--------------->8---

It=E2=80=99s just a warning, but still not looking good.

Hi,

Agreed, I had the same warning on mac os. Looked like the = least bad choice...

Is there something = else at play, such as a =E2=80=98-ftls-model=E2=80=99 flag being
passed to GCC somehow (info =E2=80=9C(gcc) Code Gen = Options")?

If not, should we have:

#define SCM_THREAD_LOCAL \
  __thread __attribute__ ((__tls_model__ = ("global-dynamic")))

instead (info "(gcc) = Common Variable Attributes")?

Would that = work with Clang?

Ludo=E2=80=99.

I don't seem to have any such = flags.

The attribute does fix = the issue on mac os with gcc 12.

I hadn't tried clang before, but I did now, and clang 14 = works fine with or without the attribute. So the fix would only be for = gcc.

Thanks

 Daniel= --Apple-Mail=_D17C3DD7-422A-45C2-BAC7-7DB0E34072C0--