https://bugs.winehq.org/show_bug.cgi?id=36550
Bug ID: 36550 Summary: cygwin build broken in dlls/msvcrt/tests Product: Wine Version: 1.7.19 Hardware: x86 OS: Windows Status: NEW Keywords: download, source Severity: major Priority: P2 Component: msvcrt Assignee: wine-bugs@winehq.org Reporter: austinenglish@gmail.com
user@user-PC ~/wine-git/dlls/msvcrt/tests $ make ../../../tools/winegcc/winegcc.exe -o msvcrt_test-stripped.exe -B../../../tools/winebuild -fasynchronous-unwind-tables \ -Wb,-F,msvcrt_test.exe -mno-cygwin cpp.o data.o dir.o environ.o file.o headers.o heap.o locale.o \ misc.o printf.o scanf.o signal.o string.o time.o testlist.o -lm ../../../dlls/msvcrt/libmsvcrt.a(daccs01012.o):(.text+0x0): multiple definition of `sqrt' /usr/lib/gcc/i686-pc-cygwin/4.8.2/../../../libm.a(t-d001735.o):fake:(.text+0x0): first defined here collect2: error: ld returned 1 exit status winegcc: gcc failed Makefile:422: recipe for target 'msvcrt_test-stripped.exe' failed make: *** [msvcrt_test-stripped.exe] Error 2
user@user-PC ~/wine-git/dlls/msvcrt/tests $ gcc -v Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/lib/gcc/i686-pc-cygwin/4.8.2/lto-wrapper.exe Target: i686-pc-cygwin Configured with: /cygdrive/i/szsz/tmpp/gcc4/gcc-4.8.2-2/src/gcc-4.8.2/configure --srcdir=/cygdrive/i/szsz/tmpp/gcc4/gcc-4.8.2-2/src/gcc-4.8.2 --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --libexecdir=/usr/libexec --datadir=/usr/share --localstatedir=/var --sysconfdir=/etc --libdir=/usr/lib --datarootdir=/usr/share --docdir=/usr/share/doc/gcc --htmldir=/usr/share/doc/gcc/html -C --build=i686-pc-cygwin --host=i686-pc-cygwin --target=i686-pc-cygwin --without-libiconv-prefix --without-libintl-prefix --enable-shared --enable-shared-libgcc --enable-static --enable-version-specific-runtime-libs --enable-bootstrap --disable-__cxa_atexit --with-dwarf2 --with-arch=i686 --with-tune=generic --disable-sjlj-exceptions --enable-languages=ada,c,c++,fortran,java,lto,objc,obj-c++ --enable-graphite --enable-threads=posix --enable-libatomic --enable-libgomp --disable-libitm --enable-libquadmath --enable-libquadmath-support --enable-libssp --enable-libada --enable-libjava --enable-libgcj-sublibs --disable-java-awt --disable-symvers --with-ecj-jar=/usr/share/java/ecj.jar --with-gnu-ld --with-gnu-as --with-cloog-include=/usr/include/cloog-isl --without-libiconv-prefix --without-libintl-prefix --with-system-zlib --libexecdir=/usr/lib Thread model: posix gcc version 4.8.2 (GCC)