GNU bug report logs - #60234
Build failure on mac os 12.6 / gcc 12.2

Previous Next

Package: guile;

Reported by: lloda <lloda <at> sarc.name>

Date: Wed, 21 Dec 2022 06:50:02 UTC

Severity: normal

Full log


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

From: lloda <lloda <at> sarc.name>
To: bug-guile <at> gnu.org
Subject: Build failure on mac os 12.6 / gcc 12.2
Date: Wed, 21 Dec 2022 07:49:37 +0100
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 = NULL;

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

regards

  Daniel





This bug report was last modified 2 years and 207 days ago.

Previous Next


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