[MacPorts] #56908: gdal @2.3.1: error: thread-local storage is not supported for the current target
MacPorts
noreply at macports.org
Fri Sep 21 18:41:34 UTC 2018
#56908: gdal @2.3.1: error: thread-local storage is not supported for the current
target
-------------------------+-----------------------------------------
Reporter: ryandesign | Owner: Veence
Type: defect | Status: closed
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: fixed | Keywords: mavericks yosemite haspatch
Port: gdal |
-------------------------+-----------------------------------------
Comment (by kencu):
It's trying to build it with `mpicxx-openmpi-mp`, presumably becaue the
`+openmpi` variant is set, and that apparently does not support
`thread_local`.
{{{
:info:build /bin/sh
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gis_gdal/gdal/work/gdal-2.3.1/gdal/libtool
--mode=compile --silent --tag=CXX /opt/local/bin/mpicxx-openmpi-mp
-std=c++14
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gis_gdal/gdal/work/gdal-2.3.1/gdal/port
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gis_gdal/gdal/work/gdal-2.3.1/gdal/gcore
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gis_gdal/gdal/work/gdal-2.3.1/gdal/alg
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gis_gdal/gdal/work/gdal-2.3.1/gdal/ogr
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gis_gdal/gdal/work/gdal-2.3.1/gdal/ogr/ogrsf_frmts
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gis_gdal/gdal/work/gdal-2.3.1/gdal/gnm
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gis_gdal/gdal/work/gdal-2.3.1/gdal/apps
-DHAVE_AVX_AT_COMPILE_TIME -DHAVE_SSSE3_AT_COMPILE_TIME
-DHAVE_SSE_AT_COMPILE_TIME -pipe -DGDAL_COMPILATION -arch x86_64 -Wall
-Wextra -Winit-self -Wunused-parameter -Wformat -Werror=format-security
-Wno-format-nonliteral -Wshorten-64-to-32 -Wshadow -Werror=vla -Wdate-time
-Wnull-dereference -Wextra-semi -Wfloat-conversion -Wdocumentation -Wno-
documentation-deprecated-sync -Wunused-private-field -Wmissing-prototypes
-Wmissing-declarations -Wnon-virtual-dtor -Woverloaded-virtual -fno-
operator-names -Wimplicit-fallthrough -I../raw -DGNM_ENABLED
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gis_gdal/gdal/work/gdal-2.3.1/gdal/port
-DGDAL_COMPILATION -I/opt/local/include -c -o ../o/ersdataset.lo
ersdataset.cpp
}}}
{{{
:info:build ersdataset.cpp:612:12: error: thread-local storage is not
supported for the current target
:info:build static thread_local int nRecLevel = 0;
:info:build ^
:info:build ersdataset.cpp:987:16: error: thread-local storage is not
supported for the current target
:info:build static thread_local int nRecLevel = 0;
:info:build ^
}}}
--
Ticket URL: <https://trac.macports.org/ticket/56908#comment:7>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list