-
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
Do we need to add the fno-builtin compile option? #1722
Comments
Hi @prime-zeng, What do you mean? Do you have an example? (I suspect |
I realize my answer above may sound a bit mysterious ;-) so let me explain a bit more. |
For example, if you have the code |
Ah, I see. So, builtins may generate calls to other standard functions that we may not have in our own libc ( Then I think what we need is |
I just tried and it works, can you help to add it to the default cflags for TAs. |
Thanks. |
#1754 resolve this problem, close it |
We can't use gcc builtin function in OP-TEE(TAs), so if we don't have the fno-builtin option, an linker error will be reported if we use the builtin functions by mistake, but i 'd rather to have this option and then report a compile error instead, any idea?
The text was updated successfully, but these errors were encountered: