#69237 closed defect (fixed)

cryfs @0.11.4: error: thread-local storage is not supported for the current target

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: jolan78
Priority: Normal Milestone:
Component: ports Version: 2.9.0
Keywords: Cc:
Port: cryfs

Description

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.

Change History (1)

comment:1 Changed 10 months ago by jolan78

Resolution: fixed
Status: assignedclosed

In 6005f503e179efd2a09a74a880ddb242d6696b4a/macports-ports (master):

cryfs: set compiler.thread_local_storage

Closes: #69237

Note: See TracTickets for help on using tickets.