error compiling sched.c with current 2.6 bk

Patrick Mansfield patmans at us.ibm.com
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
(bk://source.scl.ameslab.gov/linux-2.5).

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
include/linux/compiler-gcc.h.

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:
/usr/src/packages/BUILD/cross-ppc64-gcc-3.2/gcc-3.2/configure
--enable-languages=c,c++,f77 --prefix=/opt/cross --host=powerpc-suse-linux
--target=powerpc64-linux --enable-threads=posix --disable-nls
--enable-shared
--with-headers=/usr/src/packages/BUILD/cross-ppc64-gcc-3.2/include-ppc64-glibc-2.2.5
Thread model: posix
gcc version 3.2

Thanks.

-- Patrick Mansfield

** Sent via the linuxppc64-dev mail list. See http://lists.linuxppc.org/





More information about the Linuxppc64-dev mailing list