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.


--
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

Reply via email to