MiCode / Xiaomi_Kernel_OpenSource

Xiaomi Mobile Phone Kernel OpenSource
8.72k stars 3.22k forks source link

xiaomi12S Unexpected GOT/PLT entries detected! #5361

Open yxhit opened 1 year ago

yxhit commented 1 year ago

make
SYNC include/generated/autoconf.h CALL scripts/checksyscalls.sh CALL scripts/atomic/check-atomics.sh CHK include/generated/compile.h GEN .version CHK include/generated/compile.h UPD include/generated/compile.h CC init/version.o AR init/built-in.a LD vmlinux.o MODPOST vmlinux.symvers MODINFO modules.builtin.modinfo GEN modules.builtin LD .tmp_vmlinux.kallsyms1 /home/x-potato/gcc-arm64-gcc-master/bin/aarch64-elf-ld: Unexpected GOT/PLT entries detected! /home/x-potato/gcc-arm64-gcc-master/bin/aarch64-elf-ld: Unexpected run-time procedure linkages detected! /home/x-potato/gcc-arm64-gcc-master/bin/aarch64-elf-ld: warning: .tmp_vmlinux.kallsyms1 has a LOAD segment with RWX permissions /home/x-potato/gcc-arm64-gcc-master/bin/aarch64-elf-ld: drivers/iommu/arm/arm-smmu/arm-smmu.o: in function arm_smmu_get_resv_regions': /home/x-potato/Xiaomi_Kernel_OpenSource-mayfly-s-oss/drivers/iommu/arm/arm-smmu/arm-smmu.c:3198: undefined reference toqcom_iommu_generate_resv_regions' /home/x-potato/gcc-arm64-gcc-master/bin/aarch64-elf-ld: drivers/iommu/arm/arm-smmu/arm-smmu.o: in function arm_smmu_destroy_domain_context': /home/x-potato/Xiaomi_Kernel_OpenSource-mayfly-s-oss/drivers/iommu/arm/arm-smmu/arm-smmu.c:1814: undefined reference toqcom_free_io_pgtable_ops' /home/x-potato/gcc-arm64-gcc-master/bin/aarch64-elf-ld: drivers/iommu/arm/arm-smmu/arm-smmu.o: in function arm_smmu_init_domain_context': /home/x-potato/Xiaomi_Kernel_OpenSource-mayfly-s-oss/drivers/iommu/arm/arm-smmu/arm-smmu.c:1619: undefined reference toqcom_iommu_get_fast_iova_range' /home/x-potato/gcc-arm64-gcc-master/bin/aarch64-elf-ld: /home/x-potato/Xiaomi_Kernel_OpenSource-mayfly-s-oss/drivers/iommu/arm/arm-smmu/arm-smmu.c:1668: undefined reference to qcom_alloc_io_pgtable_ops' /home/x-potato/gcc-arm64-gcc-master/bin/aarch64-elf-ld: drivers/thermal/thermal_core.o: in functionthermal_pm_notify': /home/x-potato/Xiaomi_Kernel_OpenSource-mayfly-s-oss/drivers/thermal/thermal_core.c:1635: undefined reference to `trace_android_vh_thermal_pm_notify_suspend' make: *** [Makefile:1340: vmlinux] Error 1

L4FeeR commented 9 months ago

Did u find the solution?