------- Comment #7 from kunzjacq at yahoo dot fr 2008-09-28 09:48 ------- the above patch breaks libssp on mingw32:
make[2]: Entering directory `/e/mingw_build/build-gcc/mingw32/libssp' make "AR_FLAGS=rc" "CC_FOR_BUILD=gcc" "CFLAGS=-g -O2 " "CXXFLAGS=-g -O2 " "CFLAGS_FOR_BUILD=-g -O2" "CFLAGS_FOR_TARGET=-g -O2" "INSTALL=/usr/bin/install -c" "INSTALL_DATA=/usr/bin/install -c -m 644" "INSTALL_PROGRAM=/usr/bin/install -c" "INSTALL_SCRIPT=/usr/bin/install -c" "JC1FLAGS=" "LDFLAGS=" "LIBCFLAGS=-g -O2 " "LIBCFLAGS_FOR_TARGET=-g -O2" "MAKE=make" "MAKEINFO=/e/mingw_build/gcc-4.4-20080926-patched-mingw/missing makeinfo --split-size=5000000 --split-size=5000000 " "PICFLAG=" "PICFLAG_FOR_TARGET=" "SHELL=/bin/sh" "RUNTESTFLAGS=" "exec_prefix=/mingw" "infodir=/mingw/info" "libdir=/mingw/lib" "prefix=/mingw" "includedir=/mingw/include" "AR=/mingw/mingw32/bin/ar" "AS=/e/mingw_build/build-gcc/./gcc/as" "CC=/e/mingw_build/build-gcc/./gcc/xgcc -B/e/mingw_build/build-gcc/./gcc/ -L/e/mingw_build/build-gcc/mingw32/winsup/mingw -L/e/mingw_build/build-gcc/mingw32/winsup/w32api/lib -isystem /e/mingw_build/gcc-4.4-20080926-patched-mingw/winsup/mingw/include -isystem /e/mingw_build/gcc-4.4-20080926-patched-mingw/winsup/w32api/include -B/mingw/mingw32/bin/ -B/mingw/mingw32/lib/ -isystem /mingw/mingw32/include -isystem /mingw/mingw32/sys-include" "CXX=/e/mingw_build/build-gcc/./gcc/g++ -B/e/mingw_build/build-gcc/./gcc/ -nostdinc++ -nostdinc++ -I/e/mingw_build/build-gcc/mingw32/libstdc++-v3/include/mingw32 -I/e/mingw_build/build-gcc/mingw32/libstdc++-v3/include -I/e/mingw_build/gcc-4.4-20080926-patched-mingw/libstdc++-v3/libsupc++ -I/e/mingw_build/gcc-4.4-20080926-patched-mingw/libstdc++-v3/include/backward -I/e/mingw_build/gcc-4.4-20080926-patched-mingw/libstdc++-v3/testsuite/util -L/e/mingw_build/build-gcc/mingw32/libstdc++-v3/src -L/e/mingw_build/build-gcc/mingw32/libstdc++-v3/src/.libs -L/e/mingw_build/build-gcc/mingw32/winsup/mingw -L/e/mingw_build/build-gcc/mingw32/winsup/w32api/lib -isystem /e/mingw_build/gcc-4.4-20080926-patched-mingw/winsup/mingw/include -isystem /e/mingw_build/gcc-4.4-20080926-patched-mingw/winsup/w32api/include -B/mingw/mingw32/bin/ -B/mingw/mingw32/lib/ -isystem /mingw/mingw32/include -isystem /mingw/mingw32/sys-include" "LD=/e/mingw_build/build-gcc/./gcc/collect-ld" "LIBCFLAGS=-g -O2 " "NM=/e/mingw_build/build-gcc/./gcc/nm" "PICFLAG=" "RANLIB=/mingw/mingw32/bin/ranlib" "DESTDIR=" all-ammake[3]: Entering directory `/e/mingw_build/build-gcc/mingw32/libssp' /bin/sh ./libtool --tag=CC --mode=link /e/mingw_build/build-gcc/./gcc/xgcc -B/e/mingw_build/build-gcc/./gcc/ -L/e/mingw_build/build-gcc/mingw32/winsup/mingw -L/e/mingw_build/build-gcc/mingw32/winsup/w32api/lib -isystem /e/mingw_build/gcc-4.4-20080926-patched-mingw/winsup/mingw/include -isystem /e/mingw_build/gcc-4.4-20080926-patched-mingw/winsup/w32api/include -B/mingw/mingw32/bin/ -B/mingw/mingw32/lib/ -isystem /mingw/mingw32/include -isystem /mingw/mingw32/sys-include -Wall -g -O2 -o libssp.la -rpath /mingw/lib -version-info `grep -v '^#' ../../../../mingw_build/gcc-4.4-20080926-patched-mingw/libssp/libtool-version` -Wl,--version-script=../../../../mingw_build/gcc-4.4-20080926-patched-mingw/libssp/ssp.map -no-undefined ssp.lo gets-chk.lo memcpy-chk.lo memmove-chk.lo mempcpy-chk.lo memset-chk.lo snprintf-chk.lo sprintf-chk.lo stpcpy-chk.lo strcat-chk.lo strcpy-chk.lo strncat-chk.lo strncpy-chk.lo vsnprintf-chk.lo vsprintf-chk.lo libtool: link: rm -fr .libs/libssp.dll.a libtool: link: /e/mingw_build/build-gcc/./gcc/xgcc -B/e/mingw_build/build-gcc/./gcc/ -L/e/mingw_build/build-gcc/mingw32/winsup/mingw -L/e/mingw_build/build-gcc/mingw32/winsup/w32api/lib -isystem /e/mingw_build/gcc-4.4-20080926-patched-mingw/winsup/mingw/include -isystem /e/mingw_build/gcc-4.4-20080926-patched-mingw/winsup/w32api/include -B/mingw/mingw32/bin/ -B/mingw/mingw32/lib/ -isystem /mingw/mingw32/include -isystem /mingw/mingw32/sys-include -shared .libs/ssp.o .libs/gets-chk.o .libs/memcpy-chk.o .libs/memmove-chk.o .libs/mempcpy-chk.o .libs/memset-chk.o .libs/snprintf-chk.o .libs/sprintf-chk.o .libs/stpcpy-chk.o .libs/strcat-chk.o .libs/strcpy-chk.o .libs/strncat-chk.o .libs/strncpy-chk.o .libs/vsnprintf-chk.o .libs/vsprintf-chk.o -L/e/mingw_build/build-gcc/mingw32/winsup/mingw -L/e/mingw_build/build-gcc/mingw32/winsup/w32api/lib -Wl,--version-script=../../../../mingw_build/gcc-4.4-20080926-patched-mingw/libssp/ssp.map -o .libs/libssp-0.dll -Wl,--enable-auto-image-base -Xlinker --out-implib -Xlinker .libs/libssp.dll.a Creating library file: .libs/libssp.dll.a .libs/ssp.o:ssp.c:(.text+0x35): undefined reference to `___chkstk' .libs/gets-chk.o:gets-chk.c:(.text+0xb7): undefined reference to `___chkstk' c:/Programs_64_32/mingw/lib/libmingwex.a(pformat.o):pformat.c:(.text+0x2ef): undefined reference to `__alloca' c:/Programs_64_32/mingw/lib/libmingwex.a(pformat.o):pformat.c:(.text+0x592): undefined reference to `__alloca' c:/Programs_64_32/mingw/lib/libmingwex.a(pformat.o):pformat.c:(.text+0x7e9): undefined reference to `__alloca' -- kunzjacq at yahoo dot fr changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kunzjacq at yahoo dot fr Status|RESOLVED |REOPENED Resolution|FIXED | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37528