Summary: | sysutils/py-qmk: current arm-none-eabi-gcc is not compatible, creates broken image | ||
---|---|---|---|
Product: | Ports & Packages | Reporter: | Henry Hu <henry.hu.sh> |
Component: | Individual Port(s) | Assignee: | Mateusz Piotrowski <0mp> |
Status: | Closed FIXED | ||
Severity: | Affects Only Me | CC: | henry.hu.sh |
Priority: | --- | Flags: | bugzilla:
maintainer-feedback?
(0mp) |
Version: | Latest | ||
Hardware: | Any | ||
OS: | Any | ||
Bug Depends on: | 255454 | ||
Bug Blocks: |
Description
Henry Hu
2021-03-21 02:03:15 UTC
Thanks for the report. In that case we should create a new port arm-none-eabi-gcc 7 and use it for RUN_DEPENDS. However, when I run qmk doctor it does not complain about the arm-none-eabi-gcc version: ``` $ qmk doctor Ψ QMK Doctor is checking your environment. ⚠ Unsupported OS detected: freebsd-14.0-current-amd64-64bit-elf Ψ QMK home: /usr/home/0mp/qmk_firmware Ψ All dependencies are installed. Ψ Found arm-none-eabi-gcc version 8.4.0 Ψ Found avr-gcc version 9.1.0 ⚠ We do not recommend avr-gcc newer than 8. Downgrading to 8.x is recommended. Ψ Found avrdude version 6.3 Ψ Found dfu-util version 0.10 Ψ Found dfu-programmer version 0.7.2 Ψ Submodules are up to date. Ψ QMK is ready to go, but minor problems were found ``` This may be something that should be reported upstream. Yeah, qmk-doctor seems to be fine with it, so I'm not completely sure that it's the compiler version, or something else. Does it work for your board? (In reply to Henry Hu from comment #3) It's hard to say. I'm using Crkbd and I can build firmware just fine. However, the keyboard happens to hang after some time. I am not sure if that's a software bug (potentially caused by the toolchain) or a hardware issue. (In reply to Mateusz Piotrowski from comment #4) Now that I think about it, could you report the issue with arm-none-eabi-gcc 8.4.0 to the QMK project? They may be interested in it. Perhaphs they will start recommending version <= 7. According to the QMK issue you linked in the first post, GCC 10.2.0 may be able to compile working firmware. You can test it if you want (the patch is here: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=255454). Please try to build your firmware with the latest avr-gcc. It works perfectly in my case. |