Re: binutils >= 2.41 makes .rsrc section read-only

2024-02-20 Thread Jeremy Drake via Cygwin
On Tue, 20 Feb 2024, Corinna Vinschen wrote: > On Feb 19 21:41, Jeremy Drake via Cygwin wrote: > > 1) is there actually a good reason that _cygheap_start is in the .rsrc and > > not the .cygheap section? > > As you know we got rid of this way to define the cygheap, but > _cygheap_start was just de

Re: Cygwin installer hangs when running post-install scripts

2024-02-20 Thread Corinna Vinschen via Cygwin
On Feb 20 10:33, Kevin Ushey via Cygwin wrote: > Hi Corinna, > > I just updated > https://gist.github.com/kevinushey/cdbd15cdf22e5cdcd094b0ad80347dce > with that output (windbg-output-2.txt); let me know if that gives you > what you need. Thank you! Not sure I'll follow up on this, ARM64 assemb

Re: BUG: Cygwin getent group refuses to list group added with net localgroup mygrp1 /add

2024-02-20 Thread Corinna Vinschen via Cygwin
On Feb 20 17:24, Dan Shelton via Cygwin wrote: > On Tue, 20 Feb 2024 at 10:57, Corinna Vinschen via Cygwin > wrote: > > > > On Feb 20 05:13, Dan Shelton via Cygwin wrote: > > > Hello! > > > > > > I think I found a rather nasty bug: > > > 1. Add a new group with "net localgroup mygrp1 /add" > > > 2

Re: Cygwin installer hangs when running post-install scripts

2024-02-20 Thread Kevin Ushey via Cygwin
Hi Corinna, I just updated https://gist.github.com/kevinushey/cdbd15cdf22e5cdcd094b0ad80347dce with that output (windbg-output-2.txt); let me know if that gives you what you need. As an aside, a new version of the Windows Insider edition was just released, and the memory addresses for the stubs

Re: BUG: Cygwin getent group refuses to list group added with net localgroup mygrp1 /add

2024-02-20 Thread Dan Shelton via Cygwin
On Tue, 20 Feb 2024 at 10:57, Corinna Vinschen via Cygwin wrote: > > On Feb 20 05:13, Dan Shelton via Cygwin wrote: > > Hello! > > > > I think I found a rather nasty bug: > > 1. Add a new group with "net localgroup mygrp1 /add" > > 2. Then list all groups with "getent group", the new group mygrp1

Re: BUG: gettimeofday() didn't handle first argument being NULL

2024-02-20 Thread Corinna Vinschen via Cygwin
On Feb 20 19:15, 109224573 via Cygwin wrote: > this code works on Linux, but not msys2: > > #include > #include > int main() { >     struct timezone tz; >     puts("a"); >     gettimeofday(NULL, &tz); >     puts("b"); > } > > > I guess the reason would be > winsup/cygwin/times.cc Thanks for the

BUG: gettimeofday() didn't handle first argument being NULL

2024-02-20 Thread 109224573 via Cygwin
this code works on Linux, but not msys2: #include #include int main() {     struct timezone tz;     puts("a");     gettimeofday(NULL, &tz);     puts("b"); } I guess the reason would be winsup/cygwin/times.cc extern "C" int gettimeofday (struct timeval *__restrict tv, void *__restrict tzvp) {

Re: binutils >= 2.41 makes .rsrc section read-only

2024-02-20 Thread Corinna Vinschen via Cygwin
On Feb 19 21:41, Jeremy Drake via Cygwin wrote: > This is probably the right thing to do, but breaks building msys2-runtime > (read: cygwin) 3.3, because the _cygheap_start symbol is actually in the > .rsrc section and code very early attempts to memset _cygheap_start. > Couple of questions: > > 1

Re: BUG: Cygwin getent group refuses to list group added with net localgroup mygrp1 /add

2024-02-20 Thread Corinna Vinschen via Cygwin
On Feb 20 05:13, Dan Shelton via Cygwin wrote: > Hello! > > I think I found a rather nasty bug: > 1. Add a new group with "net localgroup mygrp1 /add" > 2. Then list all groups with "getent group", the new group mygrp1 will > not show up. "getent group mygrp1" will list it, but this is useless > i