[MacPorts] #67781: postgis3 @3.3.3: error: thread-local storage is unsupported for the current target
MacPorts
noreply at macports.org
Fri Jul 21 07:20:12 UTC 2023
#67781: postgis3 @3.3.3: error: thread-local storage is unsupported for the current
target
------------------------+----------------------
Reporter: ryandesign | Owner: Veence
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.8.1
Keywords: | Port: postgis3
------------------------+----------------------
https://build.macports.org/builders/ports-10.9_x86_64-builder/builds/239016/steps
/install-port/logs/stdio
{{{
In file included from lwgeom_wagyu.cpp:28:
In file included from ./include/mapbox/geometry/wagyu/wagyu.hpp:10:
In file included from
./include/mapbox/geometry/wagyu/build_local_minima_list.hpp:6:
In file included from
./include/mapbox/geometry/wagyu/local_minimum_util.hpp:4:
./include/mapbox/geometry/wagyu/interrupt.hpp:12:1: error: thread-local
storage is unsupported for the current target
thread_local bool WAGYU_INTERRUPT_REQUESTED = false;
^
}}}
Usually this would be fixed by adding this line to the port:
{{{
compiler.thread_local_storage yes
}}}
This instructs MacPorts to select a compiler that supports thread-local
storage.
--
Ticket URL: <https://trac.macports.org/ticket/67781>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list