[racket] Bulding for Solaris 5.10 AMD64

From: Tim Brown (tim.brown at cityc.co.uk)
Date: Mon Jul 19 10:36:59 EDT 2010


On 17/07/10 16:14, Matthew Flatt wrote:
> 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

I've added this in amongst the other definitions in my changes to

> does that help?

I'm afraid not.

During the build (with no switching off of the JIT) I still get:

gmake[4]: Entering directory 
env XFORM_PRECOMP=yes ../racketcgc -cqu ../../../racket/gc2/xform.rkt 
--setup . --cpp "gcc -m64 -E -I./.. -I../../../racket/gc2/../include 
-D_FILE_OFFSET_BITS=64 "  --keep-lines -o xsrc/precomp.h 
module name resolver: expected result of type <resolved-module-path>; given 
gmake: *** [all] Error 2

I am left with that `racketgcg' in my build directory. It has been built
with the JIT non (more precisely, without me making any effort to switch
JIT off).

When I run it on the command line, I get:

 > ./racket/racketcgc
Welcome to Racket v5.0 [cgc].
module name resolver: expected result of type <resolved-module-path>; given 
module name resolver: expected result of type <resolved-module-path>; given 

The error is printed twice on my terminal - for 1 error or 2, I'm not sure.

If I run:

 > ./racket/racketcgc --no-jit
Welcome to Racket v5.0 [cgc].
 > (exit)

It all passes off quite smoothly.

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

 From what you've written, this behaviour seems to be what you would

Is there anything I can do to intercept `racketcgc' before it calls
whatever it calls to throw this error?



Tim Brown <tim.brown at cityc.co.uk>  | City Computing Limited            |
T: +44 20 8770 2110                | City House, Sutton Park Road      |
F: +44 20 8770 2130                | Sutton, Surrey, SM1 2AE, GB       |
BEAUTY:  What's in your eye when you have a bee in your hand           |
City Computing Limited registered in London No. 1767817.
Registered Office: City House, Sutton Park Road, Sutton, Surrey, SM1 2AE
VAT number 372 8290 34.

Posted on the users mailing list.