ci: disable __thread support for Windows msys2 build
authorVincent Fu <vincent.fu@samsung.com>
Wed, 19 Apr 2023 14:40:07 +0000 (10:40 -0400)
committerVincent Fu <vincent.fu@samsung.com>
Thu, 20 Apr 2023 13:40:27 +0000 (09:40 -0400)
commit699bc19bf5706791c64e20c0b378c5194430b9d6
tree3c0519504474838c5009bbc8b1b9fc1745b4090d
parent7624d58953d38612c11496551a855a1aeee7ad24
ci: disable __thread support for Windows msys2 build

Our Windows msys2 build is now broken after AppVeyor's recent image
update from clang/lld 15.0.7-3 to 16.0.0-1.

Here is the error:

    CC unittests/oslib/strcasestr.o
    CC unittests/oslib/strsep.o
  LINK fio
ld.lld: error: undefined symbol: static_tv_valid
>>> referenced by gettime.o
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Rishabh Shukla investigated and found that clang + ld builds
successfully. So the problem seems to be with lld 16.0.0-1.

Until we find the root cause let's just disable __thread support on
AppVeyor msys2 builds.

Link: https://github.com/axboe/fio/issues/1559
Suggested-by: Rishabh Shukla <rishabh.sh@samsung.com>
Signed-off-by: Vincent Fu <vincent.fu@samsung.com>
.appveyor.yml
configure