gccgo: compiling cmd/internal/obj/x86 on ppc64le takes 14.5GB of RAM and 20 minutes of CPU #35661
Labels
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
Bootstrapping the golang.org Go distribution using this version of gccgo takes an excessive amount of time:
Specifically, while compiling cmd/internal/obj/x86,
go1
seems to take nearly 20 minutes and uses 14.5GB of RAM for the first 8.5 minutes (after that, it drops to 3GB of RAM). For comparison, make.bash in its entirety takes about 24 minutes of wall clock time and 33 minutes of CPU time.It seems like the large arrays/slices in that package are hitting some super-linear complexity.
/cc @ianlancetaylor
The text was updated successfully, but these errors were encountered: