<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<html lang="en">
<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: 0.875rem;
}
body {
-webkit-text-shadow: rgba(255,255,255,0.01) 0 0 1px;
}
body {
font-family: -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,0.01) 0 0 1px; font-family: -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/cybear" style="color: #1068bf;">Bjørn Christensen</a>
commented on a
<a href="https://gitlab.com/gnutls/gnutls/-/issues/1380#note_1003840808" style="color: #1068bf;">discussion</a>:
</p>
<div class="md" style="color: #303030; word-wrap: break-word;">
<p dir="auto" style="color: #303030; margin: 0 0 16px;" align="initial">Hello Daiki,</p>
<p dir="auto" style="color: #303030; margin: 0 0 16px;" align="initial">I have pulled the image and tried to build some test code using __declspec(thread) and I get the following error:</p>
<p dir="auto" style="color: #303030; margin: 0 0 16px;" align="initial">Function.cpp:64:24: warning: 'thread' attribute directive ignored [-Wattributes]</p>
<p dir="auto" style="color: #303030; margin: 0 0 16px;" align="initial">64 | __declspec(thread) UI4 var = 0;</p>
<div class="gl-relative markdown-code-block js-markdown-code">
<pre class="code highlight js-syntax-highlight language-plaintext" lang="plaintext" data-canonical-lang="" v-pre="true" style='display: block; font-size: 13px; color: #303030; line-height: 1.6em; overflow-x: auto; border-radius: 2px; position: relative; font-family: "Menlo", "DejaVu Sans Mono", "Liberation Mono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", "lucida console", monospace; word-break: break-all; word-wrap: break-word; background-color: #fafafa; margin: 0 0 16px; padding: 12px; border: 1px solid #dbdbdb;'><code style='font-size: inherit; color: inherit; word-wrap: normal; word-break: keep-all; background-color: inherit; border-radius: 4px; white-space: pre; margin-top: 0; font-family: "Menlo", "DejaVu Sans Mono", "Liberation Mono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", "lucida console", monospace; overflow-wrap: normal; padding: unset;'><span id="LC1" class="line" lang="plaintext" style="margin-top: 0;">  |                        ^~~</span></code></pre>
<copy-code></copy-code>
</div>
<p dir="auto" style="color: #303030; margin: 0 0 16px;" align="initial">But I am not completely sure I know, if you have things configured that would enable this pragma, or if that can be done at all?</p>
<p dir="auto" style="color: #303030; margin: 0 0 16px;" align="initial">/bhc</p>
<details style="margin-bottom: 0;"><summary style="margin-top: 0;">...</summary>
<p style="color: #303030; margin: 0 0 16px 1rem;">From: <a href="mailto:gitlab@mg.gitlab.com" style="color: #1068bf; margin-top: 0;">gitlab@mg.gitlab.com</a> <a href="mailto:gitlab@mg.gitlab.com" style="color: #1068bf;">gitlab@mg.gitlab.com</a>
Sent: Friday, 24 June 2022 01.14
To: <a href="mailto:bhc@insight.dk" style="color: #1068bf;">bhc@insight.dk</a>
Subject: Re: GnuTLS | Crash (0xC0000005) when closing application. (<a href="https://gitlab.com/gnutls/gnutls/-/issues/1380" data-original="#1380" data-link="false" data-link-reference="false" data-project="179611" data-issue="110609792" data-project-path="gnutls/gnutls" data-iid="1380" data-issue-type="issue" data-reference-type="issue" data-container="body" data-placement="top" title="Crash (0xC0000005) when closing application." class="gfm gfm-issue" style="color: #1068bf;">#1380</a>)</p>
<p style="color: #303030; margin: 0 0 16px 1rem;">Daiki Ueno <a href="https://gitlab.com/dueno" style="color: #1068bf; margin-top: 0;">https://gitlab.com/dueno</a>  commented <a href="https://gitlab.com/gnutls/gnutls/-/issues/1380#note_1003639170" data-original="https://gitlab.com/gnutls/gnutls/-/issues/1380#note_1003639170" data-link="false" data-link-reference="true" data-project="179611" data-issue="110609792" data-project-path="gnutls/gnutls" data-iid="1380" data-issue-type="issue" data-reference-type="issue" data-container="body" data-placement="top" title="Crash (0xC0000005) when closing application." class="gfm gfm-issue" style="color: #1068bf;">#1380 (comment 1003639170)</a> :</p>
<p style="color: #303030; margin: 0 0 16px 1rem;">Is this a known problem?</p>
<p style="color: #303030; margin: 0 0 16px 1rem;">Not that I know of.</p>
<p style="color: #303030; margin: 0 0 16px 1rem;">Is it because I am using a too old version of mingw? Which version of mingw are you using when cross compiling to windows?</p>
<p style="color: #303030; margin: 0 0 16px 1rem;">The version used in our CI seems to be 9.0.0:</p>
<p style="color: #303030; margin: 0 0 16px 1rem;">$ podman run -ti --pull=always registry.gitlab.com/gnutls/build-images:buildenv-mingw-fedora35
[root@0bac5451fc8a /]# rpm -qa mingw32* | grep 'headers|crt'
mingw32-crt-9.0.0-2.fc35.noarch
mingw32-headers-9.0.0-2.fc35.noarch
[root@0bac5451fc8a /]# rpm -qf /usr/bin/x86_64-w64-mingw32-gcc
mingw64-gcc-11.2.1-3.fc35.x86_64</p>
<p style="color: #303030; margin: 0 0 16px 1rem;">—
Reply to this email directly or view it on GitLab <a href="https://gitlab.com/gnutls/gnutls/-/issues/1380#note_1003639170" data-original="https://gitlab.com/gnutls/gnutls/-/issues/1380#note_1003639170" data-link="false" data-link-reference="true" data-project="179611" data-issue="110609792" data-project-path="gnutls/gnutls" data-iid="1380" data-issue-type="issue" data-reference-type="issue" data-container="body" data-placement="top" title="Crash (0xC0000005) when closing application." class="gfm gfm-issue" style="color: #1068bf; margin-top: 0;">#1380 (comment 1003639170)</a> .
You're receiving this email because of your account on gitlab.com. If you'd like to receive fewer emails, you can unsubscribe <a href="https://gitlab.com/-/sent_notifications/REDACTED/unsubscribe" style="color: #1068bf;">https://gitlab.com/-/sent_notifications/REDACTED/unsubscribe</a>  from this thread or adjust your notification settings.</p>
</details>
</div>


</div>
<div class="footer" style="margin-top: 10px;">
<p style="font-size: small; color: #666;">

<br>
Reply to this email directly or <a href="https://gitlab.com/gnutls/gnutls/-/issues/1380#note_1003840808" style="color: #1068bf;">view it on GitLab</a>.
<br>
You're receiving this email because of your account on gitlab.com.
If you'd like to receive fewer emails, you can
<a href="https://gitlab.com/-/sent_notifications/0c4e372696b792eaf4c1d8856e4a185d/unsubscribe" style="color: #1068bf;">unsubscribe</a>
from this thread or
adjust your notification settings.
<script type="application/ld+json">{"@context":"http://schema.org","@type":"EmailMessage","action":{"@type":"ViewAction","name":"View Issue","url":"https://gitlab.com/gnutls/gnutls/-/issues/1380#note_1003840808"}}</script>


</p>
</div>
</body>
</html>