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

--- Comment #3 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
> Created attachment 35780 [details]
> The file 
> `/home/zgzg/gcc-5.1.0/powerpc-unknown-linux-gnu/libgfortran/config.log'

Are you sure you have posted the right log file?

I don't see the error

../.././libgfortran/runtime/string.c:96:1: error: static declaration of
'strnlen' 

in it and HAVE_STRNLEN is defined, thus the block

#ifndef HAVE_STRNLEN
static size_t
strnlen (const char *s, size_t maxlen)
{
  for (size_t ii = 0; ii < maxlen; ii++)
    {
      if (s[ii] == '\0')
        return ii;
    }
  return maxlen;
}
#endif

should be skipped.

Reply via email to