#61 8139too in kerneldoesn't compile on gcc3

important
closed-invalid
8139too (65)
5
2001-10-26
2001-10-25
No

Hi.

I don't know if this problem is related to the driver
code or gcc but here is the problem:
I have tried compiling kernel 2.4.12 & 2.4.13 with gcc
3.0.1 & 3.0.2 under Mandrake 8.1.

I reported this problem to Bugzilla (id 5739) and now I
post it here.

This is the output I get from gcc:

gcc -D__KERNEL__ -I/usr/src/linux/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O2
-fomit-frame-pointer -fno-strict-aliasing -fno-common
-pipe -mpreferred-stack-boundary=2 -march=athlon -c
-o 8139too.o 8139too.c
8139too.c: In function `netdev_ethtool_ioctl':
8139too.c:2432: Unrecognizable insn:
(insn/i 618 1061 1058 (parallel[
(set (reg:SI 6 ebp)
(asm_operands:SI ("addl %3,%1 ; sbbl
%0,%0; cmpl %1,%4; sbbl $0,%0") ("=&r") 0[
(reg/v:SI 1 edx [165])
(mem:SI (plus:SI (reg/f:SI 6 ebp)
(const_int -352
[0xfffffea0])) 0)
(mem/s:SI (plus:SI (reg:SI 0
eax [173])
(const_int 12 [0xc])) 0)
]
[
(asm_input:SI ("1"))
(asm_input:SI ("g"))
(asm_input:SI ("g"))
]
("/usr/src/linux/include/asm/uaccess.h") 558))
(set (reg/v:SI 1 edx [165])
(asm_operands:SI ("addl %3,%1 ; sbbl
%0,%0; cmpl %1,%4; sbbl $0,%0") ("=r") 1[
(reg/v:SI 1 edx [165])
(mem:SI (plus:SI (reg/f:SI 6 ebp)
(const_int -352
[0xfffffea0])) 0)
(mem/s:SI (plus:SI (reg:SI 0
eax [173])
(const_int 12 [0xc])) 0)
]
[
(asm_input:SI ("1"))
(asm_input:SI ("g"))
(asm_input:SI ("g"))
]
("/usr/src/linux/include/asm/uaccess.h") 558))
(clobber (reg:QI 19 dirflag))
(clobber (reg:QI 18 fpsr))
(clobber (reg:QI 17 flags))
] ) -1 (insn_list 604 (insn_list 611 (nil)))
(nil))
8139too.c:2432: Internal compiler error in
reload_cse_simplify_operands, at reload1.c:8364

Hope you can fix this.

Regards,
Lars

Discussion

  • Jeff Garzik

    Jeff Garzik - 2001-10-26
    • assigned_to: nobody --> jgarzik
     
  • Jeff Garzik

    Jeff Garzik - 2001-10-26

    Logged In: YES
    user_id=17443

    gcc bug, not 8139too bug.

     
  • Jeff Garzik

    Jeff Garzik - 2001-10-26
    • status: open --> closed-invalid
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks