https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124547
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|[16 Regression] JIT fails |[16 Regression] JIT fails
|to use linker version |to use linker version
|script |script since r16-7269
--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
r16-7269-gcc12934b555625b130e242eb6199c60b353ab509 is the commit that changed
it.
As Andreas wrote, the bug is in
# With GNU ld
AC_ARG_WITH(gnu-ld,
[AS_HELP_STRING([--with-gnu-ld], [arrange to work with GNU ld])],
gnu_ld_flag="$with_gnu_ld",
gnu_ld_flag=no)
I think it should be gnu_ld_flag= instead. If user uses explicit
--with-gnu-ld,
--without-gnu-ld, --with-gnu-ld=yes or --with-gnu-ld=no, then we should do what
they
requested, but when not specified should make it empty and wait for the later
overrides.