Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Kernel compile failure 2.1.104 with egcs 1.0.3a
@ 1998-06-10 16:50 Thomas Bogendoerfer
  1998-06-10 17:14 ` Christopher C Chimelis
                   ` (3 more replies)
  0 siblings, 4 replies; 15+ messages in thread
From: Thomas Bogendoerfer @ 1998-06-10 16:50 UTC (permalink / raw)
  To: rth, axp-list

I probably found the reason why Richard's egcs-1.0.3a is able to compile
mm/page_alloc.o while mine exits with a signal 6. The RedHat spec file, 
from which I've built my egcs, enables three options (--enable-shared, 
--enbale-haifa and --enable-threads).  I've rebuilt egcs without these 
options, and I'm now able to compile page_alloc without failure. As my
Noname isn't the fastest machine, maybe someone with a faster Alpha can
narrow down, which of the options triggers the problem.

Richard, which options did you use to build your egcs ?

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

* Re: Kernel compile failure 2.1.104 with egcs 1.0.3a
  1998-06-10 16:50 Kernel compile failure 2.1.104 with egcs 1.0.3a Thomas Bogendoerfer
@ 1998-06-10 17:14 ` Christopher C Chimelis
  1998-06-10 17:29 ` Scott Serr
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 15+ messages in thread
From: Christopher C Chimelis @ 1998-06-10 17:14 UTC (permalink / raw)
  To: axp-list; +Cc: rth


On Wed, 10 Jun 1998, Thomas Bogendoerfer wrote:

> I probably found the reason why Richard's egcs-1.0.3a is able to compile
> mm/page_alloc.o while mine exits with a signal 6. The RedHat spec file, 
> from which I've built my egcs, enables three options (--enable-shared, 
> --enbale-haifa and --enable-threads).  I've rebuilt egcs without these 
> options, and I'm now able to compile page_alloc without failure. As my
> Noname isn't the fastest machine, maybe someone with a faster Alpha can
> narrow down, which of the options triggers the problem.

FYI, I've had the same problems on my UDB under Debian (not RedHat).  I
narrowed it down to the Haifa scheduler, but haven't had much success in
getting that rather broad problem area narrowed down further.  I don't
know about you, but I get an illegal instruction message relating to the
jump_insn.

If you rebuild egcs with --disable-haifa, then it should work ok for you.

Chris


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

* Re: Kernel compile failure 2.1.104 with egcs 1.0.3a
  1998-06-10 16:50 Kernel compile failure 2.1.104 with egcs 1.0.3a Thomas Bogendoerfer
  1998-06-10 17:14 ` Christopher C Chimelis
@ 1998-06-10 17:29 ` Scott Serr
  1998-06-10 17:39 ` Richard Henderson
  1998-06-10 18:37 ` Richard Henderson
  3 siblings, 0 replies; 15+ messages in thread
From: Scott Serr @ 1998-06-10 17:29 UTC (permalink / raw)
  To: axp-list


Now it would be nice to have an RPM with these changes.  I too only have
a UDB/Noname (166mhz), I believe my kernel compiles take 45minutes.  So
compiling gcc/egcs...  I could be compiling DAYS...  where a new RPM could
be out in HOURS...  hint..  hint.. to the RH boys.  :)

-Scott

On Wed, 10 Jun 1998, Thomas Bogendoerfer wrote:

> I probably found the reason why Richard's egcs-1.0.3a is able to compile
> mm/page_alloc.o while mine exits with a signal 6. The RedHat spec file, 
> from which I've built my egcs, enables three options (--enable-shared, 
> --enbale-haifa and --enable-threads).  I've rebuilt egcs without these 
> options, and I'm now able to compile page_alloc without failure. As my
> Noname isn't the fastest machine, maybe someone with a faster Alpha can
> narrow down, which of the options triggers the problem.


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

* Re: Kernel compile failure 2.1.104 with egcs 1.0.3a
  1998-06-10 16:50 Kernel compile failure 2.1.104 with egcs 1.0.3a Thomas Bogendoerfer
  1998-06-10 17:14 ` Christopher C Chimelis
  1998-06-10 17:29 ` Scott Serr
@ 1998-06-10 17:39 ` Richard Henderson
  1998-06-10 20:21   ` Christopher C Chimelis
  1998-06-10 18:37 ` Richard Henderson
  3 siblings, 1 reply; 15+ messages in thread
From: Richard Henderson @ 1998-06-10 17:39 UTC (permalink / raw)
  To: Thomas Bogendoerfer, rth, axp-list

On Wed, Jun 10, 1998 at 06:50:54PM +0200, Thomas Bogendoerfer wrote:
> The RedHat spec file, from which I've built my egcs, enables three
> options (--enable-shared, --enbale-haifa and --enable-threads).
[...]
> Richard, which options did you use to build your egcs ?

Only --prefix.  Thanks for the clue -- I'll have another look with
this in mind.  It is certainly --enable-haifa though; I'd forgotten
that it wasn't made the default until after the 1.0 branch.


r~


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

* Re: Kernel compile failure 2.1.104 with egcs 1.0.3a
  1998-06-10 16:50 Kernel compile failure 2.1.104 with egcs 1.0.3a Thomas Bogendoerfer
                   ` (2 preceding siblings ...)
  1998-06-10 17:39 ` Richard Henderson
@ 1998-06-10 18:37 ` Richard Henderson
  1998-06-10 20:22   ` Christopher C Chimelis
       [not found]   ` <19980610221207.26785@alpha.franken.de>
  3 siblings, 2 replies; 15+ messages in thread
From: Richard Henderson @ 1998-06-10 18:37 UTC (permalink / raw)
  To: Thomas Bogendoerfer, rth, axp-list

On Wed, Jun 10, 1998 at 06:50:54PM +0200, Thomas Bogendoerfer wrote:
> I probably found the reason why Richard's egcs-1.0.3a is able to compile
> mm/page_alloc.o while mine exits with a signal 6. The RedHat spec file, 
> from which I've built my egcs, enables three options (--enable-shared, 
> --enbale-haifa and --enable-threads).  I've rebuilt egcs without these 
> options, and I'm now able to compile page_alloc without failure. As my
> Noname isn't the fastest machine, maybe someone with a faster Alpha can
> narrow down, which of the options triggers the problem.

Bugger all.  Three permutations of options

	<nothing>
	--enable-haifa
	--enable-shared --enable-haifa --enable-threads

and I _still_ can't reproduce it.


r~


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

* Re: Kernel compile failure 2.1.104 with egcs 1.0.3a
  1998-06-10 17:39 ` Richard Henderson
@ 1998-06-10 20:21   ` Christopher C Chimelis
  0 siblings, 0 replies; 15+ messages in thread
From: Christopher C Chimelis @ 1998-06-10 20:21 UTC (permalink / raw)
  To: Richard Henderson; +Cc: Thomas Bogendoerfer, axp-list


On Wed, 10 Jun 1998, Richard Henderson wrote:

> Only --prefix.  Thanks for the clue -- I'll have another look with
> this in mind.  It is certainly --enable-haifa though; I'd forgotten
> that it wasn't made the default until after the 1.0 branch.

Yeah, I have been working with the Debian maintainer for the egcs package
and had to inform him that --enable-haifa was default on the Alpha.
Apparently, he hadn't found that in the docs (hint hint)....Since I had
built every snapshot since before it was enabled, I noticed it awhile ago
and was patching his work to keep it off until I figured it out or at
least narrowed it down to a point where I could tell you what to look at.

If you need to, I may be able to give you access to my UDB to play with.
I don't have alot of disk space right now, but I could clear some up if
you'd like....

C


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

* Re: Kernel compile failure 2.1.104 with egcs 1.0.3a
  1998-06-10 18:37 ` Richard Henderson
@ 1998-06-10 20:22   ` Christopher C Chimelis
  1998-06-10 20:46     ` Richard Henderson
       [not found]   ` <19980610221207.26785@alpha.franken.de>
  1 sibling, 1 reply; 15+ messages in thread
From: Christopher C Chimelis @ 1998-06-10 20:22 UTC (permalink / raw)
  To: Richard Henderson; +Cc: Thomas Bogendoerfer, axp-list


On Wed, 10 Jun 1998, Richard Henderson wrote:

> Bugger all.  Three permutations of options
> 	<nothing>
> 	--enable-haifa
> 	--enable-shared --enable-haifa --enable-threads
> and I _still_ can't reproduce it.

FYI, some co-developers on UDB's haven't had this problem, but every
report of this particular problem that I've noticed have originated from
UDBs.  If you're working on a 21164(a) or above, then I doubt you'd see
the same problem.

C


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

* Re: Kernel compile failure 2.1.104 with egcs 1.0.3a
  1998-06-10 20:46     ` Richard Henderson
@ 1998-06-10 20:41       ` Christopher C Chimelis
  1998-06-10 20:56         ` Richard Henderson
  0 siblings, 1 reply; 15+ messages in thread
From: Christopher C Chimelis @ 1998-06-10 20:41 UTC (permalink / raw)
  To: Richard Henderson; +Cc: Thomas Bogendoerfer, axp-list


On Wed, 10 Jun 1998, Richard Henderson wrote:

> Except that I should if I either configure for alpha-* rather than
> alphaev5-*, OR use -mcpu=ev4.  Neither of which seems to affect the
> outcome.

Hmmm...true...I'm wondering if it's not more of a binutils bug, but I'm
not sure.  My assembly still isn't up to snuff :(  It seems egcs is
passing an instruction that our gas can't handle.

C


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

* Re: Kernel compile failure 2.1.104 with egcs 1.0.3a
  1998-06-10 20:22   ` Christopher C Chimelis
@ 1998-06-10 20:46     ` Richard Henderson
  1998-06-10 20:41       ` Christopher C Chimelis
  0 siblings, 1 reply; 15+ messages in thread
From: Richard Henderson @ 1998-06-10 20:46 UTC (permalink / raw)
  To: Christopher C Chimelis, Richard Henderson; +Cc: Thomas Bogendoerfer, axp-list

On Wed, Jun 10, 1998 at 04:22:55PM -0400, Christopher C Chimelis wrote:
> FYI, some co-developers on UDB's haven't had this problem, but every
> report of this particular problem that I've noticed have originated from
> UDBs.  If you're working on a 21164(a) or above, then I doubt you'd see
> the same problem.

Except that I should if I either configure for alpha-* rather than
alphaev5-*, OR use -mcpu=ev4.  Neither of which seems to affect the
outcome.


r~


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

* Re: Kernel compile failure 2.1.104 with egcs 1.0.3a
  1998-06-10 20:41       ` Christopher C Chimelis
@ 1998-06-10 20:56         ` Richard Henderson
  0 siblings, 0 replies; 15+ messages in thread
From: Richard Henderson @ 1998-06-10 20:56 UTC (permalink / raw)
  To: Christopher C Chimelis, Richard Henderson; +Cc: Thomas Bogendoerfer, axp-list

On Wed, Jun 10, 1998 at 04:41:14PM -0400, Christopher C Chimelis wrote:
> Hmmm...true...I'm wondering if it's not more of a binutils bug, but I'm
> not sure.  My assembly still isn't up to snuff :(  It seems egcs is
> passing an instruction that our gas can't handle.

No, an unrecognized insn like that happens before it leaves the compiler.


r~


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

* Re: Kernel compile failure 2.1.104 with egcs 1.0.3a
       [not found]   ` <19980610221207.26785@alpha.franken.de>
@ 1998-06-11  1:13     ` Richard Henderson
  1998-06-11 15:39       ` Erik Troan
  0 siblings, 1 reply; 15+ messages in thread
From: Richard Henderson @ 1998-06-11  1:13 UTC (permalink / raw)
  To: Thomas Bogendoerfer; +Cc: ewt, law, axp-list

On Wed, Jun 10, 1998 at 10:12:07PM +0200, Thomas Bogendoerfer wrote:
> I'm not quite sure, if it makes a differnce, but did you compile up to
> stage3 ? My first approach in finding the problem was to only disable
> haifa and compile it with the installed compiler to save time.

Oh, bother.  Yes, of course I tried to build a debuggable compiler
and so didn't trigger the secondary error.

At this point I wonder if it is worth tracking down the problem.
Given that we've got 6 months of development since then and are
about to go into code-freeze for egcs-1.1.  And that the current
sources do not display this problem.  And that we have a reasonable
work-around in not using --enable-haifa.

Erik, it would seem wise to release an update rpm with this switch
removed.  It would also be interesting to know if this doesn't happen
to clean up your X problems as well.


r~


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

* Re: Kernel compile failure 2.1.104 with egcs 1.0.3a
@ 1998-06-11  7:09 Jochen Kuepper
  0 siblings, 0 replies; 15+ messages in thread
From: Jochen Kuepper @ 1998-06-11  7:09 UTC (permalink / raw)
  To: axp-list

On Wed, 10 Jun 1998 Christopher C Chimelis wrote:

>> Bugger all.  Three permutations of options
>> 	<nothing>
>> 	--enable-haifa
>> 	--enable-shared --enable-haifa --enable-threads
>> and I _still_ can't reproduce it.
>
>FYI, some co-developers on UDB's haven't had this problem, but every
>report of this particular problem that I've noticed have originated from
>UDBs.  If you're working on a 21164(a) or above, then I doubt you'd see
>the same problem.

I do get the same problem on an AlphaStation 500 for Linux-2.1.10x (at least for
x = 3, 4, 5 )

> gcc -v
Reading specs from /usr/share/egcs/lib/gcc-lib/alphaev5-dec-linux-gnu/egcs-2.90.29/specs
gcc version egcs-2.90.29 980515 (egcs-1.0.3 release)

was configures with --prefix=... --enable-shared --enable-haifa --enable-static

Greetings,
Jochen
-----------------------------------------------------------------------
  Jochen K"upper

  Heinrich-Heine-Universit"at D"usseldorf   jochen@uni-duesseldorf.de
  Institut f"ur Physikalische Chemie I
  Universit"atsstr. 1, Geb 26.43 Raum 02.29    phone ++49-211-8113681
  40225 D"usseldorf                            fax   ++49-211-8115195
  Germany             http://www-public.rz.uni-duesseldorf.de/~jochen
-----------------------------------------------------------------------


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

* Re: Kernel compile failure 2.1.104 with egcs 1.0.3a
  1998-06-11  1:13     ` Richard Henderson
@ 1998-06-11 15:39       ` Erik Troan
  1998-06-11 18:41         ` Ross A. Knepper
  1998-06-12  8:24         ` Thomas Bogendoerfer
  0 siblings, 2 replies; 15+ messages in thread
From: Erik Troan @ 1998-06-11 15:39 UTC (permalink / raw)
  To: Richard Henderson; +Cc: Thomas Bogendoerfer, law, axp-list

On Wed, 10 Jun 1998, Richard Henderson wrote:

> Erik, it would seem wise to release an update rpm with this switch
> removed.  It would also be interesting to know if this doesn't happen
> to clean up your X problems as well.

Okay... What are you talking about?? ;-)

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

* Re: Kernel compile failure 2.1.104 with egcs 1.0.3a
  1998-06-11 15:39       ` Erik Troan
@ 1998-06-11 18:41         ` Ross A. Knepper
  1998-06-12  8:24         ` Thomas Bogendoerfer
  1 sibling, 0 replies; 15+ messages in thread
From: Ross A. Knepper @ 1998-06-11 18:41 UTC (permalink / raw)
  To: axp-list

On Thu, 11 Jun 1998, Erik Troan wrote:

> On Wed, 10 Jun 1998, Richard Henderson wrote:
> 
> > Erik, it would seem wise to release an update rpm with this switch
> > removed.  It would also be interesting to know if this doesn't happen
> > to clean up your X problems as well.
> 
> Okay... What are you talking about?? ;-)

well i dont know if this is the same problem richard was referring to, but
on a pc164 i just installed 5.1 (And all the Xfree86 updates updates) on,
startx does not start X.  it sits patiently and after several seconds
starts giving messages about timing out waiting for the X server to start.  

the error looks something like this:

_X11TransSocketUNIXConnect: Can't connect: errno = 61

and just repeats this error message over and over

any thoughts on this?

 -ross


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

* Re: Kernel compile failure 2.1.104 with egcs 1.0.3a
  1998-06-11 15:39       ` Erik Troan
  1998-06-11 18:41         ` Ross A. Knepper
@ 1998-06-12  8:24         ` Thomas Bogendoerfer
  1 sibling, 0 replies; 15+ messages in thread
From: Thomas Bogendoerfer @ 1998-06-12  8:24 UTC (permalink / raw)
  To: Erik Troan; +Cc: Richard Henderson, law, axp-list

On Thu, Jun 11, 1998 at 11:39:51AM -0400, Erik Troan wrote:
> On Wed, 10 Jun 1998, Richard Henderson wrote:
> 
> > Erik, it would seem wise to release an update rpm with this switch
> > removed.  It would also be interesting to know if this doesn't happen
> > to clean up your X problems as well.
> 
> Okay... What are you talking about?? ;-)

We are talking about the problems people experience with egcs-1.0.2 from
RedHat 5.1 and self built egcs-1.0.3a with the RedHat .spec file. There seems
to be at least one bug left, when --enable-haifa is given at configure time
(at that's what the RedHat .spec file does). With haifa enabled there is
one file in the 2.1 kernel, which can't be compiled (mm/page_alloc.c).
And Richard guesses that this compiler bug might also be responsable for
the X problems in 5.1. So we are suggesting to put out an updated RPM for
egcs without --enable-haifa.

Thomas.

PS: For those of you, who don't want to wait until your UDB/Noname compiles
egcs, I've put the egcs file up to ftp.franken.de/pub/people/tsbogend/alpha.

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

end of thread, other threads:[~1998-06-12  8:49 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-06-10 16:50 Kernel compile failure 2.1.104 with egcs 1.0.3a Thomas Bogendoerfer
1998-06-10 17:14 ` Christopher C Chimelis
1998-06-10 17:29 ` Scott Serr
1998-06-10 17:39 ` Richard Henderson
1998-06-10 20:21   ` Christopher C Chimelis
1998-06-10 18:37 ` Richard Henderson
1998-06-10 20:22   ` Christopher C Chimelis
1998-06-10 20:46     ` Richard Henderson
1998-06-10 20:41       ` Christopher C Chimelis
1998-06-10 20:56         ` Richard Henderson
     [not found]   ` <19980610221207.26785@alpha.franken.de>
1998-06-11  1:13     ` Richard Henderson
1998-06-11 15:39       ` Erik Troan
1998-06-11 18:41         ` Ross A. Knepper
1998-06-12  8:24         ` Thomas Bogendoerfer
  -- strict thread matches above, loose matches on Subject: below --
1998-06-11  7:09 Jochen Kuepper

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