* 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
* A couple of alpha troubles
@ 1998-03-01 20:59 Chris Evans
1998-03-01 22:14 ` A couple of alpha troublesy Michal Jaegermann
0 siblings, 1 reply; 5+ messages in thread
From: Chris Evans @ 1998-03-01 20:59 UTC (permalink / raw)
To: axp-list
Hi,
I'm currently suffering a rude awakening to Linux on alpha. We have 3 new
533Mhz beasts to be dedicated to running Linux. They came preinstalled
with RH5.0, quite well done it seems.
Since getting them I have so far solved some instabilities by making my
own kernel (the originals were non-RH and based on 2.0.31, hence suffering
the "inode still has mappings" etc). I've even managed to get to grips
with MILO :) All updates are applied of course.
Only two serious problems seem to remain;
1) X instability. The machines have Matrox cards (spit), and the SVGA X
server looks ok (bit of gfx corruption sometimes), but alas will sometimes
hang the entire machine upon "startx".
I'm thinking the dedicated XSuSE Matrox server has much more stable
support. Does anyone have an alpha RPM for this? If not, some pointers to
the source and a bit of assistance and I could try and knock one up for
the benefit of the alpha Linux community.
2) g++ instability. This one is _nasty_. Could someone please get an alpha
Linux RH5.0 machine and verify if this crashes or not:
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);
}
}
==========================
Note!! The exact same program runs fine (no segfault) if compiled with
"gcc" rather than "g++". Also!! If I build egcs-1.0.1, "egcs-g++" will
build the little program fine. Unfortunately, egcs-1.0.1 on the alpha
appears to have other problems that causes some of our academic research
software to crash in other places (that 2.7.2.3 gets right).
So we need a hybrid of egcs and 2.7.2.3!! Seriously though, stdio in a c++
program appears to not work too well on alpha RHL5.0. Personally I suspect
libg++, and I would _love_ to try libg++-2.8.0b6(?), but I can't get it to
build :(
Does anyone have any pointers, or perhaps an rpm for a recent libg++?
Cheers for any help,
Chris
^ permalink raw reply [flat|nested] 5+ messages in thread* 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
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