Opened 3 years ago
Closed 3 years ago
#67782 closed defect (fixed)
py-gdal @3.7.1.1: error: thread-local storage is unsupported for the current target
| Reported by: | ryandesign (Ryan Carsten Schmidt) | Owned by: | petrrr |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 2.8.1 |
| Keywords: | Cc: | nilason (Nicklas Larsson) | |
| Port: | py-gdal |
Description
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.
Change History (3)
comment:1 Changed 3 years ago by nilason (Nicklas Larsson)
| Cc: | nilason added |
|---|
comment:2 Changed 3 years ago by nilason (Nicklas Larsson)
comment:3 Changed 3 years ago by nilason (Nicklas Larsson)
| Resolution: | → fixed |
|---|---|
| Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.

Addressed with https://github.com/macports/macports-ports/pull/19586