building yocto for sama5d4ek failed

Discussions about all user software around SAM Series.

Moderator: nferre

jakebo
Posts: 9
Joined: Tue May 26, 2015 10:04 am

building yocto for sama5d4ek failed

Tue Dec 15, 2015 10:32 am

Dear All,

Nearly I try to build yocto for sama5d4ek, but I got the fail.

Just refer to the meta-atmel/README and linux4sam/bin/view/Linux4SAM/PokyBuild# ... y_for_AT91
According to the document modified poky/build-atmel/conf/bblayers.conf and poky/build-atmel/conf/local.conf

then run
source oe-init-build-env build-atmel
bitbake core-image-minimal

I got the following err msg:

Code: Select all

jakebo@dev-server:~/workspace/yocto/poky/build-atmel$ bitbake core-image-minimal
Loading cache: 100% |##########################################################################################################################| ETA:  00:00:00
Loaded 1359 entries from dependency cache.
Parsing recipes: 100% |########################################################################################################################| Time: 00:00:08
Parsing of 933 .bb files complete (926 cached, 7 parsed). 1365 targets, 248 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task censored dependencies

Build Configuration:
BB_VERSION        = "1.28.0"
BUILD_SYS         = "x86_64-linux"
NATIVELSBSTRING   = "Ubuntu-14.04"
TARGET_SYS        = "arm-poky-linux-gnueabi"
MACHINE           = "sama5d4ek"
DISTRO            = "poky-atmel"
DISTRO_VERSION    = "2.0"
TUNE_FEATURES     = "arm armv7a vfp thumb neon callconvention-hard cortexa5"
TARGET_FPU        = "vfp-neon"
meta-atmel        = "jethro:02e24313b0b6b687be3373503a8166c5965559b4"
meta              
meta-yocto        
meta-yocto-bsp    = "jethro:7fdad7011167656735f94e0830042f77a2665c8c"

NOTE: Preparing RunQueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: oe_runmake failed
ERROR: Function failed: do_compile (log file is located at /home/jakebo/workspace/yocto/poky/build-atmel/tmp/work/x86_64-linux/binutils-native/2.25.1-r0/temp/log.do_compile.21129)
ERROR: Logfile of failure stored in: /home/jakebo/workspace/yocto/poky/build-atmel/tmp/work/x86_64-linux/binutils-native/2.25.1-r0/temp/log.do_compile.21129
Log data follows:
| DEBUG: Executing shell function do_compile
| NOTE: make -j 4
| make[1]: Entering directory `/home/jakebo/workspace/yocto/poky/build-atmel/tmp/work/x86_64-linux/binutils-native/2.25.1-r0/git/build.x86_64-linux.x86_64-linux'
| make[1]: Nothing to be done for `all-target'.
| make[2]: Entering directory `/home/jakebo/workspace/yocto/poky/build-atmel/tmp/work/x86_64-linux/binutils-native/2.25.1-r0/git/build.x86_64-linux.x86_64-linux/intl'
| make[2]: Nothing to be done for `all'.
| make[2]: Leaving directory `/home/jakebo/workspace/yocto/poky/build-atmel/tmp/work/x86_64-linux/binutils-native/2.25.1-r0/git/build.x86_64-linux.x86_64-linux/intl'
| make[2]: Entering directory `/home/jakebo/workspace/yocto/poky/build-atmel/tmp/work/x86_64-linux/binutils-native/2.25.1-r0/git/build.x86_64-linux.x86_64-linux/libiberty'
| make[3]: Entering directory `/home/jakebo/workspace/yocto/poky/build-atmel/tmp/work/x86_64-linux/binutils-native/2.25.1-r0/git/build.x86_64-linux.x86_64-linux/libiberty/testsuite'
| make[3]: Nothing to be done for `all'.
| make[3]: Leaving directory `/home/jakebo/workspace/yocto/poky/build-atmel/tmp/work/x86_64-linux/binutils-native/2.25.1-r0/git/build.x86_64-linux.x86_64-linux/libiberty/testsuite'
| make[2]: Leaving directory `/home/jakebo/workspace/yocto/poky/build-atmel/tmp/work/x86_64-linux/binutils-native/2.25.1-r0/git/build.x86_64-linux.x86_64-linux/libiberty'
| make[2]: Entering directory `/home/jakebo/workspace/yocto/poky/build-atmel/tmp/work/x86_64-linux/binutils-native/2.25.1-r0/git/build.x86_64-linux.x86_64-linux/etc'
| make[2]: Nothing to be done for `all'.
| make[2]: Leaving directory `/home/jakebo/workspace/yocto/poky/build-atmel/tmp/work/x86_64-linux/binutils-native/2.25.1-r0/git/build.x86_64-linux.x86_64-linux/etc'
| make[2]: Entering directory `/home/jakebo/workspace/yocto/poky/build-atmel/tmp/work/x86_64-linux/binutils-native/2.25.1-r0/git/build.x86_64-linux.x86_64-linux/bfd'
| make[2]: *** No rule to make target `bfd_stdint.h', needed by `all'.  Stop.
| make[2]: Leaving directory `/home/jakebo/workspace/yocto/poky/build-atmel/tmp/work/x86_64-linux/binutils-native/2.25.1-r0/git/build.x86_64-linux.x86_64-linux/bfd'
| make[1]: *** [all-bfd] Error 2
| make[1]: Leaving directory `/home/jakebo/workspace/yocto/poky/build-atmel/tmp/work/x86_64-linux/binutils-native/2.25.1-r0/git/build.x86_64-linux.x86_64-linux'
| make: *** [all] Error 2
| WARNING: /home/jakebo/workspace/yocto/poky/build-atmel/tmp/work/x86_64-linux/binutils-native/2.25.1-r0/temp/run.do_compile.21129:1 exit 1 from
|   exit 1
| ERROR: oe_runmake failed
| ERROR: Function failed: do_compile (log file is located at /home/jakebo/workspace/yocto/poky/build-atmel/tmp/work/x86_64-linux/binutils-native/2.25.1-r0/temp/log.do_compile.21129)
ERROR: Task 848 (virtual:native:/home/jakebo/workspace/yocto/poky/meta/recipes-devtools/binutils/binutils_2.25.1.bb, do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 752 tasks of which 748 didn't need to be rerun and 1 failed.
Waiting for 0 running tasks to finish:

Summary: 1 task failed:
  virtual:native:/home/jakebo/workspace/yocto/poky/meta/recipes-devtools/binutils/binutils_2.25.1.bb, do_compile
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
jakebo@dev-server:~/workspace/yocto/poky/build-atmel$
Any ideas would be appreciate, I searched by google but could not find useful information, thank you!
Kinly
Last edited by jakebo on Wed Dec 16, 2015 2:58 am, edited 2 times in total.
redknight106
Posts: 12
Joined: Sun Aug 09, 2015 6:10 pm

Re: building yocto for sama5d4ek failed

Tue Dec 15, 2015 5:26 pm

Hello jakebo

I feel your pain when it comes to build errors when bit baking :(

Here are two useful topics that will help :)

discussions/viewtopic.php/f,12/t,25000.html

discussions/viewtopic.php/f,12/t,24987.html

I hope those help
jakebo
Posts: 9
Joined: Tue May 26, 2015 10:04 am

Re: building yocto for sama5d4ek failed

Fri Dec 18, 2015 5:17 am

Hello redknight106,

Thanks for your help!
I will try and post result here,

Best Regards,

Return to “Software”

Who is online

Users browsing this forum: No registered users and 1 guest