Mi 8 Lite Pie Kernel Source released - Xiaomi Mi 8 Lite Guides, News, & Discussion

Check out the announcement here:
https://www.xda-developers.com/kernel-sources-xiaomi-mi-8-lite-max-3-android-pie/
This is really great news. Finally we can start getting some custom kernels and better compatibility with cameras and dt2w, to name a few.

I have been trying to build this kernel all evening. It keeps failing on assembly errors. Can't make any sense of why it is failing. I have not modified the platina_user_defconfig in any way. I am guessing something is fscked in my tool chain.
Code:
Making clean
Making mrproper
makeing defconfig > .config
make[1]: Entering directory '/home/hines_j/Desktop/Sourcecode/Xiaomi/out'
HOSTCC scripts/basic/fixdep
HOSTCC scripts/basic/bin2c
GEN ./Makefile
HOSTCC scripts/kconfig/conf.o
HOSTCC scripts/kconfig/zconf.tab.o
HOSTLD scripts/kconfig/conf
#
# configuration written to .config
#
make[1]: Leaving directory '/home/hines_j/Desktop/Sourcecode/Xiaomi/out'
make[1]: Entering directory '/home/hines_j/Desktop/Sourcecode/Xiaomi/out'
which: invalid option -- 'E'
which: invalid option -- 'L'
GEN ./Makefile
scripts/kconfig/conf --silentoldconfig Kconfig
which: invalid option -- 'E'
which: invalid option -- 'L'
CHK include/config/kernel.release
GEN ./Makefile
CHK include/generated/uapi/linux/version.h
Using .. as source for kernel
CHK include/generated/utsrelease.h
HOSTCC scripts/dtc/dtc.o
HOSTCC scripts/dtc/flattree.o
HOSTCC scripts/dtc/fstree.o
HOSTCC scripts/genksyms/genksyms.o
HOSTCC scripts/genksyms/parse.tab.o
HOSTCC scripts/dtc/data.o
HOSTCC scripts/dtc/livetree.o
CC scripts/mod/empty.o
HOSTCC scripts/dtc/treesource.o
HOSTCC scripts/dtc/srcpos.o
HOSTCC scripts/dtc/checks.o
HOSTCC scripts/genksyms/lex.lex.o
HOSTCC scripts/dtc/util.o
HOSTCC scripts/selinux/genheaders/genheaders
HOSTCC scripts/dtc/dtc-lexer.lex.o
CC kernel/bounds.s
HOSTLD scripts/genksyms/genksyms
CHK include/generated/timeconst.h
HOSTCC scripts/dtc/dtc-parser.tab.o
CHK include/generated/bounds.h
CC arch/arm64/kernel/asm-offsets.s
HOSTLD scripts/dtc/dtc
CHK include/generated/asm-offsets.h
CALL ../scripts/checksyscalls.sh
HOSTCC scripts/kallsyms
HOSTCC scripts/mod/mk_elfconfig
HOSTCC scripts/selinux/mdp/mdp
CC scripts/mod/devicetable-offsets.s
MKELF scripts/mod/elfconfig.h
HOSTCC scripts/mod/modpost.o
HOSTCC scripts/mod/sumversion.o
CHK scripts/mod/devicetable-offsets.h
HOSTCC scripts/mod/file2alias.o
HOSTLD scripts/mod/modpost
HOSTCC scripts/pnmtologo
HOSTCC scripts/sortextable
HOSTCC scripts/asn1_compiler
HOSTCC scripts/sign-file
HOSTCC scripts/extract-cert
Android GCC has been deprecated in favor of Clang, and will be removed from
Android in 2020-01 as per the deprecation plan in:
https://android.googlesource.com/platform/prebuilts/clang/host/linux-x86/+/master/GCC_4_9_DEPRECATION.md
Android GCC has been deprecated in favor of Clang, and will be removed from
Android in 2020-01 as per the deprecation plan in:
https://android.googlesource.com/platform/prebuilts/clang/host/linux-x86/+/master/GCC_4_9_DEPRECATION.md
LDS arch/arm64/kernel/vdso/vdso.lds
Android GCC has been deprecated in favor of Clang, and will be removed from
Android in 2020-01 as per the deprecation plan in:
https://android.googlesource.com/platform/prebuilts/clang/host/linux-x86/+/master/GCC_4_9_DEPRECATION.md
VDSOA arch/arm64/kernel/vdso/gettimeofday.o
VDSOA arch/arm64/kernel/vdso/note.o
VDSOA arch/arm64/kernel/vdso/sigreturn.o
../arch/arm64/kernel/vdso/gettimeofday.S: Assembler messages:
../arch/arm64/kernel/vdso/gettimeofday.S:29: Error: no such instruction: `vdso_data .req x6'
../arch/arm64/kernel/vdso/gettimeofday.S:30: Error: no such instruction: `seqcnt .req w7'
../arch/arm64/kernel/vdso/gettimeofday.S:31: Error: no such instruction: `w_tmp .req w8'
../arch/arm64/kernel/vdso/gettimeofday.S:32: Error: no such instruction: `x_tmp .req x8'
../arch/arm64/kernel/vdso/gettimeofday.S:149: Error: no such instruction: `adr vdso_data,_vdso_data'
../arch/arm64/kernel/vdso/gettimeofday.S:151: Error: no such instruction: `cbz x0,2f'
../arch/arm64/kernel/vdso/gettimeofday.S:154: Error: no such instruction: `ldr seqcnt,[vdso_data,'
../arch/arm64/kernel/vdso/gettimeofday.S:154: Error: no such instruction: `tbnz seqcnt,'
../arch/arm64/kernel/vdso/gettimeofday.S:154: Error: no such instruction: `dmb ishld'
../arch/arm64/kernel/vdso/gettimeofday.S:155: Error: no such instruction: `ldr w_tmp,[vdso_data,'
../arch/arm64/kernel/vdso/gettimeofday.S:155: Error: no such instruction: `cbnz w_tmp,4f'
../arch/arm64/kernel/vdso/gettimeofday.S:156: Error: no such instruction: `ldr x10,[vdso_data,'
../arch/arm64/kernel/vdso/gettimeofday.S:158: Error: no such instruction: `ldp w11,w12,[vdso_data,'
../arch/arm64/kernel/vdso/gettimeofday.S:159: Error: no such instruction: `ldp x13,x14,[vdso_data,'
../arch/arm64/kernel/vdso/gettimeofday.S:160: Error: no such instruction: `dmb ishld'
../arch/arm64/kernel/vdso/gettimeofday.S:160: Error: no such instruction: `ldr w_tmp,[vdso_data,'
../arch/arm64/kernel/vdso/gettimeofday.S:160: Error: too many memory references for `cmp'
../arch/arm64/kernel/vdso/gettimeofday.S:160: Error: no such instruction: `b.ne 1b'
../arch/arm64/kernel/vdso/gettimeofday.S:162: Error: expecting operand after ','; got nothing
../arch/arm64/kernel/vdso/gettimeofday.S:162: Error: no such instruction: `movk x9,'
../arch/arm64/kernel/vdso/gettimeofday.S:163: Error: too many memory references for `lsl'
../arch/arm64/kernel/vdso/gettimeofday.S:165: Error: no such instruction: `isb'
../arch/arm64/kernel/vdso/gettimeofday.S:165: Error: no such instruction: `mrs x_tmp,cntvct_el0'
../arch/arm64/kernel/vdso/gettimeofday.S:165: Error: too many memory references for `and'
../arch/arm64/kernel/vdso/gettimeofday.S:165: Error: no such instruction: `eor x15,x15,'
../arch/arm64/kernel/vdso/gettimeofday.S:165: Error: no such instruction: `cbz x15,9999b'
../arch/arm64/kernel/vdso/gettimeofday.S:165: Error: too many memory references for `sub'
../arch/arm64/kernel/vdso/gettimeofday.S:165: Error: no such instruction: `movn x_tmp,'
../arch/arm64/kernel/vdso/gettimeofday.S:165: Error: too many memory references for `and'
../arch/arm64/kernel/vdso/gettimeofday.S:165: Error: too many memory references for `mul'
../arch/arm64/kernel/vdso/gettimeofday.S:166: Error: too many memory references for `add'
../arch/arm64/kernel/vdso/gettimeofday.S:166: Error: no such instruction: `udiv x_tmp,x11,x9'
../arch/arm64/kernel/vdso/gettimeofday.S:166: Error: too many memory references for `add'
../arch/arm64/kernel/vdso/gettimeofday.S:166: Error: no such instruction: `msub x11,x_tmp,x9,x11'
../arch/arm64/kernel/vdso/gettimeofday.S:170: Error: expecting operand after ','; got nothing
../arch/arm64/kernel/vdso/gettimeofday.S:171: Error: too many memory references for `lsl'
../arch/arm64/kernel/vdso/gettimeofday.S:172: Error: no such instruction: `udiv x11,x11,x13'
../arch/arm64/kernel/vdso/gettimeofday.S:173: Error: no such instruction: `stp x10,x11,[x0,'
../arch/arm64/kernel/vdso/gettimeofday.S:176: Error: no such instruction: `cbz x1,3f'
../arch/arm64/kernel/vdso/gettimeofday.S:177: Error: no such instruction: `ldp w4,w5,[vdso_data,'
../arch/arm64/kernel/vdso/gettimeofday.S:178: Error: no such instruction: `stp w4,w5,[x1,'
../arch/arm64/kernel/vdso/gettimeofday.S:180: Error: too many memory references for `mov'
../arch/arm64/kernel/vdso/gettimeofday.S:184: Error: expecting operand after ','; got nothing
../arch/arm64/kernel/vdso/gettimeofday.S:185: Error: no such instruction: `svc '
../arch/arm64/kernel/vdso/gettimeofday.S:195: Error: expecting operand after ','; got nothing
../arch/arm64/kernel/vdso/gettimeofday.S:196: Error: no such instruction: `b.hi syscall'
../arch/arm64/kernel/vdso/gettimeofday.S:197: Error: no such instruction: `adr vdso_data,_vdso_data'
../arch/arm64/kernel/vdso/gettimeofday.S:198: Error: no such instruction: `adr x_tmp,jumptable'
../arch/arm64/kernel/vdso/gettimeofday.S:199: Error: too many memory references for `add'
../arch/arm64/kernel/vdso/gettimeofday.S:200: Error: no such instruction: `br x_tmp'
../arch/arm64/kernel/vdso/gettimeofday.S:204: Error: no such instruction: `b realtime'
../arch/arm64/kernel/vdso/gettimeofday.S:205: Error: Jump slot index mismatch
../arch/arm64/kernel/vdso/gettimeofday.S:205: Error: no such instruction: `b monotonic'
../arch/arm64/kernel/vdso/gettimeofday.S:206: Error: no such instruction: `b syscall'
../arch/arm64/kernel/vdso/gettimeofday.S:207: Error: no such instruction: `b syscall'
../arch/arm64/kernel/vdso/gettimeofday.S:208: Error: Jump slot index mismatch
../arch/arm64/kernel/vdso/gettimeofday.S:208: Error: no such instruction: `b monotonic_raw'
../arch/arm64/kernel/vdso/gettimeofday.S:209: Error: Jump slot index mismatch
../arch/arm64/kernel/vdso/gettimeofday.S:209: Error: no such instruction: `b realtime_coarse'
../arch/arm64/kernel/vdso/gettimeofday.S:210: Error: Jump slot index mismatch
../arch/arm64/kernel/vdso/gettimeofday.S:210: Error: no such instruction: `b monotonic_coarse'
../arch/arm64/kernel/vdso/gettimeofday.S:213: Error: Wrong jumptable size
../arch/arm64/kernel/vdso/gettimeofday.S:218: Error: no such instruction: `ldr seqcnt,[vdso_data,'
../arch/arm64/kernel/vdso/gettimeofday.S:218: Error: no such instruction: `tbnz seqcnt,'
../arch/arm64/kernel/vdso/gettimeofday.S:218: Error: no such instruction: `dmb ishld'
../arch/arm64/kernel/vdso/gettimeofday.S:219: Error: no such instruction: `ldr w_tmp,[vdso_data,'
../arch/arm64/kernel/vdso/gettimeofday.S:219: Error: no such instruction: `cbnz w_tmp,syscall'
../arch/arm64/kernel/vdso/gettimeofday.S:220: Error: no such instruction: `ldr x10,[vdso_data,'
../arch/arm64/kernel/vdso/gettimeofday.S:222: Error: no such instruction: `ldp w11,w12,[vdso_data,'
../arch/arm64/kernel/vdso/gettimeofday.S:223: Error: no such instruction: `ldp x13,x14,[vdso_data,'
../arch/arm64/kernel/vdso/gettimeofday.S:224: Error: no such instruction: `dmb ishld'
../arch/arm64/kernel/vdso/gettimeofday.S:224: Error: no such instruction: `ldr w_tmp,[vdso_data,'
../arch/arm64/kernel/vdso/gettimeofday.S:224: Error: too many memory references for `cmp'
../arch/arm64/kernel/vdso/gettimeofday.S:224: Error: no such instruction: `b.ne realtime'
../arch/arm64/kernel/vdso/gettimeofday.S:227: Error: expecting operand after ','; got nothing
../arch/arm64/kernel/vdso/gettimeofday.S:227: Error: no such instruction: `movk x9,'
../arch/arm64/kernel/vdso/gettimeofday.S:228: Error: too many memory references for `lsl'
../arch/arm64/kernel/vdso/gettimeofday.S:230: Error: no such instruction: `isb'
../arch/arm64/kernel/vdso/gettimeofday.S:230: Error: no such instruction: `mrs x_tmp,cntvct_el0'
../arch/arm64/kernel/vdso/gettimeofday.S:230: Error: too many memory references for `and'
../arch/arm64/kernel/vdso/gettimeofday.S:230: Error: no such instruction: `eor x15,x15,'
../arch/arm64/kernel/vdso/gettimeofday.S:230: Error: no such instruction: `cbz x15,9999b'
../arch/arm64/kernel/vdso/gettimeofday.S:230: Error: too many memory references for `sub'
../arch/arm64/kernel/vdso/gettimeofday.S:230: Error: no such instruction: `movn x_tmp,'
../arch/arm64/kernel/vdso/gettimeofday.S:230: Error: too many memory references for `and'
../arch/arm64/kernel/vdso/gettimeofday.S:230: Error: too many memory references for `mul'
../arch/arm64/kernel/vdso/gettimeofday.S:231: Error: too many memory references for `add'
../arch/arm64/kernel/vdso/gettimeofday.S:231: Error: no such instruction: `udiv x_tmp,x11,x9'
../arch/arm64/kernel/vdso/gettimeofday.S:231: Error: too many memory references for `add'
../arch/arm64/kernel/vdso/gettimeofday.S:231: Error: no such instruction: `msub x11,x_tmp,x9,x11'
../arch/arm64/kernel/vdso/gettimeofday.S:233: Error: no such instruction: `lsr x11,x11,x12'
../arch/arm64/kernel/vdso/gettimeofday.S:233: Error: no such instruction: `stp x10,x11,[x1,'
../arch/arm64/kernel/vdso/gettimeofday.S:233: Error: too many memory references for `mov'
../arch/arm64/kernel/vdso/gettimeofday.S:237: Error: no such instruction: `ldr seqcnt,[vdso_data,'
../arch/arm64/kernel/vdso/gettimeofday.S:237: Error: no such instruction: `tbnz seqcnt,'
../arch/arm64/kernel/vdso/gettimeofday.S:237: Error: no such instruction: `dmb ishld'
../arch/arm64/kernel/vdso/gettimeofday.S:238: Error: no such instruction: `ldr w_tmp,[vdso_data,'
../arch/arm64/kernel/vdso/gettimeofday.S:238: Error: no such instruction: `cbnz w_tmp,syscall'
../arch/arm64/kernel/vdso/gettimeofday.S:239: Error: no such instruction: `ldr x10,[vdso_data,'
../arch/arm64/kernel/vdso/gettimeofday.S:241: Error: no such instruction: `ldp w11,w12,[vdso_data,'
../arch/arm64/kernel/vdso/gettimeofday.S:242: Error: no such instruction: `ldp x13,x14,[vdso_data,'
../arch/arm64/kernel/vdso/gettimeofday.S:243: Error: no such instruction: `ldp x3,x4,[vdso_data,'
../arch/arm64/kernel/vdso/gettimeofday.S:244: Error: no such instruction: `dmb ishld'
../arch/arm64/kernel/vdso/gettimeofday.S:244: Error: no such instruction: `ldr w_tmp,[vdso_data,'
../arch/arm64/kernel/vdso/gettimeofday.S:244: Error: too many memory references for `cmp'
../arch/arm64/kernel/vdso/gettimeofday.S:244: Error: no such instruction: `b.ne monotonic'
../arch/arm64/kernel/vdso/gettimeofday.S:247: Error: too many memory references for `lsl'
../arch/arm64/kernel/vdso/gettimeofday.S:248: Error: expecting operand after ','; got nothing
../arch/arm64/kernel/vdso/gettimeofday.S:248: Error: no such instruction: `movk x9,'
../arch/arm64/kernel/vdso/gettimeofday.S:249: Error: too many memory references for `lsl'
../arch/arm64/kernel/vdso/gettimeofday.S:251: Error: no such instruction: `isb'
../arch/arm64/kernel/vdso/gettimeofday.S:251: Error: no such instruction: `mrs x_tmp,cntvct_el0'
../arch/arm64/kernel/vdso/gettimeofday.S:251: Error: too many memory references for `and'
../arch/arm64/kernel/vdso/gettimeofday.S:251: Error: no such instruction: `eor x15,x15,'
../arch/arm64/kernel/vdso/gettimeofday.S:251: Error: no such instruction: `cbz x15,9999b'
../arch/arm64/kernel/vdso/gettimeofday.S:251: Error: too many memory references for `sub'
../arch/arm64/kernel/vdso/gettimeofday.S:251: Error: no such instruction: `movn x_tmp,'
../arch/arm64/kernel/vdso/gettimeofday.S:251: Error: too many memory references for `and'
../arch/arm64/kernel/vdso/gettimeofday.S:251: Error: too many memory references for `mul'
../arch/arm64/kernel/vdso/gettimeofday.S:252: Error: too many memory references for `add'
../arch/arm64/kernel/vdso/gettimeofday.S:252: Error: no such instruction: `udiv x_tmp,x11,x9'
../arch/arm64/kernel/vdso/gettimeofday.S:252: Error: too many memory references for `add'
../arch/arm64/kernel/vdso/gettimeofday.S:252: Error: no such instruction: `msub x11,x_tmp,x9,x11'
../arch/arm64/kernel/vdso/gettimeofday.S:255: Error: too many memory references for `add'
../arch/arm64/kernel/vdso/gettimeofday.S:255: Error: too many memory references for `add'
../arch/arm64/kernel/vdso/gettimeofday.S:255: Error: too many memory references for `cmp'
../arch/arm64/kernel/vdso/gettimeofday.S:255: Error: no such instruction: `b.lt 9999f'
../arch/arm64/kernel/vdso/gettimeofday.S:255: Error: too many memory references for `sub'
../arch/arm64/kernel/vdso/gettimeofday.S:255: Error: too many memory references for `add'
../arch/arm64/kernel/vdso/gettimeofday.S:255: Error: expecting operand after ','; got nothing
../arch/arm64/kernel/vdso/gettimeofday.S:255: Error: no such instruction: `b.ge 9998f'
../arch/arm64/kernel/vdso/gettimeofday.S:255: Error: too many memory references for `add'
../arch/arm64/kernel/vdso/gettimeofday.S:255: Error: too many memory references for `sub'
../arch/arm64/kernel/vdso/gettimeofday.S:256: Error: no such instruction: `lsr x11,x11,x12'
../arch/arm64/kernel/vdso/gettimeofday.S:256: Error: no such instruction: `stp x10,x11,[x1,'
../arch/arm64/kernel/vdso/gettimeofday.S:256: Error: too many memory references for `mov'
../arch/arm64/kernel/vdso/gettimeofday.S:260: Error: no such instruction: `ldr seqcnt,[vdso_data,'
../arch/arm64/kernel/vdso/gettimeofday.S:260: Error: no such instruction: `tbnz seqcnt,'
../arch/arm64/kernel/vdso/gettimeofday.S:260: Error: no such instruction: `dmb ishld'
../arch/arm64/kernel/vdso/gettimeofday.S:261: Error: no such instruction: `ldr w_tmp,[vdso_data,'
../arch/arm64/kernel/vdso/gettimeofday.S:261: Error: no such instruction: `cbnz w_tmp,syscall'
../arch/arm64/kernel/vdso/gettimeofday.S:262: Error: no such instruction: `ldr x10,[vdso_data,'
../arch/arm64/kernel/vdso/gettimeofday.S:264: Error: no such instruction: `ldp w12,w11,[vdso_data,'
../arch/arm64/kernel/vdso/gettimeofday.S:265: Error: no such instruction: `ldp x13,x14,[vdso_data,'
../arch/arm64/kernel/vdso/gettimeofday.S:266: Error: no such instruction: `dmb ishld'
../arch/arm64/kernel/vdso/gettimeofday.S:266: Error: no such instruction: `ldr w_tmp,[vdso_data,'
../arch/arm64/kernel/vdso/gettimeofday.S:266: Error: too many memory references for `cmp'
../arch/arm64/kernel/vdso/gettimeofday.S:266: Error: no such instruction: `b.ne monotonic_raw'
../arch/arm64/kernel/vdso/gettimeofday.S:269: Error: expecting operand after ','; got nothing
../arch/arm64/kernel/vdso/gettimeofday.S:269: Error: no such instruction: `movk x9,'
../arch/arm64/kernel/vdso/gettimeofday.S:270: Error: too many memory references for `lsl'
../arch/arm64/kernel/vdso/gettimeofday.S:272: Error: no such instruction: `isb'
../arch/arm64/kernel/vdso/gettimeofday.S:272: Error: no such instruction: `mrs x_tmp,cntvct_el0'
../arch/arm64/kernel/vdso/gettimeofday.S:272: Error: too many memory references for `and'
../arch/arm64/kernel/vdso/gettimeofday.S:272: Error: no such instruction: `eor x15,x15,'
../arch/arm64/kernel/vdso/gettimeofday.S:272: Error: no such instruction: `cbz x15,9999b'
../arch/arm64/kernel/vdso/gettimeofday.S:272: Error: too many memory references for `sub'
../arch/arm64/kernel/vdso/gettimeofday.S:272: Error: no such instruction: `movn x_tmp,'
../arch/arm64/kernel/vdso/gettimeofday.S:272: Error: too many memory references for `and'
../arch/arm64/kernel/vdso/gettimeofday.S:272: Error: too many memory references for `mul'
../arch/arm64/kernel/vdso/gettimeofday.S:273: Error: no such instruction: `udiv x10,x15,x9'
../arch/arm64/kernel/vdso/gettimeofday.S:273: Error: no such instruction: `msub x11,x10,x9,x15'
../arch/arm64/kernel/vdso/gettimeofday.S:276: Error: too many memory references for `add'
../arch/arm64/kernel/vdso/gettimeofday.S:276: Error: too many memory references for `add'
../arch/arm64/kernel/vdso/gettimeofday.S:276: Error: too many memory references for `cmp'
../arch/arm64/kernel/vdso/gettimeofday.S:276: Error: no such instruction: `b.lt 9999f'
../arch/arm64/kernel/vdso/gettimeofday.S:276: Error: too many memory references for `sub'
../arch/arm64/kernel/vdso/gettimeofday.S:276: Error: too many memory references for `add'
../arch/arm64/kernel/vdso/gettimeofday.S:276: Error: expecting operand after ','; got nothing
../arch/arm64/kernel/vdso/gettimeofday.S:276: Error: no such instruction: `b.ge 9998f'
../arch/arm64/kernel/vdso/gettimeofday.S:276: Error: too many memory references for `add'
../arch/arm64/kernel/vdso/gettimeofday.S:276: Error: too many memory references for `sub'
../arch/arm64/kernel/vdso/gettimeofday.S:277: Error: no such instruction: `lsr x11,x11,x12'
../arch/arm64/kernel/vdso/gettimeofday.S:277: Error: no such instruction: `stp x10,x11,[x1,'
../arch/arm64/kernel/vdso/gettimeofday.S:277: Error: too many memory references for `mov'
../arch/arm64/kernel/vdso/gettimeofday.S:281: Error: no such instruction: `ldr seqcnt,[vdso_data,'
../arch/arm64/kernel/vdso/gettimeofday.S:281: Error: no such instruction: `tbnz seqcnt,'
../arch/arm64/kernel/vdso/gettimeofday.S:281: Error: no such instruction: `dmb ishld'
../arch/arm64/kernel/vdso/gettimeofday.S:282: Error: no such instruction: `ldp x10,x11,[vdso_data,'
../arch/arm64/kernel/vdso/gettimeofday.S:283: Error: no such instruction: `dmb ishld'
../arch/arm64/kernel/vdso/gettimeofday.S:283: Error: no such instruction: `ldr w_tmp,[vdso_data,'
../arch/arm64/kernel/vdso/gettimeofday.S:283: Error: too many memory references for `cmp'
../arch/arm64/kernel/vdso/gettimeofday.S:283: Error: no such instruction: `b.ne realtime_coarse'
../arch/arm64/kernel/vdso/gettimeofday.S:284: Error: no such instruction: `stp x10,x11,[x1,'
../arch/arm64/kernel/vdso/gettimeofday.S:284: Error: too many memory references for `mov'
../arch/arm64/kernel/vdso/gettimeofday.S:288: Error: no such instruction: `ldr seqcnt,[vdso_data,'
../arch/arm64/kernel/vdso/gettimeofday.S:288: Error: no such instruction: `tbnz seqcnt,'
../arch/arm64/kernel/vdso/gettimeofday.S:288: Error: no such instruction: `dmb ishld'
../arch/arm64/kernel/vdso/gettimeofday.S:289: Error: no such instruction: `ldp x10,x11,[vdso_data,'
../arch/arm64/kernel/vdso/gettimeofday.S:290: Error: no such instruction: `ldp x13,x14,[vdso_data,'
../arch/arm64/kernel/vdso/gettimeofday.S:291: Error: no such instruction: `dmb ishld'
../arch/arm64/kernel/vdso/gettimeofday.S:291: Error: no such instruction: `ldr w_tmp,[vdso_data,'
../arch/arm64/kernel/vdso/gettimeofday.S:291: Error: too many memory references for `cmp'
../arch/arm64/kernel/vdso/gettimeofday.S:291: Error: no such instruction: `b.ne monotonic_coarse'
../arch/arm64/kernel/vdso/gettimeofday.S:294: Error: expecting operand after ','; got nothing
../arch/arm64/kernel/vdso/gettimeofday.S:294: Error: no such instruction: `movk x9,'
../arch/arm64/kernel/vdso/gettimeofday.S:295: Error: too many memory references for `add'
../arch/arm64/kernel/vdso/gettimeofday.S:295: Error: too many memory references for `add'
../arch/arm64/kernel/vdso/gettimeofday.S:295: Error: too many memory references for `cmp'
../arch/arm64/kernel/vdso/gettimeofday.S:295: Error: no such instruction: `b.lt 9999f'
../arch/arm64/kernel/vdso/gettimeofday.S:295: Error: too many memory references for `sub'
../arch/arm64/kernel/vdso/gettimeofday.S:295: Error: too many memory references for `add'
../arch/arm64/kernel/vdso/gettimeofday.S:295: Error: expecting operand after ','; got nothing
../arch/arm64/kernel/vdso/gettimeofday.S:295: Error: no such instruction: `b.ge 9998f'
../arch/arm64/kernel/vdso/gettimeofday.S:295: Error: too many memory references for `add'
../arch/arm64/kernel/vdso/gettimeofday.S:295: Error: too many memory references for `sub'
../arch/arm64/kernel/vdso/gettimeofday.S:296: Error: no such instruction: `stp x10,x11,[x1,'
../arch/arm64/kernel/vdso/gettimeofday.S:296: Error: too many memory references for `mov'
../arch/arm64/kernel/vdso/gettimeofday.S:300: Error: expecting operand after ','; got nothing
../arch/arm64/kernel/vdso/gettimeofday.S:301: Error: no such instruction: `svc '
../arch/arm64/kernel/vdso/gettimeofday.S:309: Error: expecting operand after ','; got nothing
../arch/arm64/kernel/vdso/gettimeofday.S:310: Error: no such instruction: `ccmp w0,'
../arch/arm64/kernel/vdso/gettimeofday.S:311: Error: no such instruction: `ccmp w0,'
../arch/arm64/kernel/vdso/gettimeofday.S:312: Error: no such instruction: `b.ne 1f'
../arch/arm64/kernel/vdso/gettimeofday.S:314: Error: no such instruction: `ldr x2,5f'
../arch/arm64/kernel/vdso/gettimeofday.S:315: Error: no such instruction: `b 2f'
../arch/arm64/kernel/vdso/gettimeofday.S:317: Error: expecting operand after ','; got nothing
../arch/arm64/kernel/vdso/gettimeofday.S:318: Error: no such instruction: `ccmp w0,'
../arch/arm64/kernel/vdso/gettimeofday.S:319: Error: no such instruction: `b.ne 4f'
../arch/arm64/kernel/vdso/gettimeofday.S:320: Error: no such instruction: `ldr x2,6f'
../arch/arm64/kernel/vdso/gettimeofday.S:322: Error: no such instruction: `cbz x1,3f'
../arch/arm64/kernel/vdso/gettimeofday.S:323: Error: no such instruction: `stp xzr,x2,[x1]'
../arch/arm64/kernel/vdso/gettimeofday.S:326: Error: too many memory references for `mov'
../arch/arm64/kernel/vdso/gettimeofday.S:330: Error: expecting operand after ','; got nothing
../arch/arm64/kernel/vdso/gettimeofday.S:331: Error: no such instruction: `svc '
clang-6.0: error: assembler command failed with exit code 1 (use -v to see invocation)
make[2]: *** [../arch/arm64/kernel/vdso/Makefile:53: arch/arm64/kernel/vdso/gettimeofday.o] Error 1
make[2]: *** Waiting for unfinished jobs....
../arch/arm64/kernel/vdso/sigreturn.S: Assembler messages:
../arch/arm64/kernel/vdso/sigreturn.S:31: Error: bad register expression
../arch/arm64/kernel/vdso/sigreturn.S:32: Error: bad register expression
../arch/arm64/kernel/vdso/sigreturn.S:33: Error: bad register expression
../arch/arm64/kernel/vdso/sigreturn.S:34: Error: expecting operand after ','; got nothing
../arch/arm64/kernel/vdso/sigreturn.S:35: Error: no such instruction: `svc '
clang-6.0: error: assembler command failed with exit code 1 (use -v to see invocation)
make[2]: *** [../arch/arm64/kernel/vdso/Makefile:53: arch/arm64/kernel/vdso/sigreturn.o] Error 1
make[1]: *** [arch/arm64/Makefile:154: vdso_prepare] Error 2
make[1]: *** Waiting for unfinished jobs....
Android GCC has been deprecated in favor of Clang, and will be removed from
Android in 2020-01 as per the deprecation plan in:
https://android.googlesource.com/platform/prebuilts/clang/host/linux-x86/+/master/GCC_4_9_DEPRECATION.md
Android GCC has been deprecated in favor of Clang, and will be removed from
Android in 2020-01 as per the deprecation plan in:
https://android.googlesource.com/platform/prebuilts/clang/host/linux-x86/+/master/GCC_4_9_DEPRECATION.md
Android GCC has been deprecated in favor of Clang, and will be removed from
Android in 2020-01 as per the deprecation plan in:
https://android.googlesource.com/platform/prebuilts/clang/host/linux-x86/+/master/GCC_4_9_DEPRECATION.md
make[1]: Leaving directory '/home/hines_j/Desktop/Sourcecode/Xiaomi/out'
make: *** [Makefile:152: sub-make] Error 2
I am using Clang. Dunno why I keep getting messages about GCC being deprecated. This is the first PIE kernel I have ever attempted to build. Just the learning curve most likely. I am missing something.

they need to update the source :/

akahroba said:
they need to update the source :/
Click to expand...
Click to collapse
Are you suggesting they have released a broken source tree?

lexridge said:
Are you suggesting they have released a broken source tree?
Click to expand...
Click to collapse
sure they have. try using an older firmware

Related

Can't compile original kernel

Hello and welcome,
I have a HTC wildfire, Kernel 2.6.29-something.
I downloaded the offical NDK and the offical kernel version from htcdev.
I set the path variable for CROSS_COMPILE and started doing a make.
There are tons of errors ...
The original kernel does not seem to compile - I may post some errors:
CHK include/linux/version.h
make[1]: `include/asm-arm/mach-types.h' is up to date.
CHK include/linux/utsrelease.h
SYMLINK include/asm -> include/asm-arm
CALL scripts/checksyscalls.sh
<stdin>:1097:2: warning: #warning syscall fadvise64 not implemented
<stdin>:1265:2: warning: #warning syscall migrate_pages not implemented
<stdin>:1321:2: warning: #warning syscall pselect6 not implemented
<stdin>:1325:2: warning: #warning syscall ppoll not implemented
<stdin>:1365:2: warning: #warning syscall epoll_pwait not implemented
CHK include/linux/compile.h
dnsdomainname: Name or service not known
CC drivers/i2c/chips/mt9t013.o
drivers/i2c/chips/mt9t013.c:33:28: error: mach/msm_iomap.h: No such file or directory
drivers/i2c/chips/mt9t013.c:34:32: error: mach/msm_rpcrouter.h: No such file or directory
drivers/i2c/chips/mt9t013.c:35:23: error: mach/vreg.h: No such file or directory
drivers/i2c/chips/mt9t013.c: In function 'mt9t013_sensor_init':
drivers/i2c/chips/mt9t013.c:459: error: dereferencing pointer to incomplete type
drivers/i2c/chips/mt9t013.c:461: error: dereferencing pointer to incomplete type
drivers/i2c/chips/mt9t013.c:465: error: dereferencing pointer to incomplete type
drivers/i2c/chips/mt9t013.c:469: error: dereferencing pointer to incomplete type
drivers/i2c/chips/mt9t013.c:471: error: dereferencing pointer to incomplete type
drivers/i2c/chips/mt9t013.c:473: error: dereferencing pointer to incomplete type
drivers/i2c/chips/mt9t013.c:474: error: dereferencing pointer to incomplete type
drivers/i2c/chips/mt9t013.c:490: error: dereferencing pointer to incomplete type
drivers/i2c/chips/mt9t013.c:495: error: dereferencing pointer to incomplete type
drivers/i2c/chips/mt9t013.c:497: error: dereferencing pointer to incomplete type
drivers/i2c/chips/mt9t013.c:498: error: dereferencing pointer to incomplete type
drivers/i2c/chips/mt9t013.c: In function 'mt9t013_sensor_suspend':
drivers/i2c/chips/mt9t013.c:529: error: dereferencing pointer to incomplete type
drivers/i2c/chips/mt9t013.c: In function 'mt9t013_open':
drivers/i2c/chips/mt9t013.c:541: error: dereferencing pointer to incomplete type
drivers/i2c/chips/mt9t013.c: In function 'mt9t013_release':
drivers/i2c/chips/mt9t013.c:567: error: dereferencing pointer to incomplete type
drivers/i2c/chips/mt9t013.c: In function 'mt9t013_camif_pad_reg_reset':
drivers/i2c/chips/mt9t013.c:600: error: 'MSM_MDC_BASE' undeclared (first use in this function)
drivers/i2c/chips/mt9t013.c:600: error: (Each undeclared identifier is reported only once
drivers/i2c/chips/mt9t013.c:600: error: for each function it appears in.)
drivers/i2c/chips/mt9t013.c: In function 'mt9t013_ioctl':
drivers/i2c/chips/mt9t013.c:689: error: 'MSM_MDC_BASE' undeclared (first use in this function)
drivers/i2c/chips/mt9t013.c:709: error: 'MSM_CLK_CTL_BASE' undeclared (first use in this function)
drivers/i2c/chips/mt9t013.c: In function 'mt9t013_lens_power':
drivers/i2c/chips/mt9t013.c:821: error: dereferencing pointer to incomplete type
drivers/i2c/chips/mt9t013.c:823: error: dereferencing pointer to incomplete type
drivers/i2c/chips/mt9t013.c:825: error: dereferencing pointer to incomplete type
drivers/i2c/chips/mt9t013.c:826: error: dereferencing pointer to incomplete type
drivers/i2c/chips/mt9t013.c: In function 'mt9t013_remove':
drivers/i2c/chips/mt9t013.c:1301: warning: 'i2c_detach_client' is deprecated (declared at include/linux/i2c.h:435)
drivers/i2c/chips/mt9t013.c: At top level:
drivers/i2c/chips/mt9t013.c:1322: warning: 'struct platform_device' declared inside parameter list
drivers/i2c/chips/mt9t013.c:1322: warning: its scope is only this definition or declaration, which is probably not what you want
drivers/i2c/chips/mt9t013.c: In function 'mt9t013_plat_probe':
drivers/i2c/chips/mt9t013.c:1326: error: dereferencing pointer to incomplete type
drivers/i2c/chips/mt9t013.c:1329: error: dereferencing pointer to incomplete type
drivers/i2c/chips/mt9t013.c: At top level:
drivers/i2c/chips/mt9t013.c:1335: error: variable 'mt9t013_plat_driver' has initializer but incomplete type
drivers/i2c/chips/mt9t013.c:1336: error: unknown field 'probe' specified in initializer
drivers/i2c/chips/mt9t013.c:1336: warning: excess elements in struct initializer
drivers/i2c/chips/mt9t013.c:1336: warning: (near initialization for 'mt9t013_plat_driver')
drivers/i2c/chips/mt9t013.c:1337: error: unknown field 'driver' specified in initializer
drivers/i2c/chips/mt9t013.c:1337: error: extra brace group at end of initializer
drivers/i2c/chips/mt9t013.c:1337: error: (near initialization for 'mt9t013_plat_driver')
drivers/i2c/chips/mt9t013.c:1340: warning: excess elements in struct initializer
drivers/i2c/chips/mt9t013.c:1340: warning: (near initialization for 'mt9t013_plat_driver')
drivers/i2c/chips/mt9t013.c: In function 'mt9t013_init':
drivers/i2c/chips/mt9t013.c:1345: error: implicit declaration of function 'platform_driver_register'
make[3]: *** [drivers/i2c/chips/mt9t013.o] Error 1
make[2]: *** [drivers/i2c/chips] Error 2
make[1]: *** [drivers/i2c] Error 2
make: *** [drivers] Error 2
Click to expand...
Click to collapse
Could someone please tell me how to get this kernel to work?
To be honest I only need the kernel to be compiled, so that my C-module can get compiled for this kernel.
Thanks for your help.
Kind regards
post this thing to androidstack website. may be there u can get better answers.
Sent from my HTC Wildfire using xda app-developers app
make 100% sure you have installed all the files needed to compile kernels. Look at a few kernel compiling guides and install everything.
Otherwise try a different cross compiler, such as GCC 4.4.3 as this is the safest option

[Q&A] [GUIDE][Lollipop][D855] How to build your own Cyanogenmod 12

Q&A for [GUIDE][Lollipop][D855] How to build your own Cyanogenmod 12
Some developers prefer that questions remain separate from their main development thread to help keep things organized. Placing your question within this thread will increase its chances of being answered by a member of the community or by the developer.
Before posting, please use the forum search and read through the discussion thread for [GUIDE][Lollipop][D855] How to build your own Cyanogenmod 12. If you can't find an answer, post it here, being sure to give as much information as possible (firmware version, steps to reproduce, logcat if available) so that you can get help.
Thanks for understanding and for helping to keep XDA neat and tidy!
manups4e said:
Hi there, since lots of you asked me how to build and how to solve errors, i decided to make this guide to help you.
I use Ubuntu 14.04 x64 since it's best for Lollipop (at least Google say this ).
Now we set the environment (you can copy and paste).
1) First of all install java, it must be openjdk-7 or the building environment will give you error.
In terminal type:
Code:
sudo apt-get update
sudo apt-get install openjdk-7-jdk
After that we must install the essential things
Code:
sudo apt-get install bison g++-multilib git gperf libxml2-utils
You can optionally tell the build to use the ccache compilation tool. Ccache acts as a compiler cache that can be used to speed-up rebuilds. This works very well if you do "make clean" often, or if you frequently switch between different build products.
Put the following in your .bashrc or equivalent.
Code:
export USE_CCACHE=1
In terminal (be sure to be in your home folder typing "cd") type:
Code:
mkdir -p ~/bin
mkdir -p ~/android/system
Enter the following to download the "repo" binary and make it executable (runnable):
Code:
curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
chmod a+x ~/bin/repo
2) Now we can download the cyanogenmod sources
In terminal type:
Code:
cd ~/android/system/
repo init -u https://github.com/CyanogenMod/android.git -b cm-12.0
Once you are ready to download lots of Gigabytes of data type
Code:
repo sync
Note: use the --jN option to run multiple downloads (default is 4) example: repo sync -j8 to run 8 parallel downloads.
you can use repo sync everytime you want to sync with latest cyanogenmod changes.
3) Once you have downloaded all the sources available just download our device repos (thanks @sooti):
create a folder called local_manifests under the .repo directory (in system folder), then create an XML file (text file with .xml extension) inside that directory. You can call the XML file anything you like, as long as it ends in .xml and rerun repo sync after you have created the relatives folders.
Put this inside the local_manifest.xml
Code:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project path="device/lge/g3-common" name="sooti/android_device_lge_g3-common" remote="github" revision="cm-12.0" />
<project path="device/lge/d855" name="sooti/android_device_lge_d855" remote="github" revision="cm-12.0" />
<project path="kernel/lge/g3" name="sooti/android_kernel_lge_g3" remote="github" revision="cm-12.0" />
<project path="device/qcomm_common" name="cyanogenmod/android_device_qcom_common" remote="github" revision="cm-12.0" />
</manifest>
4) Now we are ready to rock
do theese steps evertime you want to build
First build will take some time so while building you can relax doing other stuff like watch a movie or listen music
Open terminal and type:
Code:
cd android/system
. build/envsetup.sh
breakfast d855
brunch d855
and wait for build to finish
5) Once finished you should have a the update zip into the folder android/system/out/target/product/d855.
I don't know why but right now the zip is unflashable ^^ so now i will tell you how to make it flashable
Read and follow theese instructions carefully.
open the zip and delete everything except the "file_contexts" file
now take system folder and drag&drop it into the zip
take the boot.img and drag&drop it into the zip
download the META-INF zip down the post and copy the inside into the zip.
now you are ready to flash it with the gapps and the superSU Enjoy your personal Cyanogenmod 12
---------------------------------------------
If you liked my guide and found that is useful ^^ make me a little Christmas gift here with a donation ^^ :angel:
Click to expand...
Click to collapse
ciao manu(ti scrivo in italiano visto che siamo connazionali)innanzitutto ti stimo troppo per il lavoro svolto,la tua cm12 va che è una meraviglia,è la mia rom di tutti i giorni da quasi 1 settimana,poi ti volevo chiedere se hai intenzione di fare un video esplicativo per questo procedimento o di affidarlo ai ragazzi di androidblog.it.In ogni caso grazie 1000 del lavoro svolto e continua così'!!:good:
ahahahah grazie ^^ but here i think that for everyone's reading it's better speak english i don't know maybe i will do an explicative video let's see if more people ask for it
I can make on Windows? How?
I tried to build but get the below error, can someone help?
============================================
find: `src': No such file or directory
find: `src': No such file or directory
find: `src': No such file or directory
find: `src': No such file or directory
find: `src': No such file or directory
find: `src': No such file or directory
find: `src': No such file or directory
find: `src': No such file or directory
find: `src': No such file or directory
find: `src': No such file or directory
find: `src': No such file or directory
find: `src': No such file or directory
find: `src': No such file or directory
external/sepolicy/Android.mk:56: *** No sepolicy file found for app.te in device/qcom/sepolicy/msm8974. Stop.
Just wanted to say
This looks fantastic. I love custom ROMs and am a big fan of CM, but have never had time to figure out how to build it all myself. This guide looks like a godsend - Thank you!
Shouldn't there be one more
Code:
repo sync
after creating the local_manifests.xml and the related directories ?
do i need sign boot.img with bump?
Does GPU works properly
Just a heads up, I found that I needed to run the following command in order to get it to build on Xubuntu 64-bit
sudo apt-get install lib32z1
I was missing the 32-bit libraries for libpng which are apparently still needed. The error I was getting was: aapt: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory
DOUBLE POST - ONLY JUST FOUNF Q&A Thread
Finally got source fixed, repo fixed and now i get this build error.
Any Ideas ????
Install: /home/tom/android/system/out/target/product/d855/obj/GYP/shared_intermediates/mksnapshot
Gyp action: android_webview_android_webview_gyp_android_webvie w_pak_target_repack_android_webview_pack (/home/tom/android/system/out/target/product/d855/obj/GYP/shared_intermediates/android_webview_apk/assets/webviewchromium.pak)
acp: partial write to '/home/tom/android/system/out/target/product/d855/obj/GYP/shared_intermediates/mksnapshot' (4096 of 8192)
make: *** [/home/tom/android/system/out/target/product/d855/obj/GYP/shared_intermediates/mksnapshot] Error 1
make: *** Deleting file `/home/tom/android/system/out/target/product/d855/obj/GYP/shared_intermediates/mksnapshot'
make: *** Waiting for unfinished jobs....
[email protected]:~/android/system$
Hello, I'm trying to build CM12 for F400, which is korean G3, but everytime I try to build, it faces error.
So, I tried to build D855 to see whether it completes, but also it prints same error.
I re-repo the whole android source/local manifests, changed toolchain/java heap size, but nothing gets better.
Anyone got idea?
------------------------------------------------------------------------------------------------------------
external/chromium_org/v8/src/arm/lithium-arm.cc:1503: error: undefined reference to 'v8::internal::HValue::UseCount() const'
external/chromium_org/v8/src/arm/lithium-arm.cc:2079: error: undefined reference to 'v8::internal::HLoadGlobalCell::RequiresHoleCheck() const'
external/chromium_org/v8/src/hydrogen-instructions.h:5691: error: undefined reference to 'v8::internal::HConstant::ImmortalImmovable() const'
external/chromium_org/v8/src/arm/lithium-arm.cc:2185: error: undefined reference to 'v8::internal::HLoadKeyed::RequiresHoleCheck() const'
external/chromium_org/v8/src/hydrogen-instructions.h:5691: error: undefined reference to 'v8::internal::HConstant::ImmortalImmovable() const'
external/chromium_org/v8/src/hydrogen-instructions.h:5691: error: undefined reference to 'v8::internal::HConstant::ImmortalImmovable() const'
external/chromium_org/v8/src/arm/lithium-arm.cc:2454: error: undefined reference to 'v8::internal::HCapturedObject::ReplayEnvironment(v8::internal::HEnvironment*)'
external/chromium_org/v8/src/arm/lithium-arm.cc:2496: error: undefined reference to 'v8::internal::HSimulate::ReplayEnvironment(v8::internal::HEnvironment*)'
external/chromium_org/v8/src/hydrogen-instructions.h:5691: error: undefined reference to 'v8::internal::HConstant::ImmortalImmovable() const'
external/chromium_org/v8/src/arm/lithium-arm.h:2226: error: undefined reference to 'v8::internal::HStoreKeyed::NeedsCanonicalization()'
external/chromium_org/v8/src/arm/lithium-codegen-arm.cc:5059: error: undefined reference to 'v8::internal::HCheckInstanceType::GetCheckMaskAndTag(unsigned char*, unsigned char*)'
external/chromium_org/v8/src/arm/lithium-codegen-arm.cc:5041: error: undefined reference to 'v8::internal::HCheckInstanceType::GetCheckInterval(v8::internal::InstanceType*, v8::internal::InstanceType*)'
external/chromium_org/v8/src/arm/lithium-codegen-arm.cc:3321: error: undefined reference to 'v8::internal::HLoadKeyed::RequiresHoleCheck() const'
external/chromium_org/v8/src/arm/lithium-codegen-arm.cc:3287: error: undefined reference to 'v8::internal::HLoadKeyed::RequiresHoleCheck() const'
external/chromium_org/v8/src/arm/lithium-codegen-arm.cc:2943: error: undefined reference to 'v8::internal::HLoadGlobalCell::RequiresHoleCheck() const'
external/chromium_org/v8/src/hydrogen-bce.cc:283: error: undefined reference to 'v8::internal::HValue::ReplaceAllUsesWith(v8::internal::HValue*)'
external/chromium_org/v8/src/hydrogen-bce.cc:257: error: undefined reference to 'v8::internal::HInstruction::Unlink()'
external/chromium_org/v8/src/hydrogen-bce.cc:258: error: undefined reference to 'v8::internal::HInstruction::InsertBefore(v8::internal::HInstruction*)'
external/chromium_org/v8/src/hydrogen-bce.cc:283: error: undefined reference to 'v8::internal::HValue::ReplaceAllUsesWith(v8::internal::HValue*)'
external/chromium_org/v8/src/hydrogen-bce.cc:257: error: undefined reference to 'v8::internal::HInstruction::Unlink()'
external/chromium_org/v8/src/hydrogen-bce.cc:258: error: undefined reference to 'v8::internal::HInstruction::InsertBefore(v8::internal::HInstruction*)'
external/chromium_org/v8/src/hydrogen-bce.cc:189: error: undefined reference to 'v8::internal::HInstruction::Unlink()'
external/chromium_org/v8/src/hydrogen-bce.cc:258: error: undefined reference to 'v8::internal::HInstruction::InsertBefore(v8::internal::HInstruction*)'
external/chromium_org/v8/src/hydrogen-instructions.h:3283: error: undefined reference to 'v8::internal::InductionVariableData::ExaminePhi(v8::internal::HPhi*)'
external/chromium_org/v8/src/hydrogen-bch.cc:290: error: undefined reference to 'v8::internal::InductionVariableData::ComputeInductionVariableLimit(v8::internal::HBasicBlock*, v8::internal::InductionVariableLimitUpdate*)'
external/chromium_org/v8/src/hydrogen-bch.cc:301: error: undefined reference to 'v8::internal::InductionVariableData:ecomposeBitwise(v8::internal::HValue*, v8::internal::InductionVariableData::BitwiseDecompositionResult*)'
external/chromium_org/v8/src/hydrogen-bch.cc:323: error: undefined reference to 'v8::internal::InductionVariableData::ComputeUpperLimit(int, int)'
external/chromium_org/v8/src/hydrogen-bch.cc:324: error: undefined reference to 'v8::internal::InductionVariableData::AddCheck(v8::internal::HBoundsCheck*, int)'
external/chromium_org/v8/src/hydrogen-instructions.h:3283: error: undefined reference to 'v8::internal::InductionVariableData::ExaminePhi(v8::internal::HPhi*)'
external/chromium_org/v8/src/hydrogen-bch.cc:290: error: undefined reference to 'v8::internal::InductionVariableData::ComputeInductionVariableLimit(v8::internal::HBasicBlock*, v8::internal::InductionVariableLimitUpdate*)'
external/chromium_org/v8/src/hydrogen-bch.cc:301: error: undefined reference to 'v8::internal::InductionVariableData:ecomposeBitwise(v8::internal::HValue*, v8::internal::InductionVariableData::BitwiseDecompositionResult*)'
external/chromium_org/v8/src/hydrogen-bch.cc:323: error: undefined reference to 'v8::internal::InductionVariableData::ComputeUpperLimit(int, int)'
external/chromium_org/v8/src/hydrogen-bch.cc:324: error: undefined reference to 'v8::internal::InductionVariableData::AddCheck(v8::internal::HBoundsCheck*, int)'
external/chromium_org/v8/src/hydrogen-bch.cc:333: error: undefined reference to 'v8::internal::InductionVariableData::UpdateAdditionalLimit(v8::internal::InductionVariableLimitUpdate*)'
external/chromium_org/v8/src/hydrogen-bch.cc:333: error: undefined reference to 'v8::internal::InductionVariableData::UpdateAdditionalLimit(v8::internal::InductionVariableLimitUpdate*)'
external/chromium_org/v8/src/hydrogen-bch.cc:294: error: undefined reference to 'v8::internal::InductionVariableData::UpdateAdditionalLimit(v8::internal::InductionVariableLimitUpdate*)'
external/chromium_org/v8/src/hydrogen-bch.cc:294: error: undefined reference to 'v8::internal::InductionVariableData::UpdateAdditionalLimit(v8::internal::InductionVariableLimitUpdate*)'
external/chromium_org/v8/src/hydrogen-bch.cc:346: error: undefined reference to 'v8::internal::InductionVariableData::ChecksRelatedToLength::CloseCurrentBlock()'
external/chromium_org/v8/src/hydrogen-instructions.h:3283: error: undefined reference to 'v8::internal::InductionVariableData::ExaminePhi(v8::internal::HPhi*)'
external/chromium_org/v8/src/hydrogen-bch.cc:290: error: undefined reference to 'v8::internal::InductionVariableData::ComputeInductionVariableLimit(v8::internal::HBasicBlock*, v8::internal::InductionVariableLimitUpdate*)'
external/chromium_org/v8/src/hydrogen-bch.cc:301: error: undefined reference to 'v8::internal::InductionVariableData:ecomposeBitwise(v8::internal::HValue*, v8::internal::InductionVariableData::BitwiseDecompositionResult*)'
external/chromium_org/v8/src/hydrogen-bch.cc:323: error: undefined reference to 'v8::internal::InductionVariableData::ComputeUpperLimit(int, int)'
external/chromium_org/v8/src/hydrogen-bch.cc:324: error: undefined reference to 'v8::internal::InductionVariableData::AddCheck(v8::internal::HBoundsCheck*, int)'
external/chromium_org/v8/src/hydrogen-instructions.h:3283: error: undefined reference to 'v8::internal::InductionVariableData::ExaminePhi(v8::internal::HPhi*)'
external/chromium_org/v8/src/hydrogen-bch.cc:290: error: undefined reference to 'v8::internal::InductionVariableData::ComputeInductionVariableLimit(v8::internal::HBasicBlock*, v8::internal::InductionVariableLimitUpdate*)'
external/chromium_org/v8/src/hydrogen-bch.cc:301: error: undefined reference to 'v8::internal::InductionVariableData:ecomposeBitwise(v8::internal::HValue*, v8::internal::InductionVariableData::BitwiseDecompositionResult*)'
external/chromium_org/v8/src/hydrogen-bch.cc:323: error: undefined reference to 'v8::internal::InductionVariableData::ComputeUpperLimit(int, int)'
external/chromium_org/v8/src/hydrogen-bch.cc:324: error: undefined reference to 'v8::internal::InductionVariableData::AddCheck(v8::internal::HBoundsCheck*, int)'
external/chromium_org/v8/src/hydrogen-canonicalize.cc:29: error: undefined reference to 'v8::internal::HValue::HasAtLeastOneUseWithFlagAndNoneWithout(v8::internal::HValue::Flag) const'
external/chromium_org/v8/src/hydrogen-canonicalize.cc:26: error: undefined reference to 'v8::internal::HValue::HasAtLeastOneUseWithFlagAndNoneWithout(v8::internal::HValue::Flag) const'
external/chromium_org/v8/src/hydrogen-check-elimination.cc:474: error: undefined reference to 'v8::internal::HCheckInstanceType::GetCheckMaskAndTag(unsigned char*, unsigned char*)'
external/chromium_org/v8/src/hydrogen-check-elimination.cc:470: error: undefined reference to 'v8::internal::HCheckInstanceType::GetCheckInterval(v8::internal::InstanceType*, v8::internal::InstanceType*)'
external/chromium_org/v8/src/hydrogen-instructions.h:3234: error: undefined reference to 'vtable for v8::internal::HPhi'
external/chromium_org/v8/src/hydrogen-instructions.h:3412: error: undefined reference to 'vtable for v8::internal::HCapturedObject'
external/chromium_org/v8/src/hydrogen-instructions.h:3412: error: undefined reference to 'vtable for v8::internal::HCapturedObject'
collect2: ld returned 1 exit status
make: *** [/home/thenoface303/android/cm12/out/host/linux-x86/obj32/EXECUTABLES/v8_tools_gyp_mksnapshot_arm_host_gyp_intermediates/mksnapshot] error 1
make: *** Waiting for unfinished jobs....
[email protected]:~/android/cm12$
-------------------------------------------------------------------------------------------------------------------------------
fprhqkrtk303 said:
Hello, I'm trying to build CM12 for F400, which is korean G3, but everytime I try to build, it faces error.
So, I tried to build D855 to see whether it completes, but also it prints same error.
I re-repo the whole android source/local manifests, changed toolchain/java heap size, but nothing gets better.
Anyone got idea?
------------------------------------------------------------------------------------------------------------
external/chromium_org/v8/src/arm/lithium-arm.cc:1503: error: undefined reference to 'v8::internal::HValue::UseCount() const'
external/chromium_org/v8/src/arm/lithium-arm.cc:2079: error: undefined reference to 'v8::internal::HLoadGlobalCell::RequiresHoleCheck() const'
external/chromium_org/v8/src/hydrogen-instructions.h:5691: error: undefined reference to 'v8::internal::HConstant::ImmortalImmovable() const'
external/chromium_org/v8/src/arm/lithium-arm.cc:2185: error: undefined reference to 'v8::internal::HLoadKeyed::RequiresHoleCheck() const'
external/chromium_org/v8/src/hydrogen-instructions.h:5691: error: undefined reference to 'v8::internal::HConstant::ImmortalImmovable() const'
external/chromium_org/v8/src/hydrogen-instructions.h:5691: error: undefined reference to 'v8::internal::HConstant::ImmortalImmovable() const'
external/chromium_org/v8/src/arm/lithium-arm.cc:2454: error: undefined reference to 'v8::internal::HCapturedObject::ReplayEnvironment(v8::internal::HEnvironment*)'
external/chromium_org/v8/src/arm/lithium-arm.cc:2496: error: undefined reference to 'v8::internal::HSimulate::ReplayEnvironment(v8::internal::HEnvironment*)'
external/chromium_org/v8/src/hydrogen-instructions.h:5691: error: undefined reference to 'v8::internal::HConstant::ImmortalImmovable() const'
external/chromium_org/v8/src/arm/lithium-arm.h:2226: error: undefined reference to 'v8::internal::HStoreKeyed::NeedsCanonicalization()'
external/chromium_org/v8/src/arm/lithium-codegen-arm.cc:5059: error: undefined reference to 'v8::internal::HCheckInstanceType::GetCheckMaskAndTag(unsigned char*, unsigned char*)'
external/chromium_org/v8/src/arm/lithium-codegen-arm.cc:5041: error: undefined reference to 'v8::internal::HCheckInstanceType::GetCheckInterval(v8::internal::InstanceType*, v8::internal::InstanceType*)'
external/chromium_org/v8/src/arm/lithium-codegen-arm.cc:3321: error: undefined reference to 'v8::internal::HLoadKeyed::RequiresHoleCheck() const'
external/chromium_org/v8/src/arm/lithium-codegen-arm.cc:3287: error: undefined reference to 'v8::internal::HLoadKeyed::RequiresHoleCheck() const'
external/chromium_org/v8/src/arm/lithium-codegen-arm.cc:2943: error: undefined reference to 'v8::internal::HLoadGlobalCell::RequiresHoleCheck() const'
external/chromium_org/v8/src/hydrogen-bce.cc:283: error: undefined reference to 'v8::internal::HValue::ReplaceAllUsesWith(v8::internal::HValue*)'
external/chromium_org/v8/src/hydrogen-bce.cc:257: error: undefined reference to 'v8::internal::HInstruction::Unlink()'
external/chromium_org/v8/src/hydrogen-bce.cc:258: error: undefined reference to 'v8::internal::HInstruction::InsertBefore(v8::internal::HInstruction*)'
external/chromium_org/v8/src/hydrogen-bce.cc:283: error: undefined reference to 'v8::internal::HValue::ReplaceAllUsesWith(v8::internal::HValue*)'
external/chromium_org/v8/src/hydrogen-bce.cc:257: error: undefined reference to 'v8::internal::HInstruction::Unlink()'
external/chromium_org/v8/src/hydrogen-bce.cc:258: error: undefined reference to 'v8::internal::HInstruction::InsertBefore(v8::internal::HInstruction*)'
external/chromium_org/v8/src/hydrogen-bce.cc:189: error: undefined reference to 'v8::internal::HInstruction::Unlink()'
external/chromium_org/v8/src/hydrogen-bce.cc:258: error: undefined reference to 'v8::internal::HInstruction::InsertBefore(v8::internal::HInstruction*)'
external/chromium_org/v8/src/hydrogen-instructions.h:3283: error: undefined reference to 'v8::internal::InductionVariableData::ExaminePhi(v8::internal::HPhi*)'
external/chromium_org/v8/src/hydrogen-bch.cc:290: error: undefined reference to 'v8::internal::InductionVariableData::ComputeInductionVariableLimit(v8::internal::HBasicBlock*, v8::internal::InductionVariableLimitUpdate*)'
external/chromium_org/v8/src/hydrogen-bch.cc:301: error: undefined reference to 'v8::internal::InductionVariableData:ecomposeBitwise(v8::internal::HValue*, v8::internal::InductionVariableData::BitwiseDecompositionResult*)'
external/chromium_org/v8/src/hydrogen-bch.cc:323: error: undefined reference to 'v8::internal::InductionVariableData::ComputeUpperLimit(int, int)'
external/chromium_org/v8/src/hydrogen-bch.cc:324: error: undefined reference to 'v8::internal::InductionVariableData::AddCheck(v8::internal::HBoundsCheck*, int)'
external/chromium_org/v8/src/hydrogen-instructions.h:3283: error: undefined reference to 'v8::internal::InductionVariableData::ExaminePhi(v8::internal::HPhi*)'
external/chromium_org/v8/src/hydrogen-bch.cc:290: error: undefined reference to 'v8::internal::InductionVariableData::ComputeInductionVariableLimit(v8::internal::HBasicBlock*, v8::internal::InductionVariableLimitUpdate*)'
external/chromium_org/v8/src/hydrogen-bch.cc:301: error: undefined reference to 'v8::internal::InductionVariableData:ecomposeBitwise(v8::internal::HValue*, v8::internal::InductionVariableData::BitwiseDecompositionResult*)'
external/chromium_org/v8/src/hydrogen-bch.cc:323: error: undefined reference to 'v8::internal::InductionVariableData::ComputeUpperLimit(int, int)'
external/chromium_org/v8/src/hydrogen-bch.cc:324: error: undefined reference to 'v8::internal::InductionVariableData::AddCheck(v8::internal::HBoundsCheck*, int)'
external/chromium_org/v8/src/hydrogen-bch.cc:333: error: undefined reference to 'v8::internal::InductionVariableData::UpdateAdditionalLimit(v8::internal::InductionVariableLimitUpdate*)'
external/chromium_org/v8/src/hydrogen-bch.cc:333: error: undefined reference to 'v8::internal::InductionVariableData::UpdateAdditionalLimit(v8::internal::InductionVariableLimitUpdate*)'
external/chromium_org/v8/src/hydrogen-bch.cc:294: error: undefined reference to 'v8::internal::InductionVariableData::UpdateAdditionalLimit(v8::internal::InductionVariableLimitUpdate*)'
external/chromium_org/v8/src/hydrogen-bch.cc:294: error: undefined reference to 'v8::internal::InductionVariableData::UpdateAdditionalLimit(v8::internal::InductionVariableLimitUpdate*)'
external/chromium_org/v8/src/hydrogen-bch.cc:346: error: undefined reference to 'v8::internal::InductionVariableData::ChecksRelatedToLength::CloseCurrentBlock()'
external/chromium_org/v8/src/hydrogen-instructions.h:3283: error: undefined reference to 'v8::internal::InductionVariableData::ExaminePhi(v8::internal::HPhi*)'
external/chromium_org/v8/src/hydrogen-bch.cc:290: error: undefined reference to 'v8::internal::InductionVariableData::ComputeInductionVariableLimit(v8::internal::HBasicBlock*, v8::internal::InductionVariableLimitUpdate*)'
external/chromium_org/v8/src/hydrogen-bch.cc:301: error: undefined reference to 'v8::internal::InductionVariableData:ecomposeBitwise(v8::internal::HValue*, v8::internal::InductionVariableData::BitwiseDecompositionResult*)'
external/chromium_org/v8/src/hydrogen-bch.cc:323: error: undefined reference to 'v8::internal::InductionVariableData::ComputeUpperLimit(int, int)'
external/chromium_org/v8/src/hydrogen-bch.cc:324: error: undefined reference to 'v8::internal::InductionVariableData::AddCheck(v8::internal::HBoundsCheck*, int)'
external/chromium_org/v8/src/hydrogen-instructions.h:3283: error: undefined reference to 'v8::internal::InductionVariableData::ExaminePhi(v8::internal::HPhi*)'
external/chromium_org/v8/src/hydrogen-bch.cc:290: error: undefined reference to 'v8::internal::InductionVariableData::ComputeInductionVariableLimit(v8::internal::HBasicBlock*, v8::internal::InductionVariableLimitUpdate*)'
external/chromium_org/v8/src/hydrogen-bch.cc:301: error: undefined reference to 'v8::internal::InductionVariableData:ecomposeBitwise(v8::internal::HValue*, v8::internal::InductionVariableData::BitwiseDecompositionResult*)'
external/chromium_org/v8/src/hydrogen-bch.cc:323: error: undefined reference to 'v8::internal::InductionVariableData::ComputeUpperLimit(int, int)'
external/chromium_org/v8/src/hydrogen-bch.cc:324: error: undefined reference to 'v8::internal::InductionVariableData::AddCheck(v8::internal::HBoundsCheck*, int)'
external/chromium_org/v8/src/hydrogen-canonicalize.cc:29: error: undefined reference to 'v8::internal::HValue::HasAtLeastOneUseWithFlagAndNoneWithout(v8::internal::HValue::Flag) const'
external/chromium_org/v8/src/hydrogen-canonicalize.cc:26: error: undefined reference to 'v8::internal::HValue::HasAtLeastOneUseWithFlagAndNoneWithout(v8::internal::HValue::Flag) const'
external/chromium_org/v8/src/hydrogen-check-elimination.cc:474: error: undefined reference to 'v8::internal::HCheckInstanceType::GetCheckMaskAndTag(unsigned char*, unsigned char*)'
external/chromium_org/v8/src/hydrogen-check-elimination.cc:470: error: undefined reference to 'v8::internal::HCheckInstanceType::GetCheckInterval(v8::internal::InstanceType*, v8::internal::InstanceType*)'
external/chromium_org/v8/src/hydrogen-instructions.h:3234: error: undefined reference to 'vtable for v8::internal::HPhi'
external/chromium_org/v8/src/hydrogen-instructions.h:3412: error: undefined reference to 'vtable for v8::internal::HCapturedObject'
external/chromium_org/v8/src/hydrogen-instructions.h:3412: error: undefined reference to 'vtable for v8::internal::HCapturedObject'
collect2: ld returned 1 exit status
make: *** [/home/thenoface303/android/cm12/out/host/linux-x86/obj32/EXECUTABLES/v8_tools_gyp_mksnapshot_arm_host_gyp_intermediates/mksnapshot] error 1
make: *** Waiting for unfinished jobs....
[email protected]:~/android/cm12$
-------------------------------------------------------------------------------------------------------------------------------
Click to expand...
Click to collapse
I just reinstalled Ubuntu. I think something just went wrong during installing or updating system.

[Q] Adding sqlcipher to android kernel

Hi everyone.
I repleaced sqlite to sqlcipher, I spend some time to this and now code is compilable, but I have other issue:
host SharedLib: libsqlite_jni (out/host/linux-x86/obj/lib/libsqlite_jni.so)
external/sqlite/dist/sqlite3.c: In function 'backupOnePage':
external/sqlite/dist/sqlite3.c:63260:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
external/sqlite/dist/sqlite3.c: In function 'sqlite3Pragma':
external/sqlite/dist/sqlite3.c:103492:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
target SharedLib: libsqlite (out/target/product/generic/obj/SHARED_LIBRARIES/libsqlite_intermediates/LINKED/libsqlite.so)
Install: out/host/linux-x86/lib/libsqlite_jni.so
external/sqlite/dist/sqlite3.c:16539: error: undefined reference to 'EVP_sha1'
external/sqlite/dist/sqlite3.c:16539: error: undefined reference to 'EVP_MD_size'
external/sqlite/dist/sqlite3.c:16535: error: undefined reference to 'EVP_CIPHER_block_size'
external/sqlite/dist/sqlite3.c:16531: error: undefined reference to 'EVP_CIPHER_iv_length'
external/sqlite/dist/sqlite3.c:16527: error: undefined reference to 'EVP_CIPHER_key_length'
external/sqlite/dist/sqlite3.c:16523: error: undefined reference to 'EVP_CIPHER_nid'
external/sqlite/dist/sqlite3.c:16523: error: undefined reference to 'OBJ_nid2sn'
external/sqlite/dist/sqlite3.c:16518: error: undefined reference to 'EVP_get_cipherbyname'
external/sqlite/dist/sqlite3.c:16503: error: undefined reference to 'EVP_CipherInit'
external/sqlite/dist/sqlite3.c:16504: error: undefined reference to 'EVP_CIPHER_CTX_set_padding'
external/sqlite/dist/sqlite3.c:16505: error: undefined reference to 'EVP_CipherInit'
external/sqlite/dist/sqlite3.c:16506: error: undefined reference to 'EVP_CipherUpdate'
external/sqlite/dist/sqlite3.c:16509: error: undefined reference to 'EVP_CipherFinal'
external/sqlite/dist/sqlite3.c:16511: error: undefined reference to 'EVP_CIPHER_CTX_cleanup'
external/sqlite/dist/sqlite3.c:16495: error: undefined reference to 'PKCS5_PBKDF2_HMAC_SHA1'
external/sqlite/dist/sqlite3.c:16485: error: undefined reference to 'HMAC_CTX_init'
external/sqlite/dist/sqlite3.c:16486: error: undefined reference to 'EVP_sha1'
external/sqlite/dist/sqlite3.c:16486: error: undefined reference to 'HMAC_Init_ex'
external/sqlite/dist/sqlite3.c:16487: error: undefined reference to 'HMAC_Update'
external/sqlite/dist/sqlite3.c:16488: error: undefined reference to 'HMAC_Update'
external/sqlite/dist/sqlite3.c:16489: error: undefined reference to 'HMAC_Final'
external/sqlite/dist/sqlite3.c:16490: error: undefined reference to 'HMAC_CTX_cleanup'
external/sqlite/dist/sqlite3.c:16391: error: undefined reference to 'RAND_add'
external/sqlite/dist/sqlite3.c:16475: error: undefined reference to 'RAND_bytes'
external/sqlite/dist/sqlite3.c:16448: error: undefined reference to 'EVP_cleanup'
external/sqlite/dist/sqlite3.c:16410: error: undefined reference to 'EVP_get_cipherbyname'
external/sqlite/dist/sqlite3.c:16419: error: undefined reference to 'OPENSSL_add_all_algorithms_noconf'
Can anyone help me?

Trying to update f2fs in d852 kernel

I'm trying to update the f2fs driver for the d852 and cannot get it to compile. I'm new to compiling ROMs so I'm hoping it's something simple. Without these changes I can get lineage to compile with no problems. I have been doing it for a week or so with no issues.
I'm taking https://kernel.googlesource.com/pub/scm/linux/kernel/git/jaegeuk/f2fs-stable/fs/f2fs/* and putting it in kernel/lge/g3/fs/f2fs. I am using the 3.4.y branch from jaedeuk's git. According to my phone currently running lineage, it's using the 3.4.0 kernel.
I get these errors when trying to build lineage for my d852:
Code:
CC fs/ext4/ialloc.o
CC security/keys/process_keys.o
CC fs/ext4/inode.o
../../../../../../kernel/lge/g3/fs/f2fs/dir.c:51:50: error: 'S_SHIFT' undeclared here (not in a function)
static unsigned char f2fs_type_by_mode[S_IFMT >> S_SHIFT] = {
^
../../../../../../kernel/lge/g3/fs/f2fs/dir.c:52:2: error: array index in initializer not of integer type
[S_IFREG >> S_SHIFT] = F2FS_FT_REG_FILE,
^
../../../../../../kernel/lge/g3/fs/f2fs/dir.c:52:2: error: (near initialization for 'f2fs_type_by_mode')
../../../../../../kernel/lge/g3/fs/f2fs/dir.c:53:2: error: array index in initializer not of integer type
[S_IFDIR >> S_SHIFT] = F2FS_FT_DIR,
^
../../../../../../kernel/lge/g3/fs/f2fs/dir.c:53:2: error: (near initialization for 'f2fs_type_by_mode')
../../../../../../kernel/lge/g3/fs/f2fs/dir.c:54:2: error: array index in initializer not of integer type
[S_IFCHR >> S_SHIFT] = F2FS_FT_CHRDEV,
^
../../../../../../kernel/lge/g3/fs/f2fs/dir.c:54:2: error: (near initialization for 'f2fs_type_by_mode')
../../../../../../kernel/lge/g3/fs/f2fs/dir.c:55:2: error: array index in initializer not of integer type
[S_IFBLK >> S_SHIFT] = F2FS_FT_BLKDEV,
^
../../../../../../kernel/lge/g3/fs/f2fs/dir.c:55:2: error: (near initialization for 'f2fs_type_by_mode')
../../../../../../kernel/lge/g3/fs/f2fs/dir.c:56:2: error: array index in initializer not of integer type
[S_IFIFO >> S_SHIFT] = F2FS_FT_FIFO,
^
../../../../../../kernel/lge/g3/fs/f2fs/dir.c:56:2: error: (near initialization for 'f2fs_type_by_mode')
../../../../../../kernel/lge/g3/fs/f2fs/dir.c:57:2: error: array index in initializer not of integer type
[S_IFSOCK >> S_SHIFT] = F2FS_FT_SOCK,
^
../../../../../../kernel/lge/g3/fs/f2fs/dir.c:57:2: error: (near initialization for 'f2fs_type_by_mode')
../../../../../../kernel/lge/g3/fs/f2fs/dir.c:58:2: error: array index in initializer not of integer type
[S_IFLNK >> S_SHIFT] = F2FS_FT_SYMLINK,
^
../../../../../../kernel/lge/g3/fs/f2fs/dir.c:58:2: error: (near initialization for 'f2fs_type_by_mode')
../../../../../../kernel/lge/g3/fs/f2fs/dir.c:51:22: warning: 'f2fs_type_by_mode' defined but not used [-Wunused-variable]
error, forbidden warning: dir.c:51
/root/android/system/kernel/lge/g3/scripts/Makefile.build:307: recipe for target 'fs/f2fs/dir.o' failed
make[3]: *** [fs/f2fs/dir.o] Error 1
/root/android/system/kernel/lge/g3/scripts/Makefile.build:443: recipe for target 'fs/f2fs' failed
make[2]: *** [fs/f2fs] Error 2
make[2]: *** Waiting for unfinished jobs....
Figured it out. Forgot to copy the new include/linux/f2fs_fs.h which defines S_SHIFT.

I cant make kernel

when i try make kernel
i have this problem
arch/arm64/kernel/entry-fpsimd.S: Assembler messages:
arch/arm64/kernel/entry-fpsimd.S:53: Error: unexpected end of file in irp or irpc
/tmp/ccm5MNfe.s: Error: local label `"0" (instance number 1 of a fb label)' is not defined
scripts/Makefile.build:294: recipe for target 'arch/arm64/kernel/entry-fpsimd.o' failed
make[1]: *** [arch/arm64/kernel/entry-fpsimd.o] Error 1
Makefile:974: recipe for target 'arch/arm64/kernel' failed
make: *** [arch/arm64/kernel] Error 2
mi a2 lite daisy-p-oss
Which toolchain u use?
Ahmed Hady said:
Which toolchain u use?
Click to expand...
Click to collapse
i use UBERTC aarch64-linux-android-4.9 toolchain
mrfirt said:
i use UBERTC aarch64-linux-android-4.9 toolchain
Click to expand...
Click to collapse
Try google aarch64 4.9 first
https://android.googlesource.com/pl...nux-android-4.9/+/refs/tags/android-9.0.0_r32
i do that but i have now that problem
Android GCC has been deprecated in favor of Clang, and will be removed from
Android in 2020-01 as per the deprecation plan in:
https://android.googlesource.com/pl...ost/linux-x86/+/master/GCC_4_9_DEPRECATION.md
921d9846-a815-11e9-84ea-ff8bce1b90b6: error: Android: No such file or directory
921d9846-a815-11e9-84ea-ff8bce1b90b6: error: GCC: No such file or directory
921d9846-a815-11e9-84ea-ff8bce1b90b6: error: has: No such file or directory
921d9846-a815-11e9-84ea-ff8bce1b90b6: error: been: No such file or directory
921d9846-a815-11e9-84ea-ff8bce1b90b6: error: deprecated: No such file or directory
921d9846-a815-11e9-84ea-ff8bce1b90b6: error: in: No such file or directory
921d9846-a815-11e9-84ea-ff8bce1b90b6: error: favor: No such file or directory
921d9846-a815-11e9-84ea-ff8bce1b90b6: error: of: No such file or directory
921d9846-a815-11e9-84ea-ff8bce1b90b6: error: Clang,: No such file or directory
921d9846-a815-11e9-84ea-ff8bce1b90b6: error: and: No such file or directory
921d9846-a815-11e9-84ea-ff8bce1b90b6: error: will: No such file or directory
Android GCC has been deprecated in favor of Clang, and will be removed from
921d9846-a815-11e9-84ea-ff8bce1b90b6: error: be: No such file or directory
Android in 2020-01 as per the deprecation plan in:
921d9846-a815-11e9-84ea-ff8bce1b90b6: error: removed: No such file or directory
https://android.googlesource.com/pl...ost/linux-x86/+/master/GCC_4_9_DEPRECATION.md
921d9846-a815-11e9-84ea-ff8bce1b90b6: error: from: No such file or directory
make[2]: *** Waiting for unfinished jobs....
921d9846-a815-11e9-84ea-ff8bce1b90b6: error: the: No such file or directory
921d9846-a815-11e9-84ea-ff8bce1b90b6: error: deprecation: No such file or directory
921d9846-a815-11e9-84ea-ff8bce1b90b6: error: plan: No such file or directory
921d9846-a815-11e9-84ea-ff8bce1b90b6: error: in:: No such file or directory
921d9846-a815-11e9-84ea-ff8bce1b90b6: error: https://android.googlesource.com/pl...st/linux-x86/+/master/GCC_4_9_DEPRECATION.md: No such file or directory
scripts/Makefile.build:154: recipe for target 'scripts/mod/devicetable-offsets.s' failed
make[2]: *** [scripts/mod/devicetable-offsets.s] Error 1
scripts/Makefile.build:403: recipe for target 'scripts/mod' failed
make[1]: *** [scripts/mod] Error 2
Makefile:560: recipe for target 'scripts' failed
make: *** [scripts] Error 2
make: *** Waiting for unfinished jobs....
Ahmed Hady said:
Try google aarch64 4.9 first
https://android.googlesource.com/pl...nux-android-4.9/+/refs/tags/android-9.0.0_r32
Click to expand...
Click to collapse
Ahmed Give me any way to get in touch with you and thanks in advance

Categories

Resources