Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UbyRG-0001s8-Oh for pgsql-bugs@arkaria.postgresql.org; Mon, 13 May 2013 19:29:38 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1UbyRF-00087n-Nk for pgsql-bugs@arkaria.postgresql.org; Mon, 13 May 2013 19:29:37 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UbELW-00005i-IQ for pgsql-bugs@postgresql.org; Sat, 11 May 2013 18:16:38 +0000 Received: from mahout.postgresql.org ([2001:4800:7903:4::123]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UbELT-0000dx-00 for pgsql-bugs@postgresql.org; Sat, 11 May 2013 18:16:38 +0000 Received: from [204.145.124.246] (helo=wrigleys.postgresql.org) by mahout.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UbELR-0000hJ-Td for pgsql-bugs@postgresql.org; Sat, 11 May 2013 18:16:34 +0000 Received: from www-data by wrigleys.postgresql.org with local (Exim 4.72) (envelope-from ) id 1UbELM-0007NK-5L for pgsql-bugs@postgresql.org; Sat, 11 May 2013 18:16:28 +0000 Date: Sat, 11 May 2013 18:16:28 +0000 Message-Id: Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Subject: BUG #8151: client libraries not working on mingw-w64 gcc 4.8 To: pgsql-bugs@postgresql.org From: antreimer@gmail.com X-Pg-Spam-Score: -2.4 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org The following bug has been logged on the website: Bug reference: 8151 Logged by: Philip A Reimer Email address: antreimer@gmail.com PostgreSQL version: 9.2.4 Operating system: mingw-w64 Description:=20=20=20=20=20=20=20=20 I'm getting this error when running psql compiled with gcc 4.8 but don't when it is compiled with gcc 4.7. To compile with gcc 4.7 I used http://hivelocity.dl.sourceforge.net/project/mingw-w64/Toolchains%20targett= ing%20Win32/Personal%20Builds/rubenvb/gcc-4.7-release/i686-w64-mingw32-gcc-= 4.7.4-release-linux64_rubenvb.tar.xz and to compile with gcc 4.8 I used both http://hivelocity.dl.sourceforge.net/project/mingw-w64/Toolchains%20targett= ing%20Win32/Personal%20Builds/rubenvb/gcc-4.8-release/i686-w64-mingw32-gcc-= 4.8.0-linux64_rubenvb.tar.xz and https://aur.archlinux.org/packages/mingw-w64-gcc/. I compiled on both windows 7 and ArchLinux with the same results. psql --host=3D192.168.40.240 psql: could not connect to server: Operation would block (0x00002733/10035) Is the server running on host "192.168.40.240" and accepting TCP/IP connections on port 5432? To compile on ArchLinux I used this script. Postgresql was extracted to mingw-dir\src. The script was also placed in mingw-dir\src pkgver=3D9.2.4 builddir=3D$(pwd)/postgresql-9.2.4-build export PATH=3D$(pwd)/../bin:$PATH export PATH=3D$(pwd)/../i686-w64-mingw32/bin:$PATH cd postgresql-$pkgver ./configure --host=3Di686-w64-mingw32 --prefix=3D$builddir/ --without-zlib for dir in src/interfaces src/bin/pg_config src/bin/psql; do make -C $dir install done strip -x $builddir/lib/*.dll strip -g $builddir/lib/*.dll strip -g $builddir/lib/*.a --=20 Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs