<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<html lang="en" style='--code-editor-font: var(--default-mono-font, "GitLab Mono"), JetBrains Mono, Menlo, DejaVu Sans Mono, Liberation Mono, Consolas, Ubuntu Mono, Courier New, andale mono, lucida console, monospace;'>
<head>
<meta content="text/html; charset=US-ASCII" http-equiv="Content-Type">
<title>
GitLab
</title>
<style data-premailer="ignore" type="text/css">
a { color: #1068bf; }
</style>
<style>img {
max-width: 100%; height: auto;
}
body {
font-size: .875rem;
}
body {
-webkit-text-shadow: rgba(255,255,255,.01) 0 0 1px;
}
body {
font-family: var(--default-regular-font, "GitLab Sans"),-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Noto Sans",Ubuntu,Cantarell,"Helvetica Neue",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji"; font-size: inherit;
}
</style>
</head>
<body style='font-size: inherit; -webkit-text-shadow: rgba(255,255,255,.01) 0 0 1px; font-family: var(--default-regular-font, "GitLab Sans"),-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Noto Sans",Ubuntu,Cantarell,"Helvetica Neue",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";'>
<div class="content">
<p style="color: #777777;">
<a href="https://gitlab.com/asosedkin">Alexander Sosedkin</a>
<a href="https://gitlab.com/gnutls/gnutls/-/issues/1556#note_1957614164">commented</a>:
</p>
<div class="md" style="color: #333238; word-wrap: break-word;">
<blockquote dir="auto" style="font-size: inherit; color: #535158; padding-top: .5rem; padding-bottom: .5rem; padding-left: 1.5rem; --tw-shadow: inset 4px 0 0 0 var(--gray-100, #dcdcde); --tw-shadow-colored: inset 4px 0 0 0 var(--tw-shadow-color); box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow); border-top-width: 0; border-bottom-width: 0; border-right-width: 0; margin: 0 0 .5rem;" align="initial">
<p style="color: inherit; line-height: 1.5; margin: 0;">With which version got thread local storage mandatory?</p>
</blockquote>
<p dir="auto" style="color: #333238; margin: 0 0 16px;" align="initial">git blame suggests <a href="https://gitlab.com/gnutls/gnutls/-/commit/1677f1ac06beecb2fb23f0f49d89260f86131a5c" data-reference-type="commit" data-original="1677f1ac06beecb2fb23f0f49d89260f86131a5c" data-link="false" data-link-reference="false" data-commit="1677f1ac06beecb2fb23f0f49d89260f86131a5c" data-project="179611" data-container="body" data-placement="top" title="Use a thread local random generator." class="gfm gfm-commit has-tooltip" style='font-family: var(--default-mono-font, "GitLab Mono"),"JetBrains Mono","Menlo","DejaVu Sans Mono","Liberation Mono","Consolas","Ubuntu Mono","Courier New","andale mono","lucida console",monospace; font-variant-ligatures: none; font-size: 95%; margin-top: 0;'>1677f1ac</a> from January 2017. That'd be, like, 3.6.0?</p>
<blockquote dir="auto" style="font-size: inherit; color: #535158; padding-top: .5rem; padding-bottom: .5rem; padding-left: 1.5rem; --tw-shadow: inset 4px 0 0 0 var(--gray-100, #dcdcde); --tw-shadow-colored: inset 4px 0 0 0 var(--tw-shadow-color); box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow); border-top-width: 0; border-bottom-width: 0; border-right-width: 0; margin: .5rem 0;" align="initial">
<p style="color: inherit; line-height: 1.5; margin: 0;">CFLAGS=-DNO_TLS</p>
</blockquote>
<p dir="auto" style="color: #333238; margin: 0 0 16px;" align="initial">I also can't help but note <code style='font-size: 90%; color: #1f1e24; word-wrap: break-word; background-color: #ececef; border-radius: .25rem; margin-top: 0; font-weight: inherit; font-family: var(--default-mono-font, "GitLab Mono"),"JetBrains Mono","Menlo","DejaVu Sans Mono","Liberation Mono","Consolas","Ubuntu Mono","Courier New","andale mono","lucida console",monospace; vertical-align: bottom; white-space: pre-wrap; overflow-wrap: break-word; word-break: keep-all; padding: 2px 4px;'>-DDNO_TLS</code> isn't something defined by gnutls.</p>
<blockquote dir="auto" style="font-size: inherit; color: #535158; padding-top: .5rem; padding-bottom: .5rem; padding-left: 1.5rem; --tw-shadow: inset 4px 0 0 0 var(--gray-100, #dcdcde); --tw-shadow-colored: inset 4px 0 0 0 var(--tw-shadow-color); box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow); border-top-width: 0; border-bottom-width: 0; border-right-width: 0; margin: .5rem 0;" align="initial">
<p style="color: inherit; line-height: 1.5; margin: 0;">Maybe I can switch to an older version. I'm looking for a workaround</p>
</blockquote>
<p dir="auto" style="color: #333238; margin: 0 0 16px;" align="initial">Start with double-checking your platform really does not support TLS, maybe you're just missing a compile flag or something? Maybe go the other way around, try a modern compiler and the newest version of gnutls, which uses gnulib's glthreads/tls, that could be more portable.</p>
<blockquote dir="auto" style="font-size: inherit; color: #535158; padding-top: .5rem; padding-bottom: .5rem; padding-left: 1.5rem; --tw-shadow: inset 4px 0 0 0 var(--gray-100, #dcdcde); --tw-shadow-colored: inset 4px 0 0 0 var(--tw-shadow-color); box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow); border-top-width: 0; border-bottom-width: 0; border-right-width: 0; margin: .5rem 0;" align="initial">
<p style="color: inherit; line-height: 1.5; margin: 0;">gnutls can't be compiled with out TLS support</p>
</blockquote>
<p dir="auto" style="color: #333238; margin: 0;" align="initial">I'm really not sure gnutls would be interested in maintaining platforms without TLS. I, for one, can't name a single one.</p>
</div>
</div>
<div class="footer" style="margin-top: 10px;">
<p style="font-size: small; color: #737278;">
—
<br>
Reply to this email directly or <a href="https://gitlab.com/gnutls/gnutls/-/issues/1556#note_1957614164">view it on GitLab</a>.
<br>
You're receiving this email because of your account on <a target="_blank" rel="noopener noreferrer" href="https://gitlab.com">gitlab.com</a>. <a href="https://gitlab.com/-/sent_notifications/6ee9111bae7d6bb691f071c39caf8009/unsubscribe" target="_blank" rel="noopener noreferrer">Unsubscribe</a> from this thread · <a href="https://gitlab.com/-/profile/notifications" target="_blank" rel="noopener noreferrer" class="mng-notif-link">Manage all notifications</a> · <a href="https://gitlab.com/help" target="_blank" rel="noopener noreferrer" class="help-link">Help</a>
<script type="application/ld+json">{"@context":"http://schema.org","@type":"EmailMessage","action":{"@type":"ViewAction","name":"View Issue","url":"https://gitlab.com/gnutls/gnutls/-/issues/1556#note_1957614164"}}</script>
</p>
</div>
</body>
</html>