Your post just brought back a flood of memories for me about the frustration I went through as a kid trying to port free software to 68k BSD. I started out running MachTen [1] which ran under System 7 on the Mac. There was something odd about the way it did dynamic linking, I can’t remember now, but it just turned any port into a nightmare. I don’t know why it took me so long to figure out there was a mac68k NetBSD, which had a much better/compatible toolchain for building stuff. I don’t remember ever trying to get linux going on 68k, but I can sympathize.
[1] https://www.tenon.com/products/machten/23-info.shtml