On Sun, 22 Nov 2020 at 20:30, John Benediktsson <mrj...@gmail.com> wrote:

> It is being worked on in the arm64 branch on GitHub.
>
>
Ah - gotcha.

I do know ARM assembly, but I know so little about Factor I doubt I can
contribute much.

I checked out the arm64 branch and I see it compiles!

If I run the one in vm-arm64 I get an abort:

steve@maira vm-arm64 % ./factor-arm64
fatal_error: Out of memory in mmap: 0x48000
zsh: abort      ../../../vm-arm64/factor-arm64

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib         0x000000019b4c3cec __pthread_kill + 8
1   libsystem_pthread.dylib       0x000000019b4f4c24 pthread_kill + 292
2   libsystem_c.dylib             0x000000019b43c864 abort + 104
3   factor-arm64                   0x00000001024b98ec factor::abort() + 52
4   factor-arm64                   0x00000001024d66b8
factor::fatal_error(char const*, unsigned long) + 336
5   factor-arm64                   0x00000001024b86fc
factor::segment::segment(unsigned long, bool) + 116
6   factor-arm64                   0x00000001024c7440
factor::callback_heap::callback_heap(unsigned long, factor::factor_vm*) + 56
7   factor-arm64                   0x00000001024d7174
factor::factor_vm::init_factor(factor::vm_parameters*) + 268
8   factor-arm64                   0x00000001024d74dc
factor::factor_vm::start_standalone_factor(int, char**) + 68
9   factor-arm64                   0x00000001024d7698
start_standalone_factor + 44
10  factor-arm64                   0x00000001024e7210 main + 36
11  libdyld.dylib                 0x000000019b510f54 start + 4



If I run the one in the app bundle:it is "killed":

Exception Type:        EXC_BAD_ACCESS (Code Signature Invalid)
Exception Codes:       0x0000000000000032, 0x00000001020dc000
Exception Note:        EXC_CORPSE_NOTIFY

Perhaps there is a code-signing problem since the original binary was
called factor-arm64 ?  Or maybe I didn't build the code the right way (I
used some combination of "compile" and "self-update").

Steve
_______________________________________________
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk

Reply via email to