Thread (10 messages) flat view 10 messages, 4 authors, 2021-11-04

Re: [PATCH v2] async_die_is_recursing: work around GCC v11.x issue on Fedora

From: Johannes Schindelin <hidden>
Date: 2021-11-04 16:33:24

Hi Carlo,

On Thu, 4 Nov 2021, Carlo Arenas wrote:
On Thu, Nov 4, 2021 at 1:43 AM Johannes Schindelin
[off-list ref] wrote:
quoted
My best guess is that my GCC (which is v11.2.0) and Fedora's GCC (which is
v11.2.1 plus the usual Fedora customization) behave slightly differently
with respect to that optional `size-index` argument:
`pthread_setspecific()` is essentially declared without a `size-index`, so
I guess GCC v11.2.1 probably defaults to `size-index = 1`.
Got to read the whole explanation that Victoria put together.

for the warning to trigger on that gcc, you got also to have the
attribute in the header as shown by the link[1] she provided, and
which I am sure could be a nice thing to send toward those helpful
folks of the MSYS2 project so it can be added to their WinPthread
headers, as was done in glibc.
D'oh. Of course we do not have glibc in the Git for Windows SDK! Thanks
for helping me understand this.

Ciao,
Dscho
Carlo

[1] https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=a1561c3bbe8
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help