DEBUG: Executing shell function do_compile
NOTE: make -j 4
CC arm-linux-user/user-exec.o
CC aarch64-linux-user/user-exec.o
/imx6/MYS-6ULX/fsl-release-bsp/build/tmp/work/x86_64-linux/qemu-native/2.5.0-r1/qemu-2.5.0/user-exec.c: In function 'cpu_resume_from_signal':
/imx6/MYS-6ULX/fsl-release-bsp/build/tmp/work/x86_64-linux/qemu-native/2.5.0-r1/qemu-2.5.0/user-exec.c:73:36: error: dereferencing pointer to incomplete type 'struct ucontext'
sigprocmask(SIG_SETMASK, &uc->uc_sigmask, NULL);
^~
/imx6/MYS-6ULX/fsl-release-bsp/build/tmp/work/x86_64-linux/qemu-native/2.5.0-r1/qemu-2.5.0/user-exec.c: In function 'cpu_arm_signal_handler':
/imx6/MYS-6ULX/fsl-release-bsp/build/tmp/work/x86_64-linux/qemu-native/2.5.0-r1/qemu-2.5.0/user-exec.c:224:41: error: dereferencing pointer to incomplete type 'struct ucontext'
#define PC_sig(context) ((context)->uc_mcontext.gregs[REG_RIP])
^
/imx6/MYS-6ULX/fsl-release-bsp/build/tmp/work/x86_64-linux/qemu-native/2.5.0-r1/qemu-2.5.0/user-exec.c:244:10: note: in expansion of macro 'PC_sig'
pc = PC_sig(uc);
^~~~~~
/imx6/MYS-6ULX/fsl-release-bsp/build/tmp/work/x86_64-linux/qemu-native/2.5.0-r1/qemu-2.5.0/user-exec.c:250:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
/imx6/MYS-6ULX/fsl-release-bsp/build/tmp/work/x86_64-linux/qemu-native/2.5.0-r1/qemu-2.5.0/rules.mak:57: recipe for target 'user-exec.o' failed
make[1]: *** [user-exec.o] Error 1
Makefile:184: recipe for target 'subdir-aarch64-linux-user' failed
make: *** [subdir-aarch64-linux-user] Error 2
make: *** Waiting for unfinished jobs....
CC arm-linux-user/linux-user/arm/nwfpe/extended_cpdo.o
/imx6/MYS-6ULX/fsl-release-bsp/build/tmp/work/x86_64-linux/qemu-native/2.5.0-r1/qemu-2.5.0/user-exec.c: In function 'cpu_resume_from_signal':
/imx6/MYS-6ULX/fsl-release-bsp/build/tmp/work/x86_64-linux/qemu-native/2.5.0-r1/qemu-2.5.0/user-exec.c:73:36: error: dereferencing pointer to incomplete type 'struct ucontext'
sigprocmask(SIG_SETMASK, &uc->uc_sigmask, NULL);
^~
/imx6/MYS-6ULX/fsl-release-bsp/build/tmp/work/x86_64-linux/qemu-native/2.5.0-r1/qemu-2.5.0/user-exec.c: In function 'cpu_arm_signal_handler':
/imx6/MYS-6ULX/fsl-release-bsp/build/tmp/work/x86_64-linux/qemu-native/2.5.0-r1/qemu-2.5.0/user-exec.c:224:41: error: dereferencing pointer to incomplete type 'struct ucontext'
#define PC_sig(context) ((context)->uc_mcontext.gregs[REG_RIP])
^
/imx6/MYS-6ULX/fsl-release-bsp/build/tmp/work/x86_64-linux/qemu-native/2.5.0-r1/qemu-2.5.0/user-exec.c:244:10: note: in expansion of macro 'PC_sig'
pc = PC_sig(uc);
^~~~~~
/imx6/MYS-6ULX/fsl-release-bsp/build/tmp/work/x86_64-linux/qemu-native/2.5.0-r1/qemu-2.5.0/user-exec.c:250:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
/imx6/MYS-6ULX/fsl-release-bsp/build/tmp/work/x86_64-linux/qemu-native/2.5.0-r1/qemu-2.5.0/rules.mak:57: recipe for target 'user-exec.o' failed
make[1]: *** [user-exec.o] Error 1
make[1]: *** Waiting for unfinished jobs....
Makefile:184: recipe for target 'subdir-arm-linux-user' failed
make: *** [subdir-arm-linux-user] Error 2
WARNING: /imx6/MYS-6ULX/fsl-release-bsp/build/tmp/work/x86_64-linux/qemu-native/2.5.0-r1/temp/run.do_compile.9283:1 exit 1 from 'exit 1'
ERROR: oe_runmake failed
ERROR: Function failed: do_compile (log file is located at /imx6/MYS-6ULX/fsl-release-bsp/build/tmp/work/x86_64-linux/qemu-native/2.5.0-r1/temp/log.do_compile.9283)
what board and bsp version do you build? pls give more detailed information, and try to clean it and build again