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