public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug build/31050] New: Compile error in gnulib/import/closedir.c
@ 2023-11-10 23:04 madebr at gmail dot com
  2023-11-10 23:18 ` [Bug build/31050] " simark at simark dot ca
  2023-11-10 23:28 ` madebr at gmail dot com
  0 siblings, 2 replies; 3+ messages in thread
From: madebr at gmail dot com @ 2023-11-10 23:04 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=31050

            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..    
-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 != INVALID_HANDLE_VALUE)
      |           ^~
../../../gnulib/import/closedir.c:59:20: error: 'DIR' has no member named
'current'
   59 |     FindClose (dirp->current);
      |                     
```
commands:
```
tar xf gdb-13.2.tar.xz
cd gdb-13.2 && mkdir build && cd build
CC=i686-w64-mingw32-gcc CXX=i686-w64-mingw32-g++ ../configure
--prefix=$PWD/prefix --build=x86_64-linux-gnu --host=i686-w64-mingw32
make V=1
```


This is on Fedora 38

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-11-10 23:28 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-10 23:04 [Bug build/31050] New: Compile error in gnulib/import/closedir.c madebr at gmail dot com
2023-11-10 23:18 ` [Bug build/31050] " simark at simark dot ca
2023-11-10 23:28 ` madebr at gmail dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).