https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103866
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed| |2021-12-30
Ever confirmed|0 |1
Status|UNCONFIRMED |NEW
--- Comment #5 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Ugh, it doesn't work because of this:
if test "x${with_newlib}" != "xyes" && test "x${with_avrlibc}" != "xyes"; then
AC_LIBTOOL_DLOPEN
fi
where AC_LIBTOOL_DLOPEN expands to enable_dlopen=yes which overrides
--disable-dlopen. So you really do need --with-newlib for bare metal.