[Vm-dev] Stack and Cog v3 VMs for ARMv7?
Phil (list)
pbpublist at gmail.com
Mon May 2 05:28:27 UTC 2016
Eliot,
Thanks for the info...
On Sat, 2016-04-30 at 20:55 -0700, Eliot Miranda wrote:
> are there known issues with other architectures? I want (and for
> > the
> > particular ARM image I am building in, need) armv7. When I change
> > to
> > -march=armv7-a the VM builds without errors. But when I run it on
> > my
> > rpi2 the VM begins to startup (i.e. a window is created but never
> > has a
> > chance to redraw) and then segfaults with a Smalltalk stack trace.
> > (this occurs both with a Cuis as well as Squeak 4.6 images) Is
> > this a
> > known problem?
> Yes. Here's a part of a message from Ryan pointing out difficulties
> with the ARM build
>
> "The build is broken on Linux ARMv7 (i.e., everyone but Raspbian).
> The build fails in the configure step because it includes "-
> march=armv6 -mfpu=vfp -mfloat-abi=hard" in the compiler flags. This
> is not a valid configuration for a gcc built to target ARMv7.
> Removing this from mvm fixes the build."
>
Unfortunately removing the compiler flags had no effect: the VM still
appears to build correctly but segfaults shortly after loading the
image. Any additional tips/pointers are greatly appreciated.
Thanks,
Phil
More information about the Vm-dev
mailing list