Install terminfo on both local and remote host.

On local host:

infocmp alacritty > alacritty.tic

On remote host:

ti alacritty.tic

~/.terminfo/a/alacritty

Reference:

https://superuser.com/questions/431922/tmux-and-screen-256-term-not-supported-on-remote-hosts

========== rust for linux ================

➜ rust-for-linux git:(rust) make LLVM=1 menuconfig
HOSTCC scripts/basic/fixdep UPD scripts/kconfig/mconf-cfg HOSTCC scripts/kconfig/mconf.o HOSTCC scripts/kconfig/lxdialog/checklist.o HOSTCC scripts/kconfig/lxdialog/inputbox.o HOSTCC scripts/kconfig/lxdialog/menubox.o HOSTCC scripts/kconfig/lxdialog/textbox.o HOSTCC scripts/kconfig/lxdialog/util.o HOSTCC scripts/kconfig/lxdialog/yesno.o HOSTCC scripts/kconfig/confdata.o HOSTCC scripts/kconfig/expr.o LEX scripts/kconfig/lexer.lex.c YACC scripts/kconfig/parser.tab.[ch] HOSTCC scripts/kconfig/lexer.lex.o HOSTCC scripts/kconfig/menu.o HOSTCC scripts/kconfig/parser.tab.o HOSTCC scripts/kconfig/preprocess.o HOSTCC scripts/kconfig/symbol.o HOSTCC scripts/kconfig/util.o HOSTLD scripts/kconfig/mconf scripts/Kconfig.include:40: linker ’ld.lld’ not found make[1]: *** [scripts/kconfig/Makefile:48: menuconfig] Error 1 make: *** [Makefile:693: menuconfig] Error 2

sudo pacman -S lld

➜ rust-for-linux git:(rust) make LLVM=1 rustavailable


*** Rust bindings generator ‘bindgen’ could not be found.


make: *** [Makefile:1806: rustavailable] Error 1

sudo pacman -S rust-bindgen

➜ rust-for-linux git:(rust) make LLVM=1 rustavailable


*** Rust bindings generator ‘bindgen’ is too new. This may or may not work. *** Your version: 0.59.2 *** Expected version: 0.56.0


Rust is available!

make LLVM=1

/bin/sh: line 1: bc: command not found

sudo pacman -S bc

➜ linux git:(rust) make LLVM=1 UPD include/generated/timeconst.h CC arch/x86/kernel/asm-offsets.s UPD include/generated/asm-offsets.h CALL scripts/checksyscalls.sh CALL scripts/atomic/check-atomics.sh DESCEND objtool HOSTCC /home/yestyle/code/linux/tools/objtool/fixdep.o HOSTLD /home/yestyle/code/linux/tools/objtool/fixdep-in.o LINK /home/yestyle/code/linux/tools/objtool/fixdep CC /home/yestyle/code/linux/tools/objtool/exec-cmd.o CC /home/yestyle/code/linux/tools/objtool/help.o CC /home/yestyle/code/linux/tools/objtool/pager.o CC /home/yestyle/code/linux/tools/objtool/parse-options.o CC /home/yestyle/code/linux/tools/objtool/run-command.o CC /home/yestyle/code/linux/tools/objtool/sigchain.o CC /home/yestyle/code/linux/tools/objtool/subcmd-config.o LD /home/yestyle/code/linux/tools/objtool/libsubcmd-in.o AR /home/yestyle/code/linux/tools/objtool/libsubcmd.a CC /home/yestyle/code/linux/tools/objtool/arch/x86/special.o MKDIR /home/yestyle/code/linux/tools/objtool/arch/x86/lib/ GEN /home/yestyle/code/linux/tools/objtool/arch/x86/lib/inat-tables.c CC /home/yestyle/code/linux/tools/objtool/arch/x86/decode.o LD /home/yestyle/code/linux/tools/objtool/arch/x86/objtool-in.o CC /home/yestyle/code/linux/tools/objtool/weak.o CC /home/yestyle/code/linux/tools/objtool/check.o CC /home/yestyle/code/linux/tools/objtool/special.o CC /home/yestyle/code/linux/tools/objtool/builtin-check.o CC /home/yestyle/code/linux/tools/objtool/elf.o CC /home/yestyle/code/linux/tools/objtool/objtool.o CC /home/yestyle/code/linux/tools/objtool/orc_gen.o CC /home/yestyle/code/linux/tools/objtool/orc_dump.o CC /home/yestyle/code/linux/tools/objtool/libstring.o CC /home/yestyle/code/linux/tools/objtool/libctype.o CC /home/yestyle/code/linux/tools/objtool/str_error_r.o CC /home/yestyle/code/linux/tools/objtool/librbtree.o LD /home/yestyle/code/linux/tools/objtool/objtool-in.o LINK /home/yestyle/code/linux/tools/objtool/objtool


*** Rust bindings generator ‘bindgen’ is too new. This may or may not work. *** Your version: 0.59.2 *** Expected version: 0.56.0


UPD rust/target.json RUSTC L rust/core.o warning: unknown feature specified for -Ctarget-feature: retpoline-external-thunk | = note: it is still passed through to the codegen backend = note: consider filing a feature request

warning: 1 warning emitted

EXPORTS rust/exports_core_generated.h RUSTC P rust/libmacros.so BINDGEN rust/bindings_generated.rs BINDGEN rust/bindings_helpers_generated.rs RUSTC L rust/compiler_builtins.o warning: unknown feature specified for -Ctarget-feature: retpoline-external-thunk | = note: it is still passed through to the codegen backend = note: consider filing a feature request

warning: 1 warning emitted

RUSTC L rust/alloc.o warning: unknown feature specified for -Ctarget-feature: retpoline-external-thunk | = note: it is still passed through to the codegen backend = note: consider filing a feature request

warning: 1 warning emitted

EXPORTS rust/exports_alloc_generated.h RUSTC L rust/build_error.o warning: unknown feature specified for -Ctarget-feature: retpoline-external-thunk | = note: it is still passed through to the codegen backend = note: consider filing a feature request

warning: 1 warning emitted

RUSTC L rust/kernel.o warning: unknown feature specified for -Ctarget-feature: retpoline-external-thunk | = note: it is still passed through to the codegen backend = note: consider filing a feature request

warning: 1 warning emitted

EXPORTS rust/exports_kernel_generated.h

    comments powered by Disqus