libm problems on AlphaStation 4/233 (21064/Avanti)

From: Markus Lischka (Markus_Lischka@Physik.TU-Muenchen.DE)
Date: Tue Apr 17 2001 - 05:57:41 PDT

  • Next message: Sebastian Moeller: "Re: [suse-axp] libm problems on AlphaStation 4/233 (21064/Avanti)"

    Date: Tue, 17 Apr 2001 14:57:41 +0200 (CEST)
    From: Markus Lischka <Markus_Lischka@Physik.TU-Muenchen.DE>
    Message-ID: <Pine.LNX.4.30.0104171437380.26855-100000@slater.t30.physik.tu-muenchen.de>
    Subject: libm problems on AlphaStation 4/233 (21064/Avanti)
    

    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
    ----------------------------------------------------------------------



    This archive was generated by hypermail 2.1.0 : Mon Jun 04 2001 - 04:18:44 PDT