public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Csaba Raduly <rcsaba@gmail.com>
To: ggl329 <ggl329@gmail.com>
Cc: cygwin@cygwin.com
Subject: Re: clang doesn't work from cygwin-3.4.0 (Re: clang-format and clang-check return 127 and no text)
Date: Sun, 8 Jan 2023 10:18:25 +0100	[thread overview]
Message-ID: <CAEhDDbBvTsXqxA1okBLwdZdmzfm3XXr5jmXdoBZ60Mp4u0ho8Q@mail.gmail.com> (raw)
In-Reply-To: <1845715a-7507-73dd-ecc3-da0c842ac64d@gmail.com>

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)

  reply	other threads:[~2023-01-08  9:18 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-08  8:11 ggl329
2023-01-08  9:18 ` Csaba Raduly [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAEhDDbBvTsXqxA1okBLwdZdmzfm3XXr5jmXdoBZ60Mp4u0ho8Q@mail.gmail.com \
    --to=rcsaba@gmail.com \
    --cc=cygwin@cygwin.com \
    --cc=ggl329@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).