#68535 closed defect (fixed)

orfeotoolbox @8.1.2: error: thread-local storage is not supported for the current target

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: stromnov (Andrey Stromnov)
Priority: Normal Milestone:
Component: ports Version: 2.8.1
Keywords: yosemite Cc: nilason (Nicklas Larsson)
Port: orfeotoolbox

Description

https://build.macports.org/builders/ports-10.10_x86_64-builder/builds/243479/steps/install-port/logs/stdio

/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_orfeotoolbox/orfeotoolbox/work/OTB-8.1.2/Modules/IO/IOGDAL/src/otbDEMHandler.cxx:384:10: error: thread-local storage is not supported for the current target
  static thread_local auto tls = DoFetchOrCreateHandler(); // no need to lock as this is a static TLS
         ^

Adding compiler.thread_local_storage yes to the Portfile is the usual fix.

Change History (2)

comment:1 Changed 11 months ago by nilason (Nicklas Larsson)

Cc: nilason added

comment:2 Changed 11 months ago by nilason (Nicklas Larsson)

Resolution: fixed
Status: assignedclosed

In d02c2bc4eabadd6e0fcd1d1abf940e69dbfa6feb/macports-ports (master):

orfeotoolbox: support thread_local storage

Closes #68535

Note: See TracTickets for help on using tickets.