Skip to content

OpenBSD build*/mvm breakout#758

Open
KenDickey wants to merge 39 commits into
OpenSmalltalk:Cogfrom
KenDickey:Cog
Open

OpenBSD build*/mvm breakout#758
KenDickey wants to merge 39 commits into
OpenSmalltalk:Cogfrom
KenDickey:Cog

Conversation

@KenDickey

Copy link
Copy Markdown
Contributor

Added building/openbsd64* files. Tested builds on x86_64 & aarch64 OpenBSD
Cleaned OpenBSD refs from linux64x64 & linux64ARMv8 mvm's; also built & tested on x86_64 & aarch64 Linux.
Looks good to me.
We live in hope! 8^)

@KenDickey

Copy link
Copy Markdown
Contributor Author

QNX RasPi5 self-hosted squeak.stack.spur build{,.debug,.assrtt} build & tests OK.
Rebuilt on Linux on x86_64 and aarch64 and on MaxOSarm64, so configure of
--with-vm-dislay-qnxScreen works.

OK to integrate AFAIKT.

@krono

krono commented Mar 15, 2026

Copy link
Copy Markdown
Member

nice

@KenDickey

Copy link
Copy Markdown
Contributor Author

Also built & tested [cog] OK on OpenBSD on x86_64 and aarch64.
Also framebuffer OK on Alpine Linux [x86_64].
Please integrate!

@KenDickey

Copy link
Copy Markdown
Contributor Author

Cog build & build.debug VMs build and run on QNX RPi5 self-hosted.

@KenDickey

Copy link
Copy Markdown
Contributor Author

Built osvm on latest OpenBSD release [7.9] on both arm64 and x86_64.

@edoneel

edoneel commented May 27, 2026 via email

Copy link
Copy Markdown
Collaborator

@KenDickey

Copy link
Copy Markdown
Contributor Author

aarch64 OpenBSD 7.9 confirmed.
-O2 builds & works for stack interpreter
-O2 builds & segfaults for cog but cog works fine for -O1
Compiled with clang 19.1.7

Hmmm.. ??

@KenDickey

Copy link
Copy Markdown
Contributor Author

Problem seems to exhibit from file "src/spur64.cog/cogitARMv8.c"

Could someone knowledgeable shed some light on this?

Thkx, -KenD

[=> spur64 Dev.image
spur64 Dev.image

opcodeIndex < numAbstractOpcodes 13464

opcodeIndex < numAbstractOpcodes 13485

opcodeIndex < numAbstractOpcodes 13445

opcodeIndex < numAbstractOpcodes 13485

opcodeIndex < numAbstractOpcodes 13464

opcodeIndex < numAbstractOpcodes 13464

opcodeIndex < numAbstractOpcodes 13464

opcodeIndex < numAbstractOpcodes 13445

opcodeIndex < numAbstractOpcodes 13464

opcodeIndex < numAbstractOpcodes 13445

Case not found and no otherwise clause

/usr/local/lib/squeak/7.0-202605281852-64bit/squeak
Squeak VM version: 7.0-202605281852  Thu May 28 12:23:53 PDT 2026 clang [Debug Spur 64-bit aarch64 VM]
Built from: CoInterpreter VMMaker.oscog-eem.3762 uuid: a857240a-1dd6-4740-a414-2239712eb3a9 May 28 2026
With: StackToRegisterMappingCogit VMMaker.oscog-eem.3759 uuid: 51653cdb-572e-4dcd-9ed0-a6ce1d4dc428 May 28 2026
Revision: VM: 202605281852 kend@rpi5obsd.my.domain:QNX-vm
Date: Thu May 28 18:52:38 2026 CommitHash: 4f7ab2e9f
Plugins: 202605281852 kend@rpi5obsd.my.domain:QNX-vm
Build host: OpenBSD rpi5obsd.my.domain 7.9 GENERIC.MP#222 arm64
plugin path: /usr/local/bin/../lib/squeak/7.0-202605281852-64bit [default: /usr/local/lib/squeak/7.0-202605281852-64bit/]

@KenDickey

Copy link
Copy Markdown
Contributor Author

Note that OSVM cog builds & works on x86_64 and aarch64 (as well as on QNX aarch64).
I.e. All builds AOK AFAIKT

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants