Labels for float instructions on alpha

Hi, In src/runtime/Kernel/mutator.c you have #ifndef __alpha /* Float is Double on alpha */ ... Case(ADD_F): PRIM_OP2_FLOAT(+); ... #endif /* __alpha */ (and a number of others). However, static void *labs[] = { INSTRUCTION_LIST }; has an "ins(ADD_F)," regardless, so it fails to build http://buildd.debian.org/fetch.php?&pkg=nhc98&ver=1.14-9&arch=alpha&stamp=1044607122&file=log&as=raw Presumably this should also be ifdefed out, or possibly substituted with a dummy label? Thanks Ian

Ian Lynagh
http://buildd.debian.org/fetch.php?&pkg=nhc98&ver=1.14-9&arch=alpha&stamp=1044607122&file=log&as=raw
I believe the many warnings like:
mutator.c:761: warning: cast from pointer to integer of different size
are of much greater significance than the undefined labels. Isn't the
alpha a 64-bit machine? If so, then it is not currently supported
by nhc98 at all. The last time the nhc compiler supported the alpha
architecture was probably in 1997, when it still emitted assembly
language rather than compiling via C.
I'd like to get 64-bit code working again, but have (a) no time,
and (b) no test machine. Wolfram Kahl

On Wed, Apr 23, 2003 at 04:33:12PM +0100, Malcolm Wallace wrote:
Ian Lynagh
writes: http://buildd.debian.org/fetch.php?&pkg=nhc98&ver=1.14-9&arch=alpha&stamp=1044607122&file=log&as=raw
I believe the many warnings like: mutator.c:761: warning: cast from pointer to integer of different size are of much greater significance than the undefined labels. Isn't the alpha a 64-bit machine? If so, then it is not currently supported by nhc98 at all.
Ah, OK, I guess I am too used to warnings being accepted rather than silenced :-) It's not important for me, incidentally, I was just looking at some of the Haskell-related build failures. Thanks Ian

Hi Malcolm. "make install" under Cygwin and W2000 on the nhc98 v 1.16 tarball gives: ..... ./UnboxedArray.z.a ./Warning.z.a Adjusting... hmakerc I/O error: action : openFile ReadMode on file: /c/DOCUME~1/mike/LOCALS~1/Temp\hmakeconfig.tmp gave : ENOENT (No such file or directory) ..... The file exists - I suspect that nhc98 is choking on the backslash: .... $ ls /c/DOCUME~1/mike/LOCALS~1/Temp\hmakeconfig.tmp /c/DOCUME~1/mike/LOCALS~1/Temphmakeconfig.tmp ... I haven't time to look further at this tonight I'm sorry - will try later in the week - any suggestions accepted gratefully as to where that DOS path separator is coming from (ie, which script do I need to look at, patch etc) to save debugging time. The compiler built (ie "configure" and "make") without troubles otherwise, and the partially installed system compiles source files perfectly well. However, "hmake" is missing as a result of the above problem. Cheers Mike Thomas.

"Mike Thomas"
"make install" under Cygwin and W2000 on the nhc98 v 1.16 tarball gives:
Adjusting... hmakerc I/O error: action : openFile ReadMode on file: /c/DOCUME~1/mike/LOCALS~1/Temp\hmakeconfig.tmp gave : ENOENT (No such file or directory)
The file exists - I suspect that nhc98 is choking on the backslash:
I think you are right. After applying the following patch, you need to do ./configure again before make install and I think that will fix it. Regards, Malcolm
participants (3)
-
Ian Lynagh
-
Malcolm Wallace
-
Mike Thomas