-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
gcc 8.3.0: Internal compiler error #5006
Comments
Same bug in Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=923214 |
Got the Same bug when I was trying to compile the open source video editor Olive:
|
@neclepsio, do you happen to know how to downgrade to gcc 8.2? |
Since I still had the files in the cache, I used:
|
Thanks! |
I'm posting this in case it's helpful to anyone. The error-inducing code can be reduced to one line of preprocessed C++:
|
There is a PR on https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88568 with two patches and a test case that resembles @cbrt64 example. The first patch was committed to gcc master and 8.x branches before the 8.3 release, but obviously it didn't solve the problem. The second patch was not yet committed because the author has no way of testing it (no Windows machine). Testing the simple case posted above is simple enough. More interesting would be to run a Qt build with the patched 8.3 gcc. |
Apply patch from PR - 6d598c0 |
Compiling Qt5 fails with the following error. Downgrading to 8.2.0 solves the problem.
The text was updated successfully, but these errors were encountered: