error compiling sched.c with current 2.6 bk

Patrick Mansfield patmans at
Wed Oct 15 05:07:21 EST 2003

Hi -

I'm getting the following compile error with a 2.6 bk tree as of today

kernel/sched.c: In function `wait_task_inactive':
kernel/sched.c:551: `asm' operand requires impossible reload
kernel/sched.c:289: `asm' operand requires impossible reload
make[1]: *** [kernel/sched.o] Error 1

Looks like the compiler doesn't like the code in

Any suggestions?

What are the accepted versions of gcc for compiling the 2.6 kernel with ppc?
I can't find anything in the archives or elsewhere, but I am new to ppc.

I have:

[elm3b86 patman]$ /opt/cross/bin/powerpc64-linux-gcc -v
Reading specs from /opt/cross/lib/gcc-lib/powerpc64-linux/3.2/specs
Configured with:
--enable-languages=c,c++,f77 --prefix=/opt/cross --host=powerpc-suse-linux
--target=powerpc64-linux --enable-threads=posix --disable-nls
Thread model: posix
gcc version 3.2


-- Patrick Mansfield

** Sent via the linuxppc64-dev mail list. See

More information about the Linuxppc64-dev mailing list