[MacPorts] #69237: cryfs @0.11.4: error: thread-local storage is not supported for the current target

MacPorts noreply at macports.org
Tue Jan 30 00:37:51 UTC 2024


#69237: cryfs @0.11.4: error: thread-local storage is not supported for the current
target
------------------------+----------------------
 Reporter:  ryandesign  |      Owner:  jolan78
     Type:  defect      |     Status:  assigned
 Priority:  Normal      |  Milestone:
Component:  ports       |    Version:  2.9.0
 Keywords:              |       Port:  cryfs
------------------------+----------------------
 cryfs fails to build on this system because the compiler doesn't support
 thread-local storage:

 https://build.macports.org/builders/ports-10.10_x86_64-builder/builds/255373/steps
 /install-port/logs/stdio
 {{{
 In file included from
 /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_net_cryfs/cryfs/work/cryfs-0.11.4/src
 /cpp-utils/crypto/symmetric/ciphers.cpp:1:
 In file included from
 /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_net_cryfs/cryfs/work/cryfs-0.11.4/src
 /cpp-utils/crypto/symmetric/ciphers.h:11:
 In file included from
 /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_net_cryfs/cryfs/work/cryfs-0.11.4/src
 /cpp-utils/crypto/symmetric/GCM_Cipher.h:5:
 In file included from
 /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_net_cryfs/cryfs/work/cryfs-0.11.4/src
 /cpp-utils/crypto/symmetric/AEAD_Cipher.h:5:
 In file included from
 /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_net_cryfs/cryfs/work/cryfs-0.11.4/src
 /cpp-utils/crypto/symmetric/../../data/FixedSizeData.h:9:
 /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_net_cryfs/cryfs/work/cryfs-0.11.4/src
 /cpp-utils/crypto/symmetric/../../data/../assert/assert.h:38:20: error:
 thread-local storage is not supported for the current target
             static thread_local int num_instances_; // initialized to zero
 in assert.cpp
                    ^
 }}}
 Add `compiler.thread_local_storage yes` to the Portfile to tell MacPorts
 to select a compiler that supports thread-local storage.

-- 
Ticket URL: <https://trac.macports.org/ticket/69237>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list