bitbake meta-toolchain errors

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

bitbake meta-toolchain errors

3,733 次查看
ioancalapod
Contributor II

Hi All

In trying to bake a toolchain (bitbake meta-toolchain) I get errors:

| Makefile:3976: recipe for target 'all-gcc' failed

| make: *** [all-gcc] Error 2

| WARNING: exit code 1 from a shell command.

| ERROR: oe_runmake failed

| ERROR: Function failed: do_compile (log file is located at /home/osboxes/poky/build/tmp/work/x86_64-poky-linux/gcc-cross-aarch64/4.9.3-r0/temp/log.do_compile.2070)

ERROR: Task 107 (/home/osboxes/poky/meta/recipes-devtools/gcc/gcc-cross_4.9.bb, do_compile) failed with exit code '1'

Currently 3 running tasks (1059 of 2130):

0: gcc-crosssdk-x86_64-4.9.3-r0 do_compile (pid 2069)

1: glibc-locale-2.21-r0 do_package_qa (pid 2562)

2: glibc-locale-2.21-r0 do_package_write_rpm (pid 2565)

Did anybody fall on this kind of error?

Appreciate your help.

Best, Ioan

标签 (2)
0 项奖励
回复
2 回复数

2,816 次查看
akrestov
Contributor I

I have same problem with build QorIQ-SDK-V2.0-20160527-yocto (QorIQ-SDK-V2.0-1703)

I install 

QorIQ-Linux-SDK-v2.0-SOURCE.iso

QorIQ-Linux-SDK-v2.0-AARCH64-Yocto-Cache

QorIQ-Linux-SDK-v2.0-1703.tar.bz2

follow the instruction,

run ./sources/meta-freescale/scripts/host-prepare.sh 

But i got error

| make[1]: Leaving directory '/home/andrii/QorIQ-SDK-V2.0-20160527-yocto/build_ls1012afrdm/tmp/work/x86_64-linux/gcc-cross-aarch64/linaro-4.9-r2015.03/gcc-linaro-4.9-2015.03/build.x86_64-linux.aarch64-fsl-linux/gcc'
| Makefile:3976: recipe for target 'all-gcc' failed
| make: *** [all-gcc] Error 2
| ERROR: oe_runmake failed
| ERROR: Function failed: do_compile (log file is located at /home/andrii/QorIQ-SDK-V2.0-20160527-yocto/build_ls1012afrdm/tmp/work/x86_64-linux/gcc-cross-aarch64/linaro-4.9-r2015.03/temp/log.do_compile.16433)
ERROR: Task 432 (/home/andrii/QorIQ-SDK-V2.0-20160527-yocto/sources/meta-linaro/meta-linaro-toolchain/recipes-devtools/gcc/gcc-cross_linaro-4.9.bb, do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 505 tasks of which 413 didn't need to be rerun and 2 failed.

Summary: 2 tasks failed:
virtual:native:/home/andrii/QorIQ-SDK-V2.0-20160527-yocto/sources/poky/meta/recipes-devtools/prelink/prelink_git.bb, do_configure
/home/andrii/QorIQ-SDK-V2.0-20160527-yocto/sources/meta-linaro/meta-linaro-toolchain/recipes-devtools/gcc/gcc-cross_linaro-4.9.bb, do_compile
Summary: There was 1 WARNING message shown.
Summary: There were 3 ERROR messages shown, returning a non-zero exit code.

I tried  build minimal image for ls1012afrdm

bitbake fsl-image-minimal

What i"ll have to do else?

 

0 项奖励
回复

2,840 次查看
gusarambula
NXP TechSupport
NXP TechSupport

Hello ioan Calapod,

Would you please share the BSP you are using? Either the Freescale Community BSP or Freescale BSP Release and which branch/version.

It seems that the problem might be related with the setting up of the environment, would you please share the steps you’re following for specifying the Machine/Board you’re using?

0 项奖励
回复