[MacPorts] #56908: gdal @2.3.1: error: thread-local storage is not supported for the current target

MacPorts noreply at macports.org
Tue Oct 16 15:38:17 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):

 Replying to [comment:12 jolivetr]:
 > My problem is I use gdal+hdf5 and my hdf5 needs openmpi (I need it for
 some stuff), which forces gdal to compile with openmpi...

 I think then - at this moment in time - turning off the thread support in
 `gdal` might be your best bet. Vince has a dozen variants already in
 `gdal`, so he might do that one day for you. For right now, if you wanted
 it built today, I would do this
 {{{
 bbedit `port file gdal`
 }}}
 find the `configure.args-append` section, and add this line in, to match
 the others:
 {{{
 --with-threads=no
 }}}
 save the Portfile, and try your build again.

-- 
Ticket URL: <https://trac.macports.org/ticket/56908#comment:13>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list