https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60324
Rich Townsend <townsend at astro dot wisc.edu> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |townsend at astro dot wisc.edu --- Comment #6 from Rich Townsend <townsend at astro dot wisc.edu> --- This change introduces a dependency on strndup -- which, alas, is absent from libSystem in OS X 10.6 (Snow Leopard), although later releases of OS X include it. This isn't a problem per se, as it appears that an internal strndup will be built if a system one can't be found. Howver, today, I've run into the problem that when I build gcc/gfortran (trunk) on 10.9, I can't then use the compiler on 10.6 due to the reference in libgfortran (and perhaps elsewhere) to the (missing) system strndup. Any suggestions for workarounds? Can I hack libgfortran/configure.ac to force the internal strndup to be used? cheers, Rich