On Fri, 4 Sep 2020, Josef Wolf wrote: > So why won't the linker bail out when it can't resolve a reference? > Any hints? You're linking with --gc-sections, and if all references to undefined functions are in discarded sections, the linker won't complain. In other words, checking for remaining undefined references happens after discarding unneeded sections. Alexander