http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52468
Bug #: 52468 Summary: Build failure for *-*-mingw32 Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: java AssignedTo: unassig...@gcc.gnu.org ReportedBy: vanboxem.ru...@gmail.com GCC configured with: /home/ruben/mingw-w64/toolchain/src/gcc/configure --host=x86_64-linux-gnu --build=x86_64-linux-gnu --target=i686-w64-mingw32 --with-sysroot=/home/ruben/mingw-w64/toolchain/linux64mingw32/mingw32 --prefix=/home/ruben/mingw-w64/toolchain/linux64mingw32/mingw32 --with-libiconv-prefix=/home/ruben/mingw-w64/toolchain/linux64mingw32/prereq_install --with-gmp=/home/ruben/mingw-w64/toolchain/linux64mingw32/prereq_install --with-mpfr=/home/ruben/mingw-w64/toolchain/linux64mingw32/prereq_install --with-mpc=/home/ruben/mingw-w64/toolchain/linux64mingw32/prereq_install --with-ppl=/home/ruben/mingw-w64/toolchain/linux64mingw32/prereq_install --with-cloog=/home/ruben/mingw-w64/toolchain/linux64mingw32/prereq_install --enable-cloog-backend=isl --with-host-libstdcxx=-static -lstdc++ -lm -lgcc_eh --enable-shared --enable-static --enable-threads=posix --disable-multilib --enable-languages=c,lto,c++,objc,obj-c++,java --enable-libgomp --enable-libgcj --enable-sjlj-exceptions --enable-fully-dynamic-string --disable-nls -- disable-werror --enable-checking=release CFLAGS=-O2 -mtune=core2 -fomit-frame-pointer -momit-leaf-frame-pointer -fgraphite-identity -floop-interchange -floop-block -floop-parallelize-all LDFLAGS= Fails to build gcj: libtool: compile: /home/ruben/mingw-w64/toolchain/linux64mingw32/gcc/./gcc/xgcc -shared-libgcc -B/home/ruben/mingw-w64/toolchain/linux64mingw32/gcc/./gcc -nostdinc++ -L/home/ruben/mingw-w64/toolchain/linux64mingw32/gcc/i686-w64-mingw32/libstdc++-v3/src -L/home/ruben/mingw-w64/toolchain/linux64mingw32/gcc/i686-w64-mingw32/libstdc++-v3/src/.libs -L/home/ruben/mingw-w64/toolchain/linux64mingw32/mingw32/i686-w64-mingw32/lib -L/home/ruben/mingw-w64/toolchain/linux64mingw32/mingw32/mingw/lib -isystem /home/ruben/mingw-w64/toolchain/linux64mingw32/mingw32/i686-w64-mingw32/include -isystem /home/ruben/mingw-w64/toolchain/linux64mingw32/mingw32/mingw/include -B/home/ruben/mingw-w64/toolchain/linux64mingw32/mingw32/i686-w64-mingw32/bin/ -B/home/ruben/mingw-w64/toolchain/linux64mingw32/mingw32/i686-w64-mingw32/lib/ -isystem /home/ruben/mingw-w64/toolchain/linux64mingw32/mingw32/i686-w64-mingw32/include -isystem /home/ruben/mingw-w64/toolchain/linux64mingw32/mingw32/i686-w64-mingw32/sys-include -DHAVE_CONFIG_H -I. -I/ home/ruben/mingw-w64/toolchain/src/gcc/libjava -I./include -I./gcj -I/home/ruben/mingw-w64/toolchain/src/gcc/libjava -Iinclude -I/home/ruben/mingw-w64/toolchain/src/gcc/libjava/include -I/home/ruben/mingw-w64/toolchain/src/gcc/libjava/classpath/include -Iclasspath/include -I/home/ruben/mingw-w64/toolchain/src/gcc/libjava/classpath/native/fdlibm -I/home/ruben/mingw-w64/toolchain/src/gcc/libjava/../boehm-gc/include -I../boehm-gc/include -I/home/ruben/mingw-w64/toolchain/src/gcc/libjava/libltdl -I/home/ruben/mingw-w64/toolchain/src/gcc/libjava/libltdl -I/home/ruben/mingw-w64/toolchain/src/gcc/libjava/.././libjava/../libgcc -I/home/ruben/mingw-w64/toolchain/src/gcc/libjava/../zlib -I/home/ruben/mingw-w64/toolchain/src/gcc/libjava/../libffi/include -I../libffi/include -fno-rtti -fnon-call-exceptions -fdollars-in-identifiers -Wswitch-enum -D_FILE_OFFSET_BITS=64 -ffloat-store -fomit-frame-pointer -Usun -fno-omit-frame-pointer -Wextra -Wall -D_GNU_SOURCE -DPREFIX=\"/home/ruben/mingw-w64/toolchain/linux64mingw32/ mingw32\" -DTOOLEXECLIBDIR=\"/home/ruben/mingw-w64/toolchain/linux64mingw32/mingw32/i686-w64-mingw32/lib/../lib\" -DJAVA_HOME=\"/home/ruben/mingw-w64/toolchain/linux64mingw32/mingw32\" -DBOOT_CLASS_PATH=\"/home/ruben/mingw-w64/toolchain/linux64mingw32/mingw32/share/java/libgcj-4.7.0.jar\" -DJAVA_EXT_DIRS=\"/home/ruben/mingw-w64/toolchain/linux64mingw32/mingw32/share/java/ext\" -DGCJ_ENDORSED_DIRS=\"/home/ruben/mingw-w64/toolchain/linux64mingw32/mingw32/share/java/gcj-endorsed\" -DGCJ_VERSIONED_LIBDIR=\"/home/ruben/mingw-w64/toolchain/linux64mingw32/mingw32/lib/../lib/gcj-4.7.0-13\" -DPATH_SEPARATOR=\":\" -DECJ_JAR_FILE=\"\" -DLIBGCJ_DEFAULT_DATABASE=\"/home/ruben/mingw-w64/toolchain/linux64mingw32/mingw32/lib/../lib/gcj-4.7.0-13/classmap.db\" -DLIBGCJ_DEFAULT_DATABASE_PATH_TAIL=\"gcj-4.7.0-13/classmap.db\" -g -O2 -MT gnu/java/nio/natVMSelector.lo -MD -MP -MF gnu/java/nio/.deps/natVMSelector.Tpo -c gnu/java/nio/natVMSelector.cc -DDLL_EXPORT -DPIC -o gnu/java/nio/.libs/natVMSelector.o gnu/java/nio/natVMSelector.cc: In static member function 'static jint gnu::java::nio::VMSelector::select(jintArray, jintArray, jintArray, jlong)': gnu/java/nio/natVMSelector.cc:49:48: error: '_Jv_Win32GetInterruptEvent' was not declared in this scope