[Bug bootstrap/91352] [10 Regression] Jobserver detection uses fcntl, which is not available on mingw-w64
marxin at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Aug 8 07:51:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91352
--- Comment #4 from Martin Liška <marxin at gcc dot gnu.org> ---
Author: marxin
Date: Thu Aug 8 07:50:28 2019
New Revision: 274208
URL: https://gcc.gnu.org/viewcvs?rev=274208&root=gcc&view=rev
Log:
Fix file descriptor existence of MinGW.
2019-08-08 Martin Liska <mliska@suse.cz>
PR bootstrap/91352
* gcc.c (driver::detect_jobserver): Use is_valid_fd.
* lto-wrapper.c (jobserver_active_p): Likewise.
2019-08-08 Martin Liska <mliska@suse.cz>
PR bootstrap/91352
* libiberty.h (is_valid_fd): New function.
2019-08-08 Martin Liska <mliska@suse.cz>
PR bootstrap/91352
* lrealpath.c (is_valid_fd): New function.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/gcc.c
trunk/gcc/lto-wrapper.c
trunk/include/ChangeLog
trunk/include/libiberty.h
trunk/libiberty/ChangeLog
trunk/libiberty/lrealpath.c
More information about the Gcc-bugs
mailing list