Bug 202515 - Raspberry Pi2 make buildworld fails
Summary: Raspberry Pi2 make buildworld fails
Status: Closed Not A Bug
Alias: None
Product: Base System
Classification: Unclassified
Component: arm (show other bugs)
Version: CURRENT
Hardware: arm Any
: --- Affects Only Me
Assignee: freebsd-arm (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-08-20 12:54 UTC by karl
Modified: 2015-08-20 13:03 UTC (History)
1 user (show)

See Also:


Attachments
Requested to be added by the compiler (1.02 KB, text/plain)
2015-08-20 12:54 UTC, karl
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description karl 2015-08-20 12:54:39 UTC
Created attachment 160142 [details]
Requested to be added by the compiler

Svn updated yesterday and started a "make buildworld", woke up to a failure here with the compiler asking me to submit a bug.


c++  -O -pipe -I/usr/src/lib/clang/libclangsema/../../../contrib/llvm/include -I
/usr/src/lib/clang/libclangsema/../../../contrib/llvm/tools/clang/include -I/usr
/src/lib/clang/libclangsema/../../../contrib/llvm/tools/clang/lib/Sema -I. -I/us
r/src/lib/clang/libclangsema/../../../contrib/llvm/../../lib/clang/include -DLLV
M_ON_UNIX -DLLVM_ON_FREEBSD -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -fno-
strict-aliasing -DLLVM_DEFAULT_TARGET_TRIPLE=\"armv6-gnueabi-freebsd11.0\" -DLLV
M_HOST_TRIPLE=\"armv6-unknown-freebsd11.0\" -DDEFAULT_SYSROOT=\"/usr/obj/usr/src
/tmp\" -Qunused-arguments -I/usr/obj/usr/src/tmp/legacy/usr/include  -std=c++11
-fno-exceptions -fno-rtti -stdlib=libc++ -Wno-c++11-extensions -c /usr/src/lib/c
lang/libclangsema/../../../contrib/llvm/tools/clang/lib/Sema/SemaDeclCXX.cpp -o
SemaDeclCXX.o
c++  -O -pipe -I/usr/src/lib/clang/libclangsema/../../../contrib/llvm/include -I
/usr/src/lib/clang/libclangsema/../../../contrib/llvm/tools/clang/include -I/usr
/src/lib/clang/libclangsema/../../../contrib/llvm/tools/clang/lib/Sema -I. -I/us
r/src/lib/clang/libclangsema/../../../contrib/llvm/../../lib/clang/include -DLLV
M_ON_UNIX -DLLVM_ON_FREEBSD -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -fno-
strict-aliasing -DLLVM_DEFAULT_TARGET_TRIPLE=\"armv6-gnueabi-freebsd11.0\" -DLLV
M_HOST_TRIPLE=\"armv6-unknown-freebsd11.0\" -DDEFAULT_SYSROOT=\"/usr/obj/usr/src
/tmp\" -Qunused-arguments -I/usr/obj/usr/src/tmp/legacy/usr/include  -std=c++11
-fno-exceptions -fno-rtti -stdlib=libc++ -Wno-c++11-extensions -c /usr/src/lib/c
lang/libclangsema/../../../contrib/llvm/tools/clang/lib/Sema/SemaDeclObjC.cpp -o
 SemaDeclObjC.o
c++: error: unable to execute command: Killed
c++: error: clang frontend command failed due to signal (use -v to see invocatio
n)
FreeBSD clang version 3.6.1 (tags/RELEASE_361/final 237755) 20150525
Target: armv6--freebsd11.0-gnueabi
Thread model: posix
c++: note: diagnostic msg: PLEASE submit a bug report to https://bugs.freebsd.or
g/submit/ and include the crash backtrace, preprocessed source, and associated r
un 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/SemaDeclObjC-c934e4.cpp
c++: note: diagnostic msg: /tmp/SemaDeclObjC-c934e4.sh
c++: note: diagnostic msg:

********************
*** Error code 254

Stop.
make[4]: stopped in /usr/src/lib/clang/libclangsema
*** Error code 1

Stop.
Comment 1 karl 2015-08-20 12:56:13 UTC
Second file the compiler asked to be attached is too large (~7.8Mb); can make available on request via web server locally here if it is needed.
Comment 2 Andrew Turner freebsd_committer freebsd_triage 2015-08-20 12:59:12 UTC
Is there anything in dmesg? For example does it tell you it ran out of swap.
Comment 3 karl 2015-08-20 13:02:02 UTC
Lemme look....

Hmmm.... it indeed appears to be the case.

That's a problem that may require an external drive to solve (since you can't realistically swap to the SD card) -- so it appears that a "bare" Rpi2 cannot recompile itself.  My bad in not checking that first.

pid 10780 (c++), uid 0, was killed: out of swap space