Re: [ITA] llvm

2025-04-22 Thread Jeremy Drake via Cygwin-apps
On Wed, 23 Apr 2025, Takashi Yano via Cygwin-apps wrote: > On Tue, 22 Apr 2025 12:46:16 -0700 (PDT) > Jeremy Drake wrote: > > On Wed, 23 Apr 2025, Takashi Yano wrote: > > > > > cygwin packages lack lld, so clang uses ld (correct2?) to link, > > > which does not support other targets than x86 (i686

Re: [ITA] llvm

2025-04-22 Thread Takashi Yano via Cygwin-apps
On Tue, 22 Apr 2025 12:46:16 -0700 (PDT) Jeremy Drake wrote: > On Wed, 23 Apr 2025, Takashi Yano wrote: > > > cygwin packages lack lld, so clang uses ld (correct2?) to link, > > which does not support other targets than x86 (i686, x86_64). > > Therefore I disabled them. > > Correct. At least for

Re: [ITA] compiler-rt

2025-04-22 Thread Takashi Yano via Cygwin-apps
On Tue, 22 Apr 2025 12:27:00 -0700 (PDT) Jeremy Drake wrote: > On Tue, 22 Apr 2025, Takashi Yano via Cygwin-apps wrote: > > > +set(CYGWIN_LIBRARIES ${MINGW_RUNTIME} cygwin advapi32 > > +shell32 user32 kernel32 ${CYGWIN_RUNTIME}) > > Is that MINGW_RUNTIME right, or shou

Re: [ITA] llvm

2025-04-22 Thread Jeremy Drake via Cygwin-apps
On Wed, 23 Apr 2025, Takashi Yano wrote: > cygwin packages lack lld, so clang uses ld (correct2?) to link, > which does not support other targets than x86 (i686, x86_64). > Therefore I disabled them. Correct. At least for cygwin target, it actually calls gcc to do the link, which in turns calls

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

2025-04-22 Thread Takashi Yano via Cygwin-apps
On Tue, 22 Apr 2025 10:35:27 -0700 (PDT) Jeremy Drake wrote: > On Tue, 22 Apr 2025, Takashi Yano via Cygwin-apps wrote: > > > Previously, Xu Chiheng offered ITA for llvm, however, we haven't > > heard from him in over a year. > > > > Recently, I could successfully build llvm/clang related packages

Re: posix_spawn

2025-04-22 Thread Camm Maguire via Cygwin-apps
Greetings! posix_spawnp is returning 10, or ECHILD, on the following call. At least on my first reading (:-)), ECHILD is not one of the documented errors for fork, vfork, or clone referenced by the Linux manpage for posix_spawnp. Suggestions? Take care,

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] compiler-rt

2025-04-22 Thread Jeremy Drake via Cygwin-apps
On Tue, 22 Apr 2025, Takashi Yano via Cygwin-apps wrote: > +set(CYGWIN_LIBRARIES ${MINGW_RUNTIME} cygwin advapi32 > +shell32 user32 kernel32 ${CYGWIN_RUNTIME}) Is that MINGW_RUNTIME right, or should it have been CYGWIN_RUNTIME in a copy-paste error? Because MINGW_RUNT

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

2025-04-22 Thread Jeremy Drake via Cygwin-apps
On Tue, 22 Apr 2025, Jeremy Drake via Cygwin-apps wrote: > I did a quick look through the attachments to the [ITA] llvm email Sorry for the flurry of replies... I noticed you had an old, *wrong* patch for dli_fname compile error in Signals.inc... See the correct version in https://github.com/msy

Re: [ITA] llvm

2025-04-22 Thread Jeremy Drake via Cygwin-apps
On Tue, 22 Apr 2025, Jeremy Drake via Cygwin-apps wrote: > On Tue, 22 Apr 2025, Takashi Yano via Cygwin-apps wrote: > > > Previously, Xu Chiheng offered ITA for llvm, however, we haven't > > heard from him in over a year. > > > > Recently, I could successfully build llvm/clang related packages > >

Re: posix_spawn

2025-04-22 Thread Camm Maguire via Cygwin-apps
Greetings, and thanks so much! Mark Geisert via Cygwin-apps writes: > On 4/19/2025 1:42 PM, Camm Maguire via Cygwin-apps wrote: >> Greetings! >> posix_spawn is returning non-zero without setting errno: >>massert(!posix_spawnp(&pid, *p1, &file_actions, &attr, (void >> *)p1, environ)); >> Is

Re: [ITA] llvm

2025-04-22 Thread Jeremy Drake via Cygwin-apps
On Tue, 22 Apr 2025, Takashi Yano via Cygwin-apps wrote: > Previously, Xu Chiheng offered ITA for llvm, however, we haven't > heard from him in over a year. > > Recently, I could successfully build llvm/clang related packages > version 20.1.2 thanks to MSYS2 guys. > > Therefore, I would like to ad