[PATCH] D27296: Don't assume mingw is providing SSP functions

Valentin Churavy via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Mar 17 14:02:06 PDT 2018


vchuravy added a comment.

In the progress of updating the Julia frontend to LLVM 6.0.0  I encountered this issue again.
Julia is using mingw for our windows support and as far as I understand mingw doesn't provide `__security_cookie` and `__security_check_cookie`
as part of the runtime (https://sourceforge.net/p/mingw-w64/mailman/message/27235169/). I suspect partly due to the fact that the version of
`msvcrt.dll` that mingw  only has the symbols in an external static library (`bufferoverflowU.lib`). On the other hand mingw does provide `libssp`.

Since Julia is currently carrying this patch I would welcome a discussion if this is the right approach or what we should be doing differently.


https://reviews.llvm.org/D27296





More information about the llvm-commits mailing list