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 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.
-
Worth mentioning this is a clean CD install of 12.1-R -> check out 12.1-R -> source -> buildworld. Only oddness is /usr/src and /usr/obj on ZFS datasets.
- 11 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.