Hi,

using a fully static build toolchain:

gcc.exe (rev0, Built by MinGW-W64 project) 4.8.2

build with the mingw-build scripts (github) on msys2 (Windows7) I've
problems with the import of symbols only available on msvcrt. I use a
customized 'specs' to ensure exclusive msvcr90 runtime dependancy due to my
needs.

gfortran g90_gomp.f90 -fopenmp

d:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.2/libgomp.a(time.o):(.text+0xb):
undefined reference to `__imp__ftime'
d:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.2/../../../../x86_64-w64-mingw32/lib/../lib/libpthread.a(libwinpthread_la-misc.o):misc.c:(.text+0xb):
undefined reference to `__imp__ftime'
d:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.2/../../../../x86_64-w64-mingw32/lib/../lib/libpthread.a(libwinpthread_la-misc.o):misc.c:(.text+0x95):
undefined reference to `__imp__ftime'
d:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.2/../../../../x86_64-w64-mingw32/bin/ld.exe:
d:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.2/../../../../x86_64-w64-mingw32/lib/../lib/libpthread.a(libwinpthread_la-misc.o):
bad reloc address 0x0 in section `.pdata'
d:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.2/../../../../x86_64-w64-mingw32/bin/ld.exe:
final link failed: Invalid operation
collect2.exe: error: ld returned 1 exit status

Is there any other option other than patching the sources to use _ftime64
instead og _ftime?

Regards

Carl
------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to