-
Notifications
You must be signed in to change notification settings - Fork 21
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
Yocto Warrior fails compiling #13
Comments
In this case you should be using,
Do you have any other local changes? |
I tried that as well and I'm getting the exact same error. I have no local changes, I'm doing a fresh checkout using the steps I listed above. It seems like |
I wonder if this is something that should be reported to the meta-clang maintainers instead. I did try a fresh build in my environment (Debian 9) and I could not re-produce, which might indicate that is using binaries from the host system and hence we get different result. |
Are you forcing usage of GCC 7? As far as I know the default on |
I'm building on a Ubuntu 18.04 VM. Not doing anything special for the build, in fact that VM is pretty basic with hardly anything installed. I'm also not forcing any compiler version - as far as I can tell, the gcc is made by Yocto as part of the native tooling. Could you double check in your debian environment what g++ version you get when you call |
Oh wait, Knowing that, I was trying to use gcc 8
By doing so, the error message has now changed to this:
The gcc I'm using now is this:
Could you post the version that you were using on Debian 9? |
|
Also note that the components in the
|
After more experimentation I was able to figure out the reason for the gcc internal compiler errors. It turns out that gcc was simply running out of memory (but didn't report this in a good way). My virtual machine only had 4 GB of memory. Once I upped this to 8 GB RAM, the compilation went through without any issues. Note: I did this with gcc upgraded to 8.3.0 (see above) instead of reverting to using version 7.4.0 which is default on Ubuntu 18.04. Once I have time I might try using 7.4.0 as well. Thanks @mirzak for supporting the investigation! |
Awesome, thanks for reporting back |
As mentioned in #12, I was also unable to compile using Yocto Warrior.
Steps to reproduce:
The error I'm getting is:
The text was updated successfully, but these errors were encountered: