What is it with clang/llvm on #FreeBSD not compiling? I'm using 12.1-RELEASE and the 12.1-RELEASE source and still it goes nuts, eating all of RAM before getting a kill. Compile the same file a couple of times more and suddenly it works.
It's always CLANG! What am I missing?
If you're using poudriere, then consider disabling or reducing tmpfs use - llvm uses both lots of disk space (and therefore mem/swap if tmpfs is used) and lots of working RAM for compile/link.
-
-
If you have sufficient swap space but still get OOM kills that DON'T have a "swap_pager_getswapspace" error, also try increasing vm.pageout_oom_seq a lot. (OOM kills can be triggered not by lack of swap space but by slowness in pageouts)
-
Thanks for the thoughts. I isolated the problem part of the build and ran the compiler directly from the shell. After a while it starts eating core at 50MB/second until its all gone. It's pretty obviously a leak in the compiler somewhere.
- 12 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.