Skip to contentSkip to conversation

Error in building image for imx6

DISCUSSION Dharmesh Kanzariya 2 participants 2 messages Oct 27, 2016 – Nov 3, 2016 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive

Heloo,

i am using yocto project to build image for i.mx7 sabre board. I have download fsl-community-bsp and try tu build image for i.mx6 board but i face some error and error is look loke this
" ERROR: Task 1133 (virtual:native:/home/dharmesh/i.mx7/fsl-community-bsp/sources/poky/meta/recipes-support/gmp/gmp_5.1.1.bb, do_compile) failed with exit code '1'
"

please help me to solve this problem

Thanx,
Dharmesh

Signature · 4 lines
Regards
Dharmesh Kanzariya
Embedded Engineer
Ciright companies 
#2 lore raw
Quoted 7 lines · Dharmesh Kanzariya

Heloo,

i am using yocto project to build image for i.mx7 sabre board. I have download fsl-community-bsp and try tu build image for i.mx6 board but i face some error and error is look loke this
" ERROR: Task 1133 (virtual:native:/home/dharmesh/i.mx7/fsl-community-bsp/sources/poky/meta/recipes-support/gmp/gmp_5.1.1.bb, do_compile) failed with exit code '1'
"

Looks like a problem at your end. You are building for i.MX7 and not 6? What Poky version are you using? Looks like it is not current (Morty).

I just did the following:

bitbake gmp -c cleansstate
bitbake gmp -c clean
bitbake gmp

$ bitbake gmp
WARNING: Host distribution "CentOS-7.2.1511" has not been validated with this version of the build system; you may possibly experience unexpected failures. It is recommended that you use a tested distribution.
Loading cache: 100% |################################################################################################| Time: 0:00:01
Loaded 2165 entries from dependency cache.
NOTE: Resolving any missing task queue dependencies

Build Configuration:

BB_VERSION        = "1.32.0"
BUILD_SYS         = "x86_64-linux"
NATIVELSBSTRING   = "universal"
TARGET_SYS        = "arm-poky-linux-gnueabi"
MACHINE           = "imx7dsabresd"
DISTRO            = "poky"
DISTRO_VERSION    = "2.2"
TUNE_FEATURES     = "arm armv7ve vfp thumb neon callconvention-hard 
 cortexa7"
TARGET_FPU        = "hard"
meta
meta-poky         = "HEAD:dc8508f609974cc99606b9042bfa7f870ce80228"
meta-oe           = "HEAD:7a491f384c277ee42ac895fec6fc2ef70f15df4d"
meta-freescale    = "HEAD:a5656e55e2a39a20767e939710165841f7f53e03"
meta-qt4          = "HEAD:2c7f8df9039be498f8a2232d1428adb7f4e5e800"
meta-bvd3         = "HEAD:7c7367473b847d81ef7bd4f0023a38ffd4c6210e"

Initialising tasks: 100% |###########################################################################################| Time: 0:00:01
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
NOTE: Tasks Summary: Attempted 403 tasks of which 390 didn't need to be rerun and all succeeded.

Summary: There was 1 WARNING message shown.

$ find -name "*gmp*"  | xargs ls -l
-rw-r--r-- 2 bas bas  207964 Nov  3 14:19 ./cortexa7hf_neon/libgmp10-6.1.1-r0.cortexa7hf_neon.rpm
-rw-r--r-- 2 bas bas 1169416 Nov  3 14:19 ./cortexa7hf_neon/libgmp-dbg-6.1.1-r0.cortexa7hf_neon.rpm
-rw-r--r-- 2 bas bas   36782 Nov  3 14:19 ./cortexa7hf_neon/libgmp-dev-6.1.1-r0.cortexa7hf_neon.rpm
-rw-r--r-- 2 bas bas  140608 Nov  3 14:19 ./cortexa7hf_neon/libgmp-doc-6.1.1-r0.cortexa7hf_neon.rpm
-rw-r--r-- 2 bas bas   11394 Nov  3 14:19 ./cortexa7hf_neon/libgmpxx4-6.1.1-r0.cortexa7hf_neon.rpm

Distro is Poky Morty branch, current HEAD.

Please repeat the steps I did. If it fails again, post the detailed log from <build dir>/tmp/work/cortexa7hf-neon-poky-linux-gnueabi/gmp/6.1.1-r0/temp (adjust for actual gmp version if you continue on your existing Poky version)

Cheers,

Signature · 4 lines
Bas.

-- 
Bas.