/usr/lib/gcc-cross/riscv64-linux-gnu/7/ is in gcc-7-riscv64-linux-gnu-base 7.3.0-16ubuntu3cross1.
This file is owned by root:root, with mode 0o755.