Date: Sun, 28 Feb 1999 20:09:19 -0500 (EST) From: Tugrul <tugrul@ianai.BlackSun.org> To: current@freebsd.org Subject: Re: gcc Message-ID: <Pine.BSF.3.96.990228200140.23249A-100000@ianai.BlackSun.org> In-Reply-To: <99Mar1.112518est.40420@border.alcanet.com.au>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 1 Mar 1999, Peter Jeremy wrote: > There's a catch-22 here: We can't prove the stability of EGCS until we > start using it. Even if we don't make EGCS the base compiler, we need > a standard documented mechanism for doing `make world' with EGCS as well > as agreement that bug reports using ECGS will be considered. > I'd personally love an option for make world to use egcs installed from the port tree. And perhaps a new mailing list just for throwing random egcs complaints at. Right now I'm manually building the source tree with egcs to see how I fair. Any failures I get from building thus far are replicable with the built in gcc, so egcs doesn't seem to choke on the code all too much. The kernel code is a slightly different matter. I get the following errors: [20:10]galatalt@callisto:/usr/src/sys/compile/CALLISTO# make CC=egcc -k egcc -c -O3 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -ansi -nostdinc -I- -I. -I../.. -I../../../include -DKERNEL -DVM_STACK -include opt_global.h -elf ../../i386/i386/identcpu.c ../../i386/i386/identcpu.c: In function `printcpuinfo': ../../i386/i386/identcpu.c:558: warning: unknown conversion type character `b' in format ../../i386/i386/identcpu.c:558: warning: too many arguments for format ../../i386/i386/identcpu.c: In function `print_AMD_info': ../../i386/i386/identcpu.c:902: internal error--insn does not satisfy its constraints: (insn:HI 278 454 279 (set (reg:SI 2 %ecx) (subreg:SI (lshiftrt:DI (reg:DI 1 %edx) (const_int 22)) 0)) 250 {lshrdi3_const_int_subreg} (nil) (expr_list:REG_DEAD (reg:SI 1 %edx) (nil))) toplev.c:1431: Internal compiler error in function fatal_insn *** Error code 1 (continuing) egcc -c -O3 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -ansi -nostdinc -I- -I. -I../.. -I../../../include -DKERNEL -DVM_STACK -include opt_global.h -elf ../../i386/i386/pmap.c ../../i386/i386/pmap.c: In function `pmap_setdevram': ../../i386/i386/pmap.c:555: internal error--insn does not satisfy its constraints: (insn:HI 107 330 109 (set (reg:SI 1 %edx) (subreg:SI (lshiftrt:DI (reg:DI 0 %eax) (const_int 12)) 0)) 250 {lshrdi3_const_int_subreg} (nil) (expr_list:REG_DEAD (reg:SI 0 %eax) (nil))) toplev.c:1431: Internal compiler error in function fatal_insn *** Error code 1 (continuing) `kernel' not remade because of errors. [20:10]galatalt@callisto:/usr/src/sys/compile/CALLISTO# Fun fun fun :-) I built those two files with gcc and rebooted with the output. Seemed fine. Tugrul Galatali To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.990228200140.23249A-100000>