Internal compiler error
Lars Hecking
lhecking@nmrc.ie
Mon Aug 28 10:02:00 GMT 2000
gcc version 2.95.2 19991024 (release)
alphaev5-dec-osf4.0f (uname: OSF1 V4.0 1229 alpha alpha)
Compiler options: -O2 -fPIC
The problem appears when compiling tack in current releases of ncurses 5.1.
Can't say how long this problem has really existed, as I only started
using shared ncurses libs recently.
$ make
[...]
cd tack && make DESTDIR="" all
make[1]: Entering directory `/usr/var/tmp/ncurses-5.1/tack'
cd ../obj_s; gcc -DHAVE_CONFIG_H -I../tack -I. -DNDEBUG -I. -I../include -I/usr/local/ncurses/include -O2 -fPIC -c ../tack/pad.c
In file included from /usr/local/gnu/lib/gcc-lib/alphaev5-dec-osf4.0f/2.95.2/include/stdarg.h:36,
from ../include/curses.h:78,
from ../tack/tack.h:49,
from ../tack/pad.c:22:
/usr/local/gnu/lib/gcc-lib/alphaev5-dec-osf4.0f/2.95.2/include/va-alpha.h:36: warning: redefinition of `va_list'
/usr/local/gnu/lib/gcc-lib/alphaev5-dec-osf4.0f/2.95.2/include/va_list.h:7: warning: `va_list' previously declared here
../tack/pad.c: In function `pad_home1':
../tack/pad.c:333: Internal compiler error in `int_mode_for_mode', at stor-layout.c:202
Please submit a full bug report.
See <URL: http://www.gnu.org/software/gcc/faq.html#bugreport > for instructions.
make[1]: *** [../obj_s/pad.o] Error 1
make[1]: Leaving directory `/usr/var/tmp/ncurses-5.1/tack'
make: *** [all] Error 2
$
I have attached the preprocessed output of the source file
(gcc -DHAVE_CONFIG_H -I../tack -I. -DNDEBUG -I. -I../include \
-I/usr/local/ncurses/include -O2 -fPIC -E ../tack/pad.c -o pad.i)
Thanks!
[I seem to have a lot more problems with gcc on this platform, esp.
with C++. Would it be worth upgrading to a newer-than-2.95.2
snapshot/cvs version?]
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pad.i.gz
Type: application/x-gzip
Size: 18840 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-bugs/attachments/20000828/a2faf185/attachment.bin>
More information about the Gcc-bugs
mailing list