/usr/lib/gcc-cross/sparc64-linux-gnu/6/libasan.so is in libgcc-6-dev-sparc64-cross 6.4.0-17ubuntu1cross1.
This file is owned by root:root, with mode 0o777.
It is a symlink to /usr/lib/gcc-cross/sparc64-linux-gnu/6/../../../../sparc64-linux-gnu/lib/libasan.so.3