[Vm-dev] Re: I need help building Cog on 64bit Linux (new Squeak server)

David T. Lewis lewis at mail.msen.com
Mon Feb 11 21:09:38 UTC 2013


On Mon, Feb 11, 2013 at 10:04:52PM +0100, Nicolas Cellier wrote:
>  
> Hi Dave,
> I did not have time to test the Smalltalk script, but I compiled an
> already generated interpreter VM with gcc 4.6.3.
> Passing the tests didn't cause any crash, so it seems that despite it
> is relying on some UB, we can still compile with a recent gcc, and
> that the -fcaller-saves problem only strikes the COG VM...
> 
> Nicolas

Hi Nicolas,

Thanks a lot for testing this, it is good information.

Dave


> 
> 2013/2/7 David T. Lewis <lewis at mail.msen.com>:
> >
> > Really good analysis to figure out that the issue is associated with the
> > -fno-caller-saves option!
> >
> > I wonder why we are not seeing crashes with the Cog and interpreter VMs
> > that are built locally on box3.squeak.org. These are being compiled with
> > gcc 4.4.5 with latest oscog and trunk sources, and the resulting VMs work
> > well enough to run the Squeak test suites. They are running headless and
> > have a reduced set of plugins, so I wonder if perhaps the problem areas
> > may be in plugins or in the display module?
> >
> > If you have the patience to try another experiment, could you check and
> > see if an interpreter VM crashes on the same system with the same compiler?
> > Build it with a squeak image from ftp://ftp.squeak.org/4.4/ and file in
> > the script http://squeakci.org/job/InterpreterVM/ws/VMUnixBuild.st to do
> > the build (but first edit VMUnixBuild.st to set exitWhenDone := false).
> >
> > BTW I agree that the error message is much better in French localization.
> > I would not understand that error message in any language, but it definitely
> > sounds better in French :)
> >
> > Dave
> >
> > On Thu, Feb 07, 2013 at 01:18:54AM +0100, Nicolas Cellier wrote:
> >>
> >> I confirm, same crash as Ken with a gcc4.4.3 and gcc4.6.3 compiled VM.
> >>
> >> Since analyzing all gcc warnings is like looking for a needle in a
> >> haystack, I tried another angle of attack.
> >>
> >> So you might be interested in
> >> http://smallissimo.blogspot.fr/2013/02/compiling-squeak-cog-virtual-machine-on.html
> >>
> >> Nicolas
> >>
> >> 2013/1/28 Ken Causey <ken at kencausey.com>:
> >> >
> >> > On 01/28/2013 04:04 PM, Ken Causey wrote:
> >> >>
> >> >>
> >> >> SUnit Results
> >> >> -------------
> >> >> 3272 run, 3251 passes, 19 expected failures, 1 failures, 0 errors, 1
> >> >> unexpected passes
> >> >>
> >> >> Failed Tests
> >> >> ------------
> >> >> (AllocationTest selector: #testOneGigAllocation) debug.
> >> >> (LocaleTest selector: #testLocaleChanged) debug.
> >> >>
> >> >> Errors
> >> >> ------
> >> >>
> >> >
> >> > For what it's worth I get the same results with svn head (2675):
> >> >
> >> > 4.0-2673 #1 Mon Jan 28 23:08:31 CET 2013 gcc 4.3.5
> >> > CoInterpreter VMMaker.oscog-eem.258 uuid:
> >> > da1433f1-de50-475f-be33-f462b300a2ea Jan 28 2013
> >> > StackToRegisterMappingCogit VMMaker.oscog-eem.256 uuid:
> >> > bfea3efd-4e81-4e85-922e-cf4f58ee5d64 Jan 28 2013
> >> > VM: r2673 http://www.squeakvm.org/svn/squeak/branches/Cog
> >> >
> >> > Plugins: r2545 http://squeakvm.org/svn/squeak/trunk/platforms/Cross/plugins
> >> > Linux squeak-box4 2.6.32-xenU-7428-x86_64 #4 SMP Mon Nov 19 10:17:25 UTC
> >> > 2012 x86_64 GNU/Linux
> >> > plugin path: /home/kencausey/source/cog/svn/Cog/unixbuild/bld/ [default:
> >> > /home/kencausey/source/cog/svn/Cog/unixbuild/bld/]
> >> >
> >> > Ken


More information about the Vm-dev mailing list