-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
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
An error about building the test code of libtomcrypt. #95
Comments
Hi, I think this is the same problem we have seen lately. We haven't been able to look into it in detail yet. But if it the same problem as we have been facing a temporary workaround is to build with DEBUG=0 instead of DEBUG=1. Let us keep this issue open until we have found and solved the problem. Thanks for reporting this. |
OK,I will try to trace this problem again.Thanks for your advice. |
A short update, it seems like we are doing a divide by zero somewhere and we have no function taking care of this under some circumstances. After reading about this (various sources) it seems like we need to implement this functions by ourselves in OP-TEE to trap the division by zero. For more information see But again, let's keep this issue open until we have solved it. |
Yes,I agree with you.We need to implement this function("raise").In addition ,there is a macro ARGTYPE defined in the file tomycrypt_cfg.h(optee_os/core/lib/libtomcrypt/include/). If the value of ARGTYPE equals to 0,the raise function will be called. |
there is a error——Rootfs copy cannot be done because ROOTFS_DIR is not defined |
Is it an error or just a warning? I've seen this before but the rootfs works just fine, i.e. the filesystem.cpio.gz file is actually being generated, just that the copy operation has failed due to ROOTFS_DIR being undefined. If you see filesystem.cpio.gz, then you can probably just use it. The build script might have to be updated though to resolve the error/warning. |
This "warning" was emitted when compiling optee_client. It has been removed in OP-TEE/optee_client#34. Is it this one, or something else? |
@savage0 let me know if I can close the issue. Without any answer, I'll close it. |
Hello everyone,
I'm sorry to bother you again.I try to embed the libtomcrypt test code that locate in the directory
core/lib/libtomcrypt/test/ to the TA.What my aim is to test the internal API of libtomcrypt in the OP-TEE.But,in the link stage,there is an error listed in the following.
" gcc-linaro-arm-linux-gnueabihf-4.9-2014.05_linux/bin/../lib/gcc/arm-linux-gnueabihf/4.9.1/libgcc.a(_dvmd_lnx.o): In function
__aeabi_ldiv0': (.text+0x6): undefined reference to
raise' "I don't know what I use the compiler is correct? Maybe this error is result from other reasons.I can't find the real reasons. So,I'm hope to get you help.Thanks.
Best regards
The text was updated successfully, but these errors were encountered: