* Re: A couple of alpha troublesy
1998-03-01 20:59 A couple of alpha troubles Chris Evans
@ 1998-03-01 22:14 ` Michal Jaegermann
1998-03-01 23:35 ` Chris Evans
0 siblings, 1 reply; 5+ messages in thread
From: Michal Jaegermann @ 1998-03-01 22:14 UTC (permalink / raw)
To: chris; +Cc: axp-list
>
> Since getting them I have so far solved some instabilities by making my
> own kernel
Can you be more precise? I compiled a number of different kernels
on a similar machine and using few different compilers ("distribution"
gcc, egcs-1.0.1, various egcs "snapshots") without any problems.
It is true that I did not try to use sources as supplied by Red Hat.
> 1) X instability. The machines have Matrox cards (spit),
I did not try Matrox with 5.0 but I worked with it on 4.2. I think
that this is an excellent graphics card.
There is a known bug in an original 5.0 release (fixed in updates)
in a definition of FD_ISSET macro (missing cast). It may hang X
(and emacs and few other things). You may need to recompile your
libraries.
> 2) g++ instability. This one is _nasty_. Could someone please get an alpha
> Linux RH5.0 machine and verify if this crashes or not:
g++ as delivered on RH5.0 is simply broken.
> compile with "g++ -o test test.cc"
>
> ==== cut, begin test.cc ==
>
> #include <stdio.h>
> int main(void) {
> FILE* pFile;
> pFile = fopen("a file", "w");
> if (pFile != NULL) {
> fclose(pFile);
> }
> }
Very good! You pinpointed a bug which costed me quite a few hours
of a debugging time as it was hidden in bowels of X. If you would
pay a bit of attention to this list you would notice that some
ten days ago, or so, I posted a warning describing the bug, symptoms
and a workaround.
A workaround is to link with gcc and not with g++ - if only possible.
You will get different, and correct, fopen and fclose.
The real solution is to get g++ from egcs (or maybe 2.8.x) and replace
g++ libraries with the current stuff.
All your problems were already discussed in the past on this list.
Michal
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: A couple of alpha troublesy
1998-03-01 22:14 ` A couple of alpha troublesy Michal Jaegermann
@ 1998-03-01 23:35 ` Chris Evans
0 siblings, 0 replies; 5+ messages in thread
From: Chris Evans @ 1998-03-01 23:35 UTC (permalink / raw)
To: Michal Jaegermann; +Cc: axp-list
On Sun, 1 Mar 1998, Michal Jaegermann wrote:
> >
> > Since getting them I have so far solved some instabilities by making my
> > own kernel
>
> Can you be more precise? I compiled a number of different kernels
Sure. Whoever shipped the machines to us didn't use the default RedHat
kernel, they used a patched up 2.0.31 deviant. I don't know if you
remember, but 2.0.31 had some _serious_ bugs that got fixed in 2.0.32. I
am currently happily running 2.0.33+alpha_patches.
> g++ as delivered on RH5.0 is simply broken.
Oh dear :(
> The real solution is to get g++ from egcs (or maybe 2.8.x) and replace
> g++ libraries with the current stuff.
Aha I suspected libg++, I will perform some egcs library extraction :)
> All your problems were already discussed in the past on this list.
Sorry :) As recompense I will provide an rpm that fixes c++ under RH5.0,
if I have any luck. I'm surprised there is no official update since it's a
serious problem.
Chris
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: A couple of alpha troublesy
@ 1998-03-02 1:37 Greg Lindahl
1998-03-02 1:41 ` Michal Jaegermann
0 siblings, 1 reply; 5+ messages in thread
From: Greg Lindahl @ 1998-03-02 1:37 UTC (permalink / raw)
To: axp-list
> The real solution is to get g++ from egcs (or maybe 2.8.x) and replace
> g++ libraries with the current stuff.
Not so fast -- egcs won't compile my C++ grammar correctly, and I know
some other people with big C++ projects who have similar problems. I'm
sure egcs will be fixed for us someday, but until the, I hope that we
can also fix the g++ libraries. The ones in egcs seem to work; if we
just substituted them into the normal RH 5.0 g++ libs, hopefully we'd
be all set.
-- g
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: A couple of alpha troublesy
1998-03-02 1:37 A couple of alpha troublesy Greg Lindahl
@ 1998-03-02 1:41 ` Michal Jaegermann
1998-03-02 8:25 ` warp
0 siblings, 1 reply; 5+ messages in thread
From: Michal Jaegermann @ 1998-03-02 1:41 UTC (permalink / raw)
To: axp-list
>
> > The real solution is to get g++ from egcs (or maybe 2.8.x) and replace
> > g++ libraries with the current stuff.
>
> Not so fast -- egcs won't compile my C++ grammar correctly,
What about gcc 2.8.x?
--mj
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: A couple of alpha troublesy
1998-03-02 1:41 ` Michal Jaegermann
@ 1998-03-02 8:25 ` warp
0 siblings, 0 replies; 5+ messages in thread
From: warp @ 1998-03-02 8:25 UTC (permalink / raw)
To: axp-list
Michal Jaegermann wrote:
>
> >
> > > The real solution is to get g++ from egcs (or maybe 2.8.x) and replace
> > > g++ libraries with the current stuff.
> >
> > Not so fast -- egcs won't compile my C++ grammar correctly,
>
> What about gcc 2.8.x?
From what I've heard, it's buggy as the plague :(
Kind regards,
Antoine
website..: http://www.alpha.kimitsu.com - Alpha/Linux Powered!
email....: warp@warped.xs4all.nl & warp@alpha.kimitsu.com
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~1998-03-02 8:24 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-03-02 1:37 A couple of alpha troublesy Greg Lindahl
1998-03-02 1:41 ` Michal Jaegermann
1998-03-02 8:25 ` warp
-- strict thread matches above, loose matches on Subject: below --
1998-03-01 20:59 A couple of alpha troubles Chris Evans
1998-03-01 22:14 ` A couple of alpha troublesy Michal Jaegermann
1998-03-01 23:35 ` Chris Evans
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox