[Android Software/Hacking General [Developers Only]] vimal101:
Thanks that fixed but got new error

target arm C: libjpeg_static_32 <= external/jpeg/jquant2.c
0 clang 0x0000000000e0a3c0 llvm::sys::PrintStackTrace(llvm::raw_ostream&) + 65
1 clang 0x0000000000e09ed2
2 libpthread.so.0 0x00002b5974a8f390
3 clang 0x0000000000c96946 llvm::Value::getName() const + 0
4 clang 0x00000000011330ed polly::VectorBlockGenerator::copyStmt(polly::ScopStmt&) + 89
5 clang 0x0000000001177a92 IslNodeBuilder::createUserVector(isl_ast_node*, std::vector<llvm::Value*, std::allocator<llvm::Value*> >&, isl_id*, isl_union_map*) + 548
6 clang 0x0000000001177d63 IslNodeBuilder::createForVector(isl_ast_node*, int) + 573
7 clang 0x0000000001179a89 IslNodeBuilder::createForSequential(isl_ast_node*) + 561
8 clang 0x00000000011790a7 IslNodeBuilder::createForParallel(isl_ast_node*) + 1325
9 clang 0x0000000001139901
10 clang 0x0000000000a9f083 llvm::RGPassManager::runOnFunction(llvm::Function&) + 751
11 clang 0x0000000000c83593 llvm::FPPassManager::runOnFunction(llvm::Function&) + 281
12 clang 0x0000000000c836be llvm::legacy::FunctionPassManagerImpl::run(llvm::Function&) + 88
13 clang 0x0000000000c83790 llvm::legacy::FunctionPassManager::run(llvm::Function&) + 124
14 clang 0x0000000000e8988f clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, llvm::raw_pwrite_stream*) + 5848
15 clang 0x0000000001295e0f
16 clang 0x000000000140c40f clang::ParseAST(clang::Sema&, bool, bool) + 479
17 clang 0x00000000010071c8 clang::FrontendAction::Execute() + 54
18 clang 0x0000000000fed0b3 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) + 395
19 clang 0x0000000001042c8e clang::ExecuteCompilerInvocation(clang::CompilerInstance*) + 2449
20 clang 0x00000000007fde54 cc1_main(llvm::ArrayRef<char const*>, char const*, void*) + 1031
21 clang 0x00000000007d470c main + 1274
22 libc.so.6 0x00002b5975560830 __libc_start_main + 240
23 clang 0x00000000007fc799 _start + 41
Stack dump:
0.	Program arguments: prebuilts/clang/linux-x86/host/3.7/bin/clang -cc1 -triple armv7--linux-android -emit-obj -disable-free -disable-llvm-verifier -main-file-name jquant2.c -mrelocation-model pic -pic-level 2 -mthread-model posix -fmath-errno -masm-verbose -mconstructor-aliases -munwind-tables -fuse-init-array -target-cpu cortex-a7 -target-feature +soft-float-abi -target-feature -fp-only-sp -target-feature -d16 -target-feature +vfp4 -target-feature -fp-armv8 -target-feature +neon -target-feature -crypto -target-abi aapcs-linux -mfloat-abi soft -g -dwarf-column-info -ffunction-sections -fdata-sections -coverage-file /home/vimal/.ccache/b/1/612d5a431a34443e77b1bb976cf595-42972124.o.tmp.vimal-desktop.21836 -nostdsysteminc -resource-dir prebuilts/clang/linux-x86/host/3.7/bin/../lib/clang/3.7 -isystem system/core/include -isystem system/media/audio/include -isystem hardware/libhardware/include -isystem hardware/libhardware_legacy/include -isystem libnativehelper/include -isystem frameworks/native/include -isystem frameworks/native/opengl/include -isystem frameworks/av/include -isystem frameworks/base/include -isystem hardware/ril-caf/include -isystem out/target/product/land/obj/include -isystem bionic/libc/arch-arm/include -isystem bionic/libc/include -isystem bionic/libc/kernel/uapi -isystem bionic/libc/kernel/uapi/asm-arm -isystem bionic/libm/include -isystem bionic/libm/include/arm -include build/core/combo/include/arch/linux-arm/AndroidConfig.h -D _FORTIFY_SOURCE=2 -D QCOM_HARDWARE -D QCOM_BSP -D QTI_BSP -D ANDROID -D NDEBUG -D NDEBUG -U DEBUG -D __compiler_offsetof=__builtin_offsetof -D AVOID_TABLES -D ANDROID_TILE_BASED_DECODE -D NV_ARM_NEON -D __ARM_HAVE_NEON -D _USING_LIBCXX -I external/libcxx/include -I external/jpeg -I out/target/product/land/obj_arm/STATIC_LIBRARIES/libjpeg_static_intermediates -I out/target/product/land/gen/STATIC_LIBRARIES/libjpeg_static_intermediates -I libnativehelper/include/nativehelper -I build/core/combo/include/arch/linux-arm/ -internal-isystem prebuilts/clang/linux-x86/host/3.7/bin/../lib/clang/3.7/include -O3 -Wno-multichar -Werror=format-security -W -Wall -Wno-unused -Winit-self -Wpointer-arith -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wstrict-aliasing=2 -Werror=int-conversion -Wno-reserved-id-macro -Wno-format-pedantic -Wno-unused-command-line-argument -Wno-unknown-warning-option -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -w -std=gnu99 -fdebug-compilation-dir /home/vimal/Aokp -ferror-limit 19 -fmessage-length 0 -stack-protector 1 -mstackrealign -fno-signed-char -fobjc-runtime=gcc -fdiagnostics-show-option -fcolor-diagnostics -vectorize-loops -vectorize-slp -mllvm -polly -mllvm -polly-parallel -mllvm -polly-ast-use-context -mllvm -polly-vectorizer=polly -mllvm -polly-opt-fusion=max -mllvm -polly-opt-maximize-bands=yes -mllvm -polly-run-dce -mllvm -polly-dependences-computeout=0 -mllvm -polly-dependences-analysis-type=value-based -o /home/vimal/.ccache/b/1/612d5a431a34443e77b1bb976cf595-42972124.o.tmp.vimal-desktop.21836 -x c external/jpeg/jquant2.c
1.	<eof> parser at end of file
2.	Per-function optimization
3.	Running pass 'Region Pass Manager' on function '@find_best_colors'
4.	Running pass 'Polly - Create LLVM-IR from SCoPs' on basic block '%.preheader1'
clang: error: unable to execute command: Segmentation fault (core dumped)
clang: error: clang frontend command failed due to signal (use -v to see invocation)
clang version 3.7
Target: arm--linux-android
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/jquant2-fc883b.c
clang: note: diagnostic msg: /tmp/jquant2-fc883b.sh
clang: note: diagnostic msg:

********************
make: *** [/home/vimal/Aokp/out/target/product/land/obj_arm/STATIC_LIBRARIES/libjpeg_static_intermediates/jquant2.o] Error 254
make: *** Waiting for unfinished jobs....
warning: string 'gsm_alphabet_default_charset' has no default translation.
make: Leaving directory `/home/vimal/Aokp'

#### make failed to build some targets (01:14 (mm:ss)) ####

fixed it thanks for the help