This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Internal compiler error in eliminate_regs, at reload1.c:2580 [Re:can't build usable emacs/src/Makefile with recent gcc snapshots
- To: Eli Zaretskii <eliz at is dot elta dot co dot il>
- Subject: Internal compiler error in eliminate_regs, at reload1.c:2580 [Re:can't build usable emacs/src/Makefile with recent gcc snapshots
- From: Jim Meyering <jim at meyering dot net>
- Date: Sun, 30 Sep 2001 19:40:17 +0200
- Cc: emacs-pretesters at gnu dot org, gerd at gnu dot org, rms at gnu dot org
- Cc: bug-gcc at gnu dot org
- References: <8766a157r3.fsf@pixie.eng.ascend.com><9743-Sun30Sep2001161548+0300-eliz@is.elta.co.il><87u1xk4qya.fsf@pixie.eng.ascend.com><4331-Sun30Sep2001184603+0300-eliz@is.elta.co.il>
"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:
emacsserver.i.gz
But if I actually `cd src' and run make from there, it does indeed work.
> Sorry I didn't say that explicitly.
>
>> > Anyway, this should be reported to gcc-bugs, I think.
>>
>> You're welcome to report it.
>
> I think it would be better if you reported this, since I don't have
> that snapshot installed, and cannot send them preprocessed files and
> anything else they might want. But if you can't do that, I will.
I'll file a report for the original problem later,
assuming no one else beats me to it.