it is due to the mingw/mingw64 both use the default msvcrt.dll, which is not C99 compatiable. but both of them provide a externsion to override the msvcrt printf. and MinGW64 prefer use __USE_MINGW_ANSI_STDIO as a switch for this, instea...raylinn@gmail.com (ray linn)
Compiled with MinGW64, GCC (4.6.3) or (GCC 4.7.0), configure as ./configure --build=x86_64-w64-mingw32 CFLAGS="-O2 -finline-functions -I/usr/local/include" LDFLAGS="-L/usr/local/lib" ,after compiled, zero error on make test. but when mak...raylinn@gmail.com (ray linn)
Here is the update: 1. I renamed my folder local to local.old, so that any 3rd partt lib will not be linked. 2. Rolled back GCC from 4.7.0 to 4.6.2. 3. just use the following command to configure : ./configure --build=x86_64-w64-min...raylinn@gmail.com (ray linn)
Here is the update: 1. I renamed my folder local to local.old, so that any 3rd partt lib will not be linked. 2. Rolled back GCC from 4.7.0 to 4.6.2. 3. just use the following command to configure : ./configure --build=x86_64-w64-min...raylinn@gmail.com (ray linn)
here is the GDB output: Program received signal SIGSEGV, Segmentation fault. gc_mark (objspace=objspace@entry=0x524580, ptr=8589934592, lev=lev@entry=1) at gc.c:1632 1632 if (obj->as.basic.flags == 0) return; /* fr...raylinn@gmail.com (ray linn)