[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Help needed (MinGW)

From: Tim Rühsen
Subject: Re: Help needed (MinGW)
Date: Thu, 4 Jan 2018 11:38:03 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2

On 01/04/2018 11:06 AM, Bruno Haible wrote:
> Hi Tim,
>> sorry, but now the build hangs at
>> In file included from /usr/share/mingw-w64/include/signal.h:10:0,
>>                  from ./signal.h:52,
>>                  from pthread_sigmask.c:20:
>> pthread_sigmask.c:34:1: error: expected identifier or '(' before numeric
>> constant
>>  pthread_sigmask (int how, const sigset_t *new_mask, sigset_t *old_mask)
> Do you have time to provide a patch for this?
> Hint: Look how this situation is handled in the modules 'dirfd' and 'strdup'.

Sorry, no time to look at it any deeper. And a general solution is not
obvious from strdup.c or dirfd.c.

IMO, pthread_sigmask.c shouldn't be relevant with --disable-threads and
thus either not being used or code skipped by

#if defined USE_POSIX_THREADS || defined USE_PTH_THREADS || defined

or similar.

I assume, I don't get the whole concept here (at least not by looking 5
mins at it).

Anyways, I attached a diff that works for me. It's definitely not a
general solution but I can continue to work around a threading issue in
wine / mingw that hangs a project's CI runner.

Regards, Tim

Attachment: pthread_sigmask.diff
Description: Text Data

Attachment: signature.asc
Description: OpenPGP digital signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]