打印

i.mx93的uboot内核,在生成交叉编译工具SDK时,报错

[复制链接]
1170|0
手机看帖
扫描二维码
随时随地手机跟帖
跳转到指定楼层
楼主
adaihua13|  楼主 | 2024-3-5 14:43 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
你好,
   我想在独立环境下编译i.mx93的uboot内核。根据指导手册,需要首先编译生成交叉编译工具的SDK。但是在执行过程中出现错误。下面我将简要说明我的过程:
1、DISTRO=fsl-imx-wayland MACHINE=imx93-11x11-lpddr4x-evk source imx-setup-release.sh -b build-wayland
2、DISTRO=fsl-imx-wayland MACHINE=imx93-11x11-lpddr4x-evk bitbake core-image-minimal -c populate_sdk
在执行第2步的过程中报错,错误信息如下:
| {standard input}: Assembler messages:
| {standard input}:68284: Warning: end of file not at end of a line; newline inserted
| {standard input}: Error: invalid operands (.text and *UND* sections) for `-'
| {standard input}: Error: .size expression for _Z24gen_ior_one_cmpl_ashlsi3P7rtx_defS0_S0_S0_ does not evaluate to a constant
| aarch64-poky-linux-g++: fatal error: Killed signal terminated program cc1plus
| compilation terminated.
| make[1]: *** [Makefile:1144: insn-emit.o] Error 1
| make[1]: *** Waiting for unfinished jobs....
| rm gcc.pod
| make[1]: Leaving directory '/home/zh/imx-yocto-bsp/build-wayland/tmp/work/armv8a-poky-linux/gcc/12.3.0-r0/gcc-12.3.0/build.aarch64-poky-linux.aarch64-poky-linux/gcc'
| make: *** [Makefile:4619: all-gcc] Error 2
| ERROR: oe_runmake failed
| WARNING: exit code 1 from a shell command.
ERROR: Task (/home/zh/imx-yocto-bsp/sources/poky/meta/recipes-devtools/gcc/gcc_12.3.bb:do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 4084 tasks of which 3801 didn't need to be rerun and 1 failed.
Summary: 1 task failed:
/home/zh/imx-yocto-bsp/sources/poky/meta/recipes-devtools/gcc/gcc_12.3.bb:do_compile
Summary: There were 2 ERROR messages, returning a non-zero exit code.
也就在在编译gcc工具时出错

使用特权

评论回复

相关帖子

发新帖 我要提问
您需要登录后才可以回帖 登录 | 注册

本版积分规则

1

主题

1

帖子

0

粉丝