-
Notifications
You must be signed in to change notification settings - Fork 536
Fail to Build on AArch64 Device Due to Undefined _Float16 type #6844
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
Comments
@manuelcandales Could you take a look at this? Thanks! |
Tagging @digantdesai who might be able to repro this as well. |
Thanks @1awrenceYang for the detailed report. For older Arm GCC (<13.1 IIRC) we need to use We can try and add support for the older gcc (as clang seems to have always supported this). |
Many thanks for @digantdesai 's constructive suggestion. After switching to ARM gcc 13 the problem is solved. I'm able to follow the start guide and get expected output now. For anyone facing the same issue. The solution is updating your gcc to gcc 13+. On my Orange Pi 5 Pro with RK3588 ARM processor this works: I would like to express my gratitude again for your effort on this issue. I'm closing it as it's solved. |
upgrading the compiler to clang17 fixed for me |
Hi @1awrenceYang - many thanks for your solution. Actually, I am working on a RPi5 and I encountered a similar solution. Unfortunately, I am getting the error message below. May I ask for a hint? I was strictly following your solution above. Many thanks in advance!
|
Hi @spalatinate , From what I'm seeing the error message "Could not find compiler set in environment variable CC:" implies that your gcc13 is not properly installed. As this issue is closed. Please open a new issue with a complete description of your local environment so the community can look into your problem in detail. Thanks! |
🐛 Describe the bug
Hi everyone, thanks for your effort on this issue.
I'm trying to build executorch on my OrangePi 5 Pro board equipped with an 8 core ARMv8 CPU, But I encountered a compile error. Here are steps to reproduce the error:
I clone and download submodules as required:
I then start executing the installing_requirements.sh, then I got this compile error, they are all about some missing member 'y'
I realize that this fault starts with the undefined _Float16. Because _Float16 is undefined and therefore member y is also undefined. How should I fix this? Any suggestions is greatly appreciated.
Versions
Here are my environment running the collect_env.py:
The text was updated successfully, but these errors were encountered: