public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* cris/arch-v10/lib/string.c compile error
@ 2008-02-16  9:57 Adrian Bunk
  2008-02-18  8:39 ` Jesper Nilsson
  2008-02-22 16:19 ` [PATCH] CRIS: Import string.c (memcpy) from newlib: fixes compile error with gcc 4 Jesper Nilsson
  0 siblings, 2 replies; 3+ messages in thread
From: Adrian Bunk @ 2008-02-16  9:57 UTC (permalink / raw)
  To: Jesper Nilsson, starvik; +Cc: dev-etrax, linux-kernel

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-02-22 16:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-16  9:57 cris/arch-v10/lib/string.c compile error Adrian Bunk
2008-02-18  8:39 ` Jesper Nilsson
2008-02-22 16:19 ` [PATCH] CRIS: Import string.c (memcpy) from newlib: fixes compile error with gcc 4 Jesper Nilsson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox