Created attachment 923579 [details] clang-18 build log I usually compile in my tmpfs (sized 4G) which has worked fine up to clang-16. A couple of weeks ago I was upgrading to clang-18 (skipped 17) and I noticed the build failing at the linking stage simply saying "failed" and nothing else. Initially I thought it was due to going OOM or maybe due to LTO but after my ~3rd emerge I got lucky and it gave a useful error about running out of disk space. I don't have the older logs, as they got auto-cleaned, but here's a recent clang-18 build log with LTO that used about ~4.6G of disk space. * Final size of build directory: 4923080 KiB ( 4.6 GiB) * Final size of installed tree: 267288 KiB (261.0 MiB) The ebuild should really check for disk space, especially if LTO is used, to avoid wasting user's time on a build that would've failed (with a non-debug-able error message nonetheless).