https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111523
--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> --- >From that github issue: Internal memory management to take exponentially longer on at least ARM platforms. This narrows things down slightly. But it also makes me think there is some brokenness inside systems memory management too.