[M3devel] AMD64_LINUX status
Tony Hosking
hosking at cs.purdue.edu
Fri Oct 31 11:19:51 CET 2008
Umm, I think I found your bug with GC:
Check out "RTMachine.PointerAlignment". You have it set to
BITSIZE(INTEGER). I suspect what you want is something like
BYTESIZE(ADDRESS). Also, "RTMachine.StackFrameAlignment" should
probably be 2*BYTESIZE(ADDRESS).
On 30 Oct 2008, at 21:21, Jay wrote:
>
> Please try this:
>
> http://www.opencm3.com/uploaded-archives/cm3-min-POSIX-AMD64_LINUX-d5.7.0.tar.bz2
>
> std failed to build because stubgen crashed, probably due to gc.
> cm3 does crash right away without @M3nogc.
>
> Something like this:
> cd /src
> wget http://www.opencm3.com/uploaded-archives/cm3-min-POSIX-AMD64_LINUX-d5.7.0.tar.bz2
> cd /cm3
> rm -rf *
> tar --strip-components=1 -xf /src/cm3-min-POSIX-AMD64_LINUX-
> d5.7.0.tar.bz2
> cd /src/cm3/scripts/python
> ./do-cm3-all.py realclean
> ./upgrade.py
> ./do-cm3-all.py realclean
> ./do-cm3-std.py buildship
> => it will fail, at zeus, but it should get far; you'll also need
> some X devel packages to get that far, I had a failure for lack of
> libXaw for example. I did not run anything, any of the GUI packages,
> but building itself with itself is a decent test.
>
> I renamed the old AMD64_LINUX archives to "1.0.0".
> http://www.opencm3.com/uploaded-archives/
>
> This has the bug fix I commited last night to cm3cg, and therefore a
> 64 bit hosted cm3cg.
>
> jay at amd64a:/cm3/bin$ file *
> AMD64_LINUX: ASCII text
> cm3: ELF 64-bit LSB executable, AMD x86-64, version 1
> (SYSV), for GNU/Linux 2.6.0, dynamically linked (uses shared libs),
> for GNU/Linux 2.6.0, not stripped
> cm3.cfg: ASCII English text
> cm3cg: ELF 64-bit LSB executable, AMD x86-64, version 1
> (SYSV), for GNU/Li
> nux 2.6.0, dynamically linked (uses shared libs), for GNU/Linux
> 2.6.0, not stripped
> m3bundle: ELF 64-bit LSB executable, AMD x86-64, version 1
> (SYSV), for GNU/Li
> nux 2.6.0, dynamically linked (uses shared libs), for GNU/Linux
> 2.6.0, not stripped
> mklib: ELF 64-bit LSB executable, AMD x86-64, version 1
> (SYSV), for GNU/Linux 2.6.0, dynamically linked (uses shared libs),
> for GNU/Linux 2.6.0, not stripped
> Unix.common: ASCII English text
>
> Built on Debian 4.0r4 (r5 is out).
> jay at amd64a:/cm3/bin$ uname -a
> Linux amd64a 2.6.18-6-amd64 #1 SMP Tue Aug 19 04:30:56 UTC 2008
> x86_64 GNU/Linux
> jay at amd64a:/cm3/bin$ dmesg | head
> Bootdata ok (command line is auto BOOT_IMAGE=Linux ro root=805)
> Linux version 2.6.18-6-amd64 (Debian 2.6.18.dfsg.1-22etch2) (dannf at debian.org
> ) (
> gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)) #1 SMP
> Tue Aug 19 04:30:56 UTC 2008
>
> Though really I couldn't do it without Visual C++ on Windows
> providing excellent find-in-files and editing, nothing else comes
> close, I edit on Windows and scp the files over. :)
>
> - Jay
>
> ________________________________
>
> From: jay.krell at cornell.edu
> To: dragisha at m3w.org; m3devel at elegosoft.com
> Date: Tue, 9 Sep 2008 09:43:03 +0000
> Subject: Re: [M3devel] AMD64_LINUX status
>
>
>
>
More information about the M3devel
mailing list