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
Build fails with LTO #28
Comments
The error is interesting here.
I filed https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114218 for GCC to make this clearer. |
Thank You both for reporting and taking care of alsaplayer and gcc. If I understand well and take a look into git master, I think I will make a release with master. It was a long time ago Erik de Castro Lopo stopped to work on it, and I was waiting from him to do that, but maybe as English is not my mother language and I learned it mostly into documentations and other readings, as well than in the streets, I missed it into the mailing list. |
No, it is not fixed in master, I get the same error with these flags. |
I find a solution that work here, and it is consistent with what is into alsaplayer/Core.h:
Maybe and as in alsaplayer/Core.h, I could even remove
I am not a C/C++ programmer, so what do You think about that? |
Or maybe it is better to add
into alsaplayer/Core.h |
With the following *FLAGS, alsaplayer fails to build:
-flto=4 -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing
.Downstream report: https://bugs.gentoo.org/860423
Full logs: build.log
The text was updated successfully, but these errors were encountered: