iMX8MM SDK
我已经下载了 Yocto 发行版,我已经通过执行以下命令构建了发行版
DISTRO=fsl-imx-xwayland MACHINE=imx8mmevk 源 fsl-setup-release.sh -b build-xwayland
bitbake imx-image-多媒体
构建配置:
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-战士"
TUNE_FEATURES = "aarch64"
TARGET_FPU = ""
为了在独立环境中构建应用程序,我尝试使用以下命令提取 SDK 工具链:
发行版=fsl-imx-xwayland MACHINE=imx8mmevk bitbake imx-image-multimedia -c populate_sdk
我尝试了 imx-image-multimedia 而不是 core-image-minimal。我收到错误。我已将完整的错误日志作为附件附上。以下是错误消息的最后几行:
combine.o: 在函数`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: 在函数`vect_pattern_recog_1(vect_recog_func*, gimple_stmt_iterator, vec*) [clone .isra.65]': tree-vect
-patterns.c:(.text+0xcc3): undefined reference到“insn_data”
collect2:错误:ld 返回了 1 个退出状态
../../../../../../../work-shared/gcc-8.3.0-r0/gcc-8.3。 0/gcc/c/Make-lang.in:85: 目标 'cc1' 的配方失败
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:目标“lto1”的配方制作失败
[1]:*** [lto1] 错误 1
make[1]: 离开目录'/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: 目标 'all-gcc' 的配方失败
make: *** [all-gcc] 错误 2
错误:oe_runmake 失败
警告:从 shell 命令退出代码 1。
错误:函数失败:do_compile(日志文件位于/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)
更多回帖