Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* stable 2.1.xxx kernels
@ 1998-07-31 19:49 Eric Hilton Jones
  1998-08-01  8:39 ` Kurt Garloff
  0 siblings, 1 reply; 7+ messages in thread
From: Eric Hilton Jones @ 1998-07-31 19:49 UTC (permalink / raw)
  To: axp-list

I'm having some wierd problems with io on a lx164 533 machine, and I was
thinking about trying some of the newer 2.1.xxx kernels to see how they
perform. Whenever I compile any of the >.102 kernels I get the following
error:

gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2
-fomit-frame-pointer -pipe -mno-fp-regs -ffixed-8 -Wno-uninitialized
-Wa,-m21164a -DBWX_USABLE -DBWIO_ENABLED   -c -o page_io.o page_io.c
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2
-fomit-frame-pointer -pipe -mno-fp-regs -ffixed-8 -Wno-uninitialized
-Wa,-m21164a -DBWX_USABLE -DBWIO_ENABLED   -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/mm'
make[1]: *** [first_rule] Error 2
make[1]: Leaving directory `/usr/src/linux/mm'
make: *** [linuxsubdirs] Error 2
[root@eos linux]# {standard input}: Assembler messages:
{standard input}:337: Warning: Missing .end or .bend at end of file

  Has anyone seen this? This machine is running redhat 5.1 with all of the
updates installed, and I'm compiling with the stock gcc that comes with
it. 
  Thanks.

  Eric.


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

* RE: stable 2.1.xxx kernels
@ 1998-08-01  5:59 WaiSun Chia
  1998-08-01  8:54 ` Quant-X Alpha Linux Support
  0 siblings, 1 reply; 7+ messages in thread
From: WaiSun Chia @ 1998-08-01  5:59 UTC (permalink / raw)
  To: 'axp-list@redhat.com'

Hmmmmm, this looks like the infamous egcs error....
My guess is that you're using egcs-1.0.2 (which came installed in
RH5.1), right?
If so, you need the latest version of egcs-1.0.3 or above...
I do not know whether it's available in RPM format or not, but you can
always build it yourself..

HTH,
Wai-Sun

<SNIP>
> 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)
<SNIP>


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

* Re: stable 2.1.xxx kernels
  1998-07-31 19:49 Eric Hilton Jones
@ 1998-08-01  8:39 ` Kurt Garloff
  0 siblings, 0 replies; 7+ messages in thread
From: Kurt Garloff @ 1998-08-01  8:39 UTC (permalink / raw)
  To: axp-list

On Fri, Jul 31, 1998 at 02:49:18PM -0500, Eric Hilton Jones wrote:
> I'm having some wierd problems with io on a lx164 533 machine, and I was
> thinking about trying some of the newer 2.1.xxx kernels to see how they
> perform. Whenever I compile any of the >.102 kernels I get the following
> error:
> 
> gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2
> -fomit-frame-pointer -pipe -mno-fp-regs -ffixed-8 -Wno-uninitialized
> -Wa,-m21164a -DBWX_USABLE -DBWIO_ENABLED   -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

This is a bug in the HAIFA scheduler of egcs-1.0.x.
Try to build egcs-1.0.3a without haifa scheduler, use egcs-199807xx or
gcc-2.7.2.3. The gcc-2723 rpm can be found in the RH-5.0 tree ... 

-- 
Kurt Garloff, Dortmund 
<K.Garloff@ping.de>
PGP key on http://student.physik.uni-dortmund.de/homepages/garloff


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

* Re: stable 2.1.xxx kernels
  1998-08-01  5:59 stable 2.1.xxx kernels WaiSun Chia
@ 1998-08-01  8:54 ` Quant-X Alpha Linux Support
  1998-08-01 12:56   ` Thomas Bogendoerfer
  0 siblings, 1 reply; 7+ messages in thread
From: Quant-X Alpha Linux Support @ 1998-08-01  8:54 UTC (permalink / raw)
  To: axp-list

Hi Wai-Sun !

> If so, you need the latest version of egcs-1.0.3 or above...

Nope, same problems here with 1.0.3a...
Global replacing  "__builtin_return_address(0)" by "((void*)0)"
in page_alloc.c is working solution.

> <SNIP>
> > 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)
> <SNIP>

  ciao -
    Stefan

-- 

Quant-X Service &                         Ph:  (+43) 4212 6004-0
Consulting Ges.m.b.H.                     Fax: (+43) 4212 600420
http://www.quant-x.com                    Email: support@quant-x.com


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

* Re: stable 2.1.xxx kernels
  1998-08-01  8:54 ` Quant-X Alpha Linux Support
@ 1998-08-01 12:56   ` Thomas Bogendoerfer
  1998-08-01 18:07     ` Wes Bauske
  0 siblings, 1 reply; 7+ messages in thread
From: Thomas Bogendoerfer @ 1998-08-01 12:56 UTC (permalink / raw)
  To: Quant-X Alpha Linux Support; +Cc: axp-list

On Sat, Aug 01, 1998 at 10:54:58AM +0200, Quant-X Alpha Linux Support wrote:
> Hi Wai-Sun !
> 
> > If so, you need the latest version of egcs-1.0.3 or above...
> 
> Nope, same problems here with 1.0.3a...
> Global replacing  "__builtin_return_address(0)" by "((void*)0)"
> in page_alloc.c is working solution.

that's just a kludge. Building egcs-1.0.2 or egs-1.0.3a without haifa
scheduler is a solution.

The egcs-1.0.3a RPMs, which I've built, are still online. You can find
them on ftp://ftp.franken.de/pub/people/tsbogend/alpha.

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] 7+ messages in thread

* Re: stable 2.1.xxx kernels
  1998-08-01 12:56   ` Thomas Bogendoerfer
@ 1998-08-01 18:07     ` Wes Bauske
  1998-08-01 20:01       ` Richard Henderson
  0 siblings, 1 reply; 7+ messages in thread
From: Wes Bauske @ 1998-08-01 18:07 UTC (permalink / raw)
  To: axp-list

Thomas Bogendoerfer wrote:
> 
> On Sat, Aug 01, 1998 at 10:54:58AM +0200, Quant-X Alpha Linux Support wrote:
> > Hi Wai-Sun !
> >
> > > If so, you need the latest version of egcs-1.0.3 or above...
> >
> > Nope, same problems here with 1.0.3a...
> > Global replacing  "__builtin_return_address(0)" by "((void*)0)"
> > in page_alloc.c is working solution.
> 
> that's just a kludge. Building egcs-1.0.2 or egs-1.0.3a without haifa
> scheduler is a solution.
> 

Help me understand what "__builtin_return_address(0)" is.

If it is the same as a void NULL pointer, why is it even
necessary to complicate the code with this #define or what
ever it is??? What does it do differently?

Thanks.


Wes


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

* Re: stable 2.1.xxx kernels
  1998-08-01 18:07     ` Wes Bauske
@ 1998-08-01 20:01       ` Richard Henderson
  0 siblings, 0 replies; 7+ messages in thread
From: Richard Henderson @ 1998-08-01 20:01 UTC (permalink / raw)
  To: axp-list

On Sat, Aug 01, 1998 at 06:07:14PM +0000, Wes Bauske wrote:
> Help me understand what "__builtin_return_address(0)" is.

It returns the return address of the current function.  But that is
rather irrelevant to this discussion.

The REAL problem is that egcs 1.0.3 with --enable-haifa miscompiled
itself, and this shows up in strange ways when compiling the kernel.
Ok, so moving this bit and that bit around makes the problem appear
to vanish, but there is still the problem of this undiagnosed bug in
the compiler.


r~


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

end of thread, other threads:[~1998-08-01 20:01 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-08-01  5:59 stable 2.1.xxx kernels WaiSun Chia
1998-08-01  8:54 ` Quant-X Alpha Linux Support
1998-08-01 12:56   ` Thomas Bogendoerfer
1998-08-01 18:07     ` Wes Bauske
1998-08-01 20:01       ` Richard Henderson
  -- strict thread matches above, loose matches on Subject: below --
1998-07-31 19:49 Eric Hilton Jones
1998-08-01  8:39 ` Kurt Garloff

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