AOSP Master build issue

1,047 views
Skip to first unread message

Michael Moussa

unread,
Jul 21, 2014, 9:11:21 PM7/21/14
to android-...@googlegroups.com
I am having a build issue and I cannot get to the bottom of it. I am doing an AOSP Master build on 64 bit Ubuntu 14.04 on my build server and I run into the error below. Additionally I tried doing the same build on my laptop which is also a 64 bit Ubuntu 14.04 machine and I have no issues on that machine. Any help would be appreciated, see the error below, I also attached the files mentioned in the error...


host C++: libjavacore_32 <= libcore/luni/src/main/native/android_system_OsConstants.cpp

clang++: error: unable to execute command: Killed

clang++: error: assembler command failed due to signal (use -v to see invocation)

clang version 3.5 

Target: i386--linux-gnu

Thread model: posix

clang++: note: diagnostic msg: PLEASE submit a bug report to http://llvm.org/bugs/ and include the crash backtrace, preprocessed source, and associated run script.

clang++: note: diagnostic msg: 

********************


PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:

Preprocessed source(s) and associated run script(s) are located at:

clang++: note: diagnostic msg: /tmp/android_system_OsConstants-470a3f.cpp

clang++: note: diagnostic msg: /tmp/android_system_OsConstants-470a3f.sh

android_system_OsConstants-470a3f.cpp
android_system_OsConstants-470a3f.sh

Swapnil Devikar

unread,
Sep 11, 2014, 5:52:22 PM9/11/14
to android-...@googlegroups.com
Same issue here. Although, I am trying to build for vbox_x86-eng target on a fresh Ubuntu 12.04 64 bits machine

DG

unread,
Sep 13, 2014, 12:59:58 AM9/13/14
to android-...@googlegroups.com
I suspect two possible issues :-

1.  Is the swap space enough on machine where build is failing - Killed does happens with lack of swap space as observed sometimes.

2. Any missing tool between the two machines.

Regards

Moshe Beeri

unread,
Dec 4, 2014, 3:37:43 PM12/4/14
to android-...@googlegroups.com
what should be the Swap partition size?

Magnus Bäck

unread,
Dec 8, 2014, 3:26:44 AM12/8/14
to android-...@googlegroups.com
On Thursday, December 04, 2014 at 21:37 CET,
Moshe Beeri <moshe...@gmail.com> wrote:

> what should be the Swap partition size?

That depends on lots of things, including how many processes you tell
make to run (the -j option). I'd make sure that the sum of RAM and
swap space isn't less than 10 GB. Keep in mind that RAM shortage will
slow down your build a lot as the operating system won't be able to
use much RAM for file system caching.

--
Magnus Bäck | Software Engineer, Development Tools
magnu...@sonymobile.com | Sony Mobile Communications
Reply all
Reply to author
Forward
0 new messages