[MacPorts] #67782: py-gdal @3.7.1.1: error: thread-local storage is unsupported for the current target
MacPorts
noreply at macports.org
Fri Jul 21 07:35:14 UTC 2023
#67782: py-gdal @3.7.1.1: error: thread-local storage is unsupported for the
current target
------------------------+----------------------
Reporter: ryandesign | Owner: petrrr
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.8.1
Keywords: | Port: py-gdal
------------------------+----------------------
https://build.macports.org/builders/ports-10.9_x86_64-builder/builds/239026/steps
/install-port/logs/stdio
{{{
extensions/ogr_wrap.cpp:2945:8: error: thread-local storage is unsupported
for the current target
static thread_local int bUseExceptionsLocal = -1;
^
}}}
Usually this would be fixed by adding this line to the port (within the
`if {${name} ne ${subport}}` block):
{{{
compiler.thread_local_storage yes
}}}
This instructs MacPorts to select a compiler that supports thread-local
storage.
--
Ticket URL: <https://trac.macports.org/ticket/67782>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list