Re: LLVM runs out of memory while compiling userland for 7.8 -Stable on a T2000
Claudio Jeker <[email protected]> Mon, 2 Feb 2026 10:42:50 +0100
| Newsgroups | gmane.os.openbsd.sparc |
|---|---|
| Message-ID | <[email protected]> |
On Mon, Feb 02, 2026 at 07:07:17AM +0000, Abu Hussain Al Mukhtar wrote: > Hello everyone! > > I have a Sunfire T2000 UltraSparc T1 with 32GB RAM, no further ldoms configured. > > I just updated /usr/src and /usr/xenocara via CVS to the -rOPENBSD_7_8 > branch and tried to compile kernel + Userland. The kernel compiled, but compiling the > userland aborts with the following message: > > [...] > LLVM ERROR: out of memory > Allocation failed > Signal 6 in target 'AMDGPUGenRegisterInfo.inc' > Signal SIGABRT in gnu/usr.bin/clang/include/llvm/AMDGPU [...] > Error 2 in gnu/usr.bin/clang (<bsd.subdir.mk>:48 'all') > [...] > > Besides a faulty memory module (you see that the box has plenty of RAM), what could be > causing this? > Make sure your limits are correct. Especially for make build the build user needs to have the right login class (build). Else the limits are too low to build those AMD files. llvm-tblgen is a pig full of memory leaks. -- :wq Claudio