[MacPorts] #60638: cgal5 @5.0.2: error: thread-local storage is not supported for the current target

MacPorts noreply at macports.org
Sat Jun 13 05:31:31 UTC 2020


#60638: cgal5 @5.0.2: error: thread-local storage is not supported for the current
target
------------------------+----------------------
 Reporter:  ryandesign  |      Owner:  Veence
     Type:  defect      |     Status:  assigned
 Priority:  Normal      |  Milestone:
Component:  ports       |    Version:  2.6.2
 Keywords:              |       Port:  cgal5
------------------------+----------------------
 [https://build.macports.org/builders/ports-10.10_x86_64-builder/builds/116247/steps
 /install-port/logs/stdio cgal5 doesn't build on Yosemite]:

 {{{
 /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_cgal5/cgal5/work/CGAL-5.0.2/include/CGAL/Modular_arithmetic/Residue_type.h:68:5:
 error: thread-local storage is not supported for the current target
     CGAL_STATIC_THREAD_LOCAL_VARIABLE(int, prime_int, 67111067);
     ^
 /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gis_cgal5/cgal5/work/CGAL-5.0.2/include/CGAL/tss.h:21:10:
 note: expanded from macro 'CGAL_STATIC_THREAD_LOCAL_VARIABLE'
   static thread_local TYPE VAR(ARG1)
          ^
 }}}

 Maybe this can be made to work using:

 {{{
 compiler.thread_local_storage yes
 # Work around thread local compiler selection bug. Remove after
 # https://github.com/macports/macports-base/pull/161 is released.
 PortGroup compiler_blacklist_versions 1.0
 compiler.blacklist-append {clang < 800}
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/60638>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list