Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Kernel 2.1.115 Compile error
@ 1998-08-16 19:22 Ric Tibbetts
  1998-08-17  2:17 ` Nils Faerber
  1998-08-17  2:20 ` Chris Wedgwood
  0 siblings, 2 replies; 3+ messages in thread
From: Ric Tibbetts @ 1998-08-16 19:22 UTC (permalink / raw)
  To: axp-list

Well, I have to join the ranks of the fat-fingers. I know that this
exact issue has been addressed, but I for the life of me, can't find the
answer. So here goes again. 

	I'm trying to compile 2.1.115 on an AlphaStation 200 4/233... and yup,
it fails.
	Here's the errors:

page_alloc.c: In function `__free_page':
page_alloc.c:170: internal error--unrecognizable insn:
(jump_insn 300 292 301 (return) -1 (nil)
    (nil))
cpp: output pipe has been closed
{standard input}: Assembler messages:
{standard input}:177: 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.115/mm'
make[1]: *** [first_rule] Error 2
make[1]: Leaving directory `/usr/src/linux-2.1.115/mm'
make: *** [linuxsubdirs] Error 2


I already took SMP=1 out of the Makefile,.. didn't help.

	Does anyone remember how to fix this? Obviously since so many of you
are running 2.1.115, it MUST compile, so I've flipped on an option I
shouldn't have.

		Help!

			Thank you!!!


		Ric


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

* Re: Kernel 2.1.115 Compile error
  1998-08-16 19:22 Kernel 2.1.115 Compile error Ric Tibbetts
@ 1998-08-17  2:17 ` Nils Faerber
  1998-08-17  2:20 ` Chris Wedgwood
  1 sibling, 0 replies; 3+ messages in thread
From: Nils Faerber @ 1998-08-17  2:17 UTC (permalink / raw)
  To: axp-list

Hello!

> Well, I have to join the ranks of the fat-fingers. I know that this
> exact issue has been addressed, but I for the life of me, can't find the
> answer. So here goes again. 
> 	I'm trying to compile 2.1.115 on an AlphaStation 200 4/233... and yup,
> it fails.
> page_alloc.c: In function `__free_page':
> page_alloc.c:170: internal error--unrecognizable insn:
> (jump_insn 300 292 301 (return) -1 (nil)
>     (nil))
> cpp: output pipe has been closed
> {standard input}: Assembler messages:
> {standard input}:177: Warning: Missing .end or .bend at end of file
Maybe switching tp egcs-1.0.3a fixes your problem. I am running 2.1.115 and
compiled with a RedHat-5.1 based system and egcs-1.0.3a (and haiffa... ;)

> 		Ric
CU
  nils

-- 
Nils Faerber (Linux Nils)        eMail: nils@unix-ag.org
Student of computer science      http://www.si.unix-ag.org/~nils/
Unix user group, University of Siegen, Germany

Siegen ... the arctic rain forest!
--


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

* Re: Kernel 2.1.115 Compile error
  1998-08-16 19:22 Kernel 2.1.115 Compile error Ric Tibbetts
  1998-08-17  2:17 ` Nils Faerber
@ 1998-08-17  2:20 ` Chris Wedgwood
  1 sibling, 0 replies; 3+ messages in thread
From: Chris Wedgwood @ 1998-08-17  2:20 UTC (permalink / raw)
  To: axp-list; +Cc: Ric Tibbetts

> 	Does anyone remember how to fix this? Obviously since so many of you
> are running 2.1.115, it MUST compile, so I've flipped on an option I
> shouldn't have.

#define __builtin_return_address(x) (0)

Yes, its a hack, but it only affect a few (rare) printks. 
__builtin_return_address confuses gcc and arguably isn't a sane thing
to use anyhow.



-cw


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

end of thread, other threads:[~1998-08-17  2:21 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-08-16 19:22 Kernel 2.1.115 Compile error Ric Tibbetts
1998-08-17  2:17 ` Nils Faerber
1998-08-17  2:20 ` Chris Wedgwood

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