AnsweredAssumed Answered

Bitbake producing wrong library when running with less threads

Question asked by Bernardo Arainty on Jun 4, 2015
Latest reply on Jun 5, 2015 by gusarambula

Hi,

 

I'm building a Yocto Linux recipe: lxc (Linux Containers) using sdk v1.7 on a Dell system with 24 cores and 32 GB of RAM.

 

When I run the poky script with options -j 12 -t 12, then bitbake produces a good liblxc.so library. Instead, if I run the poky script with -j 8 -t 8, then bitbake produces a bad library.

 

The difference between the good and the bad library is that the good library hits the seccomp patch to check the systemcall whitelist and rejects not-allowed system calls. The bad library does't hit it and simply allows all system calls to run. The library have different sizes but there is no other noticeable difference other than the described behaviour.

 

We still haven't figured out what the problem is. Has anyone seen something like this?.

 

Thanks.

B.

Outcomes