Bug 214299

Summary: make buildworld fails on Raspberry Pi B plus
Product: Base System Reporter: punasipuli
Component: armAssignee: Mark Linimon <linimon>
Status: Closed Overcome By Events    
Severity: Affects Only Me CC: emaste
Priority: ---    
Version: 11.0-STABLE   
Hardware: arm   
OS: Any   
Attachments:
Description Flags
ObjCMT-185783.cpp none

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 freebsd_triage 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.
Comment 3 Mark Linimon freebsd_committer freebsd_triage 2021-06-30 01:02:45 UTC
^Triage: close as OBE.

I'm sorry that this PR did not get addressed in a timely fashion.  Please let us know if this still occurs on a supported OSVERSION.