Re: fs/proc/array.c Compile Error

From: Pavel Machek
Date: Wed Oct 15 2003 - 05:41:46 EST


Hi!

> As of this morning, I'm getting a neat compile error in fs/proc/array.c:
>
> fs/proc/array.c: In function `proc_pid_stat':
> fs/proc/array.c:392: Unrecognizable insn:
> (insn/i 711 995 989 (parallel[
> (set (reg:SI 0 eax)
> (asm_operands ("") ("=a") 0[
> (reg:DI 1 edx)
> ]
> [
> (asm_input:DI ("A"))
> ] ("include/linux/times.h") 37))
> (set (reg:SI 1 edx)
> (asm_operands ("") ("=d") 1[
> (reg:DI 1 edx)
> ]
> [
> (asm_input:DI ("A"))
> ] ("include/linux/times.h") 37))
> (clobber (reg:QI 19 dirflag))
> (clobber (reg:QI 18 fpsr))
> (clobber (reg:QI 17 flags))
> ] ) -1 (insn_list 705 (nil))
> (nil))
> fs/proc/array.c:392: confused by earlier errors, bailing out
>
>
> The GCC version I'm using is
>
> $ gcc -v
> Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/2.96/specs
> gcc version 2.96 20000731 (Red Hat Linux 7.3 2.96-110)
>
> Any ideas?

Well, thats compiler internal error (I've seen lots of those during
x86-64 development). Either fix your compiler (hard), or add
"volatile"'s to the variables in function until it stops.

Pavel
PS: Do you have diff between "linux-power" tree and linus available
somewhere? On http://developer.osdl.org/~mochel/patches/ latest I see
is -test5-mm3.
--
When do you have a heart between your knees?
[Johanka's followup: and *two* hearts?]
-
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/