[racket] Bulding for Solaris 5.10 AMD64

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Sat Jul 17 11:14:46 EDT 2010

At Fri, 16 Jul 2010 14:47:21 +0100, Tim Brown wrote:
> So far as I can tell, --disable-jit switches the build into a 3m-only
> mode. However, without --disable-jit racketcgc is build and invoked;
> and it is racketcgc the
>    "module name resolver: expected result of type <resolved-module-path>;
>     given #<variable-code>"
> error.

`racketcgc' is always built, because it is needed to build a 3m `racket'.
So, it's ok that `racketcgc' is being run.

Something has definitely gone wrong inside `racketcgc', though. I
imagine that if you set the environment variable PLTNOMZJIT, then 3m
`racket' will build, but running the resulting `racket' without
PLTNOMZJIT will produce the same error.

Your "sconfig.h" changes look right. My only wild guess at the moment
is that something else is relying on the C preprocessor setting
__x86_64__, as opposed to __x86_64. If you add

 #define __x86_64__ 1

does that help?



Posted on the users mailing list.