Internal compiler error in eliminate_regs, at reload1.c:2580 [Re:can't build usable emacs/src/Makefile with recent gcc snapshots

Jim Meyering jim@meyering.net
Sun Sep 30 10:58:00 GMT 2001


"Eli Zaretskii" <eliz@is.elta.co.il> wrote:

>> From: Jim Meyering <jim@meyering.net>
>> Date: Sun, 30 Sep 2001 17:51:41 +0200
>> >
>> > Jim, can you get this to work if you force the preprocessor to use the
>> > "-traditional" switch?  (See etc/PROBLEMS entry "Building Emacs with
>> > GCC 2.9x fails in the `src' directory", for a similar problem.)
...
> Sure, you can't compile Emacs with -traditional.  I meant something
> different:
>
>     $ env CPP='gcc -E -traditional' ./configure

[short answer, it works in that src/Makefile is now valid]

Here's what I get now (using a snapshot from about 12 hours ago):

gcc -D_BSD_SOURCE  -DHAVE_CONFIG_H    -I. -I../src -I/mirror/d/emacs/lib-src -I/mirror/d/emacs/lib-src/../src -L/usr/X11R6/lib -D_BSD_SOURCE   -g -O2  /mirror/d/emacs/lib-src/emacsserver.c -lc -o emacsserver
/mirror/d/emacs/lib-src/emacsserver.c: In function `main':
/mirror/d/emacs/lib-src/emacsserver.c:410: Internal compiler error in eliminate_regs, at reload1.c:2580
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL: http://www.gnu.org/software/gcc/bugs.html > for instructions.
make[1]: *** [emacsserver] Error 1
make[1]: Leaving directory `/build/d/emacs/lib-src'
make: *** [lib-src] Error 2
[Exit 2]

$ gcc -v
Reading specs from /p/p/gcc-2001-09-30.02h35/lib/gcc-lib/i686-pc-linux-gnu/3.1/specs
Configured with: /mirror/d/gcc/configure --disable-nls --prefix=/p/p/gcc-2001-09-30.02h35
Thread model: single
gcc version 3.1 20010929 (experimental)

Here's emacsserver.i.gz:

-------------- next part --------------
A non-text attachment was scrubbed...
Name: emacsserver.i.gz
Type: application/x-gzip
Size: 12734 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-bugs/attachments/20010930/2316ef06/attachment.bin>


More information about the Gcc-bugs mailing list