Re: flexdll error: cannot relocate RELOC_REL32

2020-03-01 Thread Brian Inglis
On 2020-03-01 11:35, Cao Qinxiang wrote: > Dear Cygwin development team and Cygwin experts, > > I use Cygwin-64 on windows and get a fork problem when I try to manually > install menhir package. > > > 0 [main] ocamlrun 1615 child_info_fork::abort: address space needed by >

Re: flexdll error: cannot relocate RELOC_REL32

2020-03-01 Thread Brian Inglis
On 2020-03-01 11:35, Cao Qinxiang wrote: > Dear Cygwin development team and Cygwin experts, > > I use Cygwin-64 on windows and get a fork problem when I try to manually > install menhir package. > > > 0 [main] ocamlrun 1615 child_info_fork::abort: address space needed by >

[PATCH 4/4] Cygwin: console: Add a workaround for "ESC 7" and "ESC 8".

2020-03-01 Thread Takashi Yano
- In xterm compatible mode, "ESC 7" and "ESC 8" do not work properly in the senario: 1) Execute /bin/ls /bin to fill screen. 2) Sned CSI?1049h to alternate screen. 3) Reduce window size. 4) Send CSI?1049l to resume screen. 5) Send "ESC 7" and "ESC 8". After sending "ESC 8", the

[PATCH 2/4] Cygwin: console: Fix setting/unsetting xterm mode for input.

2020-03-01 Thread Takashi Yano
- This patch fixes the issue that xterm compatible mode for input is not correctly set/unset in some situation such as: 1) cat is stopped by ctrl-c. 2) The window size is changed in less. In case 1), request_xterm_mode_input(true) is called in read(), however, cat is stopped without

[PATCH 3/4] Cygwin: console: Prevent buffer overrun.

2020-03-01 Thread Takashi Yano
- This patch prevent potential buffer overrun in the code handling escape sequences. --- winsup/cygwin/fhandler_console.cc | 18 -- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/winsup/cygwin/fhandler_console.cc b/winsup/cygwin/fhandler_console.cc index

[PATCH 0/4] Cygwin: console: Some fixes for console in xterm mode.

2020-03-01 Thread Takashi Yano
Takashi Yano (4): Cygwin: console: Revise the code to fix tab position. Cygwin: console: Fix setting/unsetting xterm mode for input. Cygwin: console: Prevent buffer overrun. Cygwin: console: Add a workaround for "ESC 7" and "ESC 8". winsup/cygwin/fhandler.h | 1 +

[PATCH 1/4] Cygwin: console: Revise the code to fix tab position.

2020-03-01 Thread Takashi Yano
- This patch fixes the issue that the cursor position is broken if window size is changed while executing vim, less etc. --- winsup/cygwin/fhandler_console.cc | 15 +++ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/winsup/cygwin/fhandler_console.cc

Re: [PATCH v2 1/4] Cygwin: console: Add workaround for broken IL/DL in xterm mode.

2020-03-01 Thread Takashi Yano
On Sun, 1 Mar 2020 14:56:31 +0100 Hans-Bernhard Bröker wrote: > Am 01.03.2020 um 07:33 schrieb Takashi Yano: > > > However, from the view point of performance, just inline > > static function is better. > > I don't see how that could be the case. Inline methods of a static C++ > object should

Why is taskset still not in util-linux?

2020-03-01 Thread Eliot Moss
Dear cygwin-ers -- Something I had asked about a while ago was the absence os taskset in cygwin's util-linux. At the time, it was pointed out that the necessary get/set affinity library/system calls were not yet supported. These were added a while ago, so it would seem that taskset ought to

cat /proc/partitions shows only devices, not partitions

2020-03-01 Thread Hashim Aziz
This was an issue that I had previously in September of last year and sent the issue to this mailing list ("win-mounts no longer displays anything when doing "cat /proc/partitions") but the issue stopped occurring before I could get around to diagnosing it. This issue has now re-occurred and

[ANNOUNCEMENT] Updated: Perl distributions

2020-03-01 Thread Achim Gratz
The following Perl distributions have been updated to their latest version on CPAN, respectively: x86/x86_64 -- perl-DateTime-1.52-1 noarch -- perl-DateTime-Format-Strptime-1.77-1 perl-HTTP-Message-6.22-1 perl-List-AllUtils-0.16-1 perl-Test-Deep-1.130-1 -- ***

Updated: Perl distributions

2020-03-01 Thread Achim Gratz
The following Perl distributions have been updated to their latest version on CPAN, respectively: x86/x86_64 -- perl-DateTime-1.52-1 noarch -- perl-DateTime-Format-Strptime-1.77-1 perl-HTTP-Message-6.22-1 perl-List-AllUtils-0.16-1 perl-Test-Deep-1.130-1 -- ***

flexdll error: cannot relocate RELOC_REL32

2020-03-01 Thread Cao Qinxiang
Dear Cygwin development team and Cygwin experts, I use Cygwin-64 on windows and get a fork problem when I try to manually install menhir package. 0 [main] ocamlrun 1615 child_info_fork::abort: address space needed by 'dllunix.so' (0x40) is already occupied

Re: Change in logical link behaviour

2020-03-01 Thread Rainer Emrich
Hi Andrey, Am 01.03.2020 um 02:52 schrieb Andrey Repin: >> I try to reliably determine if native Windows symlink are working for a >> current cygwin environment in a shell script. > >> Therefor I used a powershell snipped: > >> mkdir asdfgh >> ln -s asdfgh/ asdfgh-1 >> powershell "& {Get-Item

Re: [PATCH v2 1/4] Cygwin: console: Add workaround for broken IL/DL in xterm mode.

2020-03-01 Thread Hans-Bernhard Bröker
Am 01.03.2020 um 07:33 schrieb Takashi Yano: However, from the view point of performance, just inline static function is better. I don't see how that could be the case. Inline methods of a static C++ object should not suffer any perfomance penalty compared to inline functions operating on

Cygwin libtool confused about link library

2020-03-01 Thread JonY
On 3/1/20 11:00 AM, Marco Atzeri wrote: >> >> Last file checked: /lib/libpthread.a >> >> Is that correct? Do you have the complete command line? Is this >> happening on both archs or just i686? >> > > both archs. > The error is likely coming from libtool and it is valid for all the 3 > libraries

Re: [ANN] Cygwin-OpenSSH 8.2.2.2

2020-03-01 Thread Achim Gratz
Bill Stewart writes: > I have removed the package. (The phrase "no good deed goes unpunished" > comes to mind.) I don't think anybody assumed any bad intentions on your part and it just was to make you aware of the licensing problem and ask you to fix it. The GPL's stated purpose istp protect

Re: [ANNOUNCEMENT] Updated: binutils-2.34-1 (x86/x86_64)

2020-03-01 Thread Marco Atzeri
Am 01.03.2020 um 03:18 schrieb JonY: On 2/29/20 7:23 PM, Marco Atzeri wrote: Am 26.02.2020 um 11:35 schrieb JonY: The following packages have been uploaded to the Cygwin distribution: * binutils-2.34 This version was tested by building gcc-9.2.0. It seems there is a regression about