Research-Backed Insights for Cygwin.Com

2025-06-17 Thread Jacob Emma via Cygwin
Hi Cygwin, I’ve studied Cygwin.Com for 7 days and found several technical errors affecting your primary keywords: Cygwin Linux tools, POSIX API Windows, GNU utilities collection ranking, impacting The Cygwin Project’s online presence in the post-pandemic market. Major errors found: • No Schema M

Re: Calling system() in multi-threads.

2025-06-17 Thread Mark Geisert via Cygwin
Hi Takashi, On 6/17/2025 5:54 AM, Takashi Yano via Cygwin wrote: Hi, If system() is called in parallel in threads, system() fails with exit code 127. Just compile pthread_system.c attached and run. I believe system() is multi-thread safe so the STC should work. I regret to inform that syste

Re: [EXTERNAL] Cygwin /usr/bin/clang with Windows Aarch64 support?

2025-06-17 Thread Jeremy Drake via Cygwin
On Tue, 17 Jun 2025, Radek Barton via Cygwin wrote: > Hello Sebastian. > > AFAIK, LLVM has no *-pc-cygwin targets support and there is no-one trying to > change that. We're working on that. LLVM 21.x should be much better in that regard. There has been no effort towards aarch64-pc-cygwin though

Re: Cygwin AArch64 testing with Windows AArch64 on qemu?

2025-06-17 Thread Jeremy Drake via Cygwin
On Tue, 17 Jun 2025, Sebastian Feld via Cygwin wrote: > Now that Microsoft is porting Cygwin to Aarch64: > > Do you know how to run Windows Aarch64 in qemu, so people can test > Cygwin Aarch64 changes? > > Sebi Yes, but as others have said it is too slow to really be practical. What I've done la

cmd.exe and powershell.exe cannot follow on NTFS for *.exe

2025-06-17 Thread Aurélien Couderc via Cygwin
Cygwin creates instead of on NTFS, but cmd.exe cannot find the *.exe if they are linked as . Two test cases: $ bash -c $'rm -f id_vers15.exe ; cp /usr/bin/id.exe id_vers15.exe ; ln -sf id_vers15.exe myid.exe ; cmd /C \'.\myid.exe\'' $ bash -c $'rm -f id_vers15.exe ; cp /usr/bin/id.exe id_ver

Calling system() in multi-threads.

2025-06-17 Thread Takashi Yano via Cygwin
Hi, If system() is called in parallel in threads, system() fails with exit code 127. Just compile pthread_system.c attached and run. I believe system() is multi-thread safe so the STC should work. -- Takashi Yano #include #include #include #include #include void *func(void *arg) { prin

Re: [EXTERNAL] Re: Cygwin AArch64 testing with Windows AArch64 on qemu?

2025-06-17 Thread Roland Mainz via Cygwin
On Tue, Jun 17, 2025 at 12:36 PM Radek Barton via Cygwin wrote: > We have never considered QEMU as an option so I can't tell whether it's > working. IMO someone at Microsoft engineering management should look at the issue that Windows-11 does not work on qemu. Right now there are no ARM64 builds

Windows 11 ARM64 qemu test script... / was: Re: Cygwin AArch64 testing with Windows AArch64 on qemu?

2025-06-17 Thread Roland Mainz via Cygwin
On Tue, Jun 17, 2025 at 9:57 AM Sebastian Feld via Cygwin wrote: > Now that Microsoft is porting Cygwin to Aarch64: > > Do you know how to run Windows Aarch64 in qemu, so people can test > Cygwin Aarch64 changes? I use this script for Windows 11 experiments (same as https://nrubsig.kpaste.net/3ac

Re: Cygwin AArch64 testing with Windows AArch64 on qemu?

2025-06-17 Thread Carlo B. via Cygwin
Hello, I downloaded the ISO for Windows on ARM64 from Microsoft site and I installed it with QEMU, but it is absolutely unusable. For example, if you click on the start button, the menu start to open after 10 seconds. You can go to tale a coffee if you try to open notepad for example. It happens al

Re: [PATCH][API-CONFORMAANCE] Increase SYMLOOP_MAX to 63

2025-06-17 Thread Corinna Vinschen via Cygwin
Hi Sebastian, On Jun 17 09:48, Sebastian Feld wrote: > The following patch increases from 10 to 63, per Windows spec > https://learn.microsoft.com/en-us/windows/win32/fileio/reparse-points > > Security impact is minor, SYMLOOP_MAX is just an artificial limiter to > prevent endless loops. In case

Re: [EXTERNAL] Re: Cygwin AArch64 testing with Windows AArch64 on qemu?

2025-06-17 Thread Radek Barton via Cygwin
Hello. We have never considered QEMU as an option so I can't tell whether it's working. We are testing the Cygwin runtime and the GCC toolchain linked with it built with Linux->Windows cross-compiler on self-hosted GitHub Actions runner running on Windows Arm64 VM with WSL leveraging WSL intero

Re: [EXTERNAL] Cygwin /usr/bin/clang with Windows Aarch64 support?

2025-06-17 Thread Radek Barton via Cygwin
Hello Sebastian. AFAIK, LLVM has no *-pc-cygwin targets support and there is no-one trying to change that. The best take you can have for now is to build your own GCC Linux to Windows cross-compiler using https://github.com/Windows-on-ARM-Experiments/mingw-woarm64-build scripts or download it

Cygwin /usr/bin/clang with Windows Aarch64 support?

2025-06-17 Thread Sebastian Feld via Cygwin
Does Cygwin /usr/bin/clang has Aarch64 support, to compile native Windows Aarch64 binaries if Cygwin-x86-64 runs on Windows Aarch64? Sebi -- Sebastian Feld - IT security consultant -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentat

Re: Cygwin AArch64 testing with Windows AArch64 on qemu?

2025-06-17 Thread Sebastian Feld via Cygwin
On Tue, Jun 17, 2025 at 10:10 AM Arthur Norman wrote: > > Thanka for the head up - can you provide us with a pointer to Microsoft > work on Cygwin please? Check the cygwin-patches mailing list, and the cygwin git log. Lots of Aarch64 related patches. > On a Raspberry Pi 5 "botspot-VM" https://gi

Re: Cygwin AArch64 testing with Windows AArch64 on qemu?

2025-06-17 Thread Arthur Norman via Cygwin
Thanka for the head up - can you provide us with a pointer to Microsoft work on Cygwin please? On a Raspberry Pi 5 "botspot-VM" https://github.com/Botspot/bvm installed a Win11 for me fairly happily and despite it not being the fastest machine it is closer to viable than I might have expected

Cygwin AArch64 testing with Windows AArch64 on qemu?

2025-06-17 Thread Sebastian Feld via Cygwin
Now that Microsoft is porting Cygwin to Aarch64: Do you know how to run Windows Aarch64 in qemu, so people can test Cygwin Aarch64 changes? Sebi -- Sebastian Feld - IT security consultant -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Do

[PATCH][API-CONFORMAANCE] Increase SYMLOOP_MAX to 63

2025-06-17 Thread Sebastian Feld via Cygwin
The following patch increases from 10 to 63, per Windows spec https://learn.microsoft.com/en-us/windows/win32/fileio/reparse-points Security impact is minor, SYMLOOP_MAX is just an artificial limiter to prevent endless loops. But with a value of 10 it is a real world problem, because production sc