homebrew-avr: libbacktrace could not find executable to open

Running on macOS Catalina. Not sure what else to provide here.

Building: board/gen/mega2560/Pins.cpp
cc1plus: internal compiler error: Illegal instruction: 4
libbacktrace could not find executable to open
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://github.com/osx-cross/homebrew-avr/issues> for instructions.
make[1]: *** [build/app/mega2560/release/board/gen/mega2560/Pins.cpp.o] Error 1
avr-gcc (Homebrew AVR GCC 9.3.0_2) 9.3.0
Copyright (C) 2019 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 17 (8 by maintainers)

Most upvoted comments

I’ve tried with brew install avr-gcc --build-from-source flag an hour ago and it failed with same Illegal instruction 4 error after a while. I took it as a definite answer to “will Catalina work fine on this old MacBook” (it won’t). I’ve reverted back to 10.13 High Sierra and running the install right now, will let you know. Since most of the things are now built from source (10.13 isn’t officially supported by Homebrew anymore) it will take a while.