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

Corinna Vinschen corinna-cygwin@cygwin.com
Mon Jan 9 13:05:59 GMT 2023


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 <cygwin@cygwin.com> 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 pure Windows program doesn't understand those (which is what that error
> is trying to tell you)
> 
> $ strace $(realpath $(which clang))
> 
> shows the actual problem...
> 
> ---------------------------
> clang-8.exe - Entry Point Not Found
> ---------------------------
> The procedure entry point _alloca could not be located in the dynamic link
> library C:\cygwin64\bin\cygLLVMSupport-8.dll.
> ---------------------------

This should be fixed in cygwin-3.5.0-0.72.g7886327fbf92 and,
ultimately, a later 3.4.4 release.


Thanks,
Corinna


More information about the Cygwin mailing list