Fail to compile 2.4.13-pre6 (with ext3fs) with gcc-3.0

From: Kilobug (kilobug@freesurf.fr)
Date: Tue Oct 23 2001 - 10:12:53 EST


gcc -D__KERNEL__ -I/usr/src/linux-2.4.13-pre6/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-2.4.13-pre6/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-2.4.13-pre6/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:8355

I don't really know if it's a gcc or kernel problem. If I'm in the wrong
list, please accept my apologizes.

-- 
  ** Gael Le Mignot, Ing3 EPITA, Coder of The Kilobug Team **
Home Mail : kilobug@freesurf.fr          Work Mail : le-mig_g@epita.fr
GSM       : 06.71.47.18.22 (in France)   ICQ UIN   : 7299959
Web       : http://kilobug.freesurf.fr or http://drizzt.dyndns.org

"Software is like sex it's better when it's free.", Linus Torvalds

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Oct 23 2001 - 21:00:38 EST