If you didn't specify an option like -i on the build, then check which make
you are using and if there are any updates available. You can set up a small
test case to reproduce the problem and if still present you should open a bug.
I'm using gmake 3.81. I didn't specify -i.
According to the man page of gmake return code 1 should only happen
if I specify -q, which I didn't. I will check with gmake 3.80 to see
if it happens there too.
It is likely that I gummed this up when I brought the code in originally and
modified it to work for newlib. Obviously, this new code has never been
compiled on the z8k. I've made up a proposed patch to fix this. Try it out
and let me know.
It works. But in order for the compile to succeed, I had to do another
change (appended).
It is also a variable declaration in the middle of a function.
I think there is no parameter to tell current gcc to report an error for
such things, even with -std=c89 :-( This is very annoying...