[chuck-dev] chuck on amd64

Ge Wang gewang at CS.Princeton.EDU
Mon Sep 13 15:04:52 EDT 2004


Dear All,

As Mark noted, chuck compiles but crashes on amd64 running
gentoo/ALSA.  Mark and I have already looked into this and have
come up with the following so far:

Most likely, this is due to data type width disparity for the 64-bit
system, for example, here are the type width on amd64/gcc on
Mark's machine:

# ./platform
sizeof(char): 1
sizeof(short): 2
sizeof(long): 8
sizeof(int): 4
sizeof(unsigned): 4
sizeof(float): 4
sizeof(double): 8
sizeof(void *): 8
endian: SMALL

which differs from most 32 bit machine:

# ./platform
sizeof(char): 1
sizeof(short): 2
sizeof(long): 4
sizeof(int): 4
sizeof(unsigned): 4
sizeof(float): 4
sizeof(double): 8
sizeof(void *): 4

So...

1) Anyone else here have experience/access to amd64/linux
2) Mark, is there anyway I can ssh into your machine and test there?
3) We should look into gcc on amd64 to see there is a 32-bit 
compatibility
      flag - that would solve a lot of things.
4) Any other thoughts/ideas?

Best,
Ge!



More information about the chuck-dev mailing list