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
Cannot build with -flto #903
Comments
Min test case to reproduce
|
The definitions of
diff between small and big (comments removed):
|
Yup that's it! Thanks for spotting it! |
How we doing @rghilduta ? Any chance a fix is on the horizon? |
Link time optimization is increasingly common across linux distros, but this fails to build on gentoo when lto is enabled.
I would expect this is easy to replicate with
CFLAGS=-flto -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing
Gentoo Bug https://bugs.gentoo.org/861872
The text was updated successfully, but these errors were encountered: