https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116159
--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> --- That comes from: if test x$enable_symvers = xyes ; then if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then enable_symvers=no else if test $with_gnu_ld = yes ; then case ${target_os} in hpux*) enable_symvers=no ;; *) enable_symvers=gnu ;; esac