Re: [ANNOUNCEMENT] Updated: libtool-2.4.5-1

2015-02-17 Thread Václav Zeman
On 17 February 2015 at 05:43, Yaakov Selkowitz wrote: The following packages have been updated in the Cygwin distribution: * libtool-2.4.5-1 * libltdl7-2.4.5-1 GNU libtool is a generic library support script. Libtool hides the complexity of using shared libraries behind a consistent,

Re: __mempcpy

2015-02-14 Thread Václav Zeman
On 14.2.2015 09:20, Marco Atzeri wrote: I am trying to upgrade proftpd and also build the 64bit version. However when building the 64bit one, I catch: /pub/devel/proftpd/proftpd-1.3.5-1.x86_64/build/lib/pr_fnmatch_loop.c:1142: undefined reference to `__mempcpy' I see this difference in

Re: __mempcpy

2015-02-14 Thread Václav Zeman
On 14.2.2015 22:55, Václav Zeman wrote: On 14.2.2015 09:20, Marco Atzeri wrote: I am trying to upgrade proftpd and also build the 64bit version. However when building the 64bit one, I catch: /pub/devel/proftpd/proftpd-1.3.5-1.x86_64/build/lib/pr_fnmatch_loop.c:1142: undefined reference

C++11 thread_local implementation issue on Cygwin/AMD64

2015-01-19 Thread Václav Zeman
Hi. I have hit an issue with thread-local storage variables on Cygwin/AMD64, I do not see it with Cygwin/i686. I am having linking issues when using `thread_local` keyword in Cygwin with its GCC 4.8.3 and GCC 4.9.2. This is derived from log4cplus. The test case is split into three files: File

Re: src/winsup/utils ChangeLog Makefile.in tzset.c ...

2014-12-05 Thread Václav Zeman
On 5 December 2014 at 14:41, wrote: * tzmap-from-unicode.org: New script to create tzmap.h. Here is an untested idea. Change line 62 of the script from echo } tzmap[] = to echo } const tzmap[] = -- VZ -- Problem reports: http://cygwin.com/problems.html FAQ:

Clang and C++11 mutex header

2014-09-26 Thread Václav Zeman
I am trying to use mutex C++11 header with Clang but the compilation fails: In file included from test.cxx:1: /usr/lib/gcc/i686-pc-cygwin/4.8.3/include/c++/mutex:747:10: error: thread-local storage is unsupported for the current target extern __thread void* __once_callable; ^

Re: AVX __m256i return value

2014-07-06 Thread Václav Zeman
On 6.7.2014 05:13, Roland Schulz wrote: Hi, a non-inline function which returns a __m256i causes a segfault under Cygwin. It seems it tries to save the return value on the stack without proper alignment: 0x000100404dcb +153: mov0x30(%rbp),%rax = 0x000100404dcf +157:

Re: strtold() availability

2014-03-10 Thread Václav Zeman
On 7 March 2014 21:08, Corinna Vinschen wrote: On Mar 7 17:04, Václav Zeman wrote: Hi. This bit from /usr/include/stdlib.h hides the `strtold()` function even though the `strtold` symbol appears to be exported from `cygwin1.dll`: {.c} /* On platforms where long double equals double

Re: strtold() availability

2014-03-10 Thread Václav Zeman
On 10 March 2014 11:39, Corinna Vinschen wrote: On Mar 10 10:11, Václav Zeman wrote: On 7 March 2014 21:08, Corinna Vinschen wrote: On Mar 7 17:04, Václav Zeman wrote: Hi. This bit from /usr/include/stdlib.h hides the `strtold()` function even though the `strtold` symbol appears

strtold() availability

2014-03-07 Thread Václav Zeman
Hi. This bit from /usr/include/stdlib.h hides the `strtold()` function even though the `strtold` symbol appears to be exported from `cygwin1.dll`: {.c} /* On platforms where long double equals double. */ #ifdef _LDBL_EQ_DBL #if !defined(__STRICT_ANSI__) || (__STDC_VERSION__ = 199901L) ||

Re: va_list and char* are ambiguous

2014-03-02 Thread Václav Zeman
On 03/02/2014 10:45 PM, Irfan Adilovic wrote: On Sun, Mar 2, 2014 at 6:58 PM, Irfan Adilovic wrote: irfan@irfy:~$ cat x.cc #include cstdarg #include iostream using namespace std; void foo (...){ cout varargs\n; } void foo (va_list ap) { cout va_list\n; } int main () { foo

Re: How big are your /etc/passwd and /etc/group files?

2014-02-04 Thread Václav Zeman
On 31 January 2014 21:37, Corinna Vinschen wrote: Hi guys, as you may or may not have read, I'm working on a patch which drops the need to maintain /etc/passwd and /etc/group files, but rather loads all required information from Windows (either SAM or AD). It's all working pretty nicely

Re: [ANNOUNCEMENT] Updated: gcc-4.8.2-2 (x86_64)

2014-01-28 Thread Václav Zeman
On 01/28/2014 11:35 PM, JonY wrote: I have rebuilt gcc for 64bit Cygwin, this release includes ADA support. It is Ada, not ADA, if you are talking about the programming language. [...] -- VZ signature.asc Description: OpenPGP digital signature

Re: [PATCH] Fix parameter passing containing quote/equal to Windows batch command

2014-01-21 Thread Václav Zeman
On 21 January 2014 01:30, Max Polk wrote: On 1/20/2014 1:02 AM, Daniel Dai wrote: We notice one issue when running a Windows batch command inside cygwin. Here is one example. Simple batch file: a.bat: echo %1 Run it under cygwin: ./a.bat a=b a ./a.bat a=b a If we pass additional \

Re: Cygwin Emacs and two other Cygwin processes seem to do a lot of other I/O while seemingly idle

2013-11-01 Thread Václav Zeman
On 11/01/2013 07:15 PM, KARR, DAVID wrote: -Original Message- Sent: Friday, October 18, 2013 11:20 AM Subject: Cygwin Emacs and two other Cygwin processes seem to do a lot of other I/O while seemingly idle Win7x32, Cygwin 1.7.25, Emacs 24.3.1. I've noticed when I scan the processes

Re: Something breaks unattended setup

2013-09-07 Thread Václav Zeman
On 09/07/2013 02:35 AM, jacomoman wrote: Sam Nelson wrote Sam Nelson sanelson at siliconfuture.net writes: These last three sections are repeated until the retries are exhausted (4 total). For the life of me, I can't see any error indicating exactly what failed. Is there any way to

Re: Fwd: Re: Trying to build rxvt on Cygwin64.

2013-09-02 Thread Václav Zeman
On 09/02/2013 09:14 PM, Robert McBroom wrote: On 9/2/2013 11:08 AM, Peter Rosin wrote: On 2013-09-02 16:04, Robert McBroom wrote: checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking for library containing strerror... none required checking

Re: Trying to build rxvt on Cygwin64.

2013-09-01 Thread Václav Zeman
On 09/02/2013 06:15 AM, mcforum wrote: The source tar balls I can find of rxvt are quite old and the config.guess in the package doesn't recognize a win 7 x64, Cygwin64 system. Any pointers to getting a x64 rxvt to build? If that is the only problem then you can get config.guess and config.sub

GNU ld -O option breaks compilation

2013-08-16 Thread Václav Zeman
I am getting compilation error when I try to use the GNU ld's -O option: `-- cat test.c int main () { return 0; } `-- gcc -Wl,-O -o test test.c /usr/lib/gcc/x86_64-pc-cygwin/4.8.1/../../../../lib/libcygwin.a(libcmain.o): In function `main':

Re: GNU ld -O option breaks compilation

2013-08-16 Thread Václav Zeman
On 16 August 2013 12:48, Corinna Vinschen wrote: On Aug 16 10:50, Václav Zeman wrote: I am getting compilation error when I try to use the GNU ld's -O option: `-- cat test.c int main () { return 0; } `-- gcc -Wl,-O -o test test.c /usr/lib/gcc/x86_64-pc-cygwin/4.8.1/../../../../lib

Re: Cygwin Installation Stops in Middle

2013-07-04 Thread Václav Zeman
On 07/04/2013 06:31 AM, Fitzharris, Margaret A wrote: I have been waiting for hours and the installation is stuck at the same point. I have tried both methods of installing all the files and just the default files, and the installation process always gets stuck at the same place. I have turned

clang++ broken by recent GCC update

2013-07-04 Thread Václav Zeman
Hi. The C++ part of Clang package (I have not tested the C part) is broken after update of GCC to 4.7.3. It cannot find standard C++ headers: clang version 3.1 (branches/release_31) Target: i386-pc-cygwin Thread model: posix /usr/bin/clang -cc1 -triple i386-pc-cygwin -S -disable-free

Re: setup ChangeLog win32.h

2013-07-03 Thread Václav Zeman
On 2 July 2013 18:10, wrote: CVSROOT:/cvs/cygwin-apps Module name:setup Changes by: 2013-07-02 16:10:48 Modified files: . : ChangeLog win32.h Log message: * win32.h (struct acl_t): Make sure struct is 4 byte aligned. Patches:

Re: UNC and POSIX paths

2013-06-18 Thread Václav Zeman
On 06/18/2013 08:20 AM, Fedin Pavel wrote: Hello! Because some scripts try to use $(DESTDIR)/$(PREFIX) rather than $(DESTDIR)$(PREFIX) Yes, exactly, this is what i have got. I start to have these problems when i try to do non-standard things like cross-compiling Linux kernel and

Re: mmap fails to allocate memory (installing Ikarus Scheme compiler)

2013-04-28 Thread Václav Zeman
On 04/28/2013 02:47 AM, Daniel Ritchie wrote: I'm trying to build the Ikarus Scheme compiler (https://launchpad.net/ikarus, version 0.0.3: https://launchpad.net/ikarus/0.0/0.0.3/+download/ikarus-0.0.3.tar.gz), and I'm encountering a problem with mmap: make[2]: Entering directory

Re: [64bit] GCC 4.8.0 LTO issue: lto1: internal compiler error: in add_symbol_to_partition, at lto/lto-partition.c:284

2013-04-15 Thread Václav Zeman
None of the tricks (-fno-reorder-blocks, -r, -nostdlib) help here. It still fails the same way. Shall I create a GCC Bugzilla report from this then? On 14 April 2013 11:13, Kai Tietz ktiet...@googlemail.com wrote: 2013/4/14 Yaakov (Cygwin/X) wrote: On 2013-04-11 03:58, Václav Zeman wrote: I

Re: [64bit] GCC 4.8.0 LTO issue: lto1: internal compiler error: in add_symbol_to_partition, at lto/lto-partition.c:284

2013-04-15 Thread Václav Zeman
I have filled the GCC Bugzilla PR: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56963 On 15 April 2013 09:56, Kai Tietz ktiet...@googlemail.com wrote: 2013/4/15 Václav Zeman wrote: None of the tricks (-fno-reorder-blocks, -r, -nostdlib) help here. It still fails the same way. Shall I create

[64bit] GCC 4.8.0 LTO issue: lto1: internal compiler error: in add_symbol_to_partition, at lto/lto-partition.c:284

2013-04-11 Thread Václav Zeman
Hi. I have tried to compile log4cplus (C++ logging library) on Cygwin64 with -flto GCC option. I am getting the following failure: lto1: internal compiler error: in add_symbol_to_partition, at lto/lto-partition.c:284 Here is a link (if Gmail does not botch it) to archive with the minimal amount

broken links in commit messages? (Re: src/winsup/cygserver ChangeLog.64bit)

2013-03-01 Thread Václav Zeman
On 1 March 2013 11:39, wrote: CVSROOT:/cvs/src Module name:src Branch: cygwin-64bit-branch Changes by: cori...@sourceware.org 2013-03-01 10:39:51 Modified files: winsup/cygserver: ChangeLog.64bit Log message: * client.cc: Revert changes to handle

Re: [ANNOUNCEMENT] Updated: emacs*-24.2.93-2 (TEST)

2013-02-14 Thread Václav Zeman
On 13 February 2013 12:38, Ken Brown wrote: [...] A simple way to make sure that a D-Bus session daemon is running is to start it in your ~/.startxwinc file. If you already have a ~/.startxwinc file Small nit, you probably mean ~/.startxwinrc here. [...] -- VZ -- Problem reports:

Re: Clang and windows headers

2013-01-10 Thread Václav Zeman
On 01/10/2013 05:20 PM, Angelo Graziosi wrote: Trying to compile a C++ source file including windows.h header with clang++, fails with #error Must define a target architecture I have hit this too with log4cplus. This is my workaround: // Work around missing _X86_ symbol with Clang on

Re: A linking problem with current GCC (4.5.3)

2012-12-13 Thread Václav Zeman
On 12 December 2012 22:50, Angelo Graziosi wrote: When Cygwin had GCC-4.3.4 as GCC default compiler, I could compile an application with these steps g++ -c winbgim.cpp -o winbgim-g95.o g95 -O3 -Wall -mwindows basic_mods.f90 f03bgi.f90 f03eyes.f90 \ winbgim-g95bis.o -L

Re: Win PTY library.

2012-09-17 Thread Václav Zeman
On 17 September 2012 15:27, Charles Wilson wrote: On 9/17/2012 7:03 AM, Daniel Colascione wrote: On 9/15/2012 9:21 AM, Christopher Faylor wrote: On Sat, Sep 15, 2012 at 12:15:49PM -0400, Earnie Boyd wrote: I just discovered https://github.com/rprichard/winpty and thought Cygwin users and

Re: limitations of TLS using GCC's __thread keyword and Cygwin

2012-09-05 Thread Václav Zeman
On 4 September 2012 23:51, Christopher Faylor wrote: On Tue, Sep 04, 2012 at 10:50:09PM +0200, V??clav Zeman wrote: On 09/04/2012 04:39 PM, Ryan Johnson wrote: On 04/09/2012 8:58 AM, V??clav Zeman wrote: Hi. I am am porting a library that can use the __thread keyword in its internals to

Re: limitations of TLS using GCC's __thread keyword and Cygwin

2012-09-05 Thread Václav Zeman
On 5 September 2012 15:40, Ryan Johnson wrote: On 05/09/2012 4:05 AM, Václav Zeman wrote: On 4 September 2012 23:51, Christopher Faylor wrote: On Tue, Sep 04, 2012 at 10:50:09PM +0200, V??clav Zeman wrote: On 09/04/2012 04:39 PM, Ryan Johnson wrote: On 04/09/2012 8:58 AM, V??clav Zeman

limitations of TLS using GCC's __thread keyword and Cygwin

2012-09-04 Thread Václav Zeman
Hi. I am am porting a library that can use the __thread keyword in its internals to provide thread local storage. Now, with MSVC there is a limitation on pre-Vista Windows (see [1]) that DLLs using __declspec(thread) (MSVC equivalent of GCC's __thread) cannot be loaded using LoadLibrary() because

Re: limitations of TLS using GCC's __thread keyword and Cygwin

2012-09-04 Thread Václav Zeman
On 09/04/2012 04:39 PM, Ryan Johnson wrote: On 04/09/2012 8:58 AM, Václav Zeman wrote: Hi. I am am porting a library that can use the __thread keyword in its internals to provide thread local storage. Now, with MSVC there is a limitation on pre-Vista Windows (see [1]) that DLLs using

src/winsup/w32api ChangeLog include/winnt.h

2012-08-02 Thread Václav Zeman
On 1 August 2012 21:17, earnie@... wrote: CVSROOT:/cvs/src Module name:src Changes by: earnie@... 2012-08-01 19:17:37 Modified files: winsup/w32api : ChangeLog winsup/w32api/include: winnt.h Log message: * include/winnt.h (MemoryBarrier): Add

s?wprintf family of functions has broken %s formatter output

2012-06-11 Thread Václav Zeman
Hi. I believe that I have discovered a bug in Cygwin's/Newlib's implementation of s?wprintf() family of functions. They seem to print only the first character in given string parameter. I am attaching a test case and here is the broken output: `-- ./testvswprintf.exe this works, 1, 2, 3... but

Re: s?wprintf family of functions has broken %s formatter output

2012-06-11 Thread Václav Zeman
On 11 June 2012 14:58, Otto Meta otto.m...@sister-shadow.de wrote: `--  ./testvswprintf.exe this works, 1, 2, 3... but the following does not: ret: 1 buf: T T ret: 4 wcout: THIS IS A TEST The same code works well on both Ubuntu with GCC and on Windows with Visual Studio 2010. I just

Re: s?wprintf family of functions has broken %s formatter output

2012-06-11 Thread Václav Zeman
On 11 June 2012 15:34, Otto Meta wrote: I have done some more checking and I might have been wrong about the Ubuntu and Linux in general. It looks like the formatting strings are incompatible between MSVC and *NIX. It appears that either %S (SUSv2) or %ls (C99) is needed on *NIX. MSVC

Re: Trusted Software Vendor

2012-06-11 Thread Václav Zeman
On 11 June 2012 16:55, Christopher Faylor wrote: On Mon, Jun 11, 2012 at 04:51:07PM +0200, Otto Meta wrote: cgf wrote: Out of curiosity would downloading setup.exe using wget also work around the problem? Most likely.  I don't think wget cares about protecting Windows users from their own

Re: Trusted Software Vendor

2012-06-09 Thread Václav Zeman
On 06/08/2012 08:46 PM, Christopher Faylor wrote: On Fri, Jun 08, 2012 at 02:15:27PM -0400, Milton Quinteros S. wrote: Would you consider the possibility to subscribe to the Comodo Trusted Software Vendor list (http://internetsecurity.comodo.com/trustedvendor/signup.php), and sign every

[OT] renaming file immediately after close fails problem

2012-05-16 Thread Václav Zeman
Hi. This is unrelated to Cygwin directly. I am having problems in my library that renaming files sometimes fails right after the file is closed. I vaguely remember seeing same or similar problems being discussed in this mailing list but I cannot find the emails. Could any of you remember

Re: [OT] renaming file immediately after close fails problem

2012-05-16 Thread Václav Zeman
On 16 May 2012 12:49, Nick Lowe wrote: Are you waiting for the file handle to become signalled before attempting a rename? There is no file handle directly involved. Nick On Wed, May 16, 2012 at 11:46 AM, Václav Zeman vhais...@gmail.com wrote: Hi. This is unrelated to Cygwin directly. I

Re: Why /usr/bin/*.dll must be executable?

2012-04-20 Thread Václav Zeman
On 20 April 2012 15:02, De-Jian Zhao wrote: Hi, When I type cyg and Tab, many executables starting with cyg are listed (Display all 262 possibilities? (y or n) y). I find that many of them are *.dll libraries under /usr/bin/. This is inconvenient to find the real executable applications

Re: where is the setup.exe source code?

2012-04-04 Thread Václav Zeman
On 4 April 2012 09:19, Noel Grandin wrote: [...] Disclaimer: http://www.peralex.com/disclaimer.html 404 Not Found -- VZ -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info:

Re: avoid calling strlen() twice in readlink()

2012-03-09 Thread Václav Zeman
On 8 March 2012 19:48, Christian Franke christian.fra...@t-online.de wrote: Corinna Vinschen wrote: On Mar  8 08:29, Eric Blake wrote: On 03/08/2012 06:37 AM, Václav Zeman wrote: Hi. Here is a tiny patch to avoid calling strlen() twice in readlink(). -  ssize_t len = min (buflen

avoid calling strlen() twice in readlink()

2012-03-08 Thread Václav Zeman
Hi. Here is a tiny patch to avoid calling strlen() twice in readlink(). ChangeLog: 2012-03-08 Václav Zeman vhais...@gmail.com * path.cc (readlink): Avoid calling strlen() twice. -- VZ --- path.cc 2012-03-07 18:10:44.0 +0100 +++ path.cc 2012-03-08 13:28:28.468266800

Re: how to set locale with C++

2012-02-09 Thread Václav Zeman
On 9 February 2012 12:13, marco atzeri wrote: Attached a small example taken from Bruce Eckel Thinking in C++ On cygwin both this call  cout.imbue(locale(en_US.UTF-8));  cout.imbue(locale(fr_FR.UTF-8)); raise exception terminate called after throwing an instance of 'std::runtime_error'

Re: how to set locale with C++

2012-02-09 Thread Václav Zeman
On 9 February 2012 15:24, marco atzeri wrote: On 2/9/2012 1:37 PM, Corinna Vinschen wrote: On Feb  9 12:13, marco atzeri wrote: Attached a small example taken from Bruce Eckel Thinking in C++ On cygwin both this call   cout.imbue(locale(en_US.UTF-8));   cout.imbue(locale(fr_FR.UTF-8));

tiny /etc/passwd parsing optimization

2012-02-03 Thread Václav Zeman
Hi. I was looking into how to speed up /etc/passwd parsing. Here is a trivial patch that improves pwdgrp::parse_passwd() by a tiny bit. Similar change can be applied to pwdgrp::parse_group() as well. The resulting assembler shows that it avoids recomputing the pointers into the array. 2012-02-02 

Re: src/winsup/cygwin ChangeLog dcrt0.cc

2012-01-27 Thread Václav Zeman
On 2012-01-27 10:28, cori...@cygwin.com wrote: CVSROOT:/cvs/src Module name:src Changes by: cori...@sourceware.org 2012-01-27 09:28:38 Modified files: winsup/cygwin : ChangeLog dcrt0.cc Log message: * dcrt0.cc (is_dos_path): New macro to recognize drive letter

Re: socket performance (was Re: Building cygwin1.dll)

2012-01-09 Thread Václav Zeman
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 01/09/2012 02:43 PM, Corinna Vinschen wrote: Johan, please don't http://cygwin.com/acronyms/#TOFU. Thanks. On Jan 4 21:25, Johan van den Berg wrote: I am very happy to report that increasing the send and receive buffers has done the

Re: OverflowError with bzr 2.4.0-1 [attn: bzr maintainer]

2011-10-18 Thread Václav Zeman
On Tue, 20 Sep 2011 10:50:39 -0400, Ken Brown wrote: On 9/5/2011 7:43 AM, Ronald Blaschke wrote: I recently upgraded the bzr package to this version: Bazaar (bzr) 2.4.0 Python interpreter: /usr/bin/python 2.6.5 Python standard library: /usr/lib/python2.6 Platform:

Boost, compilation problem

2011-10-03 Thread Václav Zeman
Hi. I am trying to use cpp-netlib ([1]) with the current Cygwin Boost package. I have encountered a few compilation problems which seem to be fixed by the attached patches. [1] http://cpp-netlib.github.com/ -- VZ --- asio/detail/buffer_sequence_adapter.hpp.vz 2011-10-03 09:18:30.5