[M3devel] segmentation fault upon ./install-cm3-compiler.sh upgrade
Neels Janosch Hofmeyr
neels at elego.de
Thu Jan 24 22:09:47 CET 2008
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: OpenPGP digital signature
URL: <http://m3lists.elegosoft.com/pipermail/m3devel/attachments/20080124/929a7701/attachment-0001.sig>
More information about the M3devel
mailing list