Update avr-gcc to 8.5.0
Details
- Reviewers
silke - Group Reviewers
Triage Team - Commits
- R4751:d5c5059c0954: Update avr-gcc to 8.5.0
Built firmware for avr device, used QMK as source to test building using avr toolchain (binutils, gcc, libc)
Diff Detail
- Repository
- R4751 avr-gcc
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
I believe there is a known bug that causes a relative massive increase in code size with newer gcc versions which makes it difficult to fit binaries on small ECs and the like.
Yes, that bug was fixed but QMK can't be built with avr-gcc newer than 8.x, so i decided to stay on that branch an use latest release from that branch. Of course QMK is not the only thing people use this toolchain for but updating it would definitely break it for QMK users. On the other hand older microcontroller code would also need to be adjusted to work with newer gcc compiler so it would break it for those users also. Currently i don't see any harm in keeping it on 8.x branch but i do in updating to latest 13.x branch.
I don't see any harm either, especially as many (most?) distros are still rocking 5.4.0 😅.
Thanks for the update and explanation, LGTM!