https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68347
--- Comment #7 from Alexey Rychkov <alexey.a.rychkov at gmail dot com> --- (In reply to Dominique d'Humieres from comment #3) > > I'm not sure if this can affect something, but I was using tmux on top > > of ssh session... > > Can you try again without tmx? I am not that familiar with sequences such as > "^[[01;31m^[[K^[[m^[[K", but I associate them to output "styles" to the > terminal. > > The file kind.h is generated by > > /bin/sh ../../../work/libgfortran/mk-kinds-h.sh > '/opt/gcc/build_w/./gcc/gfortran -B/opt/gcc/build_w/./gcc/ > -B/opt/gcc/gcc6w/x86_64-apple-darwin14.5.0/bin/ > -B/opt/gcc/gcc6w/x86_64-apple-darwin14.5.0/lib/ -isystem > /opt/gcc/gcc6w/x86_64-apple-darwin14.5.0/include -isystem > /opt/gcc/gcc6w/x86_64-apple-darwin14.5.0/sys-include -I . -Wall -Werror > -fimplicit-none -fno-repack-arrays -fno-underscoring -g -O2' > kinds.h || > rm kinds.h > > where /opt/gcc/build_w , /opt/gcc/work, and /opt/gcc/gcc6w are respectively > my build, source, and install directories. > > What is the output of > > /bin/sh /opt/gcc/work/libgfortran/mk-kinds-h.sh > '/opt/gcc/build_w/gcc/gfortran -B/opt/gcc/build_w/gcc/ > -B/opt/gcc/gcc6w/x86_64-apple-darwin14.5.0/bin/ > -B/opt/gcc/gcc6w/x86_64-apple-darwin14.5.0/lib/ > -I/opt/gcc/build_w/x86_64-apple-darwin14.5.0/libgfortran -Wall -Werror > -fimplicit-none -fno-repack-arrays -fno-underscoring -g -O2' > > (with suitable replacements of /opt/gcc/work/ and /opt/gcc/build_w). Executing /bin/sh ../libgfortran/mk-kinds-h.sh './gcc/gfortran -B/home/arychkov/gcc-5.2.0/build/gcc/ -I/home/arychkov/gcc-5.2.0/libgfortran -Wall -Werror -fimplicit-none -fno-repack-arrays -fno-underscoring -g -O2' results in valid output.