aboutsummaryrefslogtreecommitdiff
path: root/docs/faq_build.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/faq_build.md')
-rw-r--r--docs/faq_build.md16
1 files changed, 16 insertions, 0 deletions
diff --git a/docs/faq_build.md b/docs/faq_build.md
index ff409f9c6..2d1b91b60 100644
--- a/docs/faq_build.md
+++ b/docs/faq_build.md
@@ -88,3 +88,19 @@ Note that Teensy2.0++ bootloader size is 2048byte. Some Makefiles may have wrong
88# USBaspLoader 2048 88# USBaspLoader 2048
89OPT_DEFS += -DBOOTLOADER_SIZE=2048 89OPT_DEFS += -DBOOTLOADER_SIZE=2048
90``` 90```
91
92## `avr-gcc: internal compiler error: Abort trap: 6 (program cc1)` on MacOS
93This is an issue with updating on brew, causing symlinks that avr-gcc depend on getting mangled.
94
95The solution is to remove and reinstall all affected modules.
96
97```
98brew rm avr-gcc
99brew rm dfu-programmer
100brew rm gcc-arm-none-eabi
101brew rm avrdude
102brew install avr-gcc
103brew install dfu-programmer
104brew install gcc-arm-none-eabi
105brew install avrdude
106```