M
M
merkulov02019-08-08 22:03:23
Android
merkulov0, 2019-08-08 22:03:23

Ccache: error: execv of ... failed: Permission denied while compiling android kernel, how to fix?

I need to compile the Helios pro kernel from source.
I downloaded the necessary libraries, kernel sources and toolchain. I configured the kernel with make menuconfig. I write make modules_prepare, but here ccache gives an error: ccache: error: execv of home/maks/OTG/compx/aarch64-linux-gnu/bingcc failed: Permission denied
Tried chmod +x [compiler files]
PS - /home/maks/ OTG/compx/aarch64-linux-gnu/bingcc failed - the path to the toolchain.
Here is the full output of 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:
Link to kernel sources: https://github.com/ananjaser1211/Helios_7870
Link to toolchain: https://releases.linaro.org/components/toolchain/b...
Urgently need to fix this error, I will be very grateful!

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question