Clang is using the wrong memory model

2019-08-15 Thread Agner Fog
Cygwin Clang is using -mcmodel=medium as default for Win64, according to my tests, while the right model is -mcmodel=small Linux Clang with --target=x86_64-pc-cygwin gives the small memory model. I took this to the LLVM Bugzilla as you asked me to: https://bugs.llvm.org/show_bug.cgi?id=42983

More on Win7 update messing up HOME

2019-08-15 Thread David Karr
I wish I could get my own messages on this list, so I could add more information to my first note. Running the installer again made no difference. It still thinks my HOME is "/". I don't know what environment variables are set or inspected by cygwin. I see that the "USERNAME" variable seems to

Win7 system update hosed something in Cygwin

2019-08-15 Thread David Karr
I logged into my Win7 laptop and I saw it was having some connection problems, so I decided to reboot. After the reboot I found that Cygwin had some basic problems. I brought up a mintty window (C:\cygwin64\bin\mintty.exe -e /bin/bash --login) and the prompt looked odd. It wasn't the PS1 value t

Re: Perl Illegal Instruction

2019-08-15 Thread Chris Wagner
Apologies for the necropost but the solution deserves to be documented. I suspected that it could be a rebasing issue and sure enough having Setup do a rebase fixed the problem. Rebasing should probably be the first thing to do whenever you get some weird execution error from a Cygwin program

Re: [ANNOUNCEMENT] TEST: Cygwin 3.1.0-0.1

2019-08-15 Thread Corinna Vinschen
On Aug 15 17:04, Corinna Vinschen wrote: > On Aug 15 12:36, Corinna Vinschen wrote: > > On Aug 15 09:49, Corinna Vinschen wrote: > > > On Aug 15 04:21, Takashi Yano wrote: > > > > On Wed, 14 Aug 2019 15:49:00 +0200 > > > > Corinna Vinschen wrote: > > > > > The only reason I can see is if sigwait_co

Re: [ANNOUNCEMENT] TEST: Cygwin 3.1.0-0.1

2019-08-15 Thread Corinna Vinschen
On Aug 15 12:36, Corinna Vinschen wrote: > On Aug 15 09:49, Corinna Vinschen wrote: > > On Aug 15 04:21, Takashi Yano wrote: > > > On Wed, 14 Aug 2019 15:49:00 +0200 > > > Corinna Vinschen wrote: > > > > The only reason I can see is if sigwait_common() returns EINTR because > > > > it was interrupt

Re: getpriority() and top display for priority inconsistent

2019-08-15 Thread john doe
On 8/15/2019 1:04 PM, Houder wrote: > On Thu, 15 Aug 2019 12:20:38, Corinna Vinschen wrote: >> >> On Aug 15 09:41, Lavrentiev, Anton (NIH/NLM/NCBI) [C] via cygwin wrote: git format-patch output with commit message, please? >>> =20 >>> Please educate me how to do that; I am just using "git di

Re: getpriority() and top display for priority inconsistent

2019-08-15 Thread Houder
On Thu, 15 Aug 2019 12:20:38, Corinna Vinschen wrote: > > On Aug 15 09:41, Lavrentiev, Anton (NIH/NLM/NCBI) [C] via cygwin wrote: > > > git format-patch output with commit message, please? > >=20 > > Please educate me how to do that; I am just using "git diff --no-color". > > $ git add > $ git

Re: getpriority() and top display for priority inconsistent

2019-08-15 Thread john doe
On 8/15/2019 11:41 AM, Lavrentiev, Anton (NIH/NLM/NCBI) [C] via cygwin wrote: >> git format-patch output with commit message, please? > > Please educate me how to do that; I am just using "git diff --no-color". > $ git format-patch --stdout If you want to request for comment you could use 'git

Re: [ANNOUNCEMENT] TEST: Cygwin 3.1.0-0.1

2019-08-15 Thread Corinna Vinschen
On Aug 15 09:49, Corinna Vinschen wrote: > On Aug 15 04:21, Takashi Yano wrote: > > On Wed, 14 Aug 2019 15:49:00 +0200 > > Corinna Vinschen wrote: > > > The only reason I can see is if sigwait_common() returns EINTR because > > > it was interrupted by an unrelated signal. This in turn lets the rea

Re: getpriority() and top display for priority inconsistent

2019-08-15 Thread Corinna Vinschen
On Aug 15 12:20, Corinna Vinschen wrote: > On Aug 15 09:41, Lavrentiev, Anton (NIH/NLM/NCBI) [C] via cygwin wrote: > > > git format-patch output with commit message, please? > > > > Please educate me how to do that; I am just using "git diff --no-color". > > $ git add > $ git commit -a Scratch

Re: getpriority() and top display for priority inconsistent

2019-08-15 Thread Corinna Vinschen
On Aug 15 09:41, Lavrentiev, Anton (NIH/NLM/NCBI) [C] via cygwin wrote: > > git format-patch output with commit message, please? > > Please educate me how to do that; I am just using "git diff --no-color". $ git add $ git commit -a - opens editor to create a commit message. first line is su

RE: getpriority() and top display for priority inconsistent

2019-08-15 Thread Lavrentiev, Anton (NIH/NLM/NCBI) [C] via cygwin
> git format-patch output with commit message, please? Please educate me how to do that; I am just using "git diff --no-color". > The commit message should describe what the problem is and how the patch > fixes it. One or > two sentences are enough. The commit message is there: > > "getprior

Re: SMBFS mount's file cannot be made executable

2019-08-15 Thread L A Walsh
On 2019/08/14 19:00, Lavrentiev, Anton (NIH/NLM/NCBI) [C] via cygwin wrote: >> This is called by acl_to_any_text, which is called by getfacl. Any >> chance you could try to debug this? >> > > >> I'm about to go on vacation, but I could try to help when I get back. >> > > I'm headed o

Re: SMBFS mount's file cannot be made executable

2019-08-15 Thread L A Walsh
On 2019/08/14 19:00, Lavrentiev, Anton (NIH/NLM/NCBI) [C] via cygwin wrote: >> This is called by acl_to_any_text, which is called by getfacl. Any >> chance you could try to debug this? >> > > >> I'm about to go on vacation, but I could try to help when I get back. >> > > I'm headed o

Re: [ANNOUNCEMENT] TEST: Cygwin 3.1.0-0.1

2019-08-15 Thread Corinna Vinschen
On Aug 15 04:21, Takashi Yano wrote: > On Wed, 14 Aug 2019 15:49:00 +0200 > Corinna Vinschen wrote: > > The only reason I can see is if sigwait_common() returns EINTR because > > it was interrupted by an unrelated signal. This in turn lets the read() > > call fail with EINTR and that should be exp

Re: getpriority() and top display for priority inconsistent

2019-08-15 Thread Corinna Vinschen
On Aug 14 20:01, Lavrentiev, Anton (NIH/NLM/NCBI) [C] via cygwin wrote: > > Feel free to provide a patch, just, please, create a valid git commit > > message > > "getpriority() consistent with process priority > https://cygwin.com/ml/cygwin/2019-08/msg00122.html"; > > The changeset is really tr