[gmp-4.3.1] make check fails (host: i686-pc-mingw32, build: athlon64-pc-linux-gnu)

Heiko Lechner Heiko.Lechner at ruhr-uni-bochum.de
Thu Jun 18 20:43:09 CEST 2009


So, here is how I configured things:

After a "first stage" (binutils, mingwrt+win32api headers, gcc):

W32API:
--------

../w32api/configure --prefix="${BUILD_DIR}/mingw" 
--host="${BUILD_TARGET}" --build=`../gcc-4.4.0/config.guess`

make
make install

MinGW Runtime:
---------------

../mingwrt-3.15.2-mingw32/configure --prefix="${BUILD_DIR}/mingw" 
--host="${BUILD_TARGET}" --build=`../gcc-4.4.0/config.guess`

make
make check
make install

BINUTILS:
----------

../binutils-2.19.1/configure --prefix="${BUILD_DIR}/mingw" 
--target="${BUILD_TARGET}" --host=`../gcc-4.4.0/config.guess` 
--with-sysroot="${BUILD_DIR}" --disable-nls --disable-werror

make
make check
make install

GCC:
-------

../gcc-4.4.0/configure --prefix="${BUILD_DIR}/mingw" 
--target="${BUILD_TARGET}" --host=`../gcc-4.4.0/config.guess` 
--with-sysroot="${BUILD_DIR}" --enable-sjlj-exceptions 
--enable-threads=win32 --disable-win32-registry --disable-nls 
--enable-languages=c,c++

make
make check
make install

GMP:
-----

(after editing the configure script- see other post)

CC="i686-pc-mingw32-gcc" AR="i686-pc-mingw32-ar" AS="i686-pc-mingw32-as" 
STRIP="i686-pc-mingw32-strip" DLLTOOL="i686-pc-mingw32-dlltool" 
RANLIB="i686-pc-mingw32-ranlib" OBJDUMP="i686-pc-mingw32-objdump" 
NM="i686-pc-mingw32-nm" ../gmp-4.3.1/configure 
--prefix="$BUILD_DIR/mingw" --host=none-pc-mingw32 
--build=`../gcc-4.4.0/config.guess`

make
make check

> ../../../gmp-4.3.1/tests/misc/t-scanf.c:1495: GNU MP assertion failed: ret == (-1)
> FAIL: t-scanf.exe

I found out that this could have something to do with libc, because 
sscanf returns a "wrong" value... So is this problem related to the 
MinGW runtime? Can I look over it?

TIA,
HEiko.



More information about the gmp-bugs mailing list