Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Kernel compile failure 2.1.104 /RH 5.1 Alpha
@ 1998-06-06  3:13 Michael Gilbert
  1998-06-07 22:56 ` Richard Henderson
  1998-06-08  3:23 ` Travis W. Johnson
  0 siblings, 2 replies; 11+ messages in thread
From: Michael Gilbert @ 1998-06-06  3:13 UTC (permalink / raw)
  To: mgilbert, axp-list; +Cc: kliman

When trying to compile the development kernel 2.1.104 on a RedHat/Alpha 5.1 
system (yes, somewhat bleeding edge...), I get a new (to me, anyway) error:

make[2]: Entering directory `/usr/src/linux-2.1.104/mm'
gcc -D__KERNEL__ -I/usr/src/linux-2.1.104/include -Wall -Wstrict-prototypes 
-O2 -fomit-frame-pointer -pipe -mno-fp-regs -ffixed-8 -Wno-uninitialized   -c 
-o page_alloc.o page_alloc.c
page_alloc.c: In function `free_pages':
page_alloc.c:208: internal error--unrecognizable insn:
(jump_insn 337 329 338 (return) -1 (nil)
    (nil))
cpp: output pipe has been closed
{standard input}: Assembler messages:
{standard input}:337: Warning: Missing .end or .bend at end of file
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.104p/mm'
make[1]: *** [first_rule] Error 2
make[1]: Leaving directory `/usr/src/linux-2.1.104p/mm'
make: *** [linuxsubdirs] Error 2

This looks suspiciously to my untrained eye like an egcs error.
Any ideas, suggestions, or fixes?

MICHAEL Wm. GILBERT  mgilbert@oit.umass.edu
Technology Development and Special Projects
Office of Information Technology (OIT)
University of Massachusetts at Amherst
Voice: 413-545-3124   Fax: 413-545-3203
A115 Lederle Graduate Research Center
UMASS Amherst, MA 01003 USA


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Kernel compile failure 2.1.104 /RH 5.1 Alpha
  1998-06-06  3:13 Kernel compile failure 2.1.104 /RH 5.1 Alpha Michael Gilbert
@ 1998-06-07 22:56 ` Richard Henderson
  1998-06-08  3:23 ` Travis W. Johnson
  1 sibling, 0 replies; 11+ messages in thread
From: Richard Henderson @ 1998-06-07 22:56 UTC (permalink / raw)
  To: Michael Gilbert, axp-list; +Cc: kliman

On Fri, Jun 05, 1998 at 11:13:47PM -0400, Michael Gilbert wrote:
> page_alloc.c: In function `free_pages':
> page_alloc.c:208: internal error--unrecognizable insn:
> (jump_insn 337 329 338 (return) -1 (nil)
>     (nil))

This is new to me as well.  Of course, I havn't built a 2.0 series
kernel in a very long time.

Would someone please send me a preprocessed copy of page_alloc.c?
Apparently the srpm format changed, and I'm having trouble recreating
the kernel tree that RH shipped.


r~


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Kernel compile failure 2.1.104 /RH 5.1 Alpha
  1998-06-06  3:13 Kernel compile failure 2.1.104 /RH 5.1 Alpha Michael Gilbert
  1998-06-07 22:56 ` Richard Henderson
@ 1998-06-08  3:23 ` Travis W. Johnson
  1998-06-08  6:37   ` Richard Henderson
  1 sibling, 1 reply; 11+ messages in thread
From: Travis W. Johnson @ 1998-06-08  3:23 UTC (permalink / raw)
  To: axp-list

Quoting Michael Gilbert (mgilbert@oit.umass.edu):
> When trying to compile the development kernel 2.1.104 on a RedHat/Alpha 5.1 
> system (yes, somewhat bleeding edge...), I get a new (to me, anyway) error:
> 
> make[2]: Entering directory `/usr/src/linux-2.1.104/mm'
> gcc -D__KERNEL__ -I/usr/src/linux-2.1.104/include -Wall -Wstrict-prototypes 
> -O2 -fomit-frame-pointer -pipe -mno-fp-regs -ffixed-8 -Wno-uninitialized   -c 
> -o page_alloc.o page_alloc.c
> page_alloc.c: In function `free_pages':
> page_alloc.c:208: internal error--unrecognizable insn:
> (jump_insn 337 329 338 (return) -1 (nil)
>     (nil))
> cpp: output pipe has been closed
> {standard input}: Assembler messages:
> {standard input}:337: Warning: Missing .end or .bend at end of file
> 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.104p/mm'
> make[1]: *** [first_rule] Error 2
> make[1]: Leaving directory `/usr/src/linux-2.1.104p/mm'
> make: *** [linuxsubdirs] Error 2
> 
> This looks suspiciously to my untrained eye like an egcs error.
> Any ideas, suggestions, or fixes?
> 

Here is some more info ...

When trying to compile 2.1.105 using gcc version egcs-2.90.29 980515
(egcs-1.0.3 release) I get the same error.

gcc -D__KERNEL__ -I/usr/src/linux-2.1.105/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -pipe -mno-fp-regs -ffixed-8   -c -o page_alloc.o page_alloc.c
page_alloc.c: In function `free_pages':
page_alloc.c:208: internal error--unrecognizable insn:
(jump_insn 337 329 338 (return) -1 (nil)
    (nil))
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.105/mm'
make[1]: *** [first_rule] Error 2
make[1]: Leaving directory `/usr/src/linux-2.1.105/mm'
make: *** [linuxsubdirs] Error 2
[root@sleipner linux]# {standard input}: Assembler messages:
{standard input}:337: Warning: Missing .end or .bend at end of file

NOTE: The same kernel with the same config setup complies to completion with
gcc version 2.8.1.

-- 

-------     |
 / ravis W. |ohnson
  ----------'
  School of Electrical Engineering & Computer Science
  Washington State University
  Pullman, WA 99164-2752
  tjohnso1@eecs.wsu.edu -- (509)335-1880


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Kernel compile failure 2.1.104 /RH 5.1 Alpha
  1998-06-08  3:23 ` Travis W. Johnson
@ 1998-06-08  6:37   ` Richard Henderson
  1998-06-08 12:29     ` Erik Troan
                       ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Richard Henderson @ 1998-06-08  6:37 UTC (permalink / raw)
  To: axp-list; +Cc: ewt

On Sun, Jun 07, 1998 at 08:23:36PM -0700, Travis W. Johnson wrote:
> When trying to compile 2.1.105 using gcc version egcs-2.90.29 980515
> (egcs-1.0.3 release) I get the same error.

This I cannot reproduce.

[dot:/dot/slash/rth/linux/2.1.105] make mm/page_alloc.o
gcc -D__KERNEL__ -I/dot/slash/rth/linux/2.1.105/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -pipe -mno-fp-regs -ffixed-8   -c -o mm/page_alloc.o
mm/page_alloc.c
[dot:/dot/slash/rth/linux/2.1.105] gcc -v
Reading specs from /dot/slash/rth/egcs/run-rel/lib/gcc-lib/alphaev5-unknown-linux-gnulibc1/egcs-2.90.29/specs
gcc version egcs-2.90.29 980515 (egcs-1.0.3 release)

Nor could I reproduce it with the preprocessed 2.1.105 source
you sent me. 

Incidentally, is this egcs 1.0.3 source as downloaded from egcs.cygnus.com
or that distributed with Red Hat 5.1?  I suppose if Red Hat added extra
patches they might have broken something, but given that the only reason
1.0.3 exists is to support RH5.1, I would be surprised if there are extra
patches.

But again, the change in rpm format thwarts me.  (And the new rpm binary
I built just segfaults; ho hum.)  


r~


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Kernel compile failure 2.1.104 /RH 5.1 Alpha
  1998-06-08  6:37   ` Richard Henderson
@ 1998-06-08 12:29     ` Erik Troan
  1998-06-08 13:36       ` Cristian Gafton
  1998-06-08 18:12     ` Travis W. Johnson
  1998-06-08 21:33     ` Thomas Bogendoerfer
  2 siblings, 1 reply; 11+ messages in thread
From: Erik Troan @ 1998-06-08 12:29 UTC (permalink / raw)
  To: Richard Henderson; +Cc: axp-list

On Sun, 7 Jun 1998, Richard Henderson wrote:

> Incidentally, is this egcs 1.0.3 source as downloaded from egcs.cygnus.com
> or that distributed with Red Hat 5.1?  I suppose if Red Hat added extra
> patches they might have broken something, but given that the only reason
> 1.0.3 exists is to support RH5.1, I would be surprised if there are extra
> patches.

We're shipping 1.0.2 with a bunch of patches actually, as 1.0.3 wasn't
available when we shipped 5.1.

> But again, the change in rpm format thwarts me.  (And the new rpm binary
> I built just segfaults; ho hum.)  

Have you gotten the 2.5.1 package from ftp.redhat.com:/pub/rpm/rpm-2.5.x?

Erik

-------------------------------------------------------------------------------
|       "For the next two hours, VH1 will be filled with foul-mouthed,        |
|          crossdressing Australians. Viewer discretion is advised."          |
|                                                                             |
|   Linux Application Development  --  http://www.redhat.com/~johnsonm/lad    |


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Kernel compile failure 2.1.104 /RH 5.1 Alpha
  1998-06-08 12:29     ` Erik Troan
@ 1998-06-08 13:36       ` Cristian Gafton
  0 siblings, 0 replies; 11+ messages in thread
From: Cristian Gafton @ 1998-06-08 13:36 UTC (permalink / raw)
  To: axp-list; +Cc: Richard Henderson

On Mon, 8 Jun 1998, Erik Troan wrote:

> > or that distributed with Red Hat 5.1?  I suppose if Red Hat added extra
> > patches they might have broken something, but given that the only reason
> > 1.0.3 exists is to support RH5.1, I would be surprised if there are extra
> > patches.
> 
> We're shipping 1.0.2 with a bunch of patches actually, as 1.0.3 wasn't
> available when we shipped 5.1.

The egcs we ship is also known as egcs-1.0.3a in cygnus' CVS directory.
But this name was assigned after we went gold (jeff Law knows all the
story)

Cristian
--
----------------------------------------------------------------------
Cristian Gafton   --   gafton@redhat.com   --   Red Hat Software, Inc.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 UNIX is user friendly. It's just selective about who its friends are.



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Kernel compile failure 2.1.104 /RH 5.1 Alpha
  1998-06-08  6:37   ` Richard Henderson
  1998-06-08 12:29     ` Erik Troan
@ 1998-06-08 18:12     ` Travis W. Johnson
  1998-06-08 21:33     ` Thomas Bogendoerfer
  2 siblings, 0 replies; 11+ messages in thread
From: Travis W. Johnson @ 1998-06-08 18:12 UTC (permalink / raw)
  To: axp-list

Quoting Richard Henderson (rth@dot.cygnus.com):
> On Sun, Jun 07, 1998 at 08:23:36PM -0700, Travis W. Johnson wrote:
> > When trying to compile 2.1.105 using gcc version egcs-2.90.29 980515
> > (egcs-1.0.3 release) I get the same error.
> 
> This I cannot reproduce.
> 
> [dot:/dot/slash/rth/linux/2.1.105] make mm/page_alloc.o
> gcc -D__KERNEL__ -I/dot/slash/rth/linux/2.1.105/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -pipe -mno-fp-regs -ffixed-8   -c -o mm/page_alloc.o
> mm/page_alloc.c
> [dot:/dot/slash/rth/linux/2.1.105] gcc -v
> Reading specs from /dot/slash/rth/egcs/run-rel/lib/gcc-lib/alphaev5-unknown-linux-gnulibc1/egcs-2.90.29/specs
> gcc version egcs-2.90.29 980515 (egcs-1.0.3 release)
> 
> Nor could I reproduce it with the preprocessed 2.1.105 source
> you sent me. 
> 
> Incidentally, is this egcs 1.0.3 source as downloaded from egcs.cygnus.com
> or that distributed with Red Hat 5.1?  I suppose if Red Hat added extra
> patches they might have broken something, but given that the only reason
> 1.0.3 exists is to support RH5.1, I would be surprised if there are extra
> patches.
> 

This was with egcs 1.0.3a downloaded and built from cygnus site (took
forever to build on my UDB could it be related to LCA4 vs ev5?) and not
from a RPM.

-- 

-------     |
 / ravis W. |ohnson
  ----------'
  School of Electrical Engineering & Computer Science
  Washington State University
  Pullman, WA 99164-2752
  tjohnso1@eecs.wsu.edu -- (509)335-1880


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Kernel compile failure 2.1.104 /RH 5.1 Alpha
  1998-06-08  6:37   ` Richard Henderson
  1998-06-08 12:29     ` Erik Troan
  1998-06-08 18:12     ` Travis W. Johnson
@ 1998-06-08 21:33     ` Thomas Bogendoerfer
  1998-06-08 21:58       ` Richard Henderson
  2 siblings, 1 reply; 11+ messages in thread
From: Thomas Bogendoerfer @ 1998-06-08 21:33 UTC (permalink / raw)
  To: Richard Henderson; +Cc: axp-list, ewt

On Sun, Jun 07, 1998 at 11:37:44PM -0700, Richard Henderson wrote:
> On Sun, Jun 07, 1998 at 08:23:36PM -0700, Travis W. Johnson wrote:
> > When trying to compile 2.1.105 using gcc version egcs-2.90.29 980515
> > (egcs-1.0.3 release) I get the same error.
> 
> This I cannot reproduce.

strange. You've probably built and used egcs on something faster than
a UDB/Noname. For me the same egcs version, built by myself (with a little
help from the RedHat .spec file, but without the 1.0.2 patches) on a
Noname, dies with the mentioned error message.

Is it possible that some optimization will be used/not used on a 21066
while will be not used/used on a 21x64 ?

Thomas.

-- 
See, you not only have to be a good coder to create a system like Linux,
you have to be a sneaky bastard too ;-)
                   [Linus Torvalds in <4rikft$7g5@linux.cs.Helsinki.FI>]


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Kernel compile failure 2.1.104 /RH 5.1 Alpha
  1998-06-08 21:33     ` Thomas Bogendoerfer
@ 1998-06-08 21:58       ` Richard Henderson
  1998-06-08 22:11         ` Thomas Bogendoerfer
  0 siblings, 1 reply; 11+ messages in thread
From: Richard Henderson @ 1998-06-08 21:58 UTC (permalink / raw)
  To: axp-list

On Mon, Jun 08, 1998 at 11:33:32PM +0200, Thomas Bogendoerfer wrote:
> Is it possible that some optimization will be used/not used on a 21066
> while will be not used/used on a 21x64 ?

No.  Incidentally, there are two threads here.  You reported problems on
2.0.34+something, and the head of this thread was for 2.1.105.

I cannot reproduce problems at all with 2.1.105, even with the -mcpu=ev4
switch.  And I can't seem to extract the patches for 2.0.34 from the rpm.
Which is why I'd asked someone to send me a preprocessed 2.0.34 file.


r~


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Kernel compile failure 2.1.104 /RH 5.1 Alpha
  1998-06-08 21:58       ` Richard Henderson
@ 1998-06-08 22:11         ` Thomas Bogendoerfer
  0 siblings, 0 replies; 11+ messages in thread
From: Thomas Bogendoerfer @ 1998-06-08 22:11 UTC (permalink / raw)
  To: Richard Henderson; +Cc: axp-list

On Mon, Jun 08, 1998 at 02:58:58PM -0700, Richard Henderson wrote:
> On Mon, Jun 08, 1998 at 11:33:32PM +0200, Thomas Bogendoerfer wrote:
> > Is it possible that some optimization will be used/not used on a 21066
> > while will be not used/used on a 21x64 ?
> 
> No.  Incidentally, there are two threads here.  You reported problems on
> 2.0.34+something, and the head of this thread was for 2.1.105.

My problems are also with 2.1.102/104. I haven't even tried egcs with
2.0.

Thomas.

-- 
See, you not only have to be a good coder to create a system like Linux,
you have to be a sneaky bastard too ;-)
                   [Linus Torvalds in <4rikft$7g5@linux.cs.Helsinki.FI>]


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Kernel compile failure 2.1.104 /RH 5.1 Alpha
@ 1998-06-08 22:21 Michael Gilbert
  0 siblings, 0 replies; 11+ messages in thread
From: Michael Gilbert @ 1998-06-08 22:21 UTC (permalink / raw)
  To: axp-list

>>> Is it possible that some optimization will be used/not used on a 21066
>>> while will be not used/used on a 21x64 ?
 
>> No. Incidentally, there are two threads here. You reported problems on
>> 2.0.34+something, and the head of this thread was for 2.1.105.

>My problems are also with 2.1.102/104. I haven't tried egcs with 2.0.

Same egcs error; egcs 1.0.3 compiled from source; 2.1.104/5

-MG

MICHAEL Wm. GILBERT  mgilbert@oit.umass.edu
Technology Development and Special Projects
Office of Information Technology (OIT)
University of Massachusetts at Amherst
Voice: 413-545-3124   Fax: 413-545-3203
A115 Lederle Graduate Research Center
UMASS Amherst, MA 01003 USA


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~1998-06-08 22:23 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-06-06  3:13 Kernel compile failure 2.1.104 /RH 5.1 Alpha Michael Gilbert
1998-06-07 22:56 ` Richard Henderson
1998-06-08  3:23 ` Travis W. Johnson
1998-06-08  6:37   ` Richard Henderson
1998-06-08 12:29     ` Erik Troan
1998-06-08 13:36       ` Cristian Gafton
1998-06-08 18:12     ` Travis W. Johnson
1998-06-08 21:33     ` Thomas Bogendoerfer
1998-06-08 21:58       ` Richard Henderson
1998-06-08 22:11         ` Thomas Bogendoerfer
  -- strict thread matches above, loose matches on Subject: below --
1998-06-08 22:21 Michael Gilbert

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox