Hi:
  latest mingw64 cross toolchain in cygwin(mingw64-x86_64-gcc-4.5.3-4)
seems have some dllexport/dllimport issues. I'm supposing that it is
related to http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44139

when 'make check' with mpfr, it shows:
libtool: link: x86_64-w64-mingw32-gcc -Wall -Wmissing-prototypes
-Wpointer-arith -g -O2 -o .libs/tversion.exe tversion.o
-L/mingw64/usr/lib64 ./.libs/libfrtests.a ../src/.libs/libmpfr.dll.a
/mingw64/usr/lib64/libgmp.dll.a -L/b/build/mpfr-3.1.0/src/.libs
-L/mingw64/usr/lib64 -L/mingw64/usr/lib -L/mingw64/usr/lib64
./.libs/libfrtests.a(tests.o): In function `tests_start_mpfr':
/b/build/mpfr-3.1.0/tests/tests.c:184: undefined reference to
`__emutls_v.__gmpfr_emin'
/b/build/mpfr-3.1.0/tests/tests.c:185: undefined reference to
`__emutls_v.__gmpfr_emax'
./.libs/libfrtests.a(tests.o): In function `tests_end_mpfr':
/b/build/mpfr-3.1.0/tests/tests.c:193: undefined reference to
`__emutls_v.__gmpfr_emin'
/b/build/mpfr-3.1.0/tests/tests.c:199: undefined reference to
`__emutls_v.__gmpfr_emax'
./.libs/libfrtests.a(tests.o): In function `bad_cases':
/b/build/mpfr-3.1.0/tests/tests.c:827: undefined reference to
`__emutls_v.__gmpfr_emin'
/b/build/mpfr-3.1.0/tests/tests.c:828: undefined reference to
`__emutls_v.__gmpfr_emax'
/b/build/mpfr-3.1.0/tests/tests.c:851: undefined reference to
`__emutls_v.__gmpfr_flags'
/b/build/mpfr-3.1.0/tests/tests.c:853: undefined reference to
`__emutls_v.__gmpfr_flags'
/b/build/mpfr-3.1.0/tests/tests.c:891: undefined reference to
`__emutls_v.__gmpfr_flags'
collect2: ld returned 1 exit status
Makefile:1649: recipe for target `tversion.exe' failed
make[2]: *** [tversion.exe] Error 1

mpfr was built with the following params:
./configure --prefix=/mingw64/usr --build=x86_64-w64-mingw32
--host=x86_64-w64-mingw32 --disable-s
tatic --enable-shared


------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to