https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92442
--- Comment #2 from Ruben Van Boxem <vanboxem.ruben at gmail dot com> --- I hit the submit button too early, I was still removing commandline options. Indeed the -gsplit-dwarf option seems the culprit here. I added it to decrease library link times (seems like it did at least something in that directionà, guess I should remove it again to prevent OOM when compiling until this is fixed.