DEBUG: Executing shell function do_compile
NOTE: make -j 10 KERNEL_SRC=TOPDIR/build/tmp/work-shared/qemuarm/kernel-source KERNEL_PATH=TOPDIR/build/tmp/work-shared/qemuarm/kernel-source KERNEL_VERSION=6.1.3-yocto-standard CC=arm-yoe-linux-gnueabi-gcc  -mno-thumb-interwork -marm -fuse-ld=bfd -fmacro-prefix-map=TOPDIR/build/tmp/work/qemuarm-yoe-linux-gnueabi/arm-ffa-tee/1.1.1-r0/git=/usr/src/debug/arm-ffa-tee/1.1.1-r0  -fdebug-prefix-map=TOPDIR/build/tmp/work/qemuarm-yoe-linux-gnueabi/arm-ffa-tee/1.1.1-r0/git=/usr/src/debug/arm-ffa-tee/1.1.1-r0  -fmacro-prefix-map=TOPDIR/build/tmp/work/qemuarm-yoe-linux-gnueabi/arm-ffa-tee/1.1.1-r0/git=/usr/src/debug/arm-ffa-tee/1.1.1-r0  -fdebug-prefix-map=TOPDIR/build/tmp/work/qemuarm-yoe-linux-gnueabi/arm-ffa-tee/1.1.1-r0/git=/usr/src/debug/arm-ffa-tee/1.1.1-r0  -fdebug-prefix-map=TOPDIR/build/tmp/work/qemuarm-yoe-linux-gnueabi/arm-ffa-tee/1.1.1-r0/recipe-sysroot=  -fmacro-prefix-map=TOPDIR/build/tmp/work/qemuarm-yoe-linux-gnueabi/arm-ffa-tee/1.1.1-r0/recipe-sysroot=  -fdebug-prefix-map=TOPDIR/build/tmp/work/qemuarm-yoe-linux-gnueabi/arm-ffa-tee/1.1.1-r0/recipe-sysroot-native=  -fdebug-prefix-map=TOPDIR/build/tmp/work-shared/qemuarm/kernel-source=/usr/src/kernel -fdebug-prefix-map=TOPDIR/build/tmp/work-shared/qemuarm/kernel-build-artifacts=/usr/src/kernel LD=arm-yoe-linux-gnueabi-ld.bfd   AR=arm-yoe-linux-gnueabi-ar  O=TOPDIR/build/tmp/work-shared/qemuarm/kernel-build-artifacts KBUILD_EXTRA_SYMBOLS=
make -C TOPDIR/build/tmp/work-shared/qemuarm/kernel-source M=TOPDIR/build/tmp/work/qemuarm-yoe-linux-gnueabi/arm-ffa-tee/1.1.1-r0/git
make[1]: Entering directory 'TOPDIR/build/tmp/work-shared/qemuarm/kernel-source'
make[2]: Entering directory 'TOPDIR/build/tmp/work-shared/qemuarm/kernel-build-artifacts'
  CC [M]  TOPDIR/build/tmp/work/qemuarm-yoe-linux-gnueabi/arm-ffa-tee/1.1.1-r0/git/core.o
  CC [M]  TOPDIR/build/tmp/work/qemuarm-yoe-linux-gnueabi/arm-ffa-tee/1.1.1-r0/git/shm_pool_simplified.o
  CC [M]  TOPDIR/build/tmp/work/qemuarm-yoe-linux-gnueabi/arm-ffa-tee/1.1.1-r0/git/ts_msg.o
TOPDIR/build/tmp/work/qemuarm-yoe-linux-gnueabi/arm-ffa-tee/1.1.1-r0/git/ts_msg.c: In function 'ts_msg_sync_send_recv':
TOPDIR/build/tmp/work/qemuarm-yoe-linux-gnueabi/arm-ffa-tee/1.1.1-r0/git/ts_msg.c:73:30: error: invalid use of undefined type 'const struct ffa_dev_ops'
   73 |         rc = ctxdata->ffa_ops->sync_send_receive(ctxdata->ffa_dev, &data);
      |                              ^~
TOPDIR/build/tmp/work/qemuarm-yoe-linux-gnueabi/arm-ffa-tee/1.1.1-r0/git/ts_msg.c: In function 'ts_msg_shm_share':
TOPDIR/build/tmp/work/qemuarm-yoe-linux-gnueabi/arm-ffa-tee/1.1.1-r0/git/ts_msg.c:100:30: error: invalid use of undefined type 'const struct ffa_dev_ops'
  100 |         rc = ctxdata->ffa_ops->sync_send_receive(ctxdata->ffa_dev, &data);
      |                              ^~
TOPDIR/build/tmp/work/qemuarm-yoe-linux-gnueabi/arm-ffa-tee/1.1.1-r0/git/ts_msg.c: In function 'ts_msg_shm_reclaim':
TOPDIR/build/tmp/work/qemuarm-yoe-linux-gnueabi/arm-ffa-tee/1.1.1-r0/git/ts_msg.c:125:30: error: invalid use of undefined type 'const struct ffa_dev_ops'
  125 |         rc = ctxdata->ffa_ops->sync_send_receive(ctxdata->ffa_dev, &data);
      |                              ^~
make[3]: *** [TOPDIR/build/tmp/work-shared/qemuarm/kernel-source/scripts/Makefile.build:250: TOPDIR/build/tmp/work/qemuarm-yoe-linux-gnueabi/arm-ffa-tee/1.1.1-r0/git/ts_msg.o] Error 1
make[3]: *** Waiting for unfinished jobs....
TOPDIR/build/tmp/work/qemuarm-yoe-linux-gnueabi/arm-ffa-tee/1.1.1-r0/git/core.c: In function 'ffa_tee_shm_register':
TOPDIR/build/tmp/work/qemuarm-yoe-linux-gnueabi/arm-ffa-tee/1.1.1-r0/git/core.c:268:30: error: invalid use of undefined type 'const struct ffa_dev_ops'
  268 |         rc = ctxdata->ffa_ops->memory_share(ctxdata->ffa_dev, &args);
      |                              ^~
TOPDIR/build/tmp/work/qemuarm-yoe-linux-gnueabi/arm-ffa-tee/1.1.1-r0/git/core.c:284:33: error: invalid use of undefined type 'const struct ffa_dev_ops'
  284 |                 ctxdata->ffa_ops->memory_reclaim(shm->sec_world_id, 0);
      |                                 ^~
TOPDIR/build/tmp/work/qemuarm-yoe-linux-gnueabi/arm-ffa-tee/1.1.1-r0/git/core.c: In function 'ffa_tee_shm_unregister':
TOPDIR/build/tmp/work/qemuarm-yoe-linux-gnueabi/arm-ffa-tee/1.1.1-r0/git/core.c:309:30: error: invalid use of undefined type 'const struct ffa_dev_ops'
  309 |         rc = ctxdata->ffa_ops->memory_reclaim(shm->sec_world_id, 0);
      |                              ^~
TOPDIR/build/tmp/work/qemuarm-yoe-linux-gnueabi/arm-ffa-tee/1.1.1-r0/git/core.c: In function 'ffa_tee_probe':
TOPDIR/build/tmp/work/qemuarm-yoe-linux-gnueabi/arm-ffa-tee/1.1.1-r0/git/core.c:399:24: error: implicit declaration of function 'ffa_dev_ops_get' [-Werror=implicit-function-declaration]
  399 |         dev->ffa_ops = ffa_dev_ops_get(ffa_dev);
      |                        ^~~~~~~~~~~~~~~
TOPDIR/build/tmp/work/qemuarm-yoe-linux-gnueabi/arm-ffa-tee/1.1.1-r0/git/core.c:399:22: warning: assignment to 'const struct ffa_dev_ops *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
  399 |         dev->ffa_ops = ffa_dev_ops_get(ffa_dev);
      |                      ^
TOPDIR/build/tmp/work/qemuarm-yoe-linux-gnueabi/arm-ffa-tee/1.1.1-r0/git/core.c:403:29: error: invalid use of undefined type 'const struct ffa_dev_ops'
  403 |                 dev->ffa_ops->mode_32bit_set(ffa_dev);
      |                             ^~
cc1: some warnings being treated as errors
make[3]: *** [TOPDIR/build/tmp/work-shared/qemuarm/kernel-source/scripts/Makefile.build:250: TOPDIR/build/tmp/work/qemuarm-yoe-linux-gnueabi/arm-ffa-tee/1.1.1-r0/git/core.o] Error 1
make[2]: *** [TOPDIR/build/tmp/work-shared/qemuarm/kernel-source/Makefile:1992: TOPDIR/build/tmp/work/qemuarm-yoe-linux-gnueabi/arm-ffa-tee/1.1.1-r0/git] Error 2
make[2]: Leaving directory 'TOPDIR/build/tmp/work-shared/qemuarm/kernel-build-artifacts'
make[1]: *** [Makefile:231: __sub-make] Error 2
make[1]: Leaving directory 'TOPDIR/build/tmp/work-shared/qemuarm/kernel-source'
make: *** [Makefile:6: all] Error 2
ERROR: oe_runmake failed
WARNING: TOPDIR/build/tmp/work/qemuarm-yoe-linux-gnueabi/arm-ffa-tee/1.1.1-r0/temp/run.do_compile.24245:185 exit 1 from 'exit 1'
WARNING: Backtrace (BB generated script): 
	#1: bbfatal_log, TOPDIR/build/tmp/work/qemuarm-yoe-linux-gnueabi/arm-ffa-tee/1.1.1-r0/temp/run.do_compile.24245, line 185
	#2: die, TOPDIR/build/tmp/work/qemuarm-yoe-linux-gnueabi/arm-ffa-tee/1.1.1-r0/temp/run.do_compile.24245, line 169
	#3: oe_runmake, TOPDIR/build/tmp/work/qemuarm-yoe-linux-gnueabi/arm-ffa-tee/1.1.1-r0/temp/run.do_compile.24245, line 164
	#4: module_do_compile, TOPDIR/build/tmp/work/qemuarm-yoe-linux-gnueabi/arm-ffa-tee/1.1.1-r0/temp/run.do_compile.24245, line 153
	#5: do_compile, TOPDIR/build/tmp/work/qemuarm-yoe-linux-gnueabi/arm-ffa-tee/1.1.1-r0/temp/run.do_compile.24245, line 147
	#6: main, TOPDIR/build/tmp/work/qemuarm-yoe-linux-gnueabi/arm-ffa-tee/1.1.1-r0/temp/run.do_compile.24245, line 198

Error details

Submitted on:
11/01/23 09:09
Error type:
Recipe
Task:
do_compile
Recipe:
arm-ffa-tee
Recipe version:
1.1.1-r0
Machine:
qemuarm
Distro:
yoe
Build system:
x86_64-linux
Target system:
arm-yoe-linux-gnueabi
Host distro:
ubuntu-18.04/ubuntu-18.04
Branch:
HEAD
Commit:
f250c4c6fe4269ebf13a80c6a7d528a93ec13e53
Build:
#158488
Submitter:
Similar errors:
12
Open a bug