bug-guile
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#60234: Build failure on mac os 12.6 / gcc 12.2


From: lloda
Subject: bug#60234: 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






reply via email to

[Prev in Thread] Current Thread [Next in Thread]