bigsaltyfishes / kernel_lenovo_J607Z

CAF Rebased kernel for Lenovo P11 5G and Lenovo Xiaoxin Pad Plus 2021 with android-4.19-stable merged
Other
10 stars 6 forks source link

内核构建时,出现这个错误 #3

Closed jerry3055 closed 2 years ago

jerry3055 commented 2 years ago

截图 2022-04-14 23-53-01

也看了GitHub上的反馈,尝试改了下,但还是不行

bigsaltyfishes commented 2 years ago

是什么时候拉取的代码?今天的更新应该已经导入了dt了,应该是能正常构建的

jerry3055 commented 2 years ago

就是看到下午有更新才拉的

我参照了这个提交改了一下,但还是同样的报错。 https://github.com/adil192/android_kernel_samsung_gts7lwifi-old/commit/d5ea258628d76c553948c9f04af20124cf783401

bigsaltyfishes commented 2 years ago

20220415123224 你构建的时候用的哪个 conifg ?我这里编译没有问题

jerry3055 commented 2 years ago

20220415123224 你构建的时候用的哪个 conifg ?我这里编译没有问题

config是您设备树里指定的那个: TARGET_KERNEL_CONFIG := vendor/arnoz_prc_lte-perf_defconfig

回头我再尝试一下吧。

jerry3055 commented 2 years ago

完整的报错日志

FAILED: /home/jerry/arrow/out/target/product/J607F/obj/DTBO_OBJ/arch/arm64/boot/dtbo.img /bin/bash -c "(PATH=/home/jerry/arrow/out/host/linux-x86/bin:\$PATH PATH=/home/jerry/arrow/prebuilts/clang/host/linux-x86/clang-r416183b1/bin:\$PATH LD_LIBRA RY_PATH=/home/jerry/arrow/prebuilts/clang/host/linux-x86/clang-r416183b1/lib64:\$LD_LIBRARY_PATH PATH=/home/jerry/arrow/prebuilts/gcc/linux-x86/aarch64/aarch 64-linux-android-4.9/bin:\$PATH LD_LIBRARY_PATH=/home/jerry/arrow/prebuilts/tools-extras/linux-x86/lib:\$LD_LIBRARY_PATH PERL5LIB=/home/jerry/arrow/prebuilts /tools-extras/common/perl-base PATH=/home/jerry/arrow/prebuilts/tools-extras/linux-x86/bin:/home/jerry/arrow/prebuilts/gcc/linux-x86/arm/arm-linux-androideab i-4.9/bin:\$PATH BISON_PKGDATADIR=/home/jerry/arrow/prebuilts/build-tools/common/bison /home/jerry/arrow/prebuilts/build-tools/linux-x86/bin/make -j8 CFLAGS _MODULE=\"-fno-pic\" CPATH=\"/usr/include:/usr/include/x86_64-linux-gnu\" HOSTCFLAGS=\"-fuse-ld=lld\" HOSTLDFLAGS=\"-L/usr/lib/x86_64-linux-gnu -L/usr/lib64 -fuse-ld=lld\" DTC_EXT=/home/jerry/arrow/prebuilts/misc/linux-x86/dtc/dtc HOSTCC=/home/jerry/arrow/prebuilts/clang/host/linux-x86/clang-r416183b1/bin/clang H OSTCXX=/home/jerry/arrow/prebuilts/clang/host/linux-x86/clang-r416183b1/bin/clang++ LEX=/home/jerry/arrow/prebuilts/build-tools/linux-x86/bin/flex YACC=/home /jerry/arrow/prebuilts/build-tools/linux-x86/bin/bison M4=/home/jerry/arrow/prebuilts/build-tools/linux-x86/bin/m4 -C kernel/lenovo/J607Z O=/home/jerry/arrow /out/target/product/J607F/obj/DTBO_OBJ ARCH=arm64 CROSS_COMPILE=\"/home/jerry/arrow/prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9/bin/aarch64-lin ux-android-\" CROSS_COMPILE_ARM32=\"/home/jerry/arrow/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/bin/arm-linux-androidkernel-\" CROSS_COMPILE_COMP AT=\"/home/jerry/arrow/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/bin/arm-linux-androidkernel-\" CLANG_TRIPLE=aarch64-linux-gnu- CC=\"/usr/bin/cca che clang\" vendor/arnoz_prc_lte-perf_defconfig ) && (PATH=/home/jerry/arrow/out/host/linux-x86/bin:\$PATH PATH=/home/jerry/arrow/prebuilts/clang/host/linux -x86/clang-r416183b1/bin:\$PATH LD_LIBRARY_PATH=/home/jerry/arrow/prebuilts/clang/host/linux-x86/clang-r416183b1/lib64:\$LD_LIBRARY_PATH PATH=/home/jerry/arr ow/prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9/bin:\$PATH LD_LIBRARY_PATH=/home/jerry/arrow/prebuilts/tools-extras/linux-x86/lib:\$LD_LIBRARY_P ATH PERL5LIB=/home/jerry/arrow/prebuilts/tools-extras/common/perl-base PATH=/home/jerry/arrow/prebuilts/tools-extras/linux-x86/bin:/home/jerry/arrow/prebuilt s/gcc/linux-x86/arm/arm-linux-androideabi-4.9/bin:\$PATH BISON_PKGDATADIR=/home/jerry/arrow/prebuilts/build-tools/common/bison /home/jerry/arrow/prebuilts/bu ild-tools/linux-x86/bin/make -j8 CFLAGS_MODULE=\"-fno-pic\" CPATH=\"/usr/include:/usr/include/x86_64-linux-gnu\" HOSTCFLAGS=\"-fuse-ld=lld\" HOSTLDFLAGS=\"- L/usr/lib/x86_64-linux-gnu -L/usr/lib64 -fuse-ld=lld\" DTC_EXT=/home/jerry/arrow/prebuilts/misc/linux-x86/dtc/dtc HOSTCC=/home/jerry/arrow/prebuilts/clang/ho st/linux-x86/clang-r416183b1/bin/clang HOSTCXX=/home/jerry/arrow/prebuilts/clang/host/linux-x86/clang-r416183b1/bin/clang++ LEX=/home/jerry/arrow/prebuilts/b uild-tools/linux-x86/bin/flex YACC=/home/jerry/arrow/prebuilts/build-tools/linux-x86/bin/bison M4=/home/jerry/arrow/prebuilts/build-tools/linux-x86/bin/m4 -C kernel/lenovo/J607Z O=/home/jerry/arrow/out/target/product/J607F/obj/DTBO_OBJ ARCH=arm64 CROSS_COMPILE=\"/home/jerry/arrow/prebuilts/gcc/linux-x86/aarch64/a arch64-linux-android-4.9/bin/aarch64-linux-android-\" CROSS_COMPILE_ARM32=\"/home/jerry/arrow/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/bin/arm-l inux-androidkernel-\" CROSS_COMPILE_COMPAT=\"/home/jerry/arrow/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/bin/arm-linux-androidkernel-\" CLANG_TRI PLE=aarch64-linux-gnu- CC=\"/usr/bin/ccache clang\" dtbs ) && (/home/jerry/arrow/out/host/linux-x86/bin/mkdtboimg.py create /home/jerry/arrow/out/target/pro duct/J607F/obj/DTBO_OBJ/arch/arm64/boot/dtbo.img --page_size=4096 \$(find /home/jerry/arrow/out/target/product/J607F/obj/DTBO_OBJ/arch/arm64/boot/dts -type f -name \"*.dtbo\" | sort) )" make: 进入目录“/home/jerry/arrow/kernel/lenovo/J607Z” make[1]: 进入目录“/home/jerry/arrow/out/target/product/J607F/obj/DTBO_OBJ” GEN ./Makefile HOSTCC scripts/basic/fixdep HOSTCC scripts/kconfig/conf.o YACC scripts/kconfig/zconf.tab.c LEX scripts/kconfig/zconf.lex.c clang-12: warning: argument unused during compilation: '-fuse-ld=lld' [-Wunused-command-line-argument] HOSTCC scripts/kconfig/zconf.tab.o clang-12: warning: argument unused during compilation: '-fuse-ld=lld' [-Wunused-command-line-argument] HOSTLD scripts/kconfig/conf 'rivers/input/touchscreen/hxchipset/Kconfig:4:warning: ignoring unsupported character ' drivers/input/touchscreen/hxchipset/Kconfig:5:warning: ignoring unsupported character '+' 'rivers/input/touchscreen/hxchipset/Kconfig:5:warning: ignoring unsupported character ' 'rivers/input/touchscreen/hxchipset/Kconfig:6:warning: ignoring unsupported character ' 'rivers/input/touchscreen/hxchipset/Kconfig:7:warning: ignoring unsupported character ' 'rivers/input/touchscreen/hxchipset/Kconfig:8:warning: ignoring unsupported character ' 'rivers/input/touchscreen/hxchipset/Kconfig:10:warning: ignoring unsupported character ' drivers/input/touchscreen/hxchipset/Kconfig:11:warning: ignoring unsupported character '+' 'rivers/input/touchscreen/hxchipset/Kconfig:11:warning: ignoring unsupported character ' 'rivers/input/touchscreen/hxchipset/Kconfig:12:warning: ignoring unsupported character ' 'rivers/input/touchscreen/hxchipset/Kconfig:13:warning: ignoring unsupported character ' 'rivers/input/touchscreen/hxchipset/Kconfig:14:warning: ignoring unsupported character ' 'rivers/input/touchscreen/hxchipset/Kconfig:15:warning: ignoring unsupported character ' drivers/input/touchscreen/hxchipset/Kconfig:16:warning: ignoring unsupported character '+' 'rivers/input/touchscreen/hxchipset/Kconfig:16:warning: ignoring unsupported character ' 'rivers/input/touchscreen/hxchipset/Kconfig:17:warning: ignoring unsupported character ' 'rivers/input/touchscreen/hxchipset/Kconfig:18:warning: ignoring unsupported character ' 'rivers/input/touchscreen/hxchipset/Kconfig:19:warning: ignoring unsupported character ' 'rivers/input/touchscreen/hxchipset/Kconfig:21:warning: ignoring unsupported character ' drivers/input/touchscreen/hxchipset/Kconfig:22:warning: ignoring unsupported character '+' 'rivers/input/touchscreen/hxchipset/Kconfig:22:warning: ignoring unsupported character ' 'rivers/input/touchscreen/hxchipset/Kconfig:23:warning: ignoring unsupported character ' 'rivers/input/touchscreen/hxchipset/Kconfig:24:warning: ignoring unsupported character ' 'rivers/input/touchscreen/hxchipset/Kconfig:25:warning: ignoring unsupported character ' 'rivers/input/touchscreen/hxchipset/Kconfig:27:warning: ignoring unsupported character ' 'rivers/input/touchscreen/hxchipset/Kconfig:28:warning: ignoring unsupported character ' 'rivers/input/touchscreen/hxchipset/Kconfig:29:warning: ignoring unsupported character ' drivers/input/touchscreen/hxchipset/Kconfig:31:warning: ignoring unsupported character '+' 'rivers/input/touchscreen/hxchipset/Kconfig:31:warning: ignoring unsupported character ' 'rivers/input/touchscreen/hxchipset/Kconfig:32:warning: ignoring unsupported character ' 'rivers/input/touchscreen/hxchipset/Kconfig:33:warning: ignoring unsupported character ' 'rivers/input/touchscreen/hxchipset/Kconfig:34:warning: ignoring unsupported character ' 'rivers/input/touchscreen/hxchipset/Kconfig:36:warning: ignoring unsupported character ' drivers/input/touchscreen/hxchipset/Kconfig:37:warning: ignoring unsupported character '+' 'rivers/input/touchscreen/hxchipset/Kconfig:37:warning: ignoring unsupported character ' 'rivers/input/touchscreen/hxchipset/Kconfig:38:warning: ignoring unsupported character ' 'rivers/input/touchscreen/hxchipset/Kconfig:39:warning: ignoring unsupported character ' 'rivers/input/touchscreen/hxchipset/Kconfig:40:warning: ignoring unsupported character ' 'rivers/input/touchscreen/hxchipset/Kconfig:42:warning: ignoring unsupported character ' drivers/input/touchscreen/hxchipset/Kconfig:45:warning: ignoring unsupported character '+' 'rivers/input/touchscreen/hxchipset/Kconfig:45:warning: ignoring unsupported character ' 'rivers/input/touchscreen/hxchipset/Kconfig:46:warning: ignoring unsupported character ' 'rivers/input/touchscreen/hxchipset/Kconfig:47:warning: ignoring unsupported character ' 'rivers/input/touchscreen/hxchipset/Kconfig:48:warning: ignoring unsupported character ' 'rivers/input/touchscreen/hxchipset/Kconfig:50:warning: ignoring unsupported character ' drivers/input/touchscreen/hxchipset/Kconfig:51:warning: ignoring unsupported character '+' 'rivers/input/touchscreen/hxchipset/Kconfig:51:warning: ignoring unsupported character ' 'rivers/input/touchscreen/hxchipset/Kconfig:52:warning: ignoring unsupported character ' 'rivers/input/touchscreen/hxchipset/Kconfig:53:warning: ignoring unsupported character ' 'rivers/input/touchscreen/hxchipset/Kconfig:54:warning: ignoring unsupported character ' 'rivers/input/touchscreen/hxchipset/Kconfig:56:warning: ignoring unsupported character ' drivers/input/touchscreen/hxchipset/Kconfig:57:warning: ignoring unsupported character '+' 'rivers/input/touchscreen/hxchipset/Kconfig:57:warning: ignoring unsupported character ' 'rivers/input/touchscreen/hxchipset/Kconfig:58:warning: ignoring unsupported character ' 'rivers/input/touchscreen/hxchipset/Kconfig:59:warning: ignoring unsupported character ' 'rivers/input/touchscreen/hxchipset/Kconfig:60:warning: ignoring unsupported character ' 'rivers/input/touchscreen/hxchipset/Kconfig:62:warning: ignoring unsupported character ' drivers/input/touchscreen/hxchipset/Kconfig:63:warning: ignoring unsupported character '+' 'rivers/input/touchscreen/hxchipset/Kconfig:63:warning: ignoring unsupported character ' 'rivers/input/touchscreen/hxchipset/Kconfig:64:warning: ignoring unsupported character ' 'rivers/input/touchscreen/hxchipset/Kconfig:65:warning: ignoring unsupported character ' 'rivers/input/touchscreen/hxchipset/Kconfig:66:warning: ignoring unsupported character ' 'rivers/input/touchscreen/hxchipset/Kconfig:68:warning: ignoring unsupported character ' drivers/input/touchscreen/hxchipset/Kconfig:69:warning: ignoring unsupported character '+' 'rivers/input/touchscreen/hxchipset/Kconfig:69:warning: ignoring unsupported character ' 'rivers/input/touchscreen/hxchipset/Kconfig:70:warning: ignoring unsupported character ' 'rivers/input/touchscreen/hxchipset/Kconfig:71:warning: ignoring unsupported character ' 'rivers/input/touchscreen/hxchipset/Kconfig:72:warning: ignoring unsupported character ' 'rivers/input/touchscreen/hxchipset/Kconfig:74:warning: ignoring unsupported character ' drivers/input/touchscreen/hxchipset/Kconfig:75:warning: ignoring unsupported character '+' 'rivers/input/touchscreen/hxchipset/Kconfig:75:warning: ignoring unsupported character ' 'rivers/input/touchscreen/hxchipset/Kconfig:76:warning: ignoring unsupported character ' 'rivers/input/touchscreen/hxchipset/Kconfig:77:warning: ignoring unsupported character ' 'rivers/input/touchscreen/hxchipset/Kconfig:78:warning: ignoring unsupported character ' 'rivers/input/touchscreen/hxchipset/Kconfig:80:warning: ignoring unsupported character ' drivers/input/touchscreen/hxchipset/Kconfig:81:warning: ignoring unsupported character '+' 'rivers/input/touchscreen/hxchipset/Kconfig:81:warning: ignoring unsupported character ' 'rivers/input/touchscreen/hxchipset/Kconfig:82:warning: ignoring unsupported character ' 'rivers/input/touchscreen/hxchipset/Kconfig:83:warning: ignoring unsupported character ' 'rivers/input/touchscreen/hxchipset/Kconfig:84:warning: ignoring unsupported character ' 'rivers/input/touchscreen/hxchipset/Kconfig:86:warning: ignoring unsupported character ' drivers/input/touchscreen/hxchipset/Kconfig:87:warning: ignoring unsupported character '+' 'rivers/input/touchscreen/hxchipset/Kconfig:87:warning: ignoring unsupported character ' 'rivers/input/touchscreen/hxchipset/Kconfig:88:warning: ignoring unsupported character ' 'rivers/input/touchscreen/hxchipset/Kconfig:89:warning: ignoring unsupported character ' 'rivers/input/touchscreen/hxchipset/Kconfig:90:warning: ignoring unsupported character ' 'rivers/input/touchscreen/hxchipset/Kconfig:92:warning: ignoring unsupported character ' 'rivers/input/touchscreen/hxchipset/Kconfig:94:warning: ignoring unsupported character ' drivers/input/touchscreen/hxchipset/Kconfig:95:warning: ignoring unsupported character '+' 'rivers/input/touchscreen/hxchipset/Kconfig:95:warning: ignoring unsupported character ' 'rivers/input/touchscreen/hxchipset/Kconfig:96:warning: ignoring unsupported character ' 'rivers/input/touchscreen/hxchipset/Kconfig:97:warning: ignoring unsupported character ' 'rivers/input/touchscreen/hxchipset/Kconfig:98:warning: ignoring unsupported character ' drivers/input/touchscreen/hxchipset/Kconfig:100:warning: ignoring unsupported character '+' 'rivers/input/touchscreen/hxchipset/Kconfig:100:warning: ignoring unsupported character ' 'rivers/input/touchscreen/hxchipset/Kconfig:101:warning: ignoring unsupported character ' 'rivers/input/touchscreen/hxchipset/Kconfig:102:warning: ignoring unsupported character ' 'rivers/input/touchscreen/hxchipset/Kconfig:103:warning: ignoring unsupported character ' 'rivers/input/touchscreen/hxchipset/Kconfig:105:warning: ignoring unsupported character ' drivers/input/touchscreen/hxchipset/Kconfig:106:warning: ignoring unsupported character '+' 'rivers/input/touchscreen/hxchipset/Kconfig:106:warning: ignoring unsupported character ' 'rivers/input/touchscreen/hxchipset/Kconfig:107:warning: ignoring unsupported character ' 'rivers/input/touchscreen/hxchipset/Kconfig:108:warning: ignoring unsupported character ' 'rivers/input/touchscreen/hxchipset/Kconfig:109:warning: ignoring unsupported character ' 'rivers/input/touchscreen/hxchipset/Kconfig:111:warning: ignoring unsupported character ' drivers/input/touchscreen/hxchipset/Kconfig:112:warning: ignoring unsupported character '+' 'rivers/input/touchscreen/hxchipset/Kconfig:112:warning: ignoring unsupported character ' 'rivers/input/touchscreen/hxchipset/Kconfig:113:warning: ignoring unsupported character ' 'rivers/input/touchscreen/hxchipset/Kconfig:114:warning: ignoring unsupported character ' 'rivers/input/touchscreen/hxchipset/Kconfig:115:warning: ignoring unsupported character ' 'rivers/input/touchscreen/hxchipset/Kconfig:117:warning: ignoring unsupported character ' 'rivers/char/i2c_devinfo/Kconfig:1:warning: ignoring unsupported character ' 'rivers/char/i2c_devinfo/Kconfig:2:warning: ignoring unsupported character ' 'rivers/char/i2c_devinfo/Kconfig:3:warning: ignoring unsupported character ' 'rivers/char/i2c_devinfo/Kconfig:4:warning: ignoring unsupported character ' arch/arm64/configs/vendor/arnoz_prc_lte-perf_defconfig:749:warning: override: reassigning to symbol UHID #

configuration written to .config

# make[1]: 离开目录“/home/jerry/arrow/out/target/product/J607F/obj/DTBO_OBJ” make: 离开目录“/home/jerry/arrow/kernel/lenovo/J607Z” make: 进入目录“/home/jerry/arrow/kernel/lenovo/J607Z” make[1]: 进入目录“/home/jerry/arrow/out/target/product/J607F/obj/DTBO_OBJ” GEN ./Makefile WRAP arch/arm64/include/generated/uapi/asm/errno.h WRAP arch/arm64/include/generated/uapi/asm/ioctl.h WRAP arch/arm64/include/generated/uapi/asm/ioctls.h WRAP arch/arm64/include/generated/uapi/asm/ipcbuf.h WRAP arch/arm64/include/generated/uapi/asm/kvm_para.h WRAP arch/arm64/include/generated/uapi/asm/mman.h WRAP arch/arm64/include/generated/uapi/asm/msgbuf.h WRAP arch/arm64/include/generated/uapi/asm/poll.h WRAP arch/arm64/include/generated/uapi/asm/resource.h WRAP arch/arm64/include/generated/uapi/asm/sembuf.h WRAP arch/arm64/include/generated/uapi/asm/shmbuf.h WRAP arch/arm64/include/generated/uapi/asm/socket.h WRAP arch/arm64/include/generated/uapi/asm/sockios.h WRAP arch/arm64/include/generated/uapi/asm/swab.h WRAP arch/arm64/include/generated/uapi/asm/termbits.h WRAP arch/arm64/include/generated/uapi/asm/termios.h WRAP arch/arm64/include/generated/uapi/asm/types.h UPD include/generated/uapi/linux/version.h UPD include/config/kernel.release WRAP arch/arm64/include/generated/asm/bugs.h WRAP arch/arm64/include/generated/asm/delay.h WRAP arch/arm64/include/generated/asm/div64.h WRAP arch/arm64/include/generated/asm/dma.h WRAP arch/arm64/include/generated/asm/dma-contiguous.h WRAP arch/arm64/include/generated/asm/early_ioremap.h WRAP arch/arm64/include/generated/asm/emergency-restart.h WRAP arch/arm64/include/generated/asm/hw_irq.h WRAP arch/arm64/include/generated/asm/irq_regs.h Using /home/jerry/arrow/kernel/lenovo/J607Z as source for kernel WRAP arch/arm64/include/generated/asm/kdebug.h WRAP arch/arm64/include/generated/asm/kmap_types.h WRAP arch/arm64/include/generated/asm/local.h WRAP arch/arm64/include/generated/asm/local64.h WRAP arch/arm64/include/generated/asm/mcs_spinlock.h WRAP arch/arm64/include/generated/asm/mm-arch-hooks.h WRAP arch/arm64/include/generated/asm/msi.h WRAP arch/arm64/include/generated/asm/preempt.h WRAP arch/arm64/include/generated/asm/qrwlock.h WRAP arch/arm64/include/generated/asm/qspinlock.h WRAP arch/arm64/include/generated/asm/rwsem.h WRAP arch/arm64/include/generated/asm/segment.h WRAP arch/arm64/include/generated/asm/serial.h WRAP arch/arm64/include/generated/asm/set_memory.h WRAP arch/arm64/include/generated/asm/sizes.h WRAP arch/arm64/include/generated/asm/switch_to.h WRAP arch/arm64/include/generated/asm/trace_clock.h WRAP arch/arm64/include/generated/asm/unaligned.h WRAP arch/arm64/include/generated/asm/user.h WRAP arch/arm64/include/generated/asm/vga.h WRAP arch/arm64/include/generated/asm/xor.h UPD include/generated/utsrelease.h HOSTCC scripts/bin2c HOSTCC scripts/kallsyms HOSTCC scripts/pnmtologo HOSTCC scripts/genksyms/genksyms.o CC scripts/mod/empty.o HOSTCC scripts/sortextable YACC scripts/genksyms/parse.tab.c clang-12: warning: argument unused during compilation: '-fuse-ld=lld' [-Wunused-command-line-argument] HOSTCC scripts/selinux/genheaders/genheaders HOSTCC scripts/asn1_compiler LEX scripts/genksyms/lex.lex.c YACC scripts/genksyms/parse.tab.h HOSTCC scripts/mod/mk_elfconfig CC scripts/mod/devicetable-offsets.s HOSTCC scripts/selinux/mdp/mdp HOSTCC scripts/genksyms/parse.tab.o HOSTCC scripts/genksyms/lex.lex.o clang-12: warning: argument unused during compilation: '-fuse-ld=lld' [-Wunused-command-line-argument] HOSTCC scripts/sign-file clang-12: warning: argument unused during compilation: '-fuse-ld=lld' [-Wunused-command-line-argument] HOSTCC scripts/extract-cert MKELF scripts/mod/elfconfig.h HOSTCC scripts/mod/modpost.o HOSTCC scripts/mod/sumversion.o clang-12: warning: argument unused during compilation: '-fuse-ld=lld' [-Wunused-command-line-argument] clang-12: warning: argument unused during compilation: '-fuse-ld=lld' [-Wunused-command-line-argument] /home/jerry/arrow/kernel/lenovo/J607Z/scripts/mod/modpost.c:688:9: warning: format string is empty [-Wformat-zero-length] warn("", ^~ UPD scripts/mod/devicetable-offsets.h HOSTCC scripts/mod/file2alias.o clang-12: warning: argument unused during compilation: '-fuse-ld=lld' [-Wunused-command-line-argument] HOSTLD scripts/genksyms/genksyms 1 warning generated. HOSTLD scripts/mod/modpost CC kernel/bounds.s UPD include/generated/timeconst.h UPD include/generated/bounds.h CC arch/arm64/kernel/asm-offsets.s UPD include/generated/asm-offsets.h CALL /home/jerry/arrow/kernel/lenovo/J607Z/scripts/checksyscalls.sh LDS arch/arm64/kernel/vdso/vdso.lds CC arch/arm64/kernel/vdso/vgettimeofday.o AS arch/arm64/kernel/vdso/note.o AS arch/arm64/kernel/vdso/sigreturn.o LD arch/arm64/kernel/vdso/vdso.so.dbg VDSOSYM include/generated/vdso-offsets.h LDS arch/arm64/kernel/vdso32/vdso.lds CC32 arch/arm64/kernel/vdso32/note.o CC32 arch/arm64/kernel/vdso32/vgettimeofday.o AS32 arch/arm64/kernel/vdso32/sigreturn.o HOSTCC arch/arm64/kernel/vdso32/../../../arm/vdso/vdsomunge LD32 arch/arm64/kernel/vdso32/vdso.so.raw MUNGE arch/arm64/kernel/vdso32/vdso.so.dbg VDSOSYM include/generated/vdso32-offsets.h DTC arch/arm64/boot/dts/qcom/apq8016-sbc.dtb DTC arch/arm64/boot/dts/qcom/apq8096-db820c.dtb DTC arch/arm64/boot/dts/qcom/ipq8074-hk01.dtb DTC arch/arm64/boot/dts/qcom/msm8916-mtp.dtb DTC arch/arm64/boot/dts/qcom/msm8992-bullhead-rev-101.dtb DTC arch/arm64/boot/dts/qcom/msm8994-angler-rev-101.dtb DTC arch/arm64/boot/dts/qcom/msm8996-mtp.dtb DTC arch/arm64/boot/dts/qcom/sdm845-mtp.dtb make[1]: 离开目录“/home/jerry/arrow/out/target/product/J607F/obj/DTBO_OBJ” make: 离开目录“/home/jerry/arrow/kernel/lenovo/J607Z” Traceback (most recent call last): File "/home/jerry/arrow/out/host/linux-x86/bin/mkdtboimg.py/internal/stdlib/runpy.py", line 174, in _run_module_as_main File "/home/jerry/arrow/out/host/linux-x86/bin/mkdtboimg.py/internal/stdlib/runpy.py", line 72, in _run_code File "/home/jerry/arrow/out/host/linux-x86/bin/mkdtboimg.py/main.py", line 12, in File "/home/jerry/arrow/out/host/linux-x86/bin/mkdtboimg.py/internal/stdlib/runpy.py", line 174, in _run_module_as_main File "/home/jerry/arrow/out/host/linux-x86/bin/mkdtboimg.py/internal/stdlib/runpy.py", line 72, in _run_code File "/home/jerry/arrow/out/host/linux-x86/bin/mkdtboimg.py/mkdtboimg.py", line 1052, in File "/home/jerry/arrow/out/host/linux-x86/bin/mkdtboimg.py/mkdtboimg.py", line 1049, in main File "/home/jerry/arrow/out/host/linux-x86/bin/mkdtboimg.py/mkdtboimg.py", line 850, in create_dtbo_image ValueError: List of dtimages to add to DTBO not provided 23:12:09 ninja failed with: exit status 1

failed to build some targets (01:34:27 (hh:mm:ss))

bigsaltyfishes commented 2 years ago

看了一下你的日志,DT没有被正常构建,可能是因为我的代码仓库之前有过强制提交撤销修改,你没成功拉取下来,我在服务器和自己的电脑上都能正常构建的,看看你拉取的内核里面有没有 arch/arm64/boot/dts/vendor 这个目录而非符号链接,你可以试试重新拉取最新的代码,可以使用我的 manifest 仓库拉取

git clone https://github.com/bigsaltyfishes/manifest_J607F .repo/local_manifests
repo sync -c -j4 --force-sync --no-tags --no-clone-bundle
jerry3055 commented 2 years ago

看了一下你的日志,DT没有被正常构建,可能是因为我的代码仓库之前有过强制提交撤销修改,你没成功拉取下来,我在服务器和自己的电脑上都能正常构建的,看看你拉取的内核里面有没有 arch/arm64/boot/dts/vendor 这个目录而非符号链接,你可以试试重新拉取最新的代码,可以使用我的 manifest 仓库拉取

git clone https://github.com/bigsaltyfishes/manifest_J607F .repo/local_manifests
repo sync -c -j4 --force-sync --no-tags --no-clone-bundle

有这些东西,也是通过manifest拉下来的,并且也重新同步了很多次了

文件如下

./vendor:
Makefile  qcom

./vendor/qcom:
01.dtsdump_Qualcomm_Technologies,_Inc._Lito_v2_LCD_ATP.dts
02.dtsdump_Qualcomm_Technologies,_Inc._Lito_v2_MTP.dts
03.dtsdump_Qualcomm_Technologies,_Inc._Lito_v2_CDP.dts
04.dtsdump_Qualcomm_Technologies,_Inc._Orchid_CDP.dts
05.dtsdump_Qualcomm_Technologies,_Inc._Litomagnus_CDP.dts
06.dtsdump_Qualcomm_Technologies,_Inc._Lagoon_MTP.dts
07.dtsdump_Qualcomm_Technologies,_Inc._Lagoon_QRD.dts
08.dtsdump_Qualcomm_Technologies,_Inc._Lagoon_CDP.dts
09.dtsdump_Qualcomm_Technologies,_Inc._Lagoon_RUMI.dts
10.dtsdump_Qualcomm_Technologies,_Inc._Lito_v2_QRD.dts
11.dtsdump_Qualcomm_Technologies,_Inc._Litomagnus_MTP.dts
12.dtsdump_Qualcomm_Technologies,_Inc._Lito_MTP.dts
13.dtsdump_Qualcomm_Technologies,_Inc._Lagoon_ATP.dts
14.dtsdump_Qualcomm_Technologies,_Inc._Lito_QRD.dts
15.dtsdump_Qualcomm_Technologies,_Inc._Lagoon_MTP_USBC_audio.dts
16.dtsdump_Qualcomm_Technologies,_Inc._Lito_CDP.dts
17.dtsdump_Qualcomm_Technologies,_Inc._Lito_v2_ATP.dts
18.dtsdump_Qualcomm_Technologies,_Inc._Lito_RUMI.dts
19.dtsdump_Qualcomm_Technologies,_Inc._Lito_ATP.dts
20.dtsdump_Qualcomm_Technologies,_Inc._Orchid_MTP.dts
lagoon.dts
lito.dts
litomagnus.dts
litov2.dts
Makefile
orchid.dts
s7lv.dts

manifest

<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<remote name="bigsaltyfishes" fetch="https://github.com/bigsaltyfishes/" />

<!-- Device Tree for J607F  -->
<project path="device/lenovo/J607F" name="device_lenovo_J607F" remote="bigsaltyfishes" revision="snowland" />

<!-- Vendor Blobs for J607F  -->
<project path="vendor/lenovo/J607F" name="vendor_lenovo_J607F" remote="bigsaltyfishes" revision="eleven" />

<!-- Kernel for J607F  -->
<project path="kernel/lenovo/J607Z" name="kernel_lenovo_J607Z" remote="bigsaltyfishes" revision="eleven" />

</manifest>
bigsaltyfishes commented 2 years ago

看了一下你的日志,DT没有被正常构建,可能是因为我的代码仓库之前有过强制提交撤销修改,你没成功拉取下来,我在服务器和自己的电脑上都能正常构建的,看看你拉取的内核里面有没有 arch/arm64/boot/dts/vendor 这个目录而非符号链接,你可以试试重新拉取最新的代码,可以使用我的 manifest 仓库拉取

git clone https://github.com/bigsaltyfishes/manifest_J607F .repo/local_manifests
repo sync -c -j4 --force-sync --no-tags --no-clone-bundle

有这些东西,也是通过manifest拉下来的,并且也重新同步了很多次了

文件如下

./vendor:
Makefile  qcom

./vendor/qcom:
01.dtsdump_Qualcomm_Technologies,_Inc._Lito_v2_LCD_ATP.dts
02.dtsdump_Qualcomm_Technologies,_Inc._Lito_v2_MTP.dts
03.dtsdump_Qualcomm_Technologies,_Inc._Lito_v2_CDP.dts
04.dtsdump_Qualcomm_Technologies,_Inc._Orchid_CDP.dts
05.dtsdump_Qualcomm_Technologies,_Inc._Litomagnus_CDP.dts
06.dtsdump_Qualcomm_Technologies,_Inc._Lagoon_MTP.dts
07.dtsdump_Qualcomm_Technologies,_Inc._Lagoon_QRD.dts
08.dtsdump_Qualcomm_Technologies,_Inc._Lagoon_CDP.dts
09.dtsdump_Qualcomm_Technologies,_Inc._Lagoon_RUMI.dts
10.dtsdump_Qualcomm_Technologies,_Inc._Lito_v2_QRD.dts
11.dtsdump_Qualcomm_Technologies,_Inc._Litomagnus_MTP.dts
12.dtsdump_Qualcomm_Technologies,_Inc._Lito_MTP.dts
13.dtsdump_Qualcomm_Technologies,_Inc._Lagoon_ATP.dts
14.dtsdump_Qualcomm_Technologies,_Inc._Lito_QRD.dts
15.dtsdump_Qualcomm_Technologies,_Inc._Lagoon_MTP_USBC_audio.dts
16.dtsdump_Qualcomm_Technologies,_Inc._Lito_CDP.dts
17.dtsdump_Qualcomm_Technologies,_Inc._Lito_v2_ATP.dts
18.dtsdump_Qualcomm_Technologies,_Inc._Lito_RUMI.dts
19.dtsdump_Qualcomm_Technologies,_Inc._Lito_ATP.dts
20.dtsdump_Qualcomm_Technologies,_Inc._Orchid_MTP.dts
lagoon.dts
lito.dts
litomagnus.dts
litov2.dts
Makefile
orchid.dts
s7lv.dts

manifest

<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<remote name="bigsaltyfishes" fetch="https://github.com/bigsaltyfishes/" />

<!-- Device Tree for J607F  -->
<project path="device/lenovo/J607F" name="device_lenovo_J607F" remote="bigsaltyfishes" revision="snowland" />

<!-- Vendor Blobs for J607F  -->
<project path="vendor/lenovo/J607F" name="vendor_lenovo_J607F" remote="bigsaltyfishes" revision="eleven" />

<!-- Kernel for J607F  -->
<project path="kernel/lenovo/J607Z" name="kernel_lenovo_J607Z" remote="bigsaltyfishes" revision="eleven" />

</manifest>

尝试下使用 ZUI12 的 DT,看看能否正常编译

rm -rf kernel/lenovo/J607Z/arch/arm64/boot/dts/vendor
git clone https://github.com/bigsaltyfishes/kernel_vendor_qcom_experiment kernel/lenovo/J607Z/arch/arm64/boot/dts/vendor
jerry3055 commented 2 years ago

看了一下你的日志,DT没有被正常构建,可能是因为我的代码仓库之前有过强制提交撤销修改,你没成功拉取下来,我在服务器和自己的电脑上都能正常构建的,看看你拉取的内核里面有没有 arch/arm64/boot/dts/vendor 这个目录而非符号链接,你可以试试重新拉取最新的代码,可以使用我的 manifest 仓库拉取

git clone https://github.com/bigsaltyfishes/manifest_J607F .repo/local_manifests
repo sync -c -j4 --force-sync --no-tags --no-clone-bundle

有这些东西,也是通过manifest拉下来的,并且也重新同步了很多次了

文件如下

./vendor:
Makefile  qcom

./vendor/qcom:
01.dtsdump_Qualcomm_Technologies,_Inc._Lito_v2_LCD_ATP.dts
02.dtsdump_Qualcomm_Technologies,_Inc._Lito_v2_MTP.dts
03.dtsdump_Qualcomm_Technologies,_Inc._Lito_v2_CDP.dts
04.dtsdump_Qualcomm_Technologies,_Inc._Orchid_CDP.dts
05.dtsdump_Qualcomm_Technologies,_Inc._Litomagnus_CDP.dts
06.dtsdump_Qualcomm_Technologies,_Inc._Lagoon_MTP.dts
07.dtsdump_Qualcomm_Technologies,_Inc._Lagoon_QRD.dts
08.dtsdump_Qualcomm_Technologies,_Inc._Lagoon_CDP.dts
09.dtsdump_Qualcomm_Technologies,_Inc._Lagoon_RUMI.dts
10.dtsdump_Qualcomm_Technologies,_Inc._Lito_v2_QRD.dts
11.dtsdump_Qualcomm_Technologies,_Inc._Litomagnus_MTP.dts
12.dtsdump_Qualcomm_Technologies,_Inc._Lito_MTP.dts
13.dtsdump_Qualcomm_Technologies,_Inc._Lagoon_ATP.dts
14.dtsdump_Qualcomm_Technologies,_Inc._Lito_QRD.dts
15.dtsdump_Qualcomm_Technologies,_Inc._Lagoon_MTP_USBC_audio.dts
16.dtsdump_Qualcomm_Technologies,_Inc._Lito_CDP.dts
17.dtsdump_Qualcomm_Technologies,_Inc._Lito_v2_ATP.dts
18.dtsdump_Qualcomm_Technologies,_Inc._Lito_RUMI.dts
19.dtsdump_Qualcomm_Technologies,_Inc._Lito_ATP.dts
20.dtsdump_Qualcomm_Technologies,_Inc._Orchid_MTP.dts
lagoon.dts
lito.dts
litomagnus.dts
litov2.dts
Makefile
orchid.dts
s7lv.dts

manifest

<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<remote name="bigsaltyfishes" fetch="https://github.com/bigsaltyfishes/" />

<!-- Device Tree for J607F  -->
<project path="device/lenovo/J607F" name="device_lenovo_J607F" remote="bigsaltyfishes" revision="snowland" />

<!-- Vendor Blobs for J607F  -->
<project path="vendor/lenovo/J607F" name="vendor_lenovo_J607F" remote="bigsaltyfishes" revision="eleven" />

<!-- Kernel for J607F  -->
<project path="kernel/lenovo/J607Z" name="kernel_lenovo_J607Z" remote="bigsaltyfishes" revision="eleven" />

</manifest>

尝试下使用 ZUI12 的 DT,看看能否正常编译

rm -rf kernel/lenovo/J607Z/arch/arm64/boot/dts/vendor
git clone https://github.com/bigsaltyfishes/kernel_vendor_qcom_experiment kernel/lenovo/J607Z/arch/arm64/boot/dts/vendor

好的,我去试一下,感谢~

晚安了~

jerry3055 commented 2 years ago

跑通了,果然是拉的内核有问题。