[cfe-users] Using -fsanitize=safe-stack compiler/linker flag
Alex Chen via cfe-users
cfe-users at lists.llvm.org
Mon Jun 26 15:06:56 PDT 2017
I am using clang 3.8.0 and gcc 6.2.1 on CentOS 7.3. Everything works fine until I add ‘-fsanitize=safe-stack’ to the compiler and linker flags.
The shared libraries are built fine but executables linking with these libraries cannot be generated due to a unresolved symbol __safestack_unsaft_stack_ptr.
Is this because that symbol is only available in Clang’s libc++ runtime library but not in gcc’s libstdc++?
Alex Chen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-users/attachments/20170626/b6dd0bad/attachment.html>
More information about the cfe-users
mailing list