r192002 breaks mingw-w64 cross compiler

Christer Solskogen christer.solskogen@gmail.com
Fri Oct 5 01:30:00 GMT 2012


Here's the error:

/home/solskogen/obj/_build/gcc.cross.x86_64-w64-mingw32/./gcc/xgcc 
-B/home/solskogen/obj/_build/gcc.cross.x86_64-w64-mingw32/./gcc/ 
-L/home/solskogen/obj/cross-mingw-w64/x86_64-w64-mingw32/lib 
-L/home/solskogen/obj/cross-mingw-w64/mingw/lib -isystem 
/home/solskogen/obj/cross-mingw-w64/x86_64-w64-mingw32/include -isystem 
/home/solskogen/obj/cross-mingw-w64/mingw/include 
-B/home/solskogen/obj/cross-mingw-w64/x86_64-w64-mingw32/bin/ 
-B/home/solskogen/obj/cross-mingw-w64/x86_64-w64-mingw32/lib/ -isystem 
/home/solskogen/obj/cross-mingw-w64/x86_64-w64-mingw32/include -isystem 
/home/solskogen/obj/cross-mingw-w64/x86_64-w64-mingw32/sys-include    -g 
-O2 -pipe -march=native -m32 -O2  -g -O2 -pipe -march=native -DIN_GCC 
-DCROSS_DIRECTORY_STRUCTURE  -W -Wall -Wno-narrowing -Wwrite-strings 
-Wcast-qual -Wstrict-prototypes -Wmissing-prototypes 
-Wold-style-definition  -isystem ./include   -g -DIN_LIBGCC2 
-fbuilding-libgcc -fno-stack-protector   -I. -I. -I../../.././gcc 
-I/home/solskogen/mingw-w64-builder/bin/gcc/libgcc 
-I/home/solskogen/mingw-w64-builder/bin/gcc/libgcc/. 
-I/home/solskogen/mingw-w64-builder/bin/gcc/libgcc/../gcc 
-I/home/solskogen/mingw-w64-builder/bin/gcc/libgcc/../include 
-I/home/solskogen/mingw-w64-builder/bin/gcc/libgcc/config/libbid 
-DENABLE_DECIMAL_BID_FORMAT -DHAVE_CC_TLS -DUSE_EMUTLS -o gthr-win32.o 
-MT gthr-win32.o -MD -MP -MF gthr-win32.dep  -c 
/home/solskogen/mingw-w64-builder/bin/gcc/libgcc/config/i386/gthr-win32.c
In file included from 
/home/solskogen/mingw-w64-builder/bin/gcc/libgcc/config/i386/gthr-win32.c:36:0:
/home/solskogen/mingw-w64-builder/bin/gcc/libgcc/config/i386/gthr-win32.h: 
In function '__gthread_recursive_mutex_destroy':
/home/solskogen/mingw-w64-builder/bin/gcc/libgcc/config/i386/gthr-win32.h:543:48: 
error: '__mutex' undeclared (first use in this function)
    return __gthr_win32_recursive_mutex_destroy (__mutex);
                                                 ^
/home/solskogen/mingw-w64-builder/bin/gcc/libgcc/config/i386/gthr-win32.h:543:48: 
note: each undeclared identifier is reported only once for each function 
it appears in
/home/solskogen/mingw-w64-builder/bin/gcc/libgcc/config/i386/gthr-win32.h:541:65: 
warning: unused parameter 'mutex' [-Wunused-parameter]
  __gthread_recursive_mutex_destroy (__gthread_recursive_mutex_t *mutex)

-- 
chs




More information about the Gcc-help mailing list