cris/arch-v10/lib/string.c compile error

From: Adrian Bunk
Date: Sat Feb 16 2008 - 04:58:26 EST


Next file, same problem:

<-- snip -->

...
CC arch/cris/arch-v10/lib/string.o
/home/bunk/linux/kernel-2.6/git/linux-2.6/arch/cris/arch-v10/lib/string.c:138: error: lvalue required as increment operand
/home/bunk/linux/kernel-2.6/git/linux-2.6/arch/cris/arch-v10/lib/string.c:138: error: lvalue required as increment operand
/home/bunk/linux/kernel-2.6/git/linux-2.6/arch/cris/arch-v10/lib/string.c:139: error: lvalue required as increment operand
...

<-- snip -->

And looking at Jan Dittmer's page [1] that problem is not limited to the
SVN head gcc I'm using since he's running into the same error with
gcc 4.0.4.

Can you try compiling a cris kernel with a gcc 4 based toolchain?

cu
Adrian

[1] http://l4x.org/k/?d=38964

--

"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/