https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61889

Kai Tietz <ktietz at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ktietz at gcc dot gnu.org

--- Comment #2 from Kai Tietz <ktietz at gcc dot gnu.org> ---
Yes, issue is here that ftw API is used for cleanup.

...
static int
unlink_profile_dir (const char *path)
{
    return nftw(path, unlink_gcda_file, 64, FTW_DEPTH | FTW_PHYS);
}
...

This method isn't present on none glibc-systems.  So there should be at least a
header-check (HAVE_FTW_H) be added to gcov-tool.c and to configure.

As Richard mentioned, libiberty would be a good place to add implementation.

Reply via email to