From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 3148A3858D37; Fri, 10 Nov 2023 23:04:16 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 3148A3858D37 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1699657456; bh=SWoc42QIYc9wjYWIIN8++F6n+UI7J0aN/3AtxUOpkM4=; h=From:To:Subject:Date:From; b=aClAp0OYGUs40Yo7s514f8KRHa9DtJwS5xOekgXTRP0i6mRrQhazKLRm0oLw78OiW ZBIdmB3AMYnkrNYsMZ+G5OAtgmBSBYS/HYpskykDIH/XqAyXPMpG2d971kauY5XHdb Rg5K0czy0YbqUMGWI8SH1wCW4vxjfFztAVZEQzZw= From: "madebr at gmail dot com" To: gdb-prs@sourceware.org Subject: [Bug build/31050] New: Compile error in gnulib/import/closedir.c Date: Fri, 10 Nov 2023 23:04:15 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: build X-Bugzilla-Version: 13.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: madebr at gmail 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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: 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 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D31050 Bug ID: 31050 Summary: Compile error in gnulib/import/closedir.c Product: gdb Version: 13.1 Status: UNCONFIRMED Severity: normal Priority: P2 Component: build Assignee: unassigned at sourceware dot org Reporter: madebr at gmail dot com Target Milestone: --- Trying to build a Windows 32-bit executable of gdb 13.2 on Linux, building fails with the following error: ``` i686-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I../../../gnulib/import -I..=20= =20=20=20 -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -g -O2 -MT libgnu_a-closedir.o -MD -MP = -MF .deps/libgnu_a-closedir.Tpo -c -o libgnu_a-closedir.o `test -f 'closedir.c'= || echo '../../../gnulib/import/'`closedir.c ../../../gnulib/import/closedir.c: In function 'closedir': ../../../gnulib/import/closedir.c:58:11: error: 'DIR' has no member named 'current' 58 | if (dirp->current !=3D INVALID_HANDLE_VALUE) | ^~ ../../../gnulib/import/closedir.c:59:20: error: 'DIR' has no member named 'current' 59 | FindClose (dirp->current); |=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 ``` commands: ``` tar xf gdb-13.2.tar.xz cd gdb-13.2 && mkdir build && cd build CC=3Di686-w64-mingw32-gcc CXX=3Di686-w64-mingw32-g++ ../configure --prefix=3D$PWD/prefix --build=3Dx86_64-linux-gnu --host=3Di686-w64-mingw32 make V=3D1 ``` This is on Fedora 38 --=20 You are receiving this mail because: You are on the CC list for the bug.=