That could be one of the sideffects mentioned in https://git.harting.dev/anonfunc/ALHP.GO/issues/52#issuecomment-695.
I'll requeue it and monitor if the LTO linking is OOM-killed.
I think it a bug, just had some package to build and one had 3x the memory usage
It seem fixed with the next gcc version (11.2):
Link-time optimization improvements: …
I noticed significant more memory usage building with LTO enabled. For example xf86-video-intel is currently building, using a total of 43.6GiB RES.
That could overwhelm the buildserver, which…
Well, LTO is enabled now, so we'll see what fails. If there is something that fails with -O3/LTO we can discuss what needs to be done in that specific case.
Is there something else we can do here?…
That could be a great source indeed, but if I understood correctly using GentooLTO would require the following:
- some sort of automatic syncing of said patches or build-/linkerflags
- match gentoo…