Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* EGCS 1.1b and Alpha kernel compile
@ 1998-10-16 17:44 Brian E.W. Wood
  1998-10-16 19:37 ` Michal Jaegermann
  0 siblings, 1 reply; 3+ messages in thread
From: Brian E.W. Wood @ 1998-10-16 17:44 UTC (permalink / raw)
  To: axp-list


Has anybody tried to compile a kernel on an alpha with egcs 1.1b? I tried
compiling the 2.0.33 source tree that compiled just fine with egcs 1.0.3a and
it failed with the following:

gcc -D__KERNEL__ -I/usr/src/linux-2.0.33/include -Wall -Wstrict-prototypes -g
-O2 -pipe -mno-fp-regs  -c -o ppp.o ppp.c
/usr/src/linux-2.0.33/include/linux/symtab_begin.h:46: warning: This file
contains more `{'s than `}'s.
/usr/src/linux-2.0.33/include/linux/symtab_end.h:16: warning: This file
contains more `}'s than `{'s.
gcc -D__KERNEL__ -I/usr/src/linux-2.0.33/include -Wall -Wstrict-prototypes -g
-O2 -pipe -mno-fp-regs  -c -o slhc.o slhc.c
gcc: Internal compiler error: program cc1 got fatal signal 11    

Guess I should go back to 1.0.3a?

---
Brian E.W. Wood  beww@intac.com


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

* Re: EGCS 1.1b and Alpha kernel compile
  1998-10-16 19:37 ` Michal Jaegermann
@ 1998-10-16 17:49   ` Matti Aarnio
  0 siblings, 0 replies; 3+ messages in thread
From: Matti Aarnio @ 1998-10-16 17:49 UTC (permalink / raw)
  To: axp-list

> From:	Michal Jaegermann <michal@ellpspace.math.ualberta.ca>
...
> This specific bug is triggered here by an expansion of an inline function
> __ntohs is slhc_uncompress().  Rerun your compiler with -save-temps option
> to have a closer look what kind of a fun code it really is. :-)
> 
> I filed a bug report about this the first time in June - I think, but
> definitely well before 1.1 release - and a few times more on other
> occassions.  Maybe it is hard.  I do not know.  Alas I never got a
> single line of feedback.  It looks like that somebody tried to do
> something on the latest snapshot but some other screwup occured.

	I think that has been fixed in the current  egcs  cvs snapshots
	as per  13 Oct 1998.   I experienced similar things while
	compiling  glibc-2.0.97, and promptly built a new package.

	It is called 'egcs-1.1b' although it is NOT that one, but
	that just made its 'rpm -Uvh --force' a bit less dangerous
	thing to do..

		ftp://mea.tmt.tele.fi/pub/

	There are also glibc-2.0.97/98 binary RPMs, and the specs
	I used to build them, but those are not for general population
	to try to use -- not yet, I think.  (For one, your X won't
	like of them.  If you use them, and want to use X, you must
	force-INSTALL the glibc-2.0.7 back into the system to dominate
	libc.so.6.1 symlink!  You can't do upgrade due to things like
	rpm-2.5.5, which absolutely wants glibc-2.0.7's libdb.so ...)

>   Michal

/Matti Aarnio <matti.aarnio@sonera.fi>


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

* Re: EGCS 1.1b and Alpha kernel compile
  1998-10-16 17:44 EGCS 1.1b and Alpha kernel compile Brian E.W. Wood
@ 1998-10-16 19:37 ` Michal Jaegermann
  1998-10-16 17:49   ` Matti Aarnio
  0 siblings, 1 reply; 3+ messages in thread
From: Michal Jaegermann @ 1998-10-16 19:37 UTC (permalink / raw)
  To: beww; +Cc: axp-list

Brian E.W. Wood wrote:
> 
> Has anybody tried to compile a kernel on an alpha with egcs 1.1b?

Yes.  Doing this all the time. :-)

> gcc -D__KERNEL__ -I/usr/src/linux-2.0.33/include -Wall -Wstrict-prototypes -g
> -O2 -pipe -mno-fp-regs  -c -o slhc.o slhc.c
> gcc: Internal compiler error: program cc1 got fatal signal 11    

Yes, as well.  Drop an optimization on this one particular file to -O
and everything will compile ok.

This specific bug is triggered here by an expansion of an inline function
__ntohs is slhc_uncompress().  Rerun your compiler with -save-temps option
to have a closer look what kind of a fun code it really is. :-)

I filed a bug report about this the first time in June - I think, but
definitely well before 1.1 release - and a few times more on other
occassions.  Maybe it is hard.  I do not know.  Alas I never got a
single line of feedback.  It looks like that somebody tried to do
something on the latest snapshot but some other screwup occured.

  Michal


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

end of thread, other threads:[~1998-10-16 20:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-10-16 17:44 EGCS 1.1b and Alpha kernel compile Brian E.W. Wood
1998-10-16 19:37 ` Michal Jaegermann
1998-10-16 17:49   ` Matti Aarnio

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