* clang doesn't work from cygwin-3.4.0 (Re: clang-format and clang-check return 127 and no text)
@ 2023-01-08 8:11 ggl329
2023-01-08 9:18 ` Csaba Raduly
0 siblings, 1 reply; 7+ messages in thread
From: ggl329 @ 2023-01-08 8:11 UTC (permalink / raw)
To: 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 needs to be rebuilt?
clang 8.0.1-1
compiler-rt 8.0.1-1
libclang-devel 8.0.1-1
libclang8 8.0.1-1
libllvm-devel 8.0.1-1
libllvm8 8.0.1-1
libpolly-devel 8.0.1-1
libpolly8 8.0.1-1
llvm 8.0.1-1
# Sorry for creating a new thread.
# I didn't receive the original report, maybe due to
# https://cygwin.com/pipermail/cygwin/2022-December/252726.html .
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: clang doesn't work from cygwin-3.4.0 (Re: clang-format and clang-check return 127 and no text)
2023-01-08 8:11 clang doesn't work from cygwin-3.4.0 (Re: clang-format and clang-check return 127 and no text) ggl329
@ 2023-01-08 9:18 ` Csaba Raduly
2023-01-08 11:02 ` Jon Turney
0 siblings, 1 reply; 7+ messages in thread
From: Csaba Raduly @ 2023-01-08 9:18 UTC (permalink / raw)
To: ggl329; +Cc: cygwin
On Sun, 8 Jan 2023 at 09:11, ggl329 via Cygwin <cygwin@cygwin.com> 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 doesn't help.
> Changes in cygwin-3.4.0-1 bring this issue?
> or clang needs to be rebuilt?
>
> clang 8.0.1-1
[snip]
This was working before I upgraded Cygwin:
$ clang --version
clang version 8.0.1 (tags/RELEASE_801/final)
Target: x86_64-unknown-windows-cygnus
Thread model: posix
InstalledDir: /usr/bin
$ clang-format.exe --version
clang-format version 8.0.1 (tags/RELEASE_801/final)
$ uname -a
CYGWIN_NT-10.0-19045 AMDAHL 3.3.5-341.x86_64 2022-05-13 12:27 UTC x86_64 Cygwin
But it doesn't work anymore with
$ uname -a
CYGWIN_NT-10.0-19045 AMDAHL 3.4.3-1.x86_64 2022-12-16 12:38 UTC x86_64 Cygwin
(same symptom as https://cygwin.com/pipermail/cygwin/2022-December/252719.html)
Additionally,
$ strace /usr/bin/clang --version
strace.exe: error creating process C:\cygwin64\bin\clang, (error 5)
$ gdb -q /usr/bin/clang -ex run
Reading symbols from /usr/bin/clang...
(No debugging symbols found in /usr/bin/clang)
Starting program: /usr/bin/clang
[New Thread 804.0x2d50]
[New Thread 804.0xe6c]
[New Thread 804.0x200c]
[Thread 804.0xe6c exited with code 3221225785]
[Thread 804.0x10b8 exited with code 3221225785]
[Thread 804.0x2d50 exited with code 3221225785]
During startup program exited with code 0xc0000139.
0xC0000139 is "Entry point not found"
Csaba
--
You can get very substantial performance improvements
by not doing the right thing. - Scott Meyers, An Effective C++11/14 Sampler
So if you're looking for a completely portable, 100% standards-conformant way
to get the wrong information: this is what you want. - Scott Meyers (C++TDaWYK)
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: clang doesn't work from cygwin-3.4.0 (Re: clang-format and clang-check return 127 and no text)
2023-01-08 9:18 ` Csaba Raduly
@ 2023-01-08 11:02 ` Jon Turney
[not found] ` <CAEhDDbCcnKFxcuOVurzwA_ktnq07WUaH=HGh2cF0ymo_+1CvAQ@mail.gmail.com>
2023-01-09 13:05 ` Corinna Vinschen
0 siblings, 2 replies; 7+ messages in thread
From: Jon Turney @ 2023-01-08 11:02 UTC (permalink / raw)
To: Csaba Raduly, The Cygwin Mailing List
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.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: clang doesn't work from cygwin-3.4.0 (Re: clang-format and clang-check return 127 and no text)
[not found] ` <CAEhDDbCcnKFxcuOVurzwA_ktnq07WUaH=HGh2cF0ymo_+1CvAQ@mail.gmail.com>
@ 2023-01-08 15:25 ` Jon Turney
0 siblings, 0 replies; 7+ messages in thread
From: Jon Turney @ 2023-01-08 15:25 UTC (permalink / raw)
To: Csaba Raduly, The Cygwin Mailing List
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 info:
> DLL version: 3.4.3
> API major: 0
> API minor: 344
> Shared data: 5
> DLL identifier: cygwin1
>
> (and the original poster claimed to have 3.4.0-1)
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: clang doesn't work from cygwin-3.4.0 (Re: clang-format and clang-check return 127 and no text)
2023-01-08 11:02 ` Jon Turney
[not found] ` <CAEhDDbCcnKFxcuOVurzwA_ktnq07WUaH=HGh2cF0ymo_+1CvAQ@mail.gmail.com>
@ 2023-01-09 13:05 ` Corinna Vinschen
2023-01-10 15:35 ` ggl329
1 sibling, 1 reply; 7+ messages in thread
From: Corinna Vinschen @ 2023-01-09 13:05 UTC (permalink / raw)
To: 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 <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
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: clang doesn't work from cygwin-3.4.0 (Re: clang-format and clang-check return 127 and no text)
2023-01-09 13:05 ` Corinna Vinschen
@ 2023-01-10 15:35 ` ggl329
2023-01-11 9:24 ` Corinna Vinschen
0 siblings, 1 reply; 7+ messages in thread
From: ggl329 @ 2023-01-10 15:35 UTC (permalink / raw)
To: 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 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.
I confirmed that clang exits successfully
in cygwin-3.5.0-0.79.g3b7df69aaa57 environment.
Thanks.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: clang doesn't work from cygwin-3.4.0 (Re: clang-format and clang-check return 127 and no text)
2023-01-10 15:35 ` ggl329
@ 2023-01-11 9:24 ` Corinna Vinschen
0 siblings, 0 replies; 7+ messages in thread
From: Corinna Vinschen @ 2023-01-11 9:24 UTC (permalink / raw)
To: ggl329; +Cc: 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 - 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.
>
> I confirmed that clang exits successfully
> in cygwin-3.5.0-0.79.g3b7df69aaa57 environment.
> Thanks.
Thanks for testing!
Corinna
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2023-01-11 9:24 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-08 8:11 clang doesn't work from cygwin-3.4.0 (Re: clang-format and clang-check return 127 and no text) ggl329
2023-01-08 9:18 ` Csaba Raduly
2023-01-08 11:02 ` Jon Turney
[not found] ` <CAEhDDbCcnKFxcuOVurzwA_ktnq07WUaH=HGh2cF0ymo_+1CvAQ@mail.gmail.com>
2023-01-08 15:25 ` Jon Turney
2023-01-09 13:05 ` Corinna Vinschen
2023-01-10 15:35 ` ggl329
2023-01-11 9:24 ` Corinna Vinschen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).