<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'>Personally I would try checking out the current tree.<BR>
And I thought there was a 5.5.x build to start from. I'd try it.<BR>
And if the existing binaries don't have symbols, and you can't build the system, find a system you can build or cross build from and get symbols in there and then debug it here.<BR><BR>
Symbols can be very valuable and I have mixed thoughts on stripped binaries.<BR>
<BR>
Maybe I'll get around to running this x86 Linux stuff in a virtual or physical machine sometime soon.<BR>
Hopefully this gets solved before I resort to it.<BR>
<BR>
- Jay<BR><BR><BR>
<HR id=stopSpelling>
<BR>
> Date: Thu, 24 Jan 2008 22:40:24 +0100<BR>> From: neels@elego.de<BR>> To: m3devel@elego.de; m3-support@elego.de<BR>> Subject: Re: [M3devel] segmentation fault upon ./install-cm3-compiler.sh upgrade<BR>> <BR>> btw, I am using the "stable release" source tarballs with the 5.4.0 <BR>> minimal binary as available on the download page.<BR>> http://modula3.elegosoft.com/cm3/cm3-min-POSIX-LINUXLIBC6-5.4.0.tgz<BR>> http://modula3.elegosoft.com/cm3/cm3-src-sys-5.4.0.tgz<BR>> http://modula3.elegosoft.com/cm3/cm3-src-gnu-5.4.0.tgz<BR>> http://modula3.elegosoft.com/cm3/cm3-src-std-5.4.0.tgz<BR>> <BR>> Neels Janosch Hofmeyr wrote:<BR>> > Hi lists,<BR>> ><BR>> > I am trying to install cm3 5.4.0 on Ubuntu 7.10. I know that it worked <BR>> > on 7.4, and am doing the exact same steps. I have now tried it with <BR>> > cm3-min-...-5.4.0, just as I did last year.<BR>> ><BR>> > But now, I get this output:<BR>> ><BR>> > neels@oubantu:~/cm3-build/scripts<BR>> > $ ./install-cm3-compiler.sh upgrade<BR>> > cp /usr/local/cm3/bin/cm3 /usr/local/cm3/bin/cm3-5.4.0<BR>> > cp /usr/local/cm3/bin/cm3cg /usr/local/cm3/bin/cm3cg-5.4.0<BR>> > Segmentation fault (core dumped)<BR>> > cp /home/neels/cm3-build/m3-sys/cm3/LINUXLIBC6/cm3 <BR>> > /usr/local/cm3/bin/cm3-<BR>> > cp /home/neels/cm3-build/m3-sys/m3cc/LINUXLIBC6/cm3cg <BR>> > /usr/local/cm3/bin/cm3cg-<BR>> > cp /usr/local/cm3/bin/cm3- /usr/local/cm3/bin/cm3<BR>> > cp /usr/local/cm3/bin/cm3cg- /usr/local/cm3/bin/cm3cg<BR>> ><BR>> > I have done this a second time, making sure everything is cleaned out <BR>> > and monitored things. From adding a `set -x' in the <BR>> > install-cm3-compiler.sh, it becomes obvious that <BR>> > `/usr/local/cm3/bin/cm3 -version' exits with a Segmentation Fault.<BR>> ><BR>> > After doing ./cminstall (the minimal binary install), cm3 -version said<BR>> > $ /usr/local/cm3/bin/cm3 -version<BR>> > Critical Mass Modula-3 version 5.4.0<BR>> > last updated: 2006-10-11<BR>> > configuration: /usr/local/cm3/bin/cm3.cfg<BR>> ><BR>> > After doing ./do-cm3-core.sh buildship, it still said the same.<BR>> > So, somewhere in install-cm3-compiler.sh, a disfunctional cm3 binary <BR>> > gets installed in /usr/local/cm3/bin/, after which cm3 yields only <BR>> > segmentation faults.<BR>> ><BR>> > After install-cm3-compiler.sh, cm3 -version says<BR>> > $ /usr/local/cm3/bin/cm3 -version<BR>> ><BR>> ><BR>> > ***<BR>> > *** runtime error:<BR>> > *** Segmentation violation - possible attempt to dereference NIL<BR>> > *** pc = 0x9e841069<BR>> > ***<BR>> ><BR>> > Aborted (core dumped)<BR>> ><BR>> > Trying to backtrace in gdb apparently doesn't work -- I don't know how <BR>> > to compile debugging symbols into it. Giving up.<BR>> ><BR>> > I think now is the time to remove the statement "[cm3 is] easy-to-use <BR>> > [and] easy-to-install" from modula3.elegosoft.com. No piece of <BR>> > software I have ever encountered is as difficult to use and as <BR>> > impossible to install as critical mass modula3. I *am* following all <BR>> > the instructions!<BR>> ><BR>> > argh,<BR>> > Neels<BR>> ><BR>> <BR>> -- <BR>> Neels Janosch Hofmeyr<BR>> Software Developer<BR>> <BR>> neels@elego.de<BR>> Public Key: http://binarchy.net/neels/neels.hofmeyr.public.key.asc<BR>> <BR>> elego Software Solutions GmbH http://www.elegosoft.com<BR>> Gustav-Meyer-Allee 25, Gebäude 12 HRB 77719<BR>> 13355 Berlin, Germany Amtsgericht Charlottenburg<BR>> Tel.: +49 30 23 45 86 96 Sitz der Gesellschaft: Berlin<BR>> Fax: +49 30 23 45 86 95 Geschäftsführer: Olaf Wagner<BR>> <BR>> <BR><BR><br /><hr />Connect and share in new ways with Windows Live. <a href='http://www.windowslive.com/share.html?ocid=TXT_TAGHM_Wave2_sharelife_012008' target='_new'>Get it now!</a></body>
</html>