https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61889
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #22 from Jakub Jelinek <jakub at gcc dot gnu.org> --- So, can you just check for nftw with the arguments you want to use in a compile test in configure and if that fail, perhaps for now don't do that at all? The next step would be to provide in libiberty a nftw implementation for some or all targets that don't have it. mingw surely isn't the only problematic target.