[cfarm-users] Unable to build clang on gcc220 x86_64-openbsd test machine

mirabilos m at mirbsd.org
Thu May 18 19:55:09 CEST 2023


Pierre Muller via cfarm-users dixit:

> LLVM ERROR: out of memory

> Is the fact that it is not possible to build clang on openbsd a known problem?

OpenBSD tends to have somewhat restrictive ulimits by default
to limit the amount of memory an “exploding” process can take.

For at least -d but maybe also -m and/or -v do…

ulimit -Sd $(ulimit -Hd)

… to set the softlimit to the hardlimit (allowed usage for
your user).

Building without debugging symbols is also a generic strategy with few RAM.

hf,
//mirabilos
-- 
[...] if maybe ext3fs wasn't a better pick, or jfs, or maybe reiserfs, oh but
what about xfs, and if only i had waited until reiser4 was ready... in the be-
ginning, there was ffs, and in the middle, there was ffs, and at the end, there
was still ffs, and the sys admins knew it was good. :)  -- Ted Unangst über *fs


More information about the cfarm-users mailing list