https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78077
--- Comment #5 from Iain Sandoe <iains at gcc dot gnu.org> ---
(In reply to Jack Howarth from comment #4)
> 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
If it's a 0-length FDE caused by a 0-length function, then this is a repeat of
57438. If so please mark it accordingly (I expect to post a fix for 57438
soon, and I can send you a preview if that helps).
If this is something different, then please can we have a reduced test-case.
Thanks