clang doesn't work from cygwin-3.4.0 (Re: clang-format and clang-check return 127 and no text)
Jon Turney
jon.turney@dronecode.org.uk
Sun Jan 8 11:02:23 GMT 2023
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.
---------------------------
... which does correspond to a change made in Cygwin 3.5.0.
More information about the Cygwin
mailing list