问答

汇集网友智慧,解决技术难题

adaihua13

TA的家园币:10  

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

    你好,我想在独立环境下编译i.mx93的uboot内核。根据指导手册,需要首先编译生成交叉编译工具的SDK。但是在执行过程中出现错误。下面我将简要说明我的过程:1、DISTRO=fsl-imx-waylandMACHINE=imx93-11x11-lpddr4x-evksourceimx-setup-release.sh-bbuild-wayland2、DISTRO=fsl-imx-waylandMACHINE=imx93-11x11-lpddr4x-evkbitbakecore-image-minimal-cpopulate_sdk在执行第2步的过程中报错,错误信息如下:|{standardinput}:Assemblermessages:|{standardinput}:68284:Warning:endoffilenotatendofaline;newlineinserted|{standardinput}:Error:invalidoperands(.textand*UND*sections)for`-'|{standardinput}:Error:.sizeexpressionfor_Z24gen_ior_one_cmpl_ashlsi3P7rtx_defS0_S0_S0_doesnotevaluatetoaconstant|aarch64-poky-linux-g++:fatalerror:Killedsignalterminatedprogramcc1plus|compilationterminated.|make[1]:***[Makefile:1144:insn-emit.o]Error1|make[1]:***Waitingforunfinishedjobs....|rmgcc.pod|make[1]:Leavingdirectory'/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]Error2|ERROR:oe_runmakefailed|WARNING:exitcode1fromashellcommand.ERROR:Task(/home/zh/imx-yocto-bsp/sources/poky/meta/recipes-devtools/gcc/gcc_12.3.bb:do_compile)failedwithexitcode'1'NOTE:TasksSummary:Attempted4084tasksofwhich3801didn'tneedtobererunand1failed.Summary:1taskfailed:/home/zh/imx-yocto-bsp/sources/poky/meta/recipes-devtools/gcc/gcc_12.3.bb:do_compileSummary:Therewere2ERRORmessages,returninganon-zeroexitcode.也就在在编译gcc工具时出错