delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2023/01/08/04:19:50

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 34441385842A
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1673169549;
bh=XUDEvVWzCwM11Sacq/thzPvghuvzFVfDDGZweJnj/Pw=;
h=References:In-Reply-To:Date:Subject:To:Cc:List-Id:
List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe:
From:Reply-To:From;
b=bVUeyB6QeH28b/7nLB/sN/Rz8YHPjGh7Y5wjgvm//SsdO7nyMDbD2dj9bjC4YfyVM
l5y14LAuFG236yQfLHDlAkhVmPrPMJ0QWNbmYpq8jTAfcQRDQVwo0TVIS17c2U7v1w
yxi4lr/o4Z14bDSuXRnaPKOO0BJeIt6bYw+5tERw=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 73D713858D33
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20210112;
h=cc:to:subject:message-id:date:from:in-reply-to:references
:mime-version:x-gm-message-state:from:to:cc:subject:date:message-id
:reply-to;
bh=uhTmbcfo0w3JDYxsVwY9PsMyDLSEbc+N4ADDdhUumNA=;
b=5wLmKiE4Kaz7Ls49YHTCZSSI4YKXTsxZgbOVDeFFxRXD+Fx9B65JBRXv6z/6HrICdY
ufvcKs6D0HYqScWQVeEX4YRPeemA6d4x8cTBjHmYd6gSz1GJKNoVB6UGibOnwtdFmBmz
Qh/eM0xaB1WATY09ky1Dbyf0jn4XD/FF6GZk5wRhA1rm9JHdFF+zjsYObA5zZUbeupjo
e/husDaVRatJxxy5mfuqIVBzgzcNtSFdS5IkDIFM0iQWmnobKgesfVEHNLi4IQDmbDj8
i9AdsWi4doj+2ucQHtj3kUPD4e8F2IoHHfd9gMaPjGrBKDNhYEd2x7rxNiDwNHUubp9y
VknA==
X-Gm-Message-State: AFqh2kpl4iiAuA62UWM1lbih5X8adEIp4wdBsDEK++kAk/ciA03mi5B7
P/M8PDiz004LFrP3ThkaAmMI0ESntKpSIkfk9kU=
X-Google-Smtp-Source: AMrXdXv8Ptkn/APltZhrjeY4UyGIyFhoS8VdgNRY8tYLGIDJZtFfTFmwN/JlZYSyIy20BrwDZHM4tE0Qyh024X+x2VM=
X-Received: by 2002:a67:ee93:0:b0:3b2:a92d:a1f0 with SMTP id
n19-20020a67ee93000000b003b2a92da1f0mr7831527vsp.46.1673169532812; Sun, 08
Jan 2023 01:18:52 -0800 (PST)
MIME-Version: 1.0
References: <1845715a-7507-73dd-ecc3-da0c842ac64d AT gmail DOT com>
In-Reply-To: <1845715a-7507-73dd-ecc3-da0c842ac64d@gmail.com>
Date: Sun, 8 Jan 2023 10:18:25 +0100
Message-ID: <CAEhDDbBvTsXqxA1okBLwdZdmzfm3XXr5jmXdoBZ60Mp4u0ho8Q@mail.gmail.com>
Subject: Re: clang doesn't work from cygwin-3.4.0 (Re: clang-format and
clang-check return 127 and no text)
To: ggl329 <ggl329 AT gmail DOT com>
Cc: cygwin AT cygwin DOT com
X-Spam-Status: No, score=-0.6 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,
SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.6
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Csaba Raduly via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Csaba Raduly <rcsaba AT gmail DOT com>
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>

On Sun, 8 Jan 2023 at 09:11, ggl329 via Cygwin <cygwin AT cygwin DOT 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)

-- 
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019