http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52513
Bug #: 52513 Summary: gcc-4.7.0-RC-20120302 fails to build for i686-pc-cygwin Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: bootstrap AssignedTo: unassig...@gcc.gnu.org ReportedBy: scov...@gmail.com The RC doesn't build on i686-pc-cygwin: gcc -c -DHAVE_CONFIG_H -g -fkeep-inline-functions -I. -I../../gcc-4.7.0-RC-20120302/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic ../../gcc-4.7.0-RC-20120302/libiberty/pex-unix.c -o pex-unix.o ../../gcc-4.7.0-RC-20120302/libiberty/pex-unix.c: In function ‘pex_unix_exec_child’: ../../gcc-4.7.0-RC-20120302/libiberty/pex-unix.c:549:2: warning: implicit declaration of function ‘spawnvpe’ [-Wimplicit-function-declaration] ../../gcc-4.7.0-RC-20120302/libiberty/pex-unix.c:549:18: error: ‘_P_NOWAITO’ undeclared (first use in this function) ../../gcc-4.7.0-RC-20120302/libiberty/pex-unix.c:549:18: note: each undeclared identifier is reported only once for each function it appears in ../../gcc-4.7.0-RC-20120302/libiberty/pex-unix.c:551:2: warning: implicit declaration of function ‘spawnve’ [-Wimplicit-function-declaration] Makefile:892: recipe for target `pex-unix.o' failed make[3]: *** [pex-unix.o] Error 1 make[3]: Leaving directory `/home/Ryan/apps/gcc-4.7.0-obj/libiberty' Makefile:8642: recipe for target `all-stage1-libiberty' failed make[2]: *** [all-stage1-libiberty] Error 2 make[2]: Leaving directory `/home/Ryan/apps/gcc-4.7.0-obj' Makefile:15771: recipe for target `stage1-bubble' failed make[1]: *** [stage1-bubble] Error 2 make[1]: Leaving directory `/home/Ryan/apps/gcc-4.7.0-obj' Makefile:897: recipe for target `all' failed make: *** [all] Error 2 The needed declarations seem to live in Windows headers (process.h?) This is using all official (and latest) cygwin packages: binutils-2.22.51 cygwin-1.7.11s(0.259/5/3) gcc-4.5.3 gmp-4.3.2 make-3.82.90 mpfr-3.0.1 Configure command: ../gcc-4.7.0-RC-20120302/configure --prefix=$HOME/apps/gcc-4.7 --enable-languages=c,c++,lto