Hi,
I have downloaded the Yocto distribution, i have built the distribution by executing the below commands
DISTRO=fsl-imx-xwayland MACHINE=imx8mmevk source fsl-setup-release.sh -b build-xwayland
bitbake imx-image-multimedia
Build Configuration:
BB_VERSION = "1.42.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "ubuntu-16.04"
TARGET_SYS = "aarch64-poky-linux"
MACHINE = "imx8mmevk"
DISTRO = "fsl-imx-xwayland"
DISTRO_VERSION = "4.19-warrior"
TUNE_FEATURES = "aarch64"
TARGET_FPU = ""
For building the application in standalone environment, I tried to extract the SDK toolchain using the below command:
DISTRO=fsl-imx-xwayland MACHINE=imx8mmevk bitbake imx-image-multimedia -c populate_sdk
instead of core-image-minimal i tried imx-image-multimedia. I am getting errors. i have attached the complete error log as an attachment. below are the last few lines of error messsage:
combine.o: In function `recog_for_combine_1(rtx_def**, rtx_insn*, rtx_def**)':
combine.c:(.text+0x1f4d): undefined reference to `add_clobbers(rtx_def*, int)'
tree-vect-patterns.o: In function `vect_pattern_recog_1(vect_recog_func*, gimple_stmt_iterator, vec<gimple*, va_heap, vl_ptr>*) [clone .isra.65]':
tree-vect-patterns.c:(.text+0xcc3): undefined reference to `insn_data'
collect2: error: ld returned 1 exit status
../../../../../../../work-shared/gcc-8.3.0-r0/gcc-8.3.0/gcc/c/Make-lang.in:85: recipe for target 'cc1' failed
make[1]: *** [cc1] Error 1
collect2: error: ld returned 1 exit status
../../../../../../../work-shared/gcc-8.3.0-r0/gcc-8.3.0/gcc/lto/Make-lang.in:81: recipe for target 'lto1' failed
make[1]: *** [lto1] Error 1
make[1]: Leaving directory '/home/ubuntu/workspace/imx-yocto-bsp/build-xwayland/tmp/work/x86_64-linux/gcc-crosssdk-x86_64-pokysdk-linux/8.3.0-r0/gcc-8.3.0/build.x86_64-linux.x86_64-pokysdk-linux/gcc'
Makefile:4279: recipe for target 'all-gcc' failed
make: *** [all-gcc] Error 2
ERROR: oe_runmake failed
WARNING: exit code 1 from a shell command.
ERROR: Function failed: do_compile (log file is located at /home/ubuntu/workspace/imx-yocto-bsp/build-xwayland/tmp/work/x86_64-linux/gcc-crosssdk-x86_64-pokysdk-linux/8.3.0-r0/temp/log.do_compile.14938)
Please let me know how to resolve this error.
Thank you, Sreedhar