Created attachment 182831 [details] associated run script Not sure if this is the right place to post raspbsd bugs, but here it is.. # uname -a FreeBSD rpi3 12.0-CURRENT FreeBSD 12.0-CURRENT #0 r313109M: Thu Feb 2 16:16:39 MST 2017 raspberry@hive.raspbsd.org:/usr/home/brd/rpi3/crochet/work/obj/arm64.aarch64/usr/src/sys/GENERIC arm64 I ran "make buildworld" on freebsd CURRENT, (master branch from git, commit id 25ba95ba2f9a6bef9f899033546e4dfecf1a36eb ), and it failed with this... (/usr/src is symlinked to /usr/home/lsm5/repositories/freebsd) c++: error: unable to execute command: Killed c++: error: clang frontend command failed due to signal (use -v to see invocation) FreeBSD clang version 3.9.1 (tags/RELEASE_391/final 289601) (based on LLVM 3.9.1) Target: aarch64-unknown-freebsd12.0 Thread model: posix InstalledDir: /usr/bin c++: note: diagnostic msg: PLEASE submit a bug report to https://bugs.freebsd.org/submit/ and include the crash backtrace, preprocessed source, and associated run script. c++: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: c++: note: diagnostic msg: /tmp/Registry-6cca15.cpp c++: note: diagnostic msg: /tmp/Registry-6cca15.sh c++: note: diagnostic msg: ******************** *** Error code 254 Stop. make[4]: stopped in /usr/home/lsm5/repositories/freebsd/lib/clang/libclang *** Error code 1 Stop. make[3]: stopped in /usr/home/lsm5/repositories/freebsd/lib/clang *** Error code 1 Stop. make[2]: stopped in /usr/home/lsm5/repositories/freebsd *** Error code 1 Stop. make[1]: stopped in /usr/home/lsm5/repositories/freebsd *** Error code 1 Stop. make: stopped in /usr/home/lsm5/repositories/freebsd
seems like the preprocessed source is too large to add as attachment.
Make sure you have enough swap space.
Thanks Mikael. So, with 1 GB RAM and 3 GB swap, I now see this: ---------ERROR------------ (cd /mnt/disk/repositories/freebsd/lib/msun/tests && DEPENDFILE=.depend.fmaxmin_test NO_SUBDIR=1 make -f Makefile _RECURSING_PROGS=t PROG=fmaxmin_test cleandir) rm -f fmaxmin_test fmaxmin_test.bc fmaxmin_test.ll fmaxmin_test.full fmaxmin_test.full.bc fmaxmin_test.debug fmaxmin_test.full.ll fmaxmin_test.o fmaxmin_test.bco fmaxmin_test.llo rm -f .depend.fmaxmin_test .depend.fmaxmin_test.* GPATH GRTAGS GSYMS GTAGS (cd /mnt/disk/repositories/freebsd/lib/msun/tests && DEPENDFILE=.depend.ilogb2_test NO_SUBDIR=1 make -f Makefile _RECURSING_PROGS=t PROG=ilogb2_test cleandir) rm -f ilogb2_test ilogb2_test.bc ilogb2_test.ll ilogb2_test.full ilogb2_test.full.bc ilogb2_test.debug ilogb2_test.full.ll ilogb_test.o ilogb_test.bco ilogb_test.llo *** Signal 11 Stop. make[6]: stopped in /mnt/disk/repositories/freebsd/lib/msun/tests *** Error code 1 Stop. make[5]: stopped in /mnt/disk/repositories/freebsd/lib/msun/tests *** Error code 1 Stop. make[4]: stopped in /mnt/disk/repositories/freebsd/lib/msun *** Error code 1 Stop. make[3]: stopped in /mnt/disk/repositories/freebsd/lib *** Error code 1 Stop. make[2]: stopped in /mnt/disk/repositories/freebsd *** Error code 1 Stop. make[1]: stopped in /mnt/disk/repositories/freebsd *** Error code 1 Stop. make: stopped in /mnt/disk/repositories/freebsd ---------ERROR------------ I'm building commit 40978d0a86031b466a0bd8a5bd105c88f5d18dcd on master branch this time.
(In reply to Lokesh Mandvekar from comment #3) See https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230402 comments #11, #12, #13 for help on avoiding these types of build problems. Other bugzilla's beyond 230402 are: 227609 230454.
Yes, this is almost certainly an out-of-memory crash. Check dmesg for "out of swap errors", add more RAM and/or swap, lower your -j level or lower your optimization level. If you are certain this is not an OOM issue, please reopen.