[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Guile 1.4 compilation bugs (and patches) under Cray UnicosMk
From: |
Steven G. Johnson |
Subject: |
Guile 1.4 compilation bugs (and patches) under Cray UnicosMk |
Date: |
Tue, 20 Feb 2001 21:23:46 -0500 |
When compiling Guile 1.4 on a Cray T3E under UnicosMk
(alpha-cray-unicosmk2.0.5.X) with Cray cc, I encountered a couple of one-line
bugs that prevent compilation. Fortunately, they were easily fixed; they look
like leftover code from a previous version, but are only compiled on "exotic"
machines like this one.
I've attached the patches below; thanks!
Cordially,
Steven G. Johnson
PS. I am also having some problems running Guile on that system, but I'll put
that in a separate bug report when I get more information.
*** numbers.c.orig Tue Feb 20 17:47:14 2001
--- numbers.c Tue Feb 20 17:48:01 2001
***************
*** 839,845 ****
(nn1 < 0) ? SCM_BIGSIGNFLAG : 0, n2,
SCM_BIGSIGNFLAG);
}
# else
! BIGDIG zdigs [DIGSPERLONG];
scm_longdigs (nn1, zdigs);
if ((!(nn1 < 0)) && !SCM_BIGSIGN (n2)) {
return scm_big_ior (zdigs, SCM_DIGSPERLONG,
--- 839,845 ----
(nn1 < 0) ? SCM_BIGSIGNFLAG : 0, n2,
SCM_BIGSIGNFLAG);
}
# else
! SCM_BIGDIG zdigs [SCM_DIGSPERLONG];
scm_longdigs (nn1, zdigs);
if ((!(nn1 < 0)) && !SCM_BIGSIGN (n2)) {
return scm_big_ior (zdigs, SCM_DIGSPERLONG,
*** alloca.c.orig Tue Feb 20 18:03:28 2001
--- alloca.c Tue Feb 20 18:02:17 2001
***************
*** 25,31 ****
address@hidden, http://www.cs.washington.edu/homes/gjb */
#ifdef HAVE_CONFIG_H
! #include <scmconfig.h>
#endif
#ifdef HAVE_STRING_H
--- 25,31 ----
address@hidden, http://www.cs.washington.edu/homes/gjb */
#ifdef HAVE_CONFIG_H
! #include <libguile/scmconfig.h>
#endif
#ifdef HAVE_STRING_H
- Guile 1.4 compilation bugs (and patches) under Cray UnicosMk,
Steven G. Johnson <=