https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78077
--- Comment #4 from Jack Howarth <howarth.at.gcc at gmail dot com> --- The Apple developers think this is gcc bug producing malformatted input to the linker. From macho_relocatable_file.cpp, we are triggering the linker check... #ifndef NDEBUG // scan for FDEs claming the same function for(uint32_t i=1; i < cfiStartsArrayCount; ++i) { assert( cfiStartsArray[i] != cfiStartsArray[i-1] ); } #endif