https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86057
--- Comment #4 from Steve Kargl <sgk at troutmask dot apl.washington.edu> --- On Tue, Jun 05, 2018 at 06:21:29PM +0000, pinskia at gcc dot gnu.org wrote: > > --- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --- > mempcpy is in libiberty but we don't compile a target version of libiberty. > Looking at the code, one can use strcat or strncat, which are part of ISO C.