andwn/marsdev

Build failing on a 2012 Mac mini running macOS Catalina

ketsuban opened this issue · 1 comments

ketsuban@[redacted] md-skeleton % MARSDEV=/opt/marsdev make
CC src/error.c
dyld: Library not loaded: /usr/local/opt/zstd/lib/libzstd.1.dylib
  Referenced from: /opt/marsdev/m68k-elf/bin/../libexec/gcc/m68k-elf/12.2.0/cc1
  Reason: image not found
m68k-elf-gcc: internal compiler error: Abort trap: 6 signal terminated program cc1
Please submit a full bug report, with preprocessed source (by using -freport-bug).
See <https://gcc.gnu.org/bugs/> for instructions.
make: *** [src/error.o] Error 4

This is using the most recent release from October.

andwn commented

The releases are built with the latest version of macOS at the time. If you want to use Catalina you may need to recompile the toolchain from source to have GCC link with old dylib versions.