Date: Tue, 17 Apr 2001 16:15:19 +0200 (CEST) From: Sebastian Moeller <sebastian.moeller@lur.rwth-aachen.de> Message-ID: <Pine.LNX.4.21.0104171610460.22392-100000@lx42.lur.rwth-aachen.de> Subject: Re: [suse-axp] libm problems on AlphaStation 4/233 (21064/Avanti)
Hello Markus,
This bevavior is well known on old EV4 machines like the jensen. The dirty
fix is to patch traps.c. But beware it was reported that this fix does not
help all EV4 machines. (It worked on my jensen though, from 2.2.16 up to
2.2.18). One instance of the patch can be found at:
ftp://ftp.alphalinux.org/pub/Linux-Alpha/jensen/install/EV4-2.2.17.diff
IIRC it has to do with the EV4s inability to trap precisely, but
have a look at the patch yourself.
Ahoi & good luck
Sebastian Moeller
On Tue, 17 Apr 2001, Markus Lischka wrote:
> I just installed SuSE 6.4/AXP on an AlphaStation 4/233 (Avanti
> board). Unfortunately, there seem to be some fpu-related problems.
> Whenever a process calls floor(), it freezes.
> This can be traced back to some assembler calls in
> /usr/include/bits/mathinline.h:133. For example:
>
> #include <stdio.h>
> #include <math.h>
>
> int main() {
> double d;
>
> d = 1.1;
>
> /* This freezes on the Alpha 21064: /*
> d = floor(d);
>
> printf("%f\n", d);
> printf("Done!\n");
> }
>
>
> Another example is GNU awk, which makes the system almost unusable in its
> present state. Are there any known workarounds?
>
> Best regards,
> Markus Lischka
>
> ----------------------------------------------------------------------
> email: mlischka@physik.tu-muenchen.de Markus Lischka
> www : http://www.ph.tum.de/~mlischka Physics Department T30
> phone: (0 89) 2 89-1 23 28 James-Franck-Str. 1
> fax : (0 89) 2 89-1 22 96 D-85747 Garching
> ----------------------------------------------------------------------
>
>
> --
> To unsubscribe, e-mail: suse-axp-unsubscribe@suse.com
> For additional commands, e-mail: suse-axp-help@suse.com
>
This archive was generated by hypermail 2.1.0 : Mon Jun 04 2001 - 04:18:44 PDT