@mmerkulov0

Ccache: error: execv of ... failed: Permission denied при компиляции ядра андроид, как исправить?

Мне нужно скомпилировать из исходников ядро Helios pro.
Скачал нужные библиотеки, исходники ядра и тулчейн. Отконфигурировал ядро через make menuconfig. Пишу make modules_prepare, но тут ccache выдаёт ошибку: ccache: error: execv of home/maks/OTG/compx/aarch64-linux-gnu/bingcc failed: Permission denied
Пробовал chmod +x [файлы компилятора]
PS - /home/maks/OTG/compx/aarch64-linux-gnu/bingcc failed - путь к тулчейну.
Вот полный вывод make:
ccache: error: execv of /home/maks/OTG/compx/aarch64-linux-gnu/bingcc failed: Permission denied
  HOSTCC  scripts/kconfig/conf.o
  HOSTLD  scripts/kconfig/conf
scripts/kconfig/conf --silentoldconfig Kconfig
Kconfig:15:warning: environment variable ANDROID_MAJOR_VERSION undefined
arch/Kconfig:392:warning: choice value must have a prompt
arch/Kconfig:394:warning: defaults for choice values not supported
warning: (WIREGUARD) selects KERNEL_MODE_NEON which has unmet direct dependencies (NEON && AEABI)
#
# configuration written to .config
#
warning: (WIREGUARD) selects KERNEL_MODE_NEON which has unmet direct dependencies (NEON && AEABI)
ccache: error: execv of /home/maks/OTG/compx/aarch64-linux-gnu/bingcc failed: Permission denied
  CHK     include/config/kernel.release
  UPD     include/config/kernel.release
  WRAP    arch/arm/include/generated/asm/bitsperlong.h
  WRAP    arch/arm/include/generated/asm/cputime.h
  WRAP    arch/arm/include/generated/asm/current.h
  WRAP    arch/arm/include/generated/asm/emergency-restart.h
  WRAP    arch/arm/include/generated/asm/errno.h
  WRAP    arch/arm/include/generated/asm/exec.h
  WRAP    arch/arm/include/generated/asm/hash.h
  WRAP    arch/arm/include/generated/asm/ioctl.h
  WRAP    arch/arm/include/generated/asm/ipcbuf.h
  WRAP    arch/arm/include/generated/asm/irq_regs.h
  WRAP    arch/arm/include/generated/asm/kdebug.h
  WRAP    arch/arm/include/generated/asm/local.h
  WRAP    arch/arm/include/generated/asm/local64.h
  WRAP    arch/arm/include/generated/asm/mcs_spinlock.h
  WRAP    arch/arm/include/generated/asm/msgbuf.h
  WRAP    arch/arm/include/generated/asm/param.h
  WRAP    arch/arm/include/generated/asm/parport.h
  WRAP    arch/arm/include/generated/asm/poll.h
  WRAP    arch/arm/include/generated/asm/preempt.h
  WRAP    arch/arm/include/generated/asm/resource.h
  WRAP    arch/arm/include/generated/asm/rwsem.h
  WRAP    arch/arm/include/generated/asm/scatterlist.h
  WRAP    arch/arm/include/generated/asm/sections.h
  WRAP    arch/arm/include/generated/asm/segment.h
  WRAP    arch/arm/include/generated/asm/sembuf.h
  WRAP    arch/arm/include/generated/asm/serial.h
  WRAP    arch/arm/include/generated/asm/shmbuf.h
  WRAP    arch/arm/include/generated/asm/siginfo.h
  WRAP    arch/arm/include/generated/asm/simd.h
  WRAP    arch/arm/include/generated/asm/sizes.h
  WRAP    arch/arm/include/generated/asm/socket.h
  WRAP    arch/arm/include/generated/asm/sockios.h
  WRAP    arch/arm/include/generated/asm/termbits.h
  WRAP    arch/arm/include/generated/asm/termios.h
  WRAP    arch/arm/include/generated/asm/timex.h
  WRAP    arch/arm/include/generated/asm/trace_clock.h
  CHK     include/generated/uapi/linux/version.h
  UPD     include/generated/uapi/linux/version.h
  CHK     include/generated/utsrelease.h
  UPD     include/generated/utsrelease.h
  Generating include/generated/mach-types.h
  CC      kernel/bounds.s
ccache: error: execv of /home/maks/OTG/compx/aarch64-linux-gnu/bingcc failed: Permission denied
make[1]: *** [Kbuild:36: kernel/bounds.s] Ошибка 1
make: *** [Makefile:1055: prepare0] Ошибка 2

PPS:
Ссылка на исходнники ядра: https://github.com/ananjaser1211/Helios_7870
Ссыдка на тулчейн: https://releases.linaro.org/components/toolchain/b...
Срочно нужно исправить данную ошибку, буду очень благодарен!
  • Вопрос задан
  • 270 просмотров
Пригласить эксперта
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Похожие вопросы