AnsweredAssumed Answered

[yocto] - iMX6 sabrelite bitbake fails for core-image-minimal

Question asked by Arjun Suresh on Oct 30, 2017
Latest reply on Nov 23, 2017 by gusarambula

Hi,

I was trying to bringup my iMX6 sabrelite dev board for some tests and faced issue while doing build for bitbake core-image-minimal. My host dev platform is Ubuntu12.04(x86_64/3.13.0-117). I am pasting the snippet of the failure inline. Also, I am attaching the build log of the module that failed with this post.

________________________________________________________________________________

| /usr/local/bin/ld: mpn/.libs/invert_limb.o: relocation R_X86_64_PC32 against protected symbol `__gmpn_invert_limb_table' can not be used when making a shared object
| /usr/local/bin/ld: final link failed: Bad value
| collect2: ld returned 1 exit status
| make[2]: *** [Makefile:836: libgmp.la] Error 1
| make[2]: Leaving directory '/home/arjuns/fsl-community-bsp/build/tmp/work/x86_64-linux/gmp-native/5.1.1-r0/build'
| make[1]: *** [Makefile:926: all-recursive] Error 1
| make[1]: Leaving directory '/home/arjuns/fsl-community-bsp/build/tmp/work/x86_64-linux/gmp-native/5.1.1-r0/build'
| make: *** [Makefile:744: all] Error 2
| ERROR: oe_runmake failed
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_compile (log file is located at /home/arjuns/fsl-community-bsp/build/tmp/work/x86_64-linux/gmp-native/5.1.1-r0/temp/log.do_compile.26709)
ERROR: Task 913 (virtual:native:/home/arjuns/fsl-community-bsp/sources/poky/meta/recipes-support/gmp/gmp_5.1.1.bb, do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 437 tasks of which 134 didn't need to be rerun and 1 failed.
Waiting for 0 running tasks to finish:

Summary: 1 task failed:
virtual:native:/home/arjuns/fsl-community-bsp/sources/poky/meta/recipes-support/gmp/gmp_5.1.1.bb, do_compile
Summary: There was 1 ERROR message shown, returning a non-zero exit code.

________________________________________________________________________________

 

Please let me know, how can I fix this problem. Also, let me know if more information is needed to help the community to look into it.  Googling couldn't get me any reasonable explanation, why its happening!

 

-arjunsr

Attachments

Outcomes