Skip to contentSkip to conversation

RH7.3 can't compile 2.6.0-test8

DISCUSSION Norman Diamond 4 participants 4 messages Oct 20, 2003

lore
Share & tools
lore
#0 lore raw

I understand that Red Hat's GCC is nonstandard, but this still surprised me. In the "make" output below, the word エラー means error.

fs/proc/array.c: In function `proc_pid_stat':
fs/proc/array.c:398: Unrecognizable insn:
(insn/i 1332 1672 1666 (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 1326 (nil))
    (nil))

fs/proc/array.c:398: confused by earlier errors, bailing out make[2]: *** [fs/proc/array.o] エラー 1
make[1]: *** [fs/proc] エラー 2
make: *** [fs] エラー 2
[ndiamond@c1pc40 linux-2.6.0-test8]$ 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) [ndiamond@c1pc40 linux-2.6.0-test8]$ rpm -qa binutils binutils-2.11.93.0.2-11

#1 lore raw

Norman Diamond schrieb:
[...]

Quoted 9 lines

fs/proc/array.c:398: confused by earlier errors, bailing out make[2]: *** [fs/proc/array.o] エラー 1
make[1]: *** [fs/proc] エラー 2
make: *** [fs] エラー 2
[ndiamond@c1pc40 linux-2.6.0-test8]$ 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) [ndiamond@c1pc40 linux-2.6.0-test8]$ rpm -qa binutils binutils-2.11.93.0.2-11

did you try with a gcc 3.x too? perhaps it's (only) a compiler issue...

Christian.

Signature · 3 lines
BOFH excuse #285:

Telecommunications is upgrading.
#2 lore raw
Quoted 9 lines · On Monday October 20th 2003 at 16:01 Christian Kujau wrote:

Norman Diamond schrieb:
[...]

Quoted 5 lines

[ndiamond@c1pc40 linux-2.6.0-test8]$ 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) [ndiamond@c1pc40 linux-2.6.0-test8]$ rpm -qa binutils binutils-2.11.93.0.2-11

did you try with a gcc 3.x too? perhaps it's (only) a compiler issue...

No, you just need to upgrade binutils to version 2.12 or higher, as mentioned in Documentation/Changes. The gcc version is fine.

Signature · 1 line
Marco Roeland
#3 lore raw
Quoted 2 lines · Marco Roeland

No, you just need to upgrade binutils to version 2.12 or higher, as mentioned in Documentation/Changes. The gcc version is fine.

Apparently that's not quite enough. I have a machine on binutils 2.12.90.0.9 and I'm still getting the same failure.

-Paul Larson