* 2.1.11X Kernel compile
@ 1998-08-14 12:40 Armin Ollig
1998-08-14 13:37 ` David Alan Gilbert
1998-08-14 13:38 ` Christopher C Chimelis
0 siblings, 2 replies; 6+ messages in thread
From: Armin Ollig @ 1998-08-14 12:40 UTC (permalink / raw)
To: axp-list
Hi,
i try to compile a 2.1.115 and 113 Kernel on a PC164 based Alpha (RH5.1).
I get an internel compiler error and cannot explain *why*.
Is there a mistake in the assembly code that egcs generates?
page_alloc.c: In function `__free_page':
page_alloc.c:170: internal error--unrecognizable insn:
(jump_insn 300 292 301 (return) -1 (nil)
(nil))
{standard input}: gcc: Internal compiler error: program cc1 got fatal
signal 6
make[2]: *** [page_alloc.o] Error 1
make[2]: Leaving directory `/usr/src/linux-2.1.115/mm'
make[1]: *** [first_rule] Error 2
make[1]: Leaving directory `/usr/src/linux-2.1.115/mm'
make: *** [linuxsubdirs] Error 2
cpp: output pipe has been closed
Assembler messages:
{standard input}:177: Warning: Missing .end or .bend at end of file
[root@alpha linux]# gcc --version
egcs-2.90.27 980315 (egcs-1.0.2 release)
[root@alpha linux]# rpm -qf /lib/libc.so.6.1
glibc-2.0.7-19
any suggestions ? comments ?
thanks in advance,
--armin
---------------------------------------------------------------------
| Armin Ollig UNIX Systems Administration armin@tops.net |
| |
| If god is dead who will save the queen ? |
---------------------------------------------------------------------
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: 2.1.11X Kernel compile
1998-08-14 12:40 2.1.11X Kernel compile Armin Ollig
@ 1998-08-14 13:37 ` David Alan Gilbert
1998-08-14 13:38 ` Christopher C Chimelis
1 sibling, 0 replies; 6+ messages in thread
From: David Alan Gilbert @ 1998-08-14 13:37 UTC (permalink / raw)
To: axp-list
Armin Ollig wrote:
> i try to compile a 2.1.115 and 113 Kernel on a PC164 based Alpha (RH5.1).
> I get an internel compiler error and cannot explain *why*.
> Is there a mistake in the assembly code that egcs generates?
It builds OK with gcc 2.7.2.3.
> page_alloc.c: In function `__free_page':
> page_alloc.c:170: internal error--unrecognizable insn:
> (jump_insn 300 292 301 (return) -1 (nil)
> (nil))
> {standard input}: gcc: Internal compiler error: program cc1 got fatal
That error means that the internals of egcs have determined that it needs
to generate a particular instruction pattern (called 'jump_insn' with
some parameters), but the backend of EGCS hasn't been taught how to produce one.
It means either something is geneating a type of instruction pattern when it
shouldn't, or someone needs to go in and teach the backend about an instruction
type. I suspect its the earler of these two; although I don't know it
that well.
> [root@alpha linux]# gcc --version
> egcs-2.90.27 980315 (egcs-1.0.2 release)
Thats ancient.
Dave
--
----------------------------------------------------------------------
- Dr. David Alan Gilbert - WARNING! This is a beta release .signature-
- Work: dg @ cogency.co.uk - +44-(0)161-428-9444 -
- Home: gro.gilbert @ treblig.org - -
----------------------------------------------------------------------
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: 2.1.11X Kernel compile
1998-08-14 12:40 2.1.11X Kernel compile Armin Ollig
1998-08-14 13:37 ` David Alan Gilbert
@ 1998-08-14 13:38 ` Christopher C Chimelis
1998-08-14 15:56 ` James Ratliff
1 sibling, 1 reply; 6+ messages in thread
From: Christopher C Chimelis @ 1998-08-14 13:38 UTC (permalink / raw)
To: axp-list
On Fri, 14 Aug 1998, Armin Ollig wrote:
> i try to compile a 2.1.115 and 113 Kernel on a PC164 based Alpha (RH5.1).
> I get an internel compiler error and cannot explain *why*.
> Is there a mistake in the assembly code that egcs generates?
>
> page_alloc.c: In function `__free_page':
> page_alloc.c:170: internal error--unrecognizable insn:
> (jump_insn 300 292 301 (return) -1 (nil)
> (nil))
Ah, yes, the infamous page_alloc problem. We've narrowed it down to be a
bug in the Haifa scheduler in egcs (pretty vague, I know). I'm testing
the latest snapshot right now to see if it exhibits the same behaviour or
not. For now, recompile egcs with the --disable-haifa switch and it
should compile just fine.
Someone on the list has revised RPMs for this, fyi, but I'm not sure who.
C
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: 2.1.11X Kernel compile
1998-08-14 13:38 ` Christopher C Chimelis
@ 1998-08-14 15:56 ` James Ratliff
1998-08-14 16:46 ` Christopher C Chimelis
0 siblings, 1 reply; 6+ messages in thread
From: James Ratliff @ 1998-08-14 15:56 UTC (permalink / raw)
To: axp-list
Christopher C Chimelis wrote:
> On Fri, 14 Aug 1998, Armin Ollig wrote:
>
> > i try to compile a 2.1.115 and 113 Kernel on a PC164 based Alpha (RH5.1).
> > I get an internel compiler error and cannot explain *why*.
> > Is there a mistake in the assembly code that egcs generates?
> >
> > page_alloc.c: In function `__free_page':
> > page_alloc.c:170: internal error--unrecognizable insn:
> > (jump_insn 300 292 301 (return) -1 (nil)
> > (nil))
>
> Ah, yes, the infamous page_alloc problem. We've narrowed it down to be a
> bug in the Haifa scheduler in egcs (pretty vague, I know). I'm testing
> the latest snapshot right now to see if it exhibits the same behaviour or
> not. For now, recompile egcs with the --disable-haifa switch and it
> should compile just fine.
>
> Someone on the list has revised RPMs for this, fyi, but I'm not sure who.
>
> C
>
> --
> To unsubscribe: send e-mail to axp-list-request@redhat.com with
> 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
Hi,
I am getting this error also (same platform, Redhat, egcs, libc, etc..) and
recompiled egcs using the --disable-haifa switch. I tried recompiling the
2.1.115 kernel, and got the same page_alloc error. Any further suggestions?
Thanks,
James
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: 2.1.11X Kernel compile
1998-08-14 15:56 ` James Ratliff
@ 1998-08-14 16:46 ` Christopher C Chimelis
1998-08-14 18:07 ` James Ratliff
0 siblings, 1 reply; 6+ messages in thread
From: Christopher C Chimelis @ 1998-08-14 16:46 UTC (permalink / raw)
To: axp-list
On Fri, 14 Aug 1998, James Ratliff wrote:
> I am getting this error also (same platform, Redhat, egcs, libc, etc..) and
> recompiled egcs using the --disable-haifa switch. I tried recompiling the
> 2.1.115 kernel, and got the same page_alloc error. Any further suggestions?
Hmmm...it shouldn't do that, but I guess it is. Which version of egcs are
you running? Also, just double-check that the recompiled egcs is being
used (if you compiled it by hand, it may be in /usr/local instead of /usr
and the RPM may be overriding it due to your path).
C
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: 2.1.11X Kernel compile
1998-08-14 16:46 ` Christopher C Chimelis
@ 1998-08-14 18:07 ` James Ratliff
0 siblings, 0 replies; 6+ messages in thread
From: James Ratliff @ 1998-08-14 18:07 UTC (permalink / raw)
To: axp-list
Christopher C Chimelis wrote:
> On Fri, 14 Aug 1998, James Ratliff wrote:
>
> > I am getting this error also (same platform, Redhat, egcs, libc, etc..) and
> > recompiled egcs using the --disable-haifa switch. I tried recompiling the
> > 2.1.115 kernel, and got the same page_alloc error. Any further suggestions?
>
> Hmmm...it shouldn't do that, but I guess it is. Which version of egcs are
> you running? Also, just double-check that the recompiled egcs is being
> used (if you compiled it by hand, it may be in /usr/local instead of /usr
> and the RPM may be overriding it due to your path).
>
> C
>
> --
> To unsubscribe: send e-mail to axp-list-request@redhat.com with
> 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
Hi,
I also thought that I might still be using the old, RPM for egcs. So, after I
recompiled the egcs 1.0.2, using the --disable-haifa switch, I removed all my
old egcs RPMs and then installed the new egcs sources. (It still didn't work).
HOWEVER, I just downloaded the latest snapshot of the egcs source and compiled
it without the --disable-haifa switch, and was able to get the 2.1.115 kernel to
compile.
Thanks,
James
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~1998-08-14 18:07 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-08-14 12:40 2.1.11X Kernel compile Armin Ollig
1998-08-14 13:37 ` David Alan Gilbert
1998-08-14 13:38 ` Christopher C Chimelis
1998-08-14 15:56 ` James Ratliff
1998-08-14 16:46 ` Christopher C Chimelis
1998-08-14 18:07 ` James Ratliff
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox