https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90440
--- Comment #8 from Jonathan Wakely <redi at gcc dot gnu.org> --- We just use the AC_PROG_LN_S test from autoconf, see https://www.gnu.org/software/autoconf/manual/autoconf-2.69/html_node/Particular-Programs.html#index-AC_005fPROG_005fLN_005fS-287 Ideally that test would detect the problem and force LN_S="cp -pR" instead of using symlinks. But I'm not sure it's worth adding anything if the problem is limited to GNU coreutils 8.31 on Solaris 10, as that OS is obsolete and most of its users are going to use Solaris ln anyway.