Hi VM people,
I apologise in advance for the length of this post.
This patch fixes 4 problems which prevented the VM from buildingInteresting that there is another guy running Squeak under Solaris.
on Solaris/SPARC. They shouldn't cause problems for other
Which version of the VM sources you are talking about?
I have 3.9-8 running for quite some time on my Blade 2000.
Although I haven't used sound yet.
I have good experiences with Sun's CoolTools gcc for SPARC systems.
This is a gcc-4.0.4 frontend with a SunStudio 12 code generator.
The code runs at least twice as fast as with a plain gcc-3.4.3.
I've checked both the stock 3.9a-7024 image as well as the
etoys image. (My motivation for this whole exercise is to fix the
problems with audio under Solaris for my young daughter to use
etoys: the first sound plays, but after that, no sounds ever play.)
With gcc-4.2.1 and -O2, the VM won't even start up (complains
about a missing vm-display-X11, even though it's there). With
gcc-4.2.1 and no -O2, the VM starts, runs for a short while, and
then cores with a bus error. gdb shows a corrupt stack. I'm
about to build gcc-4.1.2 and give it a spin building the VM to
try to track this down. But I do suspect bad code generation
with gcc-4.2.1.
Did you manage to build libffi-2.0? This library is part of gcc-4.2.1.
AFAIK it is necessary for Squeak's FFI. I have only an old libffi-1.2.0 that
has some Solaris bugs. So I don't have FFI which is needed for some interesting
packages (e.g. ODBC).