Re: clang doesn't work from cygwin-3.4.0 (Re: clang-format and clang-check return 127 and no text)

2023-01-11 Thread Corinna Vinschen via Cygwin
On Jan 11 00:35, ggl329 via Cygwin wrote: > On 2023/01/09 22:05, Corinna Vinschen via Cygwin wrote: > > On Jan 8 11:02, Jon Turney via Cygwin wrote: > > > > > > $ strace $(realpath $(which clang)) > > > > > > shows the actual problem... > > > > > > --- > > > clang-8.exe

Re: clang doesn't work from cygwin-3.4.0 (Re: clang-format and clang-check return 127 and no text)

2023-01-10 Thread ggl329 via Cygwin
On 2023/01/09 22:05, Corinna Vinschen via Cygwin wrote: On Jan 8 11:02, Jon Turney via Cygwin wrote: $ strace $(realpath $(which clang)) shows the actual problem... --- clang-8.exe - Entry Point Not Found --- The procedure entry point _alloca c

Re: clang doesn't work from cygwin-3.4.0 (Re: clang-format and clang-check return 127 and no text)

2023-01-09 Thread Corinna Vinschen via Cygwin
On Jan 8 11:02, Jon Turney via Cygwin wrote: > On 08/01/2023 09:18, Csaba Raduly via Cygwin wrote: > > On Sun, 8 Jan 2023 at 09:11, ggl329 via Cygwin wrote: > > > > $ strace /usr/bin/clang --version > > strace.exe: error creating process C:\cygwin64\bin\clang, (error 5) > > This will usually av

Re: clang doesn't work from cygwin-3.4.0 (Re: clang-format and clang-check return 127 and no text)

2023-01-08 Thread Jon Turney via Cygwin
On 08/01/2023 13:31, Csaba Raduly wrote: On Sun, 8 Jan 2023 at 12:02, Jon Turney wrote: ... shows the actual problem... ... ... which does correspond to a change made in Cygwin 3.5.0. Sorry, my mistake. I meant to write 3.4.0 here. But my Cygwin is only 3.4.3: Cygwin DLL version in

Re: clang doesn't work from cygwin-3.4.0 (Re: clang-format and clang-check return 127 and no text)

2023-01-08 Thread Jon Turney via Cygwin
On 08/01/2023 09:18, Csaba Raduly via Cygwin wrote: On Sun, 8 Jan 2023 at 09:11, ggl329 via Cygwin wrote: $ strace /usr/bin/clang --version strace.exe: error creating process C:\cygwin64\bin\clang, (error 5) This will usually avail you naught, as clang is a Cygwin symlink, and strace as a pu

Re: clang doesn't work from cygwin-3.4.0 (Re: clang-format and clang-check return 127 and no text)

2023-01-08 Thread Csaba Raduly via Cygwin
On Sun, 8 Jan 2023 at 09:11, ggl329 via Cygwin wrote: > > In my environment, clang doesn't work as reported in > https://cygwin.com/pipermail/cygwin/2022-December/252719.html . > > I found that it doesn't work with cygwin-3.4.0-1, > but works with cygwin-3.3.6-1. > cygwin-3.5.0-0.69.g8a003605c1df

clang doesn't work from cygwin-3.4.0 (Re: clang-format and clang-check return 127 and no text)

2023-01-08 Thread ggl329 via Cygwin
In my environment, clang doesn't work as reported in https://cygwin.com/pipermail/cygwin/2022-December/252719.html . I found that it doesn't work with cygwin-3.4.0-1, but works with cygwin-3.3.6-1. cygwin-3.5.0-0.69.g8a003605c1df doesn't help. Changes in cygwin-3.4.0-1 bring this issue? or clang

clang-format and clang-check return 127 and no text

2022-12-18 Thread Voris, Ben via Cygwin
clang-format --version prints nothing. Its exit code is 127. This has worked but I haven't used it for at least a few weeks. No idea how many packages I've updated since. I reinstalled all packages whose name contains "clang". No change. clang-format --version || echo $? 127 strace clang-forma