Segfault while compiling AOSP (Nexus 7 - 2013 wifi)

471 views
Skip to first unread message

Adrian Tang

unread,
Jul 25, 2014, 2:04:22 PM7/25/14
to android-...@googlegroups.com
My device is the Asus Google Nexus 7 - 2013 wifi tablet.
I was compiling the android-4.4.2-r1 build for AOSP on Ubuntu 12.04 64 bit, but the build process terminated with a segfault as follows:

$ uname -a
Linux ubuntu 3.8.0-44-generic #66~precise1-Ubuntu SMP Tue Jul 15 04:01:04 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

$ repo init -u https://android.googlesource.com/platform/manifest -b android-4.4.2_r1
$ repo sync -c

(downloaded and extracted the Nexus 7 proprietary drivers into ./vendor)

$ . build/envsetup.sh
$ lunch aosp_flo-userdebug
$ make
...
including ./vendor/qcom/flo/proprietary/Android.mk ...
target thumb C: libcompiler_rt-extras <= external/compiler-rt/lib/mulodi4.c
make: *** [out/target/product/generic/obj/STATIC_LIBRARIES/libcompiler_rt-extras_intermediates/lib/mulodi4.o] Segmentation fault (core dumped)

I was wondering if anyone encountered this problem before. Will appreciate any help here. Thanks!

Tom Deering

unread,
Jul 26, 2014, 3:12:46 PM7/26/14
to android-...@googlegroups.com
It's very likely you have faulty ram. This happened to me too, even though my memory passed Memtest. Try a different set of ram or putting your sticks of ram in one at a time and building. Chances are that at least one stick is bad... :(

Tom Deering

unread,
Jul 26, 2014, 3:16:18 PM7/26/14
to android-...@googlegroups.com
You can find my own adventure with segfaults during builds here:



On Friday, July 25, 2014 1:04:22 PM UTC-5, Adrian Tang wrote:
Reply all
Reply to author
Forward
0 new messages