https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118975
--- Comment #1 from Nate Eldredge <nate at thatsmathematics dot com> --- I should have said, credit to StackOverflow user anol for finding this. https://stackoverflow.com/questions/79457581/gcc-undef-leads-to-cannot-find-entry-symbol-start-defaulting-to-x/79457825#79457825