https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78616
--- Comment #5 from Iain Sandoe <iains at gcc dot gnu.org> --- Created attachment 40210 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40210&action=edit test for strndup and publish it from libiberty if not available from the host. bootstrap (all langs, checking=yes,rtl,tree) completed at 243033 with this patch. I guess the question is why wasn't the function exported from libiberty before?