[Bug 254693] random crashes with armv7 thumb application on arm64

[email protected]
Newsgroups gmane.os.freebsd.devel.arm
Message-ID <[email protected]/bugzilla/>
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: [email protected]
          Reporter: [email protected]

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.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-arm
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.