On Tue, 14 Nov 2017, Martin Liška wrote: > Hello. > > Quite obvious fix for SH target. Joseph can you please continue with testing? > I don't have a machine to test the patch.
I don't have SH hardware, but can confirm that, in conjunction with Martin's glibc patch to work around strncpy warnings (where the proper fix and another patch for one case are still under discussion), this fixes the sh4-linux-gnu glibc build with build-many-glibcs.py. (The glibc testsuite build fails - errors in string/bug-strncat1.c, string/tester.c at least - but the failures I see look like more fallout from Martin's GCC changes, probably cases where the testsuite needs to disable the warnings, not anything SH-specific.) -- Joseph S. Myers jos...@codesourcery.com