Build fail at binutils_2.30

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Build fail at binutils_2.30

966 Views
tuanpham
Contributor I

Hi all,

I am new to IMX8, I am trying to build yocto for iMX8DualX4 using kernel source imx-4.14.78-1.0.0.

It's almost done but then it fail at module binutils_2.30. The log file is attached.

Most of the error related to "Undefined reference to..", eg:

      powerpc.o:/usr/src/debug/binutils/2.30-r0/git/gold/powerpc.cc:3189: undefined reference to `.LASF12'

Any idea from where I should start to check?

0 Kudos
3 Replies

830 Views
tuanpham
Contributor I

Thanks Viswanath,

I noticed one error before that:

ERROR: ExpansionError during parsing /home/tuanpham/imx-yocto-bsp/sources/poky/meta/recipes-graphics/images/core-image-weston.bb

...

... [Errno 12] Cannot allocate memory

This is due to not enough RAM. But some how the build is still running and later it throws that error when compiling binutils_2.30.

I am not sure if they are linked together or not, but I discarded the build folder, increase RAM and started fresh build, it then completes with no error.

Thanks.

0 Kudos

830 Views
viswa_kondapall
Contributor IV

If you doesn't has enough host memory then also come. please try accommodate 100-150 GB for yocto. 

No where RAM will link to build. or is there any target configuration is changed.??????

0 Kudos

830 Views
viswa_kondapall
Contributor IV

Hi ,

Please clean the built for the package. In download the package is broken.

bitbake -c cleanall -f binutils -- this will fix ur error

then run the build script.

0 Kudos