[Bug 254693] random crashes with armv7 thumb application on arm64
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Thu Apr 1 10:17:38 UTC 2021
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=254693
Bug ID: 254693
Summary: random crashes with armv7 thumb application on arm64
Product: Base System
Version: 13.0-STABLE
Hardware: arm
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: arm
Assignee: freebsd-arm at FreeBSD.org
Reporter: fuz at fuz.su
I'm trying to run Mecrisp Stellaris 2.5.8 on arm64 FreeBSD. This is a Forth
system written entirely in armv7 thumb2 assembly. A FreeBSD port has existed
for a while and has recently been made available as lang/mecrisp-stellaris in
the ports tree.
It appears that with FreeBSD 13, rudimentary support for loading and running
armv7 binaries from arm64 FreeBSD exists. And indeed, mecrisp-stellaris loads
and executes fine. However, problems crop up once more definitions are loaded.
Specifically, the system crashes in random places with a wildly inconsistent
program state.
To reproduce the issue, download Mecrisp Stellaris 2.5.8 from Sourceforge [1]
onto an arm64 FreeBSD 13 system. Navigate into the freebsd-ra directory and
execute "buildcore-freebsd". You should see a few pages of output followed by
a crash. The crash is a segmentation fault or an illegal instruction fault.
The same issue does not seem to appear on armv7 FreeBSD, so I'm a bit at a loss
as to what may have caused this.
[1]:
https://sourceforge.net/projects/mecrisp/files/mecrisp-stellaris-2.5.8.tar.gz
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-arm
mailing list