OpenSmalltalk / opensmalltalk-vm

Cross-platform virtual machine for Squeak, Pharo, Cuis, and Newspeak.
http://opensmalltalk.org/
Other
557 stars 111 forks source link

On RaspPi4 w/ Nov23 OS, --enable-fast-bitblt not linking as expected #671

Open marceltaeumel opened 9 months ago

marceltaeumel commented 9 months ago

Since Raspberry Pi OS November 2023, there is a 64-bit kernel and thus uname -m answers aarch64, even though userland is still 32-bit. Does probably only affect Pi4, not Pi5.

So, our configure script for unix builds is probably broken in that sense:

The linker will choose BitBltArm64.o instead of BitBltArm.o.

krono commented 9 months ago

This bit us already, IIRC. RPis are 64-bit capable since RPi 1.2 (that is since oct 2016)

krono commented 9 months ago

see also #662

edoneel commented 9 months ago

Hi,

This will affect any PI where the CPU is 64bit capable (PI 3B+ and newer) and where you run the 32 bit version server since if the CPU is 64bit capable will run the 64 bit kernel.

All of this on a sufficiently new enough version of Debian, ie, Raspberry PI OS.

cheers

bruce

On 2023-12-14T10:59:05.000+01:00, Marcel Taeumel @.***> wrote:

 Since Raspberry Pi OS November 2023, there is a 64-bit kernel and  thus uname -m answers aarch64, even though userland is still 32-bit.  Does probably only affect Pi4, not Pi5.    So, our configure script for unix builds is probably broken in that  sense:         *  https://github.com/OpenSmalltalk/opensmalltalk-vm/blob/833bc124c29fc8573b386eca4c24b94d1f96a1a5/platforms/unix/config/configure#L18582    The linker will choose BitBltArm64.o instead of BitBltArm.o.    —  Reply to this email directly, view it on GitHub  [https://github.com/OpenSmalltalk/opensmalltalk-vm/issues/671], or  unsubscribe  [https://github.com/notifications/unsubscribe-auth/ACEXJIU2BDERSY7GHUDRVPDYJLEWTAVCNFSM6AAAAABAURZS22VHI2DSMVQWIX3LMV43ASLTON2WKOZSGA2DCMZUG4ZTMMI].  You are receiving this because you are subscribed to this  thread.Message ID: @.***>

OpenSmalltalk-Bot commented 9 months ago

And let's not forget that you can be running a fully 64bit system as well. See https://www.raspberrypi.com/software/operating-systems/#raspberry-pi-os-32-bit for a current list of OS releases and compatibility.

Also adding to the fun is the adoption (optionally!) of Wayland for the latest Bookworm based OS release. I'm using that on my Pi5s and 4s and the XWayland library/shim seems to work perfectly well. Probably time to start thinking about being able to use Wayland since many linuxes are going that way.

On 2023-12-14, at 5:43 AM, edoneel @.***> wrote:

Hi,

This will affect any PI where the CPU is 64bit capable (PI 3B+ and newer) and where you run the 32 bit version server since if the CPU is 64bit capable will run the 64 bit kernel.

All of this on a sufficiently new enough version of Debian, ie, Raspberry PI OS.

cheers

bruce

On 2023-12-14T10:59:05.000+01:00, Marcel Taeumel @.***> wrote:

Since Raspberry Pi OS November 2023, there is a 64-bit kernel and thus uname -m answers aarch64, even though userland is still 32-bit. Does probably only affect Pi4, not Pi5.

So, our configure script for unix builds is probably broken in that sense:

 * 

https://github.com/OpenSmalltalk/opensmalltalk-vm/blob/833bc124c29fc8573b386eca4c24b94d1f96a1a5/platforms/unix/config/configure#L18582

The linker will choose BitBltArm64.o instead of BitBltArm.o.

— Reply to this email directly, view it on GitHub [https://github.com/OpenSmalltalk/opensmalltalk-vm/issues/671], or unsubscribe [https://github.com/notifications/unsubscribe-auth/ACEXJIU2BDERSY7GHUDRVPDYJLEWTAVCNFSM6AAAAABAURZS22VHI2DSMVQWIX3LMV43ASLTON2WKOZSGA2DCMZUG4ZTMMI]. You are receiving this because you are subscribed to this thread.Message ID: @.***>

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.

tim

tim Rowledge; @.***; http://www.rowledge.org/tim Useful Latin Phrases:- Quantum materiae materietur marmota monax si marmota monax materiam possit materiari? = How much wood would a woodchuck chuck if a woodchuck could chuck wood?