Created attachment 4134 [details] Patch to fix build error Building nspr-native fails because of a missing #include. Patch attached.
This has been fixed already in git master/rocko with 2c58d7176417dcb8226f6244363979e739450732, so that should be backported instead. This sounds like the thin edge of the "nothing works with my new compiler" though, so if I were you I'd install the morty buildtools.
(In reply to comment #1) > This has been fixed already in git master/rocko with > 2c58d7176417dcb8226f6244363979e739450732, so that should be backported > instead. > > This sounds like the thin edge of the "nothing works with my new compiler" > though, so if I were you I'd install the morty buildtools. I downloaded and installed http://downloads.yoctoproject.org/releases/yocto/yocto-2.2.2/buildtools/x86_64-buildtools-nativesdk-standalone-2.2.2.sh, is that what you mean? Using that did not change anything. Little wonder, as the installed tool chain does not include a compiler, and so the hosts compiler is still used: [tkoeller@fedora-vb-tkoeller build-rpb]$ ls /opt/poky/2.2.2/sysroots/x86_64-pokysdk-linux/usr/bin 2to3-3.5 git-cvsserver gtar make pdftexi2dvi python3.5 sexp-conv update-alternatives zcat chrpath git.real gunzip makeinfo pkcs1-conv python3.5-config tar update-ca-certificates c_rehash git-receive-pack gzip nettle-hash pod2texi python3.5m texi2any updatedb find git-shell idle3 nettle-lfib-stream pydoc3 python3.5m-config texi2dvi wget find.findutils git-upload-archive idle3.5 nettle-pbkdf2 pydoc3.5 python3.5.real texi2pdf xargs git git-upload-pack locate openssl python3 python3-config texindex xargs.findutils [tkoeller@fedora-vb-tkoeller build-rpb]$ echo $PATH /home/tkoeller/ModBiz_MCM_Linaro_Project/linaro-build/layers/openembedded-core/scripts:/home/tkoeller/ModBiz_MCM_Linaro_Project/linaro-build/bitbake/bin:/home/tkoeller/ModBiz_MCM_Linaro_Project/linaro-build/.repo/repo:/opt/poky/2.2.2/sysroots/x86_64-pokysdk-linux/usr/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/home/tkoeller/.local/bin:/home/tkoeller/bin [tkoeller@fedora-vb-tkoeller build-rpb]$ which -a gcc /usr/bin/gcc
merged to stagging
in morty proper http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?h=morty&id=ddd1da619d7f10dba4af6a4b83d8f18e0d63e871