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
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,,,[#include ]) > AC_CHECK_DECL(F_SETFL,,,[#include ]) > if test "$ac_cv

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