On Mon, May 09, 2016 at 11:39:17AM -0700, Ruslan Babayev wrote: > > Kevin Hao writes: > > >> > >> Without this change OpenSSH (ssh-keygen) dies with SIGILL at > >> runtime. > > > > The ssh-keygen works pretty well for me. Could you show the steps to > > reproduce this issue? > > > > Sorry, I should have mentioned I have seen the crash with TCLIBC = > "musl" only. Not sure what's going on. Perhaps glibc by default falls > back to soft-float at run-time. Since the kernel has FPU emulation, we should not run into this crash even if musl use the hard float instructions. That is also why the edgerouter BSP can works previously. It seems a bug in musl. > > With "musl" I also saw a mips related compilation failure in libffi which I > have fixed. > > Just to verify I have rebuilt core-image-minimal with glibc and I ssh-keygen > works. Regarding core-image-sato, is it even officially supported for > edgerouter? The release notes [1] only mention core-image-minimal. We don't have an officially image type supported list for each BSP. The core-image-minimal is only referred as an example in release note, but that doesn't mean we only support this image type. A patch should not break the build of an image type which is buildable currently at least. Thanks, Kevin > > > Regards, > Ruslan > > [1] https://www.yoctoproject.org/downloads/bsps/krogoth21/edgerouter