用mcf线程模型本地或加拿大编译出来的lld (LLVM的链接器)不能用-flto=thin
Closed this issue · 2 comments
trcrsired commented
thin lto不知道为何不能用。换posix的就行。你去修一下吧。
lhmouse commented
Did you read https://github.com/lhmouse/mcfgthread#notes ?
Or patch the CRT yourself:
mcfgthread/patches/mingw-w64-10.0.patch
Line 136 in 5094283
mcfgthread requires the fflush()
function be called after user-defined exit callbacks (so it has to be registered before __main()
), otherwise data in standard output may be truncated upon exit.
lhmouse commented
As there was no further feedback I am closing this as WONTFIX.