Bug 214299 - make buildworld fails on Raspberry Pi B plus
Summary: make buildworld fails on Raspberry Pi B plus
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: arm (show other bugs)
Version: 11.0-STABLE
Hardware: arm Any
: --- Affects Only Me
Assignee: freebsd-arm mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-11-07 20:08 UTC by punasipuli
Modified: 2017-06-18 22:46 UTC (History)
1 user (show)

See Also:


Attachments
ObjCMT-185783.cpp (906.65 KB, application/x-zip-compressed)
2016-11-07 20:08 UTC, punasipuli
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description punasipuli 2016-11-07 20:08:22 UTC
Created attachment 176750 [details]
ObjCMT-185783.cpp

--- all_subdir_lib/clang/libclangarcmigrate ---
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.8.0 (tags/RELEASE_380/final 262564) (based on LLVM 3.8.0)
Target: armv6--freebsd11.0-gnueabihf
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.
--- all_subdir_lib/clang/libclangbasic ---
--- ObjCRuntime.o ---
c++  -target armv6-gnueabihf-freebsd11.0 --sysroot=/usr/obj/usr/src/tmp -B/usr/obj/usr/src/tmp/usr/bin -mlong-calls -O -pipe -I/usr/src/lib/clang/libclangbasic/../../../contrib/llvm/include -I/usr/src/lib/clang/libclangbasic/../../../contrib/llvm/tools/clang/include -I/usr/src/lib/clang/libclangbasic/../../../contrib/llvm/tools/clang/lib/Basic -I. -I/usr/src/lib/clang/libclangbasic/../../../contrib/llvm/../../lib/clang/include -DLLVM_ON_UNIX -DLLVM_ON_FREEBSD -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -DNDEBUG -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_STATIC_ANALYZER -fno-strict-aliasing -DLLVM_DEFAULT_TARGET_TRIPLE=\"armv6-gnueabihf-freebsd11.0\" -DLLVM_HOST_TRIPLE=\"armv6-unknown-freebsd11.0\" -DDEFAULT_SYSROOT=\"\" -MD -MF.depend.ObjCRuntime.o -MTObjCRuntime.o -Qunused-arguments  -std=c++11 -fno-exceptions -fno-rtti -stdlib=libc++ -Wno-c++11-extensions  -c /usr/src/lib/clang/libclangbasic/../../../contrib/llvm/tools/clang/lib/Basic/ObjCRuntime.cpp -o ObjCRuntime.o
--- all_subdir_lib/clang/libclangarcmigrate ---
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/ObjCMT-185783.cpp
c++: note: diagnostic msg: /tmp/ObjCMT-185783.sh
c++: note: diagnostic msg: 

********************
*** [ObjCMT.o] Error code 254

make[6]: stopped in /usr/src/lib/clang/libclangarcmigrate
1 error
Comment 1 punasipuli 2016-11-07 20:09:58 UTC
Comment on attachment 176750 [details]
ObjCMT-185783.cpp

c++: note: diagnostic msg: /tmp/ObjCMT-185783.cpp
c++: note: diagnostic msg: /tmp/ObjCMT-185783.sh
Comment 2 Ed Maste freebsd_committer 2017-06-18 22:46:11 UTC
You will need to set up a reasonably large swap partition in order to build world on the R-Pi itself. Checking /var/log/messages should confirm that Clang was killed because the R-Pi was out of memory.