[Xiaomi Mi 8 Lite Guides, News, & Discussion] lexridge:
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.

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.