https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124547
Bug ID: 124547
Summary: [16 Regression] JIT fails to use linker version script
Product: gcc
Version: 16.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: bootstrap
Assignee: unassigned at gcc dot gnu.org
Reporter: rguenth at gcc dot gnu.org
Target Milestone: ---
Recently (between r16-7922 and r16-8070) the following regressed:
[ 525s] checking linker --version-script option... no
[ 525s] checking linker soname option... no
[ 525s] checking linker --demangle support... no
causing libgccjit to build w/o symbol versions.
We do, in gcc/configure.ac:
AC_MSG_CHECKING(linker --version-script option)
gcc_cv_ld_version_script=no
ld_version_script_option=''
if test $in_tree_ld = yes || test x"$gnu_ld_flag" = xyes; then
gcc_cv_ld_version_script=yes
ld_version_script_option='--version-script'
elif test x$gcc_cv_ld != x; then
case "$target" in
# Solaris 2 ld always supports -M. It also supports a subset of
# --version-script since Solaris 11.4, but requires
# -z gnu-version-script-compat to activate.
*-*-solaris2*)
gcc_cv_ld_version_script=yes
ld_version_script_option='-M'
;;
esac
fi
so I suspect one of Rainers change.