I’m getting an error whilst linking a static libra...
# kotlin-native
c
I’m getting an error whilst linking a static library I created
Copy code
\.konan\dependencies\llvm-16.0.0-x86_64-windows-essentials-56/bin/clang++ command returned non-zero exit code: 1.
output:
lld-link: warning: ignoring unknown argument: -exclude-symbols:___chkstk_ms
lld-link: error: -exclude-symbols:___chkstk_ms is not allowed in .drectve
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
I read here that we should no longer see this warning as llvm 16 supports this flag and indeed it links to a commit which suggests it does, however you can see from the above its using llvm 16 but we’re still seeing the error? Does anyone know how this is possible?
s
It might be fixed by KT-69164 in 2.2.0-Beta1 but I did not check this particular problem.
c
Thanks @sergey.bogolepov, I’ll give it a test when 2.2.0 is released 👍
👍 1