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

Pierre Muller pierre at freepascal.org
Sat May 20 23:00:17 CEST 2023



Le 18/05/2023 à 19:55, mirabilos a écrit :
> 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

   Thanks to all for the feedback,
using the trick above allowed me to successfully build
version 17.0 of clang and llvm-mc.

   Is there a way to put that in a location so anyone who wants to try it out can use
it on that machine?

    know that /opt/cfarm was more or less supposed to be used for that,
but on gcc220, it is completely empty...


Pierre


More information about the cfarm-users mailing list