Hi all,

After following the aosp build instructions for ubuntu LTS 14.04, my make 
-j32 always hits a clang problem. The lunch parameter is lunch 
aosp_bullhead-eng as I am looking to install on a Nexus 5X.

Any help greatly appreciated (see red text below):


[ 81% 73773/90429] 
//external/llvm/lib/CodeGen/SelectionDAG:libLLVMSelectionDAG clang++ 
DAGCombiner.cpp
FAILED: 
out/soong/.intermediates/external/llvm/lib/CodeGen/SelectionDAG/libLLVMSelectionDAG/android_arm64_armv8-a_cortex-a53_static_core/obj/external/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.o
 

PWD=/proc/self/cwd prebuilts/clang/host/linux-x86/clang-4053586/bin/clang++ 
-c -Iexternal/llvm/lib/CodeGen/SelectionDAG  -fno-exceptions -Wno-multichar 
-fno-strict-aliasing -fstack-protector-strong -ffunction-sections 
-fdata-sections -funwind-tables -Wa,--noexecstack -Werror=format-security 
-D_FORTIFY_SOURCE=2 -fno-short-enums -no-canonical-prefixes 
-Werror=pointer-to-int-cast -Werror=int-to-pointer-cast 
-Werror=implicit-function-declaration -DNDEBUG -O2 -g -Wstrict-aliasing=2 
-DANDROID -fmessage-length=0 -W -Wall -Wno-unused -Winit-self 
-Wpointer-arith -DNDEBUG -UDEBUG -fdebug-prefix-map=/proc/self/cwd= 
-D__compiler_offsetof=__builtin_offsetof -Werror=int-conversion 
-Wno-reserved-id-macro -Wno-format-pedantic 
-Wno-unused-command-line-argument -fcolor-diagnostics 
-Wno-expansion-to-defined -fdebug-prefix-map=$PWD/= -Werror=return-type 
-Werror=non-virtual-dtor -Werror=address -Werror=sequence-point 
-Werror=date-time -nostdlibinc -mcpu=cortex-a53 -Iexternal/llvm/include 
-Iexternal/llvm/device/include 
-Iout/soong/.intermediates/external/llvm/llvm-gen-attributes/gen 
-Iout/soong/.intermediates/external/llvm/llvm-gen-intrinsics/gen 
-Iexternal/libcxx/include -Iexternal/libcxxabi/include 
-Isystem/core/include -Isystem/media/audio/include 
-Ihardware/libhardware/include -Ihardware/libhardware_legacy/include 
-Ihardware/ril/include -Ilibnativehelper/include 
-Iframeworks/native/include -Iframeworks/native/opengl/include 
-Iframeworks/av/include -isystem bionic/libc/arch-arm64/include -isystem 
bionic/libc/include -isystem bionic/libc/kernel/uapi -isystem 
bionic/libc/kernel/uapi/asm-arm64 -isystem bionic/libc/kernel/android/scsi 
-isystem bionic/libc/kernel/android/uapi 
-Ilibnativehelper/include_deprecated -D_GNU_SOURCE -D__STDC_LIMIT_MACROS 
-D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -fomit-frame-pointer -Wall 
-W -Wno-sign-compare -Wno-unused-parameter -Wno-missing-field-initializers 
-Wwrite-strings -Werror -Dsprintf=sprintf -Wno-error=unused-lambda-capture 
-Wno-error=user-defined-warnings -target aarch64-linux-android 
-Bprebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9/aarch64-linux-android/bin
 
-fPIC -D_USING_LIBCXX -std=gnu++14 -Wsign-promo 
-Wno-inconsistent-missing-override -Wno-null-dereference 
-D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS -Wno-thread-safety-negative 
-Wno-sign-promo -std=c++11 -Woverloaded-virtual -fno-rtti 
-fvisibility-inlines-hidden -Werror=int-to-pointer-cast 
-Werror=pointer-to-int-cast -Werror=address-of-temporary 
-Werror=return-type -MD -MF 
out/soong/.intermediates/external/llvm/lib/CodeGen/SelectionDAG/libLLVMSelectionDAG/android_arm64_armv8-a_cortex-a53_static_core/obj/external/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.o.d
 
-o 
out/soong/.intermediates/external/llvm/lib/CodeGen/SelectionDAG/libLLVMSelectionDAG/android_arm64_armv8-a_cortex-a53_static_core/obj/external/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.o
 
external/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
clang++.real: error: unable to execute command: Segmentation fault (core 
dumped)
clang++.real: error: clang frontend command failed due to signal (use -v to 
see invocation)
Android clang version 5.0.300080  (based on LLVM 5.0.300080)
Target: aarch64--linux-android
Thread model: posix
InstalledDir: prebuilts/clang/host/linux-x86/clang-4053586/bin
clang++.real: 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++.real: note: diagnostic msg: 

-- 
-- 
You received this message because you are subscribed to the "Android Building" 
mailing list.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-building?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"Android Building" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to