hi, i want to install devel/llvm14 on freebsd 13.1. after installation of freebsd 13.1 , i didnt change any config. i just portsnap auto and then cd /usr/ports/devel/llvm14 make BATCH=yes install >& /root/llvm-14-build-2022-15-21-vanilla-installed-freebsd_13_1.log i am adding port installation log and dmesg output as log file. i also tested before this, same vanilla install of freebsd and only change is make BATCH=yes MAKE_JOBS_UNSAFE=yes install it is installed without a problem. what is the difference between MAKE_JOBS_UNSAFE=yes option and without this option set?
Created attachment 234096 [details] port installation output log file 1 there is another file to make extract log file please dont forget to download llvm-14-build-2022-15-21-vanilla-installed-freebsd_13_1.z01 file.
Created attachment 234097 [details] port installation output log file 2 it is required by previous port installation output log file 1.
Created attachment 234098 [details] dmesg output log file after compilation error.
i found that it is similary problem like this bug report. https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=259570 if i unset MILR and FLANG option, i was able to install with make install command.
This appears to be a memory/resource exhaustion issue, which is/can be common when building LLVM (and other language stacks such as rust). You may want to consider testing the build with DISABLE_MAKE_JOBS=yes set, to stop parallel building, or consider additional swap space to cover the peak needs of the LLVM build. If you believe this assessment is incorrect, please re-open the issue with additional details.