From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 5B2883840C21; Thu, 4 Jun 2020 22:36:21 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 5B2883840C21 From: "mitza at objectcomputing dot com" To: gdb-prs@sourceware.org Subject: [Bug build/26068] MinGW build failed due to ws2_32 dependency Date: Thu, 04 Jun 2020 22:36:21 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: build X-Bugzilla-Version: 9.2 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mitza at objectcomputing dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gdb-prs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-prs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Jun 2020 22:36:21 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D26068 --- Comment #7 from Adam Mitz --- (In reply to Hannes Domani from comment #5) > I think his mingw-w64 was configured with --with-default-win32-winnt=3D0x= 600 > (or higher), because then inet_ntop will be found by the gnulib configure, > defines HAVE_DECL_INET_NTOP=3D1, and this gets you to inet_ntop.c:58 wher= e the > function is used. I haven't seen the --with-default-win32-winnt option, but maybe it's hiding somewhere. The two MinGW compilers I tried are: 1. Native Windows $ g++ -v Using built-in specs. COLLECT_GCC=3DC:\msys64\mingw64\bin\g++.exe COLLECT_LTO_WRAPPER=3DC:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/9= .2.0/lto-wrapper.exe Target: x86_64-w64-mingw32 Configured with: ../gcc-9.2.0/configure --prefix=3D/mingw64 --with-local-prefix=3D/mingw64/local --build=3Dx86_64-w64-mingw32 --host=3Dx86_64-w64-mingw32 --target=3Dx86_64-w64-mingw32 --with-native-system-header-dir=3D/mingw64/x86_64-w64-mingw32/include --libexecdir=3D/mingw64/lib --enable-bootstrap --with-arch=3Dx86-64 --with-tune=3Dgeneric --enable-languages=3Dc,lto,c++,fortran,ada,objc,obj-c= ++ --enable-shared --enable-static --enable-libatomic --enable-threads=3Dposix --enable-graphite --enable-fully-dynamic-string --enable-libstdcxx-filesystem-ts=3Dyes --enable-libstdcxx-time=3Dyes --disable-libstdcxx-pch --disable-libstdcxx-debug --disable-isl-version-che= ck --enable-lto --enable-libgomp --disable-multilib --enable-checking=3Drelease --disable-rpath --disable-win32-registry --disable-nls --disable-werror --disable-symvers --enable-plugin --with-libiconv --with-system-zlib --with-gmp=3D/mingw64 --with-mpfr=3D/mingw64 --with-mpc=3D/mingw64 --with-isl=3D/mingw64 --with-pkgversion=3D'Rev2, Built by MSYS2 project' --with-bugurl=3Dhttps://sourceforge.net/projects/msys2 --with-gnu-as --with-gnu-ld Thread model: posix gcc version 9.2.0 (Rev2, Built by MSYS2 project) 2. Cross-compiler on Ubuntu 18.04 $ x86_64-w64-mingw32-g++ -v Using built-in specs. COLLECT_GCC=3Dx86_64-w64-mingw32-g++ COLLECT_LTO_WRAPPER=3D/usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/lto-wrapper Target: x86_64-w64-mingw32 Configured with: ../../src/configure --build=3Dx86_64-linux-gnu --prefix=3D= /usr --includedir=3D'/usr/include' --mandir=3D'/usr/share/man' --infodir=3D'/usr/share/info' --sysconfdir=3D/etc --localstatedir=3D/var --disable-silent-rules --libdir=3D'/usr/lib/x86_64-linux-gnu' --libexecdir=3D'/usr/lib/x86_64-linux-gnu' --disable-maintainer-mode --disable-dependency-tracking --prefix=3D/usr --enable-shared --enable-stat= ic --disable-multilib --with-system-zlib --libexecdir=3D/usr/lib --without-included-gettext --libdir=3D/usr/lib --enable-libstdcxx-time=3Dyes --with-tune=3Dgeneric --with-headers=3D/usr/x86_64-w64-mingw32/include --enable-version-specific-runtime-libs --enable-fully-dynamic-string --enable-libgomp --enable-languages=3Dc,c++,fortran,objc,obj-c++,ada --enab= le-lto --with-plugin-ld --enable-threads=3Dwin32 --program-suffix=3D-win32 --program-prefix=3Dx86_64-w64-mingw32- --target=3Dx86_64-w64-mingw32 --with-as=3D/usr/bin/x86_64-w64-mingw32-as --with-ld=3D/usr/bin/x86_64-w64-mingw32-ld --enable-libatomic --enable-libstdcxx-filesystem-ts=3Dyes Thread model: win32 gcc version 7.3-win32 20180312 (GCC) The other problem I listed (not really the subject of this PR) > ../../intl/plural-exp.h:102:23: error: conflicting types for =E2=80=98lib= intl_gettextparse=E2=80=99 seems to occur when the build generates a new plural.c using bison. --=20 You are receiving this mail because: You are on the CC list for the bug.=