-
Notifications
You must be signed in to change notification settings - Fork 456
-
Notifications
You must be signed in to change notification settings - Fork 456
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
Can't compile with gcc 4.9 #463
Comments
Thank you for reporting this. A fedora user had mentioned it on #codelite a few days ago. It seems to be a gcc 4.9 'feature' to do with link-time optimisation, and is likely to affect many programs that link to wxGTK.
CodeLite uses -02 at present. Perhaps passing -fno-lto would be a workaround that doesn't lose other optimisations. Or, revert to gcc 4.8! I don't have a gcc 4.9 system available for checking atm and, like over 7 billion other people, I don't really understand what's going wrong: is it the way the wxGTK libs were built, or something that CodeLite itself is doing wrong (perhaps with its plugins??), or what? I hope the situation becomes clearer before gcc 4.9 becomes widespread. Meanwhile I'll leave this bug open as a reminder. Regards, David |
Closed. |
This issue is related to: |
The above gcc issue has been fixed in 4.9.2. |
Yes, git version compiles on my machine now |
I was unable to compile codelite with gcc 4.9 on arch Linux 64bits. Tried with latest release and git version. Gcc 4.8 compiles ok.
The problem were several linker errors:
Arch bug report
https://aur.archlinux.org/packages/codelite/
Possible workaround is to disable -O3
https://aur.archlinux.org/packages/dolphin-emu-git/
The text was updated successfully, but these errors were encountered: