Search code examples
gccembedded-linuxraspbianyoctobitbake

Bitbake fails at do_compile in gcc-runtime-5.2.0-r0


I am trying to compile a minimal linux distro (rpi-hwup-image) for Raspberry Pi using The Yocto (poky-jethro).
I have tried the process on Xubuntu-15.10 and Ubuntu-Server 14.04 LTS.

Trials on both the OSs have failed in do_compile of gcc-runtime-5.2.0-rev0 with error listed here or here.

undefined referance to __dso_handle.

Any ideas ?


--- updates ----
I tried the same build on two different PCs, with same OS and almost exactly the same software packages. Both with 8 cores and 8 GB of RAM. There this error didn't arrive on them.
Only happening on my PC and at the exactly same point. I am having 2GB RAM and Core-2-Duo.
Puzzling !!!


Solution

  • I finally figured out what was wrong with my compilation.
    I was trying to do the build on an NTFS partition, which was messing things up !!! d'oh!!
    I retried the process on the same PC on an ext4 drive and it ran smooth.