Date: Sat, 17 Apr 1999 10:15:56 -0500 (CDT) From: Steve Price <sprice@hiwaay.net> To: obrien@freebsd.org Cc: freebsd-alpha@freebsd.org Subject: egcs internal compiler error in fixup_memory_subreg Message-ID: <Pine.OSF.4.10.9904171003540.7130-200000@fly.HiWAAY.net>
index | next in thread | raw e-mail
[-- Attachment #1 --] David, I finished my first pass through building a ports collection for Alpha and was reviewing the logs and noticed a number of places where ports were failing to build with an error like: .../function.c:2392: Internal compiler error in function fixup_memory_subreg I attached a log of one example, the Xaw3d port. I tried building with -O, -O2, -Os, and without any optimization. They all failed except for when optimization was turned off. The log is a 'gcc -v' for Scrollbar.c without optimization and with -O, just so you can see one that fails and one that doesn't. It would be easy to just build the port without optimization, but that is the chicken's way out and it doesn't really address the problem. :) Any ideas? Thanks. -steve [-- Attachment #2 --] s2[/usr/ports/x11-toolkits/Xaw3d/work/xc/lib/Xaw3d]# cc -c -I. -I/usr/X11R6/include -DCSRG_BASED -DARROW_SCROLLBAR -DUSEGRAY -DFUNCPROTO=15 -DNARROWPROTO -DUSE_XWCHAR_STRING -O Scrollbar.c -o unshared/Scrollbar.o -v Using builtin specs. gcc version egcs-2.91.66 19990314 (egcs-1.1.2 release) /usr/libexec/cpp -lang-c -v -I. -I/usr/X11R6/include -undef -D__GNUC__=2 -D__GNUC_MINOR__=91 -D__alpha__ -D__alpha -D__ELF__ -Dunix -D__FreeBSD__=4 -D__FreeBSD_cc_version=400002 -D__alpha__ -D__alpha -D__ELF__ -D__unix__ -D__FreeBSD__=4 -D__FreeBSD_cc_version=400002 -D__unix -Acpu(alpha) -Amachine(alpha) -Asystem(unix) -Asystem(FreeBSD) -D__OPTIMIZE__ -DCSRG_BASED -DARROW_SCROLLBAR -DUSEGRAY -DFUNCPROTO=15 -DNARROWPROTO -DUSE_XWCHAR_STRING Scrollbar.c /tmp/ccm40671.i GNU CPP version egcs-2.91.66 19990314 (egcs-1.1.2 release) (FreeBSD/alpha ELF) #include "..." search starts here: #include <...> search starts here: . /usr/X11R6/include /usr/include End of search list. /usr/libexec/cc1 /tmp/ccm40671.i -quiet -dumpbase Scrollbar.c -O -version -o /tmp/cce40671.s GNU C version egcs-2.91.66 19990314 (egcs-1.1.2 release) (alpha-unknown-freebsd) compiled by GNU C version egcs-2.91.66 19990314 (egcs-1.1.2 release). Scrollbar.c: In function `RepeatNotify': Scrollbar.c:909: warning: cast to pointer from integer of different size Scrollbar.c: In function `NotifyScroll': Scrollbar.c:1008: warning: cast to pointer from integer of different size Scrollbar.c:1017: warning: cast to pointer from integer of different size Scrollbar.c:1026: warning: cast to pointer from integer of different size Scrollbar.c:1030: warning: cast to pointer from integer of different size /a/src/gnu/usr.bin/cc/cc_int/../../../../contrib/egcs/gcc/function.c:2392: Internal compiler error in function fixup_memory_subreg s2[/usr/ports/x11-toolkits/Xaw3d/work/xc/lib/Xaw3d]# cc -c -I. -I/usr/X11R6/include -DCSRG_BASED -DARROW_SCROLLBAR -DUSEGRAY -DFUNCPROTO=15 -DNARROWPROTO -DUSE_XWCHAR_STRING Scrollbar.c -o unshared/Scrollbar.o -v Using builtin specs. gcc version egcs-2.91.66 19990314 (egcs-1.1.2 release) /usr/libexec/cpp -lang-c -v -I. -I/usr/X11R6/include -undef -D__GNUC__=2 -D__GNUC_MINOR__=91 -D__alpha__ -D__alpha -D__ELF__ -Dunix -D__FreeBSD__=4 -D__FreeBSD_cc_version=400002 -D__alpha__ -D__alpha -D__ELF__ -D__unix__ -D__FreeBSD__=4 -D__FreeBSD_cc_version=400002 -D__unix -Acpu(alpha) -Amachine(alpha) -Asystem(unix) -Asystem(FreeBSD) -DCSRG_BASED -DARROW_SCROLLBAR -DUSEGRAY -DFUNCPROTO=15 -DNARROWPROTO -DUSE_XWCHAR_STRING Scrollbar.c /tmp/ccq40674.i GNU CPP version egcs-2.91.66 19990314 (egcs-1.1.2 release) (FreeBSD/alpha ELF) #include "..." search starts here: #include <...> search starts here: . /usr/X11R6/include /usr/include End of search list. /usr/libexec/cc1 /tmp/ccq40674.i -quiet -dumpbase Scrollbar.c -version -o /tmp/ccD40674.s GNU C version egcs-2.91.66 19990314 (egcs-1.1.2 release) (alpha-unknown-freebsd) compiled by GNU C version egcs-2.91.66 19990314 (egcs-1.1.2 release). Scrollbar.c: In function `RepeatNotify': Scrollbar.c:909: warning: cast to pointer from integer of different size Scrollbar.c: In function `NotifyScroll': Scrollbar.c:1008: warning: cast to pointer from integer of different size Scrollbar.c:1017: warning: cast to pointer from integer of different size Scrollbar.c:1026: warning: cast to pointer from integer of different size Scrollbar.c:1030: warning: cast to pointer from integer of different size as -o unshared/Scrollbar.o /tmp/ccD40674.shelp
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.OSF.4.10.9904171003540.7130-200000>
