<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Thu, Oct 2, 2014 at 5:05 PM, Martin Jansa <span dir="ltr"><<a href="mailto:martin.jansa@gmail.com" target="_blank">martin.jansa@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div>On Thu, Oct 02, 2014 at 11:22:11AM +0200, Andreas Müller wrote:<br>
> On Mon, Sep 8, 2014 at 1:58 PM, Ross Burton <<a href="mailto:ross.burton@intel.com" target="_blank">ross.burton@intel.com</a>> wrote:<br>
><br>
> > From: Martin Jansa <<a href="mailto:martin.jansa@gmail.com" target="_blank">martin.jansa@gmail.com</a>><br>
> ><br>
> > * in some cases (e.g. with external toolchain which doesn't respect our<br>
> > reasonably old version set in OLDEST_KERNEL) it's possible to have libc<br>
> > which requires newer kernel than what we have on builders, qemu supports<br>
> > -r param to use different uname than what's returned by host system.<br>
> > * change qemu_run_binary to pass -r ${OLDEST_KERNEL} and add the same to<br>
> > QEMU_OPTIONS which are used by qemuwrapper-cross<br>
> > * maybe we should eventually convert all qemu_run_binary usages always<br>
> > include<br>
> > qemuwrapper-cross dependency and always call qemu through that (it<br>
> > seems very strange that qemu_target_binary is called from qemuwrapper<br>
> > and for allarch recipes it can return qemu-allarch as qemu binary).<br>
> ><br>
> > qemu_run_binary is used by:<br>
> > meta/classes/gtk-immodules-cache.bbclass:<br>
> > ${@qemu_run_binary(d, '$D', '${bindir}/gtk-query-immodules-$maj_ver.0')} \<br>
> > meta/classes/qemu.bbclass:def qemu_run_binary(data, rootfs_path, binary):<br>
> > meta/recipes-core/systemd/<a href="http://systemd_213.bb" target="_blank">systemd_213.bb</a>: ${@qemu_run_binary(d,<br>
> > '$D', '${base_bindir}/udevadm')} hwdb --update \<br>
> > meta/recipes-graphics/pango/pango.inc: ${@qemu_run_binary(d,<br>
> > '$D','${bindir}/${MLPREFIX}pango-querymodules')} \<br>
> ><br>
> > and qemuwrapper directly by:<br>
> > scripts/postinst-intercepts/update_font_cache:PSEUDO_UNLOAD=1<br>
> > qemuwrapper -L $D -E LD_LIBRARY_PATH=$D/${libdir}:$D/${base_libdir}\<br>
> > scripts/postinst-intercepts/update_pixbuf_cache:PSEUDO_UNLOAD=1<br>
> > qemuwrapper -L $D -E LD_LIBRARY_PATH=$D/${libdir}:$D/${base_libdir}\<br>
> ><br>
> > Somehow related but I don't understand fully yet:<br>
><br>
> do_rootfs complains:<br>
> NOTE: > Executing update_pixbuf_cache intercept ...<br>
> FATAL: kernel too old<br>
> WARNING: The postinstall intercept hook 'update_pixbuf_cache' failed (exit<br>
> code: 127)! See log for details!<br>
><br>
> and many other 'kernel too old' messages. Target kernel is 3.14.19 / Host<br>
> is 3.14.17. Too old?<br>
<br>
</div></div>What is your OLDEST_KERNEL value? and what does "file" show as required<br>
kernel on those binaries?<br>
<span><font color="#888888"><br><br>
</font></span></blockquote></div>Thanks: Angstrom sets 2.6.16 and file says 'for GNU/Linux 2.6.32'. Will send out a patch to angstrom after testing<br><br></div><div class="gmail_extra">Andreas<br></div></div>