-
-
Notifications
You must be signed in to change notification settings - Fork 38.9k
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
Compiling split keyboards with LTO enabled does not work in MacOS #7857
Comments
I wonder if this is a more general problem with avr-gcc 8.3.0. I'm got a (more recent?) install of QMK on MSYS with that avr-gcc version, and after I just updated master and reflashed my Lily58, I have the same problem of the slave side not responding. I'll try and debug further. |
Turning off |
I do believe I’m using link time optimization. I’ll give that a try on the boards I have at home. I can test the lily58 on Monday. |
I was able to confirm that LTO was the problem. Compiling and flashing without LTO, the lily58 behaved as expected. Patching in Should I change the title of this issue to make it more searchable? |
Modified the title, closed it off as solved. |
I use a multitude of split keyboards (lily58, crkbd, and a custom hand wired split board). I recently picked up a Mac and I discovered that when compiling, all will go smoothly, but the programmed keyboard does not function properly; the non-usb half is unresponsive. Compiling the same code on Windows Subsystem for Linux (WSL) works just fine. A cursory google search didn't turn up anything.
Information about systems:
Some tests I did:
Has this been encountered by anybody else? Any ideas on a fix?
Thanks!
The text was updated successfully, but these errors were encountered: