Re: [ITA] clang

2025-04-24 Thread Jeremy Drake via Cygwin-apps
On Fri, 25 Apr 2025, Takashi Yano via Cygwin-apps wrote: > On Thu, 24 Apr 2025 10:06:05 -0700 (PDT) > Jeremy Drake wrote: > > On Thu, 24 Apr 2025, Takashi Yano via Cygwin-apps wrote: > > > > > Hi Jeremy, > > > > > > On Tue, 22 Apr 2025 15:50:52 +0900 > > > To avoid this incompatibility, I tried to

Re: [ITA] clang

2025-04-24 Thread Takashi Yano via Cygwin-apps
On Thu, 24 Apr 2025 10:06:05 -0700 (PDT) Jeremy Drake wrote: > On Thu, 24 Apr 2025, Takashi Yano via Cygwin-apps wrote: > > > Hi Jeremy, > > > > On Tue, 22 Apr 2025 15:50:52 +0900 > > To avoid this incompatibility, I tried to build llvm/clang without > > both 0005-use_cxx11_abi.patch and 0110-use_

Re: [ITA] clang

2025-04-24 Thread Jeremy Drake via Cygwin-apps
On Thu, 24 Apr 2025, Takashi Yano via Cygwin-apps wrote: > Hi Jeremy, > > On Tue, 22 Apr 2025 15:50:52 +0900 > To avoid this incompatibility, I tried to build llvm/clang without > both 0005-use_cxx11_abi.patch and 0110-use_cxx11_abi.patch, and add > -DCMAKE_CXX_STANDARD=20 > instead. It makes llvm

Re: [ITA] clang

2025-04-24 Thread Takashi Yano via Cygwin-apps
Hi Jeremy, On Tue, 22 Apr 2025 15:50:52 +0900 Takashi Yano wrote: > > but it is not worked around by defining the macro. There should also be a > > big red warning that, due to the macro being defined, clang++ and g++ > > compiled objects might not be able to link to each other if they try to > >

Re: [ITA] clang

2025-04-22 Thread Jeremy Drake via Cygwin-apps
On Wed, 23 Apr 2025, Takashi Yano via Cygwin-apps wrote: > > #include > > > > int main() { > > std::cout << "Hello" << std::endl; > > return 0; > > } > > Thanks. But In my environment, it works as expected. > > $ clang++ hello.cc > $ ./a.exe > Hello > $ Great! It also works for me in MS

Re: [ITA] clang

2025-04-22 Thread Takashi Yano via Cygwin-apps
On Tue, 22 Apr 2025 12:12:08 -0700 (PDT) Jeremy Drake wrote: > On Tue, 22 Apr 2025, Takashi Yano via Cygwin-apps wrote: > > > > I've also seen a crash with a simple "Hello world" C++ iostreams program, > > > only on Cygwin not MSYS2. I suspect it is related to the C++11 ABI thing, > > > but it is

Re: [ITA] clang

2025-04-22 Thread Jeremy Drake via Cygwin-apps
On Tue, 22 Apr 2025, Takashi Yano via Cygwin-apps wrote: > > I've also seen a crash with a simple "Hello world" C++ iostreams program, > > only on Cygwin not MSYS2. I suspect it is related to the C++11 ABI thing, > > but it is not worked around by defining the macro. There should also be a > > C

Re: [ITA] clang

2025-04-21 Thread Takashi Yano via Cygwin-apps
On Mon, 21 Apr 2025 23:17:32 -0700 (PDT) Jeremy Drake wrote: > Nice! Please note that there are updated patches in MSYS2-packages/llvm > which replace some of the 'hack' patches with more proper methods (which I > opened PRs upstream for, but I've not gotten any replies to them yet). > Also, there

Re: [ITA] clang

2025-04-21 Thread Jeremy Drake via Cygwin-apps
Nice! Please note that there are updated patches in MSYS2-packages/llvm which replace some of the 'hack' patches with more proper methods (which I opened PRs upstream for, but I've not gotten any replies to them yet). Also, there is an issue currently outstanding, for which I opened an upstream PR

[ITA] clang

2025-04-21 Thread Takashi Yano via Cygwin-apps
NOTE: emacs-clang-format vim-clang-format could not be built. -- Takashi Yano 0101-hack-dynamically-resolve-G-include-dir.patch Description: Binary data 0102-Clang-Cygwin-Enable-few-conditions-that-are-shared-w.patch Description: Binary data 0103-Clang-Cygwin-Enable-TLS.patch Description: