Re: [patch] Fix libiberty link failure in LTO mode

2021-05-03 Thread Richard Biener via Gcc-patches
On Mon, May 3, 2021 at 9:58 AM Eric Botcazou wrote: > > Hi, > > the patch for libiberty itself I posted is not sufficient to link the library > for MinGW platforms in LTO mode, as there is another link failures for stpcpy. > The symbol is both referenced by libiberty's pex-win32.c and provided by

[patch] Fix libiberty link failure in LTO mode

2021-05-03 Thread Eric Botcazou
Hi, the patch for libiberty itself I posted is not sufficient to link the library for MinGW platforms in LTO mode, as there is another link failures for stpcpy. The symbol is both referenced by libiberty's pex-win32.c and provided by libiberty's stpcpy.c so it needs to have a linkage to be resol