Skip to content
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

Issue while compiling with LTO enabled #229

Open
lanodan opened this issue Jul 21, 2022 · 1 comment
Open

Issue while compiling with LTO enabled #229

lanodan opened this issue Jul 21, 2022 · 1 comment
Labels

Comments

@lanodan
Copy link

lanodan commented Jul 21, 2022

Describe the bug

Downstream bug report: https://bugs.gentoo.org/show_bug.cgi?id=859640

To Reproduce

Compile mimic 1.3.0.1 or mimic from git as of d561f87 with CFLAGS=-flto -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing

Expected behavior
mimic compiles with LTO enabled, without lto-type-mismatchs.

Log files
See https://bugs.gentoo.org/attachment.cgi?id=792722

Environment (please complete the following information):

  • Device type: PC
  • OS: Gentoo
  • Mycroft-core version: N/A
  • Other versions: mimic 1.3.0.1
@lanodan lanodan added the bug label Jul 21, 2022
@forslund
Copy link
Collaborator

Thanks for the detailed bugreport, I was able to reproduce it and will see if I can fix it. Please also note that the new mimic3 is probably a better choice for most use cases.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants