[M3devel] AMD64_LINUX status

Dragiša Durić dragisha at m3w.org
Fri Oct 31 15:10:05 CET 2008


So, we now have fully functional AMD64_LINUX (_with_ GC)?

TIA

On Fri, 2008-10-31 at 13:52 +0000, Jay wrote:
> Tony, Excellent, thanks, that helps.
> How do you know and confirm the right values? I don't like guessing.
>  
> And then cause then of :) :
>  
>   Symbol
> Pickling font metrics...
> Done.
> /cm3/bin/m3bundle -name JunoBundle -F/tmp/qk
> /cm3/bin/stubgen -v1 -sno RemoteView.T   -T.M3IMPTAB
> stubgen: Processing RemoteView.T
> 
> ***
> *** runtime error:
> ***    NEW() was unable to allocate more memory.
> ***    file "../src/runtime/common/RTAllocator.m3", line 285
> ***
> "/cm3/pkg/netobj/src/netobj.tmpl", line 37: quake runtime error: exit
> 1536: /cm3
> /bin/stubgen -v1 -sno RemoteView.T   -T.M3IMPTAB
> --procedure--  -line-  -file---
> exec               --  <builtin>
> _v_netobj          37  /cm3/pkg/netobj/src/netobj.tmpl
> netobjv1           44  /cm3/pkg/netobj/src/netobj.tmpl
> netobj             64  /cm3/pkg/netobj/src/netobj.tmpl
> include_dir        71  /dev2/cm3/m3-ui/juno-2/juno-app/src/m3makefile
> 
> 8  /dev2/cm3/m3-ui/juno-2/juno-app/AMD64_LINUX/m3make.args
>  
>  
> I should debug it, and double check that I upgraded what had to be
> upgraded.
>  
>  - Jay
> 
> 
> 
> > From: hosking at cs.purdue.edu
> > To: jay.krell at cornell.edu
> > Date: Fri, 31 Oct 2008 10:19:51 +0000
> > CC: m3devel at elegosoft.com
> > Subject: Re: [M3devel] AMD64_LINUX status
> > 
> > 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
> > >
> > >
> > >
> > >
> > 
> 
-- 
Dragiša Durić <dragisha at m3w.org>




More information about the M3devel mailing list