On Wed, Sep 5, 2018 at 4:36 PM Guenter Roeck <li...@roeck-us.net> wrote: > > Since commit 82b355d161c9 ("y2038: Remove newstat family from default > syscall set"), riscv images fail to boot with the following error. > > /sbin/init: error while loading shared libraries: libc.so.6: > cannot stat shared object: Error 38 > Kernel panic - not syncing: Attempted to kill init! exitcode=0x00007f00 > > Explicitly request newstat syscalls to fix the problem. > > Fixes: 82b355d161c9 ("y2038: Remove newstat family from default syscall set") > Cc: Arnd Bergmann <a...@arndb.de> > Signed-off-by: Guenter Roeck <li...@roeck-us.net> > --- > I would suggest to merge this patch with the offending patch.
Looks good, thanks for the fix! Sorry about taking too long to respond to your original bug report. I applied the patch on top of the rest of the series and pushed it out to my public tree for tomorrow's linux-next. Arnd