This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Breakage on builder Fedora-x86_64-w64-mingw32, revision 49b000dc5686e016f05b717f18d2c8f865eb3617 [gdb-8.12-branch]


On Thursday, July 12 2018, Pedro Alves wrote:

> On 07/12/2018 08:59 AM, gdb-buildbot@sergiodj.net wrote:
>> yes
>> checking for memcmp... In file included from ../../binutils-gdb/intl/plural.y:35:0:
>> ../../binutils-gdb/intl/plural-exp.h:102:23: error: conflicting types for 'libintl_gettextparse'
>>  # define PLURAL_PARSE libintl_gettextparse
>>                        ^
>
> This is completely unrelated to the pointed commit: 
>
> 	GDB: Work around D;PID handling bug in older GDBservers (PR gdb/23377)
> 	49b000dc5686e016f05b717f18d2c8f865eb3617
>
> Looking at the builder's build logs, I see several prior builds failing
> in the same way.

Yes, and unfortunately this failure seems to be undeterministic.
Therefore, when it builds again, the next time it fails it generates a
wrong breakage warning.

> Sergio, while looking at the builder's log, I noticed that the build
> just before the one in this mail, this one here:
>
>   https://gdb-build.sergiodj.net/builders/Fedora-x86_64-w64-mingw32/builds/2158
>
> fails with:
>
> ../../binutils-gdb/gdb/ser-tcp.c: In function 'int try_connect(const addrinfo*, unsigned int*)':
> ../../binutils-gdb/gdb/ser-tcp.c:176:25: error: invalid conversion from 'int*' to 'u_long* {aka long unsigned int*}' [-fpermissive]
>    ioctl (sock, FIONBIO, &ioarg);
>                          ^~~~~~
> In file included from ../../binutils-gdb/gdb/serial.h:23:0,
>                  from ../../binutils-gdb/gdb/ser-tcp.c:21:
> /usr/x86_64-w64-mingw32/sys-root/mingw/include/winsock2.h:977:34: note:   initializing argument 3 of 'int ioctlsocket(SOCKET, long int, u_long*)'
>    WINSOCK_API_LINKAGE int WSAAPI ioctlsocket(SOCKET s,__LONG32 cmd,u_long *argp);
>                                   ^~~~~~~~~~~
> make[2]: *** [Makefile:1610: ser-tcp.o] Error 1

Thanks, I'll send a patch today to fix these issues (there's another one
I found with s390x).

-- 
Sergio
GPG key ID: 237A 54B1 0287 28BF 00EF  31F4 D0EB 7628 65FC 5E36
Please send encrypted e-mail if possible
http://sergiodj.net/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]