Closed rustyscottweber closed 6 years ago
Huh, can you attach your config-host.h? I'm assuming it works if you pass --disable-http to configure?
Looking at the automated builds, both 32 and 64-bit seem to build fine for Windows (and don't detect the necessary parts for the http engine, hence they are not building it):
https://ci.appveyor.com/project/axboe/fio/build/job/nc5rcc8p24b0viwh
/*
* Automatically generated by configure - do not modify
* Configured with: * './configure'
*/
#define CONFIG_WINDOWS_7
#define CONFIG_WINDOWSAIO
#define CONFIG_32BIT
#define CONFIG_LITTLE_ENDIAN
#define CONFIG_ZLIB
#define CONFIG_HAVE_ASPRINTF
#define CONFIG_HAVE_VASPRINTF
#define CONFIG_FDATASYNC
#define CONFIG_SFAA
#define CONFIG_SYNC_SYNC
#define CONFIG_CMP_SWAP
#define CONFIG_CLOCK_GETTIME
#define CONFIG_CLOCK_MONOTONIC
#define CONFIG_CLOCKID_T
#define CONFIG_GETTIMEOFDAY
#define CONFIG_GETOPT_LONG_ONLY
#define CONFIG_SOCKLEN_T
#define CONFIG_TLS_THREAD
#define CONFIG_RUSAGE_THREAD
#define CONFIG_SCHED_IDLE
#define CONFIG_TCP_NODELAY
#define CONFIG_IPV6
#define CONFIG_HTTP
#define CONFIG_SETVBUF
#define CONFIG_STATIC_ASSERT
#define CONFIG_HAVE_BOOL
#define CONFIG_BUILD_NATIVE
Confirmed. Disabling http in the configuration proceeds works around the issue.
Can you attach config.log as well?
Attached. config.log
Funky, the old ssl/curl compiles and links fine for the test case, but fails miserably for fio itself. Can you send the output of a make V=1, after you've done a make clean && configure?
$ make V=1
FIO_VERSION = fio-3.10-5-ge260
Running configure ...
Forcing some known good options on Windows
Operating system CYGWIN_NT-10.0
CPU x86_64
Big endian no
Target Windows version 7
Compiler x86_64-w64-mingw32-gcc
Cross compile no
Static build no
Wordsize 32
zlib yes
Linux AIO support no
POSIX AIO support no
POSIX AIO support needs -lrt no
POSIX AIO fsync no
POSIX pshared support no
Solaris AIO support no
__sync_fetch_and_add yes
__sync_synchronize yes
__sync_val_compare_and_swap yes
libverbs no
rdmacm no
asprintf() yes
vasprintf() yes
Linux fallocate no
POSIX fadvise no
POSIX fallocate no
sched_setaffinity(3 arg) no
sched_setaffinity(2 arg) no
clock_gettime yes
CLOCK_MONOTONIC yes
CLOCK_MONOTONIC_RAW no
CLOCK_MONOTONIC_PRECISE no
clockid_t yes
gettimeofday yes
fdatasync yes
sync_file_range no
EXT4 move extent no
Linux splice(2) no
GUASI no
libnuma no
strsep no
strcasestr no
strlcat no
getopt_long_only() yes
inet_aton no
socklen_t yes
__thread yes
RUSAGE_THREAD yes
SCHED_IDLE yes
TCP_NODELAY yes
Net engine window_size no
TCP_MAXSEG no
RLIMIT_MEMLOCK no
pwritev/preadv no
pwritev2/preadv2 no
IPv6 helpers yes
http engine yes
Rados engine no
Rados Block Device engine no
setvbuf yes
Gluster API engine no
s390_z196_facilities no
HDFS engine no
MTD no
libpmem no
libpmemblk no
PMDK pmemblk engine no
PMDK dev-dax engine no
PMDK libpmem engine no
DDN's Infinite Memory Engine no
lex/yacc for arithmetic no
getmntent no
getmntinfo no
Static Assert yes
bool yes
strndup no
Valgrind headers no
Zoned block device support no
march_armv8_a_crc_crypto no
cuda no
mkdir(a, b) no
Build march=native yes
x86_64-w64-mingw32-gcc -o crc/crc16.o -std=gnu99 -Wwrite-strings -Wall -Wdeclaration-after-statement -g -ffast-math -D_GNU_SOURCE -include config-host.h -D_WIN32_WINNT=0x0601 -I. -I. -O3 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -march=native -DBITS_PER_LONG=32 -DPSAPI_VERSION=1 -Ios/windows/posix/include -Wno-format -static -DFIO_VERSION='"fio-3.10-5-ge260"' -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFIO_INTERNAL -DFIO_INC_DEBUG -c crc/crc16.c
x86_64-w64-mingw32-gcc -o crc/crc32.o -std=gnu99 -Wwrite-strings -Wall -Wdeclaration-after-statement -g -ffast-math -D_GNU_SOURCE -include config-host.h -D_WIN32_WINNT=0x0601 -I. -I. -O3 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -march=native -DBITS_PER_LONG=32 -DPSAPI_VERSION=1 -Ios/windows/posix/include -Wno-format -static -DFIO_VERSION='"fio-3.10-5-ge260"' -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFIO_INTERNAL -DFIO_INC_DEBUG -c crc/crc32.c
x86_64-w64-mingw32-gcc -o crc/crc32c-arm64.o -std=gnu99 -Wwrite-strings -Wall -Wdeclaration-after-statement -g -ffast-math -D_GNU_SOURCE -include config-host.h -D_WIN32_WINNT=0x0601 -I. -I. -O3 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -march=native -DBITS_PER_LONG=32 -DPSAPI_VERSION=1 -Ios/windows/posix/include -Wno-format -static -DFIO_VERSION='"fio-3.10-5-ge260"' -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFIO_INTERNAL -DFIO_INC_DEBUG -c crc/crc32c-arm64.c
x86_64-w64-mingw32-gcc -o crc/crc32c-intel.o -std=gnu99 -Wwrite-strings -Wall -Wdeclaration-after-statement -g -ffast-math -D_GNU_SOURCE -include config-host.h -D_WIN32_WINNT=0x0601 -I. -I. -O3 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -march=native -DBITS_PER_LONG=32 -DPSAPI_VERSION=1 -Ios/windows/posix/include -Wno-format -static -DFIO_VERSION='"fio-3.10-5-ge260"' -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFIO_INTERNAL -DFIO_INC_DEBUG -c crc/crc32c-intel.c
x86_64-w64-mingw32-gcc -o crc/crc32c.o -std=gnu99 -Wwrite-strings -Wall -Wdeclaration-after-statement -g -ffast-math -D_GNU_SOURCE -include config-host.h -D_WIN32_WINNT=0x0601 -I. -I. -O3 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -march=native -DBITS_PER_LONG=32 -DPSAPI_VERSION=1 -Ios/windows/posix/include -Wno-format -static -DFIO_VERSION='"fio-3.10-5-ge260"' -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFIO_INTERNAL -DFIO_INC_DEBUG -c crc/crc32c.c
x86_64-w64-mingw32-gcc -o crc/crc64.o -std=gnu99 -Wwrite-strings -Wall -Wdeclaration-after-statement -g -ffast-math -D_GNU_SOURCE -include config-host.h -D_WIN32_WINNT=0x0601 -I. -I. -O3 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -march=native -DBITS_PER_LONG=32 -DPSAPI_VERSION=1 -Ios/windows/posix/include -Wno-format -static -DFIO_VERSION='"fio-3.10-5-ge260"' -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFIO_INTERNAL -DFIO_INC_DEBUG -c crc/crc64.c
x86_64-w64-mingw32-gcc -o crc/crc7.o -std=gnu99 -Wwrite-strings -Wall -Wdeclaration-after-statement -g -ffast-math -D_GNU_SOURCE -include config-host.h -D_WIN32_WINNT=0x0601 -I. -I. -O3 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -march=native -DBITS_PER_LONG=32 -DPSAPI_VERSION=1 -Ios/windows/posix/include -Wno-format -static -DFIO_VERSION='"fio-3.10-5-ge260"' -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFIO_INTERNAL -DFIO_INC_DEBUG -c crc/crc7.c
x86_64-w64-mingw32-gcc -o crc/fnv.o -std=gnu99 -Wwrite-strings -Wall -Wdeclaration-after-statement -g -ffast-math -D_GNU_SOURCE -include config-host.h -D_WIN32_WINNT=0x0601 -I. -I. -O3 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -march=native -DBITS_PER_LONG=32 -DPSAPI_VERSION=1 -Ios/windows/posix/include -Wno-format -static -DFIO_VERSION='"fio-3.10-5-ge260"' -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFIO_INTERNAL -DFIO_INC_DEBUG -c crc/fnv.c
x86_64-w64-mingw32-gcc -o crc/md5.o -std=gnu99 -Wwrite-strings -Wall -Wdeclaration-after-statement -g -ffast-math -D_GNU_SOURCE -include config-host.h -D_WIN32_WINNT=0x0601 -I. -I. -O3 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -march=native -DBITS_PER_LONG=32 -DPSAPI_VERSION=1 -Ios/windows/posix/include -Wno-format -static -DFIO_VERSION='"fio-3.10-5-ge260"' -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFIO_INTERNAL -DFIO_INC_DEBUG -c crc/md5.c
x86_64-w64-mingw32-gcc -o crc/murmur3.o -std=gnu99 -Wwrite-strings -Wall -Wdeclaration-after-statement -g -ffast-math -D_GNU_SOURCE -include config-host.h -D_WIN32_WINNT=0x0601 -I. -I. -O3 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -march=native -DBITS_PER_LONG=32 -DPSAPI_VERSION=1 -Ios/windows/posix/include -Wno-format -static -DFIO_VERSION='"fio-3.10-5-ge260"' -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFIO_INTERNAL -DFIO_INC_DEBUG -c crc/murmur3.c
x86_64-w64-mingw32-gcc -o crc/sha1.o -std=gnu99 -Wwrite-strings -Wall -Wdeclaration-after-statement -g -ffast-math -D_GNU_SOURCE -include config-host.h -D_WIN32_WINNT=0x0601 -I. -I. -O3 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -march=native -DBITS_PER_LONG=32 -DPSAPI_VERSION=1 -Ios/windows/posix/include -Wno-format -static -DFIO_VERSION='"fio-3.10-5-ge260"' -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFIO_INTERNAL -DFIO_INC_DEBUG -c crc/sha1.c
x86_64-w64-mingw32-gcc -o crc/sha256.o -std=gnu99 -Wwrite-strings -Wall -Wdeclaration-after-statement -g -ffast-math -D_GNU_SOURCE -include config-host.h -D_WIN32_WINNT=0x0601 -I. -I. -O3 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -march=native -DBITS_PER_LONG=32 -DPSAPI_VERSION=1 -Ios/windows/posix/include -Wno-format -static -DFIO_VERSION='"fio-3.10-5-ge260"' -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFIO_INTERNAL -DFIO_INC_DEBUG -c crc/sha256.c
x86_64-w64-mingw32-gcc -o crc/sha3.o -std=gnu99 -Wwrite-strings -Wall -Wdeclaration-after-statement -g -ffast-math -D_GNU_SOURCE -include config-host.h -D_WIN32_WINNT=0x0601 -I. -I. -O3 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -march=native -DBITS_PER_LONG=32 -DPSAPI_VERSION=1 -Ios/windows/posix/include -Wno-format -static -DFIO_VERSION='"fio-3.10-5-ge260"' -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFIO_INTERNAL -DFIO_INC_DEBUG -c crc/sha3.c
x86_64-w64-mingw32-gcc -o crc/sha512.o -std=gnu99 -Wwrite-strings -Wall -Wdeclaration-after-statement -g -ffast-math -D_GNU_SOURCE -include config-host.h -D_WIN32_WINNT=0x0601 -I. -I. -O3 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -march=native -DBITS_PER_LONG=32 -DPSAPI_VERSION=1 -Ios/windows/posix/include -Wno-format -static -DFIO_VERSION='"fio-3.10-5-ge260"' -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFIO_INTERNAL -DFIO_INC_DEBUG -c crc/sha512.c
x86_64-w64-mingw32-gcc -o crc/test.o -std=gnu99 -Wwrite-strings -Wall -Wdeclaration-after-statement -g -ffast-math -D_GNU_SOURCE -include config-host.h -D_WIN32_WINNT=0x0601 -I. -I. -O3 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -march=native -DBITS_PER_LONG=32 -DPSAPI_VERSION=1 -Ios/windows/posix/include -Wno-format -static -DFIO_VERSION='"fio-3.10-5-ge260"' -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFIO_INTERNAL -DFIO_INC_DEBUG -c crc/test.c
x86_64-w64-mingw32-gcc -o crc/xxhash.o -std=gnu99 -Wwrite-strings -Wall -Wdeclaration-after-statement -g -ffast-math -D_GNU_SOURCE -include config-host.h -D_WIN32_WINNT=0x0601 -I. -I. -O3 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -march=native -DBITS_PER_LONG=32 -DPSAPI_VERSION=1 -Ios/windows/posix/include -Wno-format -static -DFIO_VERSION='"fio-3.10-5-ge260"' -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFIO_INTERNAL -DFIO_INC_DEBUG -c crc/xxhash.c
x86_64-w64-mingw32-gcc -o lib/axmap.o -std=gnu99 -Wwrite-strings -Wall -Wdeclaration-after-statement -g -ffast-math -D_GNU_SOURCE -include config-host.h -D_WIN32_WINNT=0x0601 -I. -I. -O3 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -march=native -DBITS_PER_LONG=32 -DPSAPI_VERSION=1 -Ios/windows/posix/include -Wno-format -static -DFIO_VERSION='"fio-3.10-5-ge260"' -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFIO_INTERNAL -DFIO_INC_DEBUG -c lib/axmap.c
x86_64-w64-mingw32-gcc -o lib/bloom.o -std=gnu99 -Wwrite-strings -Wall -Wdeclaration-after-statement -g -ffast-math -D_GNU_SOURCE -include config-host.h -D_WIN32_WINNT=0x0601 -I. -I. -O3 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -march=native -DBITS_PER_LONG=32 -DPSAPI_VERSION=1 -Ios/windows/posix/include -Wno-format -static -DFIO_VERSION='"fio-3.10-5-ge260"' -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFIO_INTERNAL -DFIO_INC_DEBUG -c lib/bloom.c
x86_64-w64-mingw32-gcc -o lib/flist_sort.o -std=gnu99 -Wwrite-strings -Wall -Wdeclaration-after-statement -g -ffast-math -D_GNU_SOURCE -include config-host.h -D_WIN32_WINNT=0x0601 -I. -I. -O3 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -march=native -DBITS_PER_LONG=32 -DPSAPI_VERSION=1 -Ios/windows/posix/include -Wno-format -static -DFIO_VERSION='"fio-3.10-5-ge260"' -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFIO_INTERNAL -DFIO_INC_DEBUG -c lib/flist_sort.c
x86_64-w64-mingw32-gcc -o lib/gauss.o -std=gnu99 -Wwrite-strings -Wall -Wdeclaration-after-statement -g -ffast-math -D_GNU_SOURCE -include config-host.h -D_WIN32_WINNT=0x0601 -I. -I. -O3 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -march=native -DBITS_PER_LONG=32 -DPSAPI_VERSION=1 -Ios/windows/posix/include -Wno-format -static -DFIO_VERSION='"fio-3.10-5-ge260"' -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFIO_INTERNAL -DFIO_INC_DEBUG -c lib/gauss.c
x86_64-w64-mingw32-gcc -o lib/getrusage.o -std=gnu99 -Wwrite-strings -Wall -Wdeclaration-after-statement -g -ffast-math -D_GNU_SOURCE -include config-host.h -D_WIN32_WINNT=0x0601 -I. -I. -O3 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -march=native -DBITS_PER_LONG=32 -DPSAPI_VERSION=1 -Ios/windows/posix/include -Wno-format -static -DFIO_VERSION='"fio-3.10-5-ge260"' -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFIO_INTERNAL -DFIO_INC_DEBUG -c lib/getrusage.c
x86_64-w64-mingw32-gcc -o lib/hweight.o -std=gnu99 -Wwrite-strings -Wall -Wdeclaration-after-statement -g -ffast-math -D_GNU_SOURCE -include config-host.h -D_WIN32_WINNT=0x0601 -I. -I. -O3 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -march=native -DBITS_PER_LONG=32 -DPSAPI_VERSION=1 -Ios/windows/posix/include -Wno-format -static -DFIO_VERSION='"fio-3.10-5-ge260"' -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFIO_INTERNAL -DFIO_INC_DEBUG -c lib/hweight.c
x86_64-w64-mingw32-gcc -o lib/ieee754.o -std=gnu99 -Wwrite-strings -Wall -Wdeclaration-after-statement -g -ffast-math -D_GNU_SOURCE -include config-host.h -D_WIN32_WINNT=0x0601 -I. -I. -O3 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -march=native -DBITS_PER_LONG=32 -DPSAPI_VERSION=1 -Ios/windows/posix/include -Wno-format -static -DFIO_VERSION='"fio-3.10-5-ge260"' -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFIO_INTERNAL -DFIO_INC_DEBUG -c lib/ieee754.c
x86_64-w64-mingw32-gcc -o lib/lfsr.o -std=gnu99 -Wwrite-strings -Wall -Wdeclaration-after-statement -g -ffast-math -D_GNU_SOURCE -include config-host.h -D_WIN32_WINNT=0x0601 -I. -I. -O3 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -march=native -DBITS_PER_LONG=32 -DPSAPI_VERSION=1 -Ios/windows/posix/include -Wno-format -static -DFIO_VERSION='"fio-3.10-5-ge260"' -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFIO_INTERNAL -DFIO_INC_DEBUG -c lib/lfsr.c
x86_64-w64-mingw32-gcc -o lib/memalign.o -std=gnu99 -Wwrite-strings -Wall -Wdeclaration-after-statement -g -ffast-math -D_GNU_SOURCE -include config-host.h -D_WIN32_WINNT=0x0601 -I. -I. -O3 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -march=native -DBITS_PER_LONG=32 -DPSAPI_VERSION=1 -Ios/windows/posix/include -Wno-format -static -DFIO_VERSION='"fio-3.10-5-ge260"' -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFIO_INTERNAL -DFIO_INC_DEBUG -c lib/memalign.c
x86_64-w64-mingw32-gcc -o lib/memcpy.o -std=gnu99 -Wwrite-strings -Wall -Wdeclaration-after-statement -g -ffast-math -D_GNU_SOURCE -include config-host.h -D_WIN32_WINNT=0x0601 -I. -I. -O3 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -march=native -DBITS_PER_LONG=32 -DPSAPI_VERSION=1 -Ios/windows/posix/include -Wno-format -static -DFIO_VERSION='"fio-3.10-5-ge260"' -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFIO_INTERNAL -DFIO_INC_DEBUG -c lib/memcpy.c
x86_64-w64-mingw32-gcc -o lib/mountcheck.o -std=gnu99 -Wwrite-strings -Wall -Wdeclaration-after-statement -g -ffast-math -D_GNU_SOURCE -include config-host.h -D_WIN32_WINNT=0x0601 -I. -I. -O3 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -march=native -DBITS_PER_LONG=32 -DPSAPI_VERSION=1 -Ios/windows/posix/include -Wno-format -static -DFIO_VERSION='"fio-3.10-5-ge260"' -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFIO_INTERNAL -DFIO_INC_DEBUG -c lib/mountcheck.c
x86_64-w64-mingw32-gcc -o lib/num2str.o -std=gnu99 -Wwrite-strings -Wall -Wdeclaration-after-statement -g -ffast-math -D_GNU_SOURCE -include config-host.h -D_WIN32_WINNT=0x0601 -I. -I. -O3 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -march=native -DBITS_PER_LONG=32 -DPSAPI_VERSION=1 -Ios/windows/posix/include -Wno-format -static -DFIO_VERSION='"fio-3.10-5-ge260"' -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFIO_INTERNAL -DFIO_INC_DEBUG -c lib/num2str.c
x86_64-w64-mingw32-gcc -o lib/output_buffer.o -std=gnu99 -Wwrite-strings -Wall -Wdeclaration-after-statement -g -ffast-math -D_GNU_SOURCE -include config-host.h -D_WIN32_WINNT=0x0601 -I. -I. -O3 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -march=native -DBITS_PER_LONG=32 -DPSAPI_VERSION=1 -Ios/windows/posix/include -Wno-format -static -DFIO_VERSION='"fio-3.10-5-ge260"' -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFIO_INTERNAL -DFIO_INC_DEBUG -c lib/output_buffer.c
x86_64-w64-mingw32-gcc -o lib/pattern.o -std=gnu99 -Wwrite-strings -Wall -Wdeclaration-after-statement -g -ffast-math -D_GNU_SOURCE -include config-host.h -D_WIN32_WINNT=0x0601 -I. -I. -O3 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -march=native -DBITS_PER_LONG=32 -DPSAPI_VERSION=1 -Ios/windows/posix/include -Wno-format -static -DFIO_VERSION='"fio-3.10-5-ge260"' -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFIO_INTERNAL -DFIO_INC_DEBUG -c lib/pattern.c
x86_64-w64-mingw32-gcc -o lib/prio_tree.o -std=gnu99 -Wwrite-strings -Wall -Wdeclaration-after-statement -g -ffast-math -D_GNU_SOURCE -include config-host.h -D_WIN32_WINNT=0x0601 -I. -I. -O3 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -march=native -DBITS_PER_LONG=32 -DPSAPI_VERSION=1 -Ios/windows/posix/include -Wno-format -static -DFIO_VERSION='"fio-3.10-5-ge260"' -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFIO_INTERNAL -DFIO_INC_DEBUG -c lib/prio_tree.c
x86_64-w64-mingw32-gcc -o lib/rand.o -std=gnu99 -Wwrite-strings -Wall -Wdeclaration-after-statement -g -ffast-math -D_GNU_SOURCE -include config-host.h -D_WIN32_WINNT=0x0601 -I. -I. -O3 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -march=native -DBITS_PER_LONG=32 -DPSAPI_VERSION=1 -Ios/windows/posix/include -Wno-format -static -DFIO_VERSION='"fio-3.10-5-ge260"' -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFIO_INTERNAL -DFIO_INC_DEBUG -c lib/rand.c
x86_64-w64-mingw32-gcc -o lib/rbtree.o -std=gnu99 -Wwrite-strings -Wall -Wdeclaration-after-statement -g -ffast-math -D_GNU_SOURCE -include config-host.h -D_WIN32_WINNT=0x0601 -I. -I. -O3 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -march=native -DBITS_PER_LONG=32 -DPSAPI_VERSION=1 -Ios/windows/posix/include -Wno-format -static -DFIO_VERSION='"fio-3.10-5-ge260"' -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFIO_INTERNAL -DFIO_INC_DEBUG -c lib/rbtree.c
x86_64-w64-mingw32-gcc -o lib/strntol.o -std=gnu99 -Wwrite-strings -Wall -Wdeclaration-after-statement -g -ffast-math -D_GNU_SOURCE -include config-host.h -D_WIN32_WINNT=0x0601 -I. -I. -O3 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -march=native -DBITS_PER_LONG=32 -DPSAPI_VERSION=1 -Ios/windows/posix/include -Wno-format -static -DFIO_VERSION='"fio-3.10-5-ge260"' -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFIO_INTERNAL -DFIO_INC_DEBUG -c lib/strntol.c
x86_64-w64-mingw32-gcc -o lib/zipf.o -std=gnu99 -Wwrite-strings -Wall -Wdeclaration-after-statement -g -ffast-math -D_GNU_SOURCE -include config-host.h -D_WIN32_WINNT=0x0601 -I. -I. -O3 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -march=native -DBITS_PER_LONG=32 -DPSAPI_VERSION=1 -Ios/windows/posix/include -Wno-format -static -DFIO_VERSION='"fio-3.10-5-ge260"' -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFIO_INTERNAL -DFIO_INC_DEBUG -c lib/zipf.c
x86_64-w64-mingw32-gcc -o gettime.o -std=gnu99 -Wwrite-strings -Wall -Wdeclaration-after-statement -g -ffast-math -D_GNU_SOURCE -include config-host.h -D_WIN32_WINNT=0x0601 -I. -I. -O3 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -march=native -DBITS_PER_LONG=32 -DPSAPI_VERSION=1 -Ios/windows/posix/include -Wno-format -static -DFIO_VERSION='"fio-3.10-5-ge260"' -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFIO_INTERNAL -DFIO_INC_DEBUG -c gettime.c
x86_64-w64-mingw32-gcc -o ioengines.o -std=gnu99 -Wwrite-strings -Wall -Wdeclaration-after-statement -g -ffast-math -D_GNU_SOURCE -include config-host.h -D_WIN32_WINNT=0x0601 -I. -I. -O3 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -march=native -DBITS_PER_LONG=32 -DPSAPI_VERSION=1 -Ios/windows/posix/include -Wno-format -static -DFIO_VERSION='"fio-3.10-5-ge260"' -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFIO_INTERNAL -DFIO_INC_DEBUG -c ioengines.c
x86_64-w64-mingw32-gcc -o init.o -std=gnu99 -Wwrite-strings -Wall -Wdeclaration-after-statement -g -ffast-math -D_GNU_SOURCE -include config-host.h -D_WIN32_WINNT=0x0601 -I. -I. -O3 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -march=native -DBITS_PER_LONG=32 -DPSAPI_VERSION=1 -Ios/windows/posix/include -Wno-format -static -DFIO_VERSION='"fio-3.10-5-ge260"' -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFIO_INTERNAL -DFIO_INC_DEBUG -c init.c
x86_64-w64-mingw32-gcc -o stat.o -std=gnu99 -Wwrite-strings -Wall -Wdeclaration-after-statement -g -ffast-math -D_GNU_SOURCE -include config-host.h -D_WIN32_WINNT=0x0601 -I. -I. -O3 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -march=native -DBITS_PER_LONG=32 -DPSAPI_VERSION=1 -Ios/windows/posix/include -Wno-format -static -DFIO_VERSION='"fio-3.10-5-ge260"' -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFIO_INTERNAL -DFIO_INC_DEBUG -c stat.c
x86_64-w64-mingw32-gcc -o log.o -std=gnu99 -Wwrite-strings -Wall -Wdeclaration-after-statement -g -ffast-math -D_GNU_SOURCE -include config-host.h -D_WIN32_WINNT=0x0601 -I. -I. -O3 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -march=native -DBITS_PER_LONG=32 -DPSAPI_VERSION=1 -Ios/windows/posix/include -Wno-format -static -DFIO_VERSION='"fio-3.10-5-ge260"' -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFIO_INTERNAL -DFIO_INC_DEBUG -c log.c
x86_64-w64-mingw32-gcc -o time.o -std=gnu99 -Wwrite-strings -Wall -Wdeclaration-after-statement -g -ffast-math -D_GNU_SOURCE -include config-host.h -D_WIN32_WINNT=0x0601 -I. -I. -O3 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -march=native -DBITS_PER_LONG=32 -DPSAPI_VERSION=1 -Ios/windows/posix/include -Wno-format -static -DFIO_VERSION='"fio-3.10-5-ge260"' -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFIO_INTERNAL -DFIO_INC_DEBUG -c time.c
x86_64-w64-mingw32-gcc -o filesetup.o -std=gnu99 -Wwrite-strings -Wall -Wdeclaration-after-statement -g -ffast-math -D_GNU_SOURCE -include config-host.h -D_WIN32_WINNT=0x0601 -I. -I. -O3 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -march=native -DBITS_PER_LONG=32 -DPSAPI_VERSION=1 -Ios/windows/posix/include -Wno-format -static -DFIO_VERSION='"fio-3.10-5-ge260"' -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFIO_INTERNAL -DFIO_INC_DEBUG -c filesetup.c
x86_64-w64-mingw32-gcc -o eta.o -std=gnu99 -Wwrite-strings -Wall -Wdeclaration-after-statement -g -ffast-math -D_GNU_SOURCE -include config-host.h -D_WIN32_WINNT=0x0601 -I. -I. -O3 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -march=native -DBITS_PER_LONG=32 -DPSAPI_VERSION=1 -Ios/windows/posix/include -Wno-format -static -DFIO_VERSION='"fio-3.10-5-ge260"' -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFIO_INTERNAL -DFIO_INC_DEBUG -c eta.c
x86_64-w64-mingw32-gcc -o verify.o -std=gnu99 -Wwrite-strings -Wall -Wdeclaration-after-statement -g -ffast-math -D_GNU_SOURCE -include config-host.h -D_WIN32_WINNT=0x0601 -I. -I. -O3 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -march=native -DBITS_PER_LONG=32 -DPSAPI_VERSION=1 -Ios/windows/posix/include -Wno-format -static -DFIO_VERSION='"fio-3.10-5-ge260"' -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFIO_INTERNAL -DFIO_INC_DEBUG -c verify.c
x86_64-w64-mingw32-gcc -o memory.o -std=gnu99 -Wwrite-strings -Wall -Wdeclaration-after-statement -g -ffast-math -D_GNU_SOURCE -include config-host.h -D_WIN32_WINNT=0x0601 -I. -I. -O3 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -march=native -DBITS_PER_LONG=32 -DPSAPI_VERSION=1 -Ios/windows/posix/include -Wno-format -static -DFIO_VERSION='"fio-3.10-5-ge260"' -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFIO_INTERNAL -DFIO_INC_DEBUG -c memory.c
x86_64-w64-mingw32-gcc -o io_u.o -std=gnu99 -Wwrite-strings -Wall -Wdeclaration-after-statement -g -ffast-math -D_GNU_SOURCE -include config-host.h -D_WIN32_WINNT=0x0601 -I. -I. -O3 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -march=native -DBITS_PER_LONG=32 -DPSAPI_VERSION=1 -Ios/windows/posix/include -Wno-format -static -DFIO_VERSION='"fio-3.10-5-ge260"' -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFIO_INTERNAL -DFIO_INC_DEBUG -c io_u.c
x86_64-w64-mingw32-gcc -o parse.o -std=gnu99 -Wwrite-strings -Wall -Wdeclaration-after-statement -g -ffast-math -D_GNU_SOURCE -include config-host.h -D_WIN32_WINNT=0x0601 -I. -I. -O3 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -march=native -DBITS_PER_LONG=32 -DPSAPI_VERSION=1 -Ios/windows/posix/include -Wno-format -static -DFIO_VERSION='"fio-3.10-5-ge260"' -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFIO_INTERNAL -DFIO_INC_DEBUG -c parse.c
x86_64-w64-mingw32-gcc -o fio_sem.o -std=gnu99 -Wwrite-strings -Wall -Wdeclaration-after-statement -g -ffast-math -D_GNU_SOURCE -include config-host.h -D_WIN32_WINNT=0x0601 -I. -I. -O3 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -march=native -DBITS_PER_LONG=32 -DPSAPI_VERSION=1 -Ios/windows/posix/include -Wno-format -static -DFIO_VERSION='"fio-3.10-5-ge260"' -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFIO_INTERNAL -DFIO_INC_DEBUG -c fio_sem.c
x86_64-w64-mingw32-gcc -o rwlock.o -std=gnu99 -Wwrite-strings -Wall -Wdeclaration-after-statement -g -ffast-math -D_GNU_SOURCE -include config-host.h -D_WIN32_WINNT=0x0601 -I. -I. -O3 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -march=native -DBITS_PER_LONG=32 -DPSAPI_VERSION=1 -Ios/windows/posix/include -Wno-format -static -DFIO_VERSION='"fio-3.10-5-ge260"' -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFIO_INTERNAL -DFIO_INC_DEBUG -c rwlock.c
x86_64-w64-mingw32-gcc -o pshared.o -std=gnu99 -Wwrite-strings -Wall -Wdeclaration-after-statement -g -ffast-math -D_GNU_SOURCE -include config-host.h -D_WIN32_WINNT=0x0601 -I. -I. -O3 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -march=native -DBITS_PER_LONG=32 -DPSAPI_VERSION=1 -Ios/windows/posix/include -Wno-format -static -DFIO_VERSION='"fio-3.10-5-ge260"' -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFIO_INTERNAL -DFIO_INC_DEBUG -c pshared.c
x86_64-w64-mingw32-gcc -o options.o -std=gnu99 -Wwrite-strings -Wall -Wdeclaration-after-statement -g -ffast-math -D_GNU_SOURCE -include config-host.h -D_WIN32_WINNT=0x0601 -I. -I. -O3 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -march=native -DBITS_PER_LONG=32 -DPSAPI_VERSION=1 -Ios/windows/posix/include -Wno-format -static -DFIO_VERSION='"fio-3.10-5-ge260"' -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFIO_INTERNAL -DFIO_INC_DEBUG -c options.c
x86_64-w64-mingw32-gcc -o smalloc.o -std=gnu99 -Wwrite-strings -Wall -Wdeclaration-after-statement -g -ffast-math -D_GNU_SOURCE -include config-host.h -D_WIN32_WINNT=0x0601 -I. -I. -O3 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -march=native -DBITS_PER_LONG=32 -DPSAPI_VERSION=1 -Ios/windows/posix/include -Wno-format -static -DFIO_VERSION='"fio-3.10-5-ge260"' -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFIO_INTERNAL -DFIO_INC_DEBUG -c smalloc.c
x86_64-w64-mingw32-gcc -o filehash.o -std=gnu99 -Wwrite-strings -Wall -Wdeclaration-after-statement -g -ffast-math -D_GNU_SOURCE -include config-host.h -D_WIN32_WINNT=0x0601 -I. -I. -O3 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -march=native -DBITS_PER_LONG=32 -DPSAPI_VERSION=1 -Ios/windows/posix/include -Wno-format -static -DFIO_VERSION='"fio-3.10-5-ge260"' -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFIO_INTERNAL -DFIO_INC_DEBUG -c filehash.c
x86_64-w64-mingw32-gcc -o profile.o -std=gnu99 -Wwrite-strings -Wall -Wdeclaration-after-statement -g -ffast-math -D_GNU_SOURCE -include config-host.h -D_WIN32_WINNT=0x0601 -I. -I. -O3 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -march=native -DBITS_PER_LONG=32 -DPSAPI_VERSION=1 -Ios/windows/posix/include -Wno-format -static -DFIO_VERSION='"fio-3.10-5-ge260"' -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFIO_INTERNAL -DFIO_INC_DEBUG -c profile.c
x86_64-w64-mingw32-gcc -o debug.o -std=gnu99 -Wwrite-strings -Wall -Wdeclaration-after-statement -g -ffast-math -D_GNU_SOURCE -include config-host.h -D_WIN32_WINNT=0x0601 -I. -I. -O3 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -march=native -DBITS_PER_LONG=32 -DPSAPI_VERSION=1 -Ios/windows/posix/include -Wno-format -static -DFIO_VERSION='"fio-3.10-5-ge260"' -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFIO_INTERNAL -DFIO_INC_DEBUG -c debug.c
x86_64-w64-mingw32-gcc -o engines/cpu.o -std=gnu99 -Wwrite-strings -Wall -Wdeclaration-after-statement -g -ffast-math -D_GNU_SOURCE -include config-host.h -D_WIN32_WINNT=0x0601 -I. -I. -O3 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -march=native -DBITS_PER_LONG=32 -DPSAPI_VERSION=1 -Ios/windows/posix/include -Wno-format -static -DFIO_VERSION='"fio-3.10-5-ge260"' -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFIO_INTERNAL -DFIO_INC_DEBUG -c engines/cpu.c
x86_64-w64-mingw32-gcc -o engines/mmap.o -std=gnu99 -Wwrite-strings -Wall -Wdeclaration-after-statement -g -ffast-math -D_GNU_SOURCE -include config-host.h -D_WIN32_WINNT=0x0601 -I. -I. -O3 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -march=native -DBITS_PER_LONG=32 -DPSAPI_VERSION=1 -Ios/windows/posix/include -Wno-format -static -DFIO_VERSION='"fio-3.10-5-ge260"' -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFIO_INTERNAL -DFIO_INC_DEBUG -c engines/mmap.c
x86_64-w64-mingw32-gcc -o engines/sync.o -std=gnu99 -Wwrite-strings -Wall -Wdeclaration-after-statement -g -ffast-math -D_GNU_SOURCE -include config-host.h -D_WIN32_WINNT=0x0601 -I. -I. -O3 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -march=native -DBITS_PER_LONG=32 -DPSAPI_VERSION=1 -Ios/windows/posix/include -Wno-format -static -DFIO_VERSION='"fio-3.10-5-ge260"' -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFIO_INTERNAL -DFIO_INC_DEBUG -c engines/sync.c
x86_64-w64-mingw32-gcc -o engines/null.o -std=gnu99 -Wwrite-strings -Wall -Wdeclaration-after-statement -g -ffast-math -D_GNU_SOURCE -include config-host.h -D_WIN32_WINNT=0x0601 -I. -I. -O3 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -march=native -DBITS_PER_LONG=32 -DPSAPI_VERSION=1 -Ios/windows/posix/include -Wno-format -static -DFIO_VERSION='"fio-3.10-5-ge260"' -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFIO_INTERNAL -DFIO_INC_DEBUG -c engines/null.c
x86_64-w64-mingw32-gcc -o engines/net.o -std=gnu99 -Wwrite-strings -Wall -Wdeclaration-after-statement -g -ffast-math -D_GNU_SOURCE -include config-host.h -D_WIN32_WINNT=0x0601 -I. -I. -O3 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -march=native -DBITS_PER_LONG=32 -DPSAPI_VERSION=1 -Ios/windows/posix/include -Wno-format -static -DFIO_VERSION='"fio-3.10-5-ge260"' -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFIO_INTERNAL -DFIO_INC_DEBUG -c engines/net.c
x86_64-w64-mingw32-gcc -o engines/ftruncate.o -std=gnu99 -Wwrite-strings -Wall -Wdeclaration-after-statement -g -ffast-math -D_GNU_SOURCE -include config-host.h -D_WIN32_WINNT=0x0601 -I. -I. -O3 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -march=native -DBITS_PER_LONG=32 -DPSAPI_VERSION=1 -Ios/windows/posix/include -Wno-format -static -DFIO_VERSION='"fio-3.10-5-ge260"' -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFIO_INTERNAL -DFIO_INC_DEBUG -c engines/ftruncate.c
x86_64-w64-mingw32-gcc -o engines/filecreate.o -std=gnu99 -Wwrite-strings -Wall -Wdeclaration-after-statement -g -ffast-math -D_GNU_SOURCE -include config-host.h -D_WIN32_WINNT=0x0601 -I. -I. -O3 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -march=native -DBITS_PER_LONG=32 -DPSAPI_VERSION=1 -Ios/windows/posix/include -Wno-format -static -DFIO_VERSION='"fio-3.10-5-ge260"' -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFIO_INTERNAL -DFIO_INC_DEBUG -c engines/filecreate.c
x86_64-w64-mingw32-gcc -o server.o -std=gnu99 -Wwrite-strings -Wall -Wdeclaration-after-statement -g -ffast-math -D_GNU_SOURCE -include config-host.h -D_WIN32_WINNT=0x0601 -I. -I. -O3 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -march=native -DBITS_PER_LONG=32 -DPSAPI_VERSION=1 -Ios/windows/posix/include -Wno-format -static -DFIO_VERSION='"fio-3.10-5-ge260"' -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFIO_INTERNAL -DFIO_INC_DEBUG -c server.c
x86_64-w64-mingw32-gcc -o client.o -std=gnu99 -Wwrite-strings -Wall -Wdeclaration-after-statement -g -ffast-math -D_GNU_SOURCE -include config-host.h -D_WIN32_WINNT=0x0601 -I. -I. -O3 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -march=native -DBITS_PER_LONG=32 -DPSAPI_VERSION=1 -Ios/windows/posix/include -Wno-format -static -DFIO_VERSION='"fio-3.10-5-ge260"' -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFIO_INTERNAL -DFIO_INC_DEBUG -c client.c
x86_64-w64-mingw32-gcc -o iolog.o -std=gnu99 -Wwrite-strings -Wall -Wdeclaration-after-statement -g -ffast-math -D_GNU_SOURCE -include config-host.h -D_WIN32_WINNT=0x0601 -I. -I. -O3 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -march=native -DBITS_PER_LONG=32 -DPSAPI_VERSION=1 -Ios/windows/posix/include -Wno-format -static -DFIO_VERSION='"fio-3.10-5-ge260"' -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFIO_INTERNAL -DFIO_INC_DEBUG -c iolog.c
x86_64-w64-mingw32-gcc -o backend.o -std=gnu99 -Wwrite-strings -Wall -Wdeclaration-after-statement -g -ffast-math -D_GNU_SOURCE -include config-host.h -D_WIN32_WINNT=0x0601 -I. -I. -O3 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -march=native -DBITS_PER_LONG=32 -DPSAPI_VERSION=1 -Ios/windows/posix/include -Wno-format -static -DFIO_VERSION='"fio-3.10-5-ge260"' -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFIO_INTERNAL -DFIO_INC_DEBUG -c backend.c
x86_64-w64-mingw32-gcc -o libfio.o -std=gnu99 -Wwrite-strings -Wall -Wdeclaration-after-statement -g -ffast-math -D_GNU_SOURCE -include config-host.h -D_WIN32_WINNT=0x0601 -I. -I. -O3 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -march=native -DBITS_PER_LONG=32 -DPSAPI_VERSION=1 -Ios/windows/posix/include -Wno-format -static -DFIO_VERSION='"fio-3.10-5-ge260"' -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFIO_INTERNAL -DFIO_INC_DEBUG -c libfio.c
x86_64-w64-mingw32-gcc -o flow.o -std=gnu99 -Wwrite-strings -Wall -Wdeclaration-after-statement -g -ffast-math -D_GNU_SOURCE -include config-host.h -D_WIN32_WINNT=0x0601 -I. -I. -O3 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -march=native -DBITS_PER_LONG=32 -DPSAPI_VERSION=1 -Ios/windows/posix/include -Wno-format -static -DFIO_VERSION='"fio-3.10-5-ge260"' -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFIO_INTERNAL -DFIO_INC_DEBUG -c flow.c
x86_64-w64-mingw32-gcc -o cconv.o -std=gnu99 -Wwrite-strings -Wall -Wdeclaration-after-statement -g -ffast-math -D_GNU_SOURCE -include config-host.h -D_WIN32_WINNT=0x0601 -I. -I. -O3 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -march=native -DBITS_PER_LONG=32 -DPSAPI_VERSION=1 -Ios/windows/posix/include -Wno-format -static -DFIO_VERSION='"fio-3.10-5-ge260"' -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFIO_INTERNAL -DFIO_INC_DEBUG -c cconv.c
x86_64-w64-mingw32-gcc -o gettime-thread.o -std=gnu99 -Wwrite-strings -Wall -Wdeclaration-after-statement -g -ffast-math -D_GNU_SOURCE -include config-host.h -D_WIN32_WINNT=0x0601 -I. -I. -O3 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -march=native -DBITS_PER_LONG=32 -DPSAPI_VERSION=1 -Ios/windows/posix/include -Wno-format -static -DFIO_VERSION='"fio-3.10-5-ge260"' -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFIO_INTERNAL -DFIO_INC_DEBUG -c gettime-thread.c
x86_64-w64-mingw32-gcc -o helpers.o -std=gnu99 -Wwrite-strings -Wall -Wdeclaration-after-statement -g -ffast-math -D_GNU_SOURCE -include config-host.h -D_WIN32_WINNT=0x0601 -I. -I. -O3 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -march=native -DBITS_PER_LONG=32 -DPSAPI_VERSION=1 -Ios/windows/posix/include -Wno-format -static -DFIO_VERSION='"fio-3.10-5-ge260"' -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFIO_INTERNAL -DFIO_INC_DEBUG -c helpers.c
x86_64-w64-mingw32-gcc -o json.o -std=gnu99 -Wwrite-strings -Wall -Wdeclaration-after-statement -g -ffast-math -D_GNU_SOURCE -include config-host.h -D_WIN32_WINNT=0x0601 -I. -I. -O3 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -march=native -DBITS_PER_LONG=32 -DPSAPI_VERSION=1 -Ios/windows/posix/include -Wno-format -static -DFIO_VERSION='"fio-3.10-5-ge260"' -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFIO_INTERNAL -DFIO_INC_DEBUG -c json.c
x86_64-w64-mingw32-gcc -o idletime.o -std=gnu99 -Wwrite-strings -Wall -Wdeclaration-after-statement -g -ffast-math -D_GNU_SOURCE -include config-host.h -D_WIN32_WINNT=0x0601 -I. -I. -O3 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -march=native -DBITS_PER_LONG=32 -DPSAPI_VERSION=1 -Ios/windows/posix/include -Wno-format -static -DFIO_VERSION='"fio-3.10-5-ge260"' -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFIO_INTERNAL -DFIO_INC_DEBUG -c idletime.c
x86_64-w64-mingw32-gcc -o td_error.o -std=gnu99 -Wwrite-strings -Wall -Wdeclaration-after-statement -g -ffast-math -D_GNU_SOURCE -include config-host.h -D_WIN32_WINNT=0x0601 -I. -I. -O3 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -march=native -DBITS_PER_LONG=32 -DPSAPI_VERSION=1 -Ios/windows/posix/include -Wno-format -static -DFIO_VERSION='"fio-3.10-5-ge260"' -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFIO_INTERNAL -DFIO_INC_DEBUG -c td_error.c
x86_64-w64-mingw32-gcc -o profiles/tiobench.o -std=gnu99 -Wwrite-strings -Wall -Wdeclaration-after-statement -g -ffast-math -D_GNU_SOURCE -include config-host.h -D_WIN32_WINNT=0x0601 -I. -I. -O3 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -march=native -DBITS_PER_LONG=32 -DPSAPI_VERSION=1 -Ios/windows/posix/include -Wno-format -static -DFIO_VERSION='"fio-3.10-5-ge260"' -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFIO_INTERNAL -DFIO_INC_DEBUG -c profiles/tiobench.c
x86_64-w64-mingw32-gcc -o profiles/act.o -std=gnu99 -Wwrite-strings -Wall -Wdeclaration-after-statement -g -ffast-math -D_GNU_SOURCE -include config-host.h -D_WIN32_WINNT=0x0601 -I. -I. -O3 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -march=native -DBITS_PER_LONG=32 -DPSAPI_VERSION=1 -Ios/windows/posix/include -Wno-format -static -DFIO_VERSION='"fio-3.10-5-ge260"' -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFIO_INTERNAL -DFIO_INC_DEBUG -c profiles/act.c
x86_64-w64-mingw32-gcc -o io_u_queue.o -std=gnu99 -Wwrite-strings -Wall -Wdeclaration-after-statement -g -ffast-math -D_GNU_SOURCE -include config-host.h -D_WIN32_WINNT=0x0601 -I. -I. -O3 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -march=native -DBITS_PER_LONG=32 -DPSAPI_VERSION=1 -Ios/windows/posix/include -Wno-format -static -DFIO_VERSION='"fio-3.10-5-ge260"' -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFIO_INTERNAL -DFIO_INC_DEBUG -c io_u_queue.c
x86_64-w64-mingw32-gcc -o filelock.o -std=gnu99 -Wwrite-strings -Wall -Wdeclaration-after-statement -g -ffast-math -D_GNU_SOURCE -include config-host.h -D_WIN32_WINNT=0x0601 -I. -I. -O3 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -march=native -DBITS_PER_LONG=32 -DPSAPI_VERSION=1 -Ios/windows/posix/include -Wno-format -static -DFIO_VERSION='"fio-3.10-5-ge260"' -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFIO_INTERNAL -DFIO_INC_DEBUG -c filelock.c
x86_64-w64-mingw32-gcc -o workqueue.o -std=gnu99 -Wwrite-strings -Wall -Wdeclaration-after-statement -g -ffast-math -D_GNU_SOURCE -include config-host.h -D_WIN32_WINNT=0x0601 -I. -I. -O3 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -march=native -DBITS_PER_LONG=32 -DPSAPI_VERSION=1 -Ios/windows/posix/include -Wno-format -static -DFIO_VERSION='"fio-3.10-5-ge260"' -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFIO_INTERNAL -DFIO_INC_DEBUG -c workqueue.c
x86_64-w64-mingw32-gcc -o rate-submit.o -std=gnu99 -Wwrite-strings -Wall -Wdeclaration-after-statement -g -ffast-math -D_GNU_SOURCE -include config-host.h -D_WIN32_WINNT=0x0601 -I. -I. -O3 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -march=native -DBITS_PER_LONG=32 -DPSAPI_VERSION=1 -Ios/windows/posix/include -Wno-format -static -DFIO_VERSION='"fio-3.10-5-ge260"' -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFIO_INTERNAL -DFIO_INC_DEBUG -c rate-submit.c
x86_64-w64-mingw32-gcc -o optgroup.o -std=gnu99 -Wwrite-strings -Wall -Wdeclaration-after-statement -g -ffast-math -D_GNU_SOURCE -include config-host.h -D_WIN32_WINNT=0x0601 -I. -I. -O3 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -march=native -DBITS_PER_LONG=32 -DPSAPI_VERSION=1 -Ios/windows/posix/include -Wno-format -static -DFIO_VERSION='"fio-3.10-5-ge260"' -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFIO_INTERNAL -DFIO_INC_DEBUG -c optgroup.c
x86_64-w64-mingw32-gcc -o helper_thread.o -std=gnu99 -Wwrite-strings -Wall -Wdeclaration-after-statement -g -ffast-math -D_GNU_SOURCE -include config-host.h -D_WIN32_WINNT=0x0601 -I. -I. -O3 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -march=native -DBITS_PER_LONG=32 -DPSAPI_VERSION=1 -Ios/windows/posix/include -Wno-format -static -DFIO_VERSION='"fio-3.10-5-ge260"' -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFIO_INTERNAL -DFIO_INC_DEBUG -c helper_thread.c
x86_64-w64-mingw32-gcc -o steadystate.o -std=gnu99 -Wwrite-strings -Wall -Wdeclaration-after-statement -g -ffast-math -D_GNU_SOURCE -include config-host.h -D_WIN32_WINNT=0x0601 -I. -I. -O3 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -march=native -DBITS_PER_LONG=32 -DPSAPI_VERSION=1 -Ios/windows/posix/include -Wno-format -static -DFIO_VERSION='"fio-3.10-5-ge260"' -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFIO_INTERNAL -DFIO_INC_DEBUG -c steadystate.c
x86_64-w64-mingw32-gcc -o zone-dist.o -std=gnu99 -Wwrite-strings -Wall -Wdeclaration-after-statement -g -ffast-math -D_GNU_SOURCE -include config-host.h -D_WIN32_WINNT=0x0601 -I. -I. -O3 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -march=native -DBITS_PER_LONG=32 -DPSAPI_VERSION=1 -Ios/windows/posix/include -Wno-format -static -DFIO_VERSION='"fio-3.10-5-ge260"' -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFIO_INTERNAL -DFIO_INC_DEBUG -c zone-dist.c
x86_64-w64-mingw32-gcc -o engines/windowsaio.o -std=gnu99 -Wwrite-strings -Wall -Wdeclaration-after-statement -g -ffast-math -D_GNU_SOURCE -include config-host.h -D_WIN32_WINNT=0x0601 -I. -I. -O3 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -march=native -DBITS_PER_LONG=32 -DPSAPI_VERSION=1 -Ios/windows/posix/include -Wno-format -static -DFIO_VERSION='"fio-3.10-5-ge260"' -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFIO_INTERNAL -DFIO_INC_DEBUG -c engines/windowsaio.c
x86_64-w64-mingw32-gcc -o engines/http.o -std=gnu99 -Wwrite-strings -Wall -Wdeclaration-after-statement -g -ffast-math -D_GNU_SOURCE -include config-host.h -D_WIN32_WINNT=0x0601 -I. -I. -O3 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -march=native -DBITS_PER_LONG=32 -DPSAPI_VERSION=1 -Ios/windows/posix/include -Wno-format -static -DFIO_VERSION='"fio-3.10-5-ge260"' -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFIO_INTERNAL -DFIO_INC_DEBUG -c engines/http.c
x86_64-w64-mingw32-gcc -o oslib/asprintf.o -std=gnu99 -Wwrite-strings -Wall -Wdeclaration-after-statement -g -ffast-math -D_GNU_SOURCE -include config-host.h -D_WIN32_WINNT=0x0601 -I. -I. -O3 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -march=native -DBITS_PER_LONG=32 -DPSAPI_VERSION=1 -Ios/windows/posix/include -Wno-format -static -DFIO_VERSION='"fio-3.10-5-ge260"' -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFIO_INTERNAL -DFIO_INC_DEBUG -c oslib/asprintf.c
x86_64-w64-mingw32-gcc -o oslib/strsep.o -std=gnu99 -Wwrite-strings -Wall -Wdeclaration-after-statement -g -ffast-math -D_GNU_SOURCE -include config-host.h -D_WIN32_WINNT=0x0601 -I. -I. -O3 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -march=native -DBITS_PER_LONG=32 -DPSAPI_VERSION=1 -Ios/windows/posix/include -Wno-format -static -DFIO_VERSION='"fio-3.10-5-ge260"' -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFIO_INTERNAL -DFIO_INC_DEBUG -c oslib/strsep.c
x86_64-w64-mingw32-gcc -o oslib/strcasestr.o -std=gnu99 -Wwrite-strings -Wall -Wdeclaration-after-statement -g -ffast-math -D_GNU_SOURCE -include config-host.h -D_WIN32_WINNT=0x0601 -I. -I. -O3 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -march=native -DBITS_PER_LONG=32 -DPSAPI_VERSION=1 -Ios/windows/posix/include -Wno-format -static -DFIO_VERSION='"fio-3.10-5-ge260"' -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFIO_INTERNAL -DFIO_INC_DEBUG -c oslib/strcasestr.c
x86_64-w64-mingw32-gcc -o oslib/strlcat.o -std=gnu99 -Wwrite-strings -Wall -Wdeclaration-after-statement -g -ffast-math -D_GNU_SOURCE -include config-host.h -D_WIN32_WINNT=0x0601 -I. -I. -O3 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -march=native -DBITS_PER_LONG=32 -DPSAPI_VERSION=1 -Ios/windows/posix/include -Wno-format -static -DFIO_VERSION='"fio-3.10-5-ge260"' -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFIO_INTERNAL -DFIO_INC_DEBUG -c oslib/strlcat.c
x86_64-w64-mingw32-gcc -o oslib/strndup.o -std=gnu99 -Wwrite-strings -Wall -Wdeclaration-after-statement -g -ffast-math -D_GNU_SOURCE -include config-host.h -D_WIN32_WINNT=0x0601 -I. -I. -O3 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -march=native -DBITS_PER_LONG=32 -DPSAPI_VERSION=1 -Ios/windows/posix/include -Wno-format -static -DFIO_VERSION='"fio-3.10-5-ge260"' -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFIO_INTERNAL -DFIO_INC_DEBUG -c oslib/strndup.c
x86_64-w64-mingw32-gcc -o oslib/inet_aton.o -std=gnu99 -Wwrite-strings -Wall -Wdeclaration-after-statement -g -ffast-math -D_GNU_SOURCE -include config-host.h -D_WIN32_WINNT=0x0601 -I. -I. -O3 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -march=native -DBITS_PER_LONG=32 -DPSAPI_VERSION=1 -Ios/windows/posix/include -Wno-format -static -DFIO_VERSION='"fio-3.10-5-ge260"' -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFIO_INTERNAL -DFIO_INC_DEBUG -c oslib/inet_aton.c
x86_64-w64-mingw32-gcc -o os/windows/posix.o -std=gnu99 -Wwrite-strings -Wall -Wdeclaration-after-statement -g -ffast-math -D_GNU_SOURCE -include config-host.h -D_WIN32_WINNT=0x0601 -I. -I. -O3 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -march=native -DBITS_PER_LONG=32 -DPSAPI_VERSION=1 -Ios/windows/posix/include -Wno-format -static -DFIO_VERSION='"fio-3.10-5-ge260"' -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFIO_INTERNAL -DFIO_INC_DEBUG -c os/windows/posix.c
x86_64-w64-mingw32-gcc -o fio.o -std=gnu99 -Wwrite-strings -Wall -Wdeclaration-after-statement -g -ffast-math -D_GNU_SOURCE -include config-host.h -D_WIN32_WINNT=0x0601 -I. -I. -O3 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -march=native -DBITS_PER_LONG=32 -DPSAPI_VERSION=1 -Ios/windows/posix/include -Wno-format -static -DFIO_VERSION='"fio-3.10-5-ge260"' -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFIO_INTERNAL -DFIO_INC_DEBUG -c fio.c
x86_64-w64-mingw32-gcc -std=gnu99 -Wwrite-strings -Wall -Wdeclaration-after-statement -g -ffast-math -D_GNU_SOURCE -include config-host.h -D_WIN32_WINNT=0x0601 -I. -I. -O3 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -march=native -DBITS_PER_LONG=32 -DPSAPI_VERSION=1 -Ios/windows/posix/include -Wno-format -static -DFIO_VERSION='"fio-3.10-5-ge260"' -o fio crc/crc16.o crc/crc32.o crc/crc32c-arm64.o crc/crc32c-intel.o crc/crc32c.o crc/crc64.o crc/crc7.o crc/fnv.o crc/md5.o crc/murmur3.o crc/sha1.o crc/sha256.o crc/sha3.o crc/sha512.o crc/test.o crc/xxhash.o lib/axmap.o lib/bloom.o lib/flist_sort.o lib/gauss.o lib/getrusage.o lib/hweight.o lib/ieee754.o lib/lfsr.o lib/memalign.o lib/memcpy.o lib/mountcheck.o lib/num2str.o lib/output_buffer.o lib/pattern.o lib/prio_tree.o lib/rand.o lib/rbtree.o lib/strntol.o lib/zipf.o gettime.o ioengines.o init.o stat.o log.o time.o filesetup.o eta.o verify.o memory.o io_u.o parse.o fio_sem.o rwlock.o pshared.o options.o smalloc.o filehash.o profile.o debug.o engines/cpu.o engines/mmap.o engines/sync.o engines/null.o engines/net.o engines/ftruncate.o engines/filecreate.o server.o client.o iolog.o backend.o libfio.o flow.o cconv.o gettime-thread.o helpers.o json.o idletime.o td_error.o profiles/tiobench.o profiles/act.o io_u_queue.o filelock.o workqueue.o rate-submit.o optgroup.o helper_thread.o steadystate.o zone-dist.o engines/windowsaio.o engines/http.o oslib/asprintf.o oslib/strsep.o oslib/strcasestr.o oslib/strlcat.o oslib/strndup.o oslib/inet_aton.o os/windows/posix.o fio.o -lcurl -lssl -lcrypto -lz -lm -lpthread -lpsapi -lws2_32
engines/http.o: In function `fio_http_cleanup':
/home/RWeber/Ion_Projects/fio/engines/http.c:438: undefined reference to `__imp_curl_easy_cleanup'
engines/http.o: In function `fio_http_setup':
/home/RWeber/Ion_Projects/fio/engines/http.c:597: undefined reference to `__imp_curl_easy_init'
/home/RWeber/Ion_Projects/fio/engines/http.c:598: undefined reference to `__imp_curl_easy_setopt'
engines/http.o: In function `fio_http_cleanup':
/home/RWeber/Ion_Projects/fio/engines/http.c:438: undefined reference to `__imp_curl_easy_cleanup'
engines/http.o: In function `fio_http_queue':
/home/RWeber/Ion_Projects/fio/engines/http.c:503: undefined reference to `__imp_curl_easy_setopt'
/home/RWeber/Ion_Projects/fio/engines/http.c:568: undefined reference to `__imp_curl_slist_free_all'
/home/RWeber/Ion_Projects/fio/engines/http.c:532: undefined reference to `__imp_curl_easy_perform'
/home/RWeber/Ion_Projects/fio/engines/http.c:534: undefined reference to `__imp_curl_easy_getinfo'
/home/RWeber/Ion_Projects/fio/engines/http.c:520: undefined reference to `__imp_curl_easy_perform'
/home/RWeber/Ion_Projects/fio/engines/http.c:522: undefined reference to `__imp_curl_easy_getinfo'
engines/http.o: In function `_add_swift_header':
/home/RWeber/Ion_Projects/fio/engines/http.c:420: undefined reference to `__imp_curl_slist_append'
engines/http.o: In function `fio_http_queue':
/home/RWeber/Ion_Projects/fio/engines/http.c:552: undefined reference to `__imp_curl_easy_perform'
/home/RWeber/Ion_Projects/fio/engines/http.c:554: undefined reference to `__imp_curl_easy_getinfo'
engines/http.o: In function `_add_aws_auth_header':
/home/RWeber/Ion_Projects/fio/engines/http.c:389: undefined reference to `__imp_curl_slist_append'
/usr/x86_64-w64-mingw32/sys-root/mingw/lib/../lib/libcrypto.a(rand_win.o):(.text+0xe4b): undefined reference to `__imp_GetDeviceCaps'
/usr/x86_64-w64-mingw32/sys-root/mingw/lib/../lib/libcrypto.a(rand_win.o):(.text+0xe78): undefined reference to `__imp_CreateCompatibleBitmap'
/usr/x86_64-w64-mingw32/sys-root/mingw/lib/../lib/libcrypto.a(rand_win.o):(.text+0xe8e): undefined reference to `__imp_GetObjectW'
/usr/x86_64-w64-mingw32/sys-root/mingw/lib/../lib/libcrypto.a(rand_win.o):(.text+0xf47): undefined reference to `__imp_GetDIBits'
/usr/x86_64-w64-mingw32/sys-root/mingw/lib/../lib/libcrypto.a(rand_win.o):(.text+0xfd5): undefined reference to `__imp_DeleteObject'
collect2: error: ld returned 1 exit status
make: *** [Makefile:439: fio] Error 1
Can you see if this patch makes a difference?
No dice. Still has the same problem.
-Ios/windows/posix/include -Wno-format -static -DFIO_VERSION='"fio-3.10-5-ge260-dirty"' -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFIO_INTERNAL -DFIO_INC_DEBUG -c fio.c
x86_64-w64-mingw32-gcc -std=gnu99 -Wwrite-strings -Wall -Wdeclaration-after-statement -g -ffast-math -D_GNU_SOURCE -include config-host.h -D_WIN32_WINNT=0x0601 -I. -I. -O3 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -march=native -DBITS_PER_LONG=32 -DPSAPI_VERSION=1 -Ios/windows/posix/include -Wno-format -static -DFIO_VERSION='"fio-3.10-5-ge260-dirty"' -o fio crc/crc16.o crc/crc32.o crc/crc32c-arm64.o crc/crc32c-intel.o crc/crc32c.o crc/crc64.o crc/crc7.o crc/fnv.o crc/md5.o crc/murmur3.o crc/sha1.o crc/sha256.o crc/sha3.o crc/sha512.o crc/test.o crc/xxhash.o lib/axmap.o lib/bloom.o lib/flist_sort.o lib/gauss.o lib/getrusage.o lib/hweight.o lib/ieee754.o lib/lfsr.o lib/memalign.o lib/memcpy.o lib/mountcheck.o lib/num2str.o lib/output_buffer.o lib/pattern.o lib/prio_tree.o lib/rand.o lib/rbtree.o lib/strntol.o lib/zipf.o gettime.o ioengines.o init.o stat.o log.o time.o filesetup.o eta.o verify.o memory.o io_u.o parse.o fio_sem.o rwlock.o pshared.o options.o smalloc.o filehash.o profile.o debug.o engines/cpu.o engines/mmap.o engines/sync.o engines/null.o engines/net.o engines/ftruncate.o engines/filecreate.o server.o client.o iolog.o backend.o libfio.o flow.o cconv.o gettime-thread.o helpers.o json.o idletime.o td_error.o profiles/tiobench.o profiles/act.o io_u_queue.o filelock.o workqueue.o rate-submit.o optgroup.o helper_thread.o steadystate.o zone-dist.o engines/windowsaio.o engines/http.o oslib/asprintf.o oslib/strsep.o oslib/strcasestr.o oslib/strlcat.o oslib/strndup.o oslib/inet_aton.o os/windows/posix.o fio.o -lcurl -lssl -lcrypto -lz -lpthread -lpsapi -lws2_32 -lm
engines/http.o: In function `fio_http_cleanup':
/home/RWeber/Ion_Projects/fio/engines/http.c:438: undefined reference to `__imp_curl_easy_cleanup'
engines/http.o: In function `fio_http_setup':
/home/RWeber/Ion_Projects/fio/engines/http.c:597: undefined reference to `__imp_curl_easy_init'
/home/RWeber/Ion_Projects/fio/engines/http.c:598: undefined reference to `__imp_curl_easy_setopt'
engines/http.o: In function `fio_http_cleanup':
/home/RWeber/Ion_Projects/fio/engines/http.c:438: undefined reference to `__imp_curl_easy_cleanup'
engines/http.o: In function `fio_http_queue':
/home/RWeber/Ion_Projects/fio/engines/http.c:503: undefined reference to `__imp_curl_easy_setopt'
/home/RWeber/Ion_Projects/fio/engines/http.c:568: undefined reference to `__imp_curl_slist_free_all'
/home/RWeber/Ion_Projects/fio/engines/http.c:532: undefined reference to `__imp_curl_easy_perform'
/home/RWeber/Ion_Projects/fio/engines/http.c:534: undefined reference to `__imp_curl_easy_getinfo'
/home/RWeber/Ion_Projects/fio/engines/http.c:520: undefined reference to `__imp_curl_easy_perform'
/home/RWeber/Ion_Projects/fio/engines/http.c:522: undefined reference to `__imp_curl_easy_getinfo'
engines/http.o: In function `_add_swift_header':
/home/RWeber/Ion_Projects/fio/engines/http.c:420: undefined reference to `__imp_curl_slist_append'
engines/http.o: In function `fio_http_queue':
/home/RWeber/Ion_Projects/fio/engines/http.c:552: undefined reference to `__imp_curl_easy_perform'
/home/RWeber/Ion_Projects/fio/engines/http.c:554: undefined reference to `__imp_curl_easy_getinfo'
engines/http.o: In function `_add_aws_auth_header':
/home/RWeber/Ion_Projects/fio/engines/http.c:389: undefined reference to `__imp_curl_slist_append'
/usr/x86_64-w64-mingw32/sys-root/mingw/lib/../lib/libcrypto.a(rand_win.o):(.text+0xe4b): undefined reference to `__imp_GetDeviceCaps'
/usr/x86_64-w64-mingw32/sys-root/mingw/lib/../lib/libcrypto.a(rand_win.o):(.text+0xe78): undefined reference to `__imp_CreateCompatibleBitmap'
/usr/x86_64-w64-mingw32/sys-root/mingw/lib/../lib/libcrypto.a(rand_win.o):(.text+0xe8e): undefined reference to `__imp_GetObjectW'
/usr/x86_64-w64-mingw32/sys-root/mingw/lib/../lib/libcrypto.a(rand_win.o):(.text+0xf47): undefined reference to `__imp_GetDIBits'
/usr/x86_64-w64-mingw32/sys-root/mingw/lib/../lib/libcrypto.a(rand_win.o):(.text+0xfd5): undefined reference to `__imp_DeleteObject'
collect2: error: ld returned 1 exit status
make: *** [Makefile:438: fio] Error 1
$ git diff
diff --git a/Makefile b/Makefile
index 42e52051..8681e438 100644
--- a/Makefile
+++ b/Makefile
@@ -197,7 +197,6 @@ ifeq ($(CONFIG_TARGET_OS), Darwin)
endif
ifneq (,$(findstring CYGWIN,$(CONFIG_TARGET_OS)))
SOURCE += os/windows/posix.c
- LIBS += -lpthread -lpsapi -lws2_32
CFLAGS += -DPSAPI_VERSION=1 -Ios/windows/posix/include -Wno-format -static
endif
diff --git a/configure b/configure
index 26c345bb..bec45fec 100755
--- a/configure
+++ b/configure
@@ -334,6 +334,7 @@ SunOS)
CYGWIN*)
# We still force some options, so keep this message here.
echo "Forcing some known good options on Windows"
+ LIBS="-lpthread -lpsapi -lws2_32"
if test -z "${CC}${cross_prefix}"; then
if test ! -z "$build_32bit_win" && test "$build_32bit_win" = "yes"; then
cc="i686-w64-mingw32-gcc"
So strange... I wonder how your setup is different from the one that appveyor runs. I don't have any windows machines at all, so it might be a little bit before this can get fixed (unless others have ideas...). For now I'm going to suggest you work around it with --disable-http.
Hmm, Jeff also mentioned this too over on https://www.spinics.net/lists/fio/msg07258.html . I'll see if I can reproduce the issue via appveyor by installing curl from cygwin...
This is complicated. When mingw-w64-curl
is installed (and currently this package is not installed on fio's appveyor CI runs) fio's curl tests will pass and will enable the feature. However fio is built entirely statically on Windows which makes the linking process more complicated. Further it looks like mingw is missing static versions of some libraries:
appveyor@APPVYR-WIN /cygdrive/c/projects/fio
$ x86_64-w64-mingw32-gcc curltest.c $(/usr/x86_64-w64-mingw32/sys-root/mingw/bin/curl-config --libs)
appveyor@APPVYR-WIN /cygdrive/c/projects/fio
$ echo $?
0
appveyor@APPVYR-WIN /cygdrive/c/projects/fio
$ x86_64-w64-mingw32-gcc curltest.c -static $(/usr/x86_64-w64-mingw32/sys-root/mingw/bin/curl-config --static-libs)
/cygdrive/c/cygwin64/bin/x86_64-w64-mingw32-ld: cannot find -lnghttp2
collect2: error: ld returned 1 exit status
Perhaps the the curl test could be extended to check whether linking works too and if not the test can go on to fail...
Another thing to note is that the way curl was built for mingw64 requires different libraries to the curl on a random Linux distro: Windows:
$ /usr/x86_64-w64-mingw32/sys-root/mingw/bin/curl-config --libs
-L/usr/x86_64-w64-mingw32/sys-root/mingw/lib -lcurl -lnghttp2 -lnormaliz -lssh2 -lssh2 -lws2_32 -lbcrypt -lcrypt32 -lws2_32 -lbcrypt -lcrypt32 -lz -lssl -lcrypto -lgdi32 -lcrypt32 -lwldap32 -lz -lws2_32
$ /usr/x86_64-w64-mingw32/sys-root/mingw/bin/curl-config --static-libs
/usr/x86_64-w64-mingw32/sys-root/mingw/lib/libcurl.a -lnghttp2 -lnormaliz -lssh2 -lssh2 -lws2_32 -lbcrypt -lcrypt32 -lws2_32 -lbcrypt -lcrypt32 -lz -lssl -lcrypto -lgdi32 -lcrypt32 -lwldap32 -lz -lws2_32
Debian:
$ curl-config --libs
-L/usr/lib/x86_64-linux-gnu -lcurl
$ curl-config --static-libs
/usr/lib/x86_64-linux-gnu/libcurl.a -Wl,-z,relro -Wl,--as-needed -lidn -lssh2 -llber -lldap -lrt -Wl,-z,relro -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lz -lgnutls -lgcrypt -lgcrypt -lrtmp
Notice how we aren't using curl-config
to discover the required libraries in fio (this may lead to trouble when statically linking fio on Linux)...
https://github.com/axboe/fio/pull/685 should combat this (by disabling the http engine because the libraries can't be linked statically). Technically after https://github.com/Alexpux/MINGW-packages/issues/4404 is fixed if we were to add the right options to the fio configure (e.g. by using curl-config
) it would be possible for the (static) Windows build to have HTTP too but doing that's work for another day.
@rustyscottweber is the latest version of fio better for you?
Latest patches to master branch of fio seems to have fixed the issue.
Attempting to pull the latest changes for master branch on windows and attempting to build according to instructions on: https://media.readthedocs.org/pdf/fio/latest/fio.pdf Results in the following error.