Re: [PATCH] jobserver: detect properly O_NONBLOCK

2022-08-22 Thread Richard Biener via Gcc-patches
On Mon, Aug 22, 2022 at 11:06 AM Martin Liška wrote: > > On 8/19/22 09:44, Richard Biener wrote: > > libstdc++ uses > > > > # For Networking TS. > > AC_CHECK_HEADERS([fcntl.h sys/ioctl.h sys/socket.h sys/uio.h poll.h > > netdb.h arpa/inet.h netinet/in.h netinet/tcp.h]) > > AC_CHECK_DECL(F_GETFL,,,

Re: [PATCH] jobserver: detect properly O_NONBLOCK

2022-08-22 Thread Martin Liška
3789f151a92a31143a3e62d7ee9ec788794 Mon Sep 17 00:00:00 2001 From: Martin Liska Date: Thu, 18 Aug 2022 13:03:42 +0200 Subject: [PATCH] jobserver: detect properly O_NONBLOCK gcc/ChangeLog: * configure.ac: Detect O_NONBLOCK flag for open. * config.in: Regenerate. * configure: Regenerate. * op

Re: [PATCH] jobserver: detect properly O_NONBLOCK

2022-08-19 Thread Richard Biener via Gcc-patches
On Thu, Aug 18, 2022 at 2:43 PM Martin Liška wrote: > > That handles systems that don't have O_NONBLOCK, in that case > WPA streaming is not using jobserver if --jobserver-auth uses 'fifo'. > > Patch can bootstrap on x86_64-linux-gnu and survives regression tests. > Tested with mingw cross compile

[PATCH] jobserver: detect properly O_NONBLOCK

2022-08-18 Thread Martin Liška
That handles systems that don't have O_NONBLOCK, in that case WPA streaming is not using jobserver if --jobserver-auth uses 'fifo'. Patch can bootstrap on x86_64-linux-gnu and survives regression tests. Tested with mingw cross compiler as well. Ready to be installed? Thanks, Martin gcc/ChangeLog