The yajl build system contains a race condition, which gets triggered by high make --jobs settings - It tries to link the executable gen-extra-close against libyajl before it is created:
[ 21%] Linking C executable gen-extra-close
[ 26%] Building C object src/CMakeFiles/yajl_s.dir/yajl_buf.c.o
/home/test/autobuild/instance-3/output/host/opt/ext-toolchain/bfin-uclinux/bfin-uclinux/bin/ld.real: cannot find -lyajl
Fix this issue by linking against the shared yail library in a shared build. Apply this fix also to all other build targets who are linking against the library.
The yajl build system contains a race condition, which gets triggered by high make
--jobs
settings - It tries to link the executablegen-extra-close
against libyajl before it is created:Fix this issue by linking against the shared yail library in a shared build. Apply this fix also to all other build targets who are linking against the library.