We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Lib_Memzero0.c:function Lib_Memzero0_memzero: error: undefined reference to '__explicit_bzero_chk'
It appears that Kotlin/Native must use glibc 2.19, which doesnt include explicit_bzero, see https://youtrack.jetbrains.com/issue/KT-43501.
in Lib_Memzero.c:
#elif (defined(linux) && !defined(LINUX_NO_EXPLICIT_BZERO)) || defined(FreeBSD) explicit_bzero(dst, len_);
So we just can define LINUX_NO_EXPLICIT_BZERO, maybe in libhacl.def:
compilerOpts.linux = -Ilibhacl/include -DLINUX_NO_EXPLICIT_BZERO
but that didnt work.
For now I modified Lib_Memzero.c directly and it works now.
The text was updated successfully, but these errors were encountered:
Hopefully this will be superceded by #200
Sorry, something went wrong.
No branches or pull requests
Lib_Memzero0.c:function Lib_Memzero0_memzero: error: undefined reference to '__explicit_bzero_chk'
It appears that Kotlin/Native must use glibc 2.19, which doesnt include explicit_bzero, see https://youtrack.jetbrains.com/issue/KT-43501.
in Lib_Memzero.c:
#elif (defined(linux) && !defined(LINUX_NO_EXPLICIT_BZERO)) || defined(FreeBSD)
explicit_bzero(dst, len_);
So we just can define LINUX_NO_EXPLICIT_BZERO, maybe in libhacl.def:
compilerOpts.linux = -Ilibhacl/include -DLINUX_NO_EXPLICIT_BZERO
but that didnt work.
For now I modified Lib_Memzero.c directly and it works now.
The text was updated successfully, but these errors were encountered: