[MacPorts] #57872: gnutls @3.6.5: error: thread-local storage is unsupported for the current target
MacPorts
noreply at macports.org
Mon Jan 14 02:08:59 UTC 2019
#57872: gnutls @3.6.5: error: thread-local storage is unsupported for the current
target
----------------------+---------------------------------------
Reporter: mrkapqa | Owner: Schamschula
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.5.4
Resolution: | Keywords: snowleopard leopard tiger
Port: gnutls |
----------------------+---------------------------------------
Comment (by hidikal):
I required these changes to the current portfile,
[https://github.com/macports/macports-
ports/commit/8ca67432c550eeaecb8f280930d4be8069180ccb], to build on Snow
Leopard.
{{{
---
/opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/devel/gnutls/Portfile
2019-01-12 23:06:44.000000000 +1000
+++ devel/gnutls/Portfile 2019-01-14 10:36:48.000000000 +1000
@@ -145,6 +145,11 @@
compiler.blacklist-append {clang < 400}
}
+platform darwin 10 {
+ compiler.blacklist-append macports-clang-3.4
+ compiler.whitelist-append macports-clang-5.0
+}
+
livecheck.type regex
livecheck.url [lindex ${master_sites} 0]
livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"
}}}
The blacklist `clang < 400` does not catch `macports-clang-3.4` and
`macports-clang-5.0` is not selected without adding to the whitelist.
--
Ticket URL: <https://trac.macports.org/ticket/57872#comment:18>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list