• Guenter Roeck's avatar
    RISC-V: Request newstat syscalls · 67314ec7
    Guenter Roeck authored
    Since commit 82b355d1 ("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: 82b355d1 ("y2038: Remove newstat family from default syscall set")
    Cc: Arnd Bergmann <arnd@arndb.de>
    Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
    Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
    67314ec7
unistd.h 800 Bytes