id summary reporter owner description type status priority milestone component version resolution keywords cc port 64399 avr-gcc @11.2.0_1: Build failure on Apple Silicon (needs patch-arm64.diff) VinDuv g5pw "The avr-gcc build fails with the following error: {{{ :info:build Undefined symbols for architecture arm64: :info:build ""_host_hooks"", referenced from: :info:build gt_pch_save(__sFILE*) in libbackend.a(ggc-common.o) :info:build gt_pch_restore(__sFILE*) in libbackend.a(ggc-common.o) :info:build toplev::main(int, char**) in libbackend.a(toplev.o) :info:build ld: symbol(s) not found for architecture arm64 }}} I found that other gcc cross compiler ports, such as x86_64-w64-mingw32-gcc, had a `patch-arm64.diff` patch. Adding that patch to avr-gcc (https://github.com/macports/macports-ports/blame/master/cross/x86_64-w64-mingw32-gcc/Portfile#L30) fixed the build. avr-gcc seems to work fine afterwards." defect assigned Normal ports 2.7.1 arm64 NickFabry cooljeanius avr-gcc