You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried AxRuntime first, unfortunately it's not going to work for me. It was really easy to get installed and set up, but then I hit problems. A small problem is that I was building with the flags "-std=c89 -pedantic -Werror -Wall" with gcc (my project builds with Hisoft C on real Amigas, and I need to remember not to do anything modern/undefined on Linux). I removed those flags and my test program builds. But on running, it runs to completion then traps on exit:
Thread 14 "New Process" received signal SIGTRAP, Trace/breakpoint trap.
[Switching to Thread 0x7fffce7fc700 (LWP 23058)]
RunProgram (sysbase=0x7ffff00017c0, _m=0x7fffffffcac0) at /ssd/deadwood/repo-github-dd-alt-runtimelinux/AROS/arch/all-runtime/axrt/startup/startup_lib.c:222
222 /ssd/deadwood/repo-github-dd-alt-runtimelinux/AROS/arch/all-runtime/axrt/startup/startup_lib.c: No such file or directory.
(gdb) bt
#0 RunProgram (sysbase=0x7ffff00017c0, _m=0x7fffffffcac0) at /ssd/deadwood/repo-github-dd-alt-runtimelinux/AROS/arch/all-runtime/axrt/startup/startup_lib.c:222 #1 0x00007fffef79d4d9 in __program_trampoline () at /ssd/deadwood/repo-github-dd-alt-runtimelinux/AROS/arch/all-runtimelinux/dos/boot.c:83 #2 0x00007fffef79dd0a in CallEntry (argptr=0x0, argsize=0, entry=0x7fffef79d3d4 <__program_trampoline>, me=0x7fffc80167a0)
at /ssd/deadwood/repo-github-dd-alt-runtimelinux/AROS/arch/all-runtimelinux/dos/exit.c:136 #3 0x00007fffef7a50fa in DosEntry () at /ssd/deadwood/repo-github-dd-alt-runtimelinux/AROS/rom/dos/./createnewproc.c:741 #4 0x00007ffff5d7cf50 in __pthread_trampoline (ptr=0x7fffc8021380) at /ssd/deadwood/repo-github-dd-alt-runtimelinux/AROS/arch/all-runtimelinux/exec/newaddtask.c:287 #5 0x00007ffff75996db in start_thread (arg=0x7fffce7fc700) at pthread_create.c:463 #6 0x00007ffff78d288f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
As reported on https://ae.amigalife.org/index.php?topic=569.msg4672
I tried AxRuntime first, unfortunately it's not going to work for me. It was really easy to get installed and set up, but then I hit problems. A small problem is that I was building with the flags "-std=c89 -pedantic -Werror -Wall" with gcc (my project builds with Hisoft C on real Amigas, and I need to remember not to do anything modern/undefined on Linux). I removed those flags and my test program builds. But on running, it runs to completion then traps on exit:
Thread 14 "New Process" received signal SIGTRAP, Trace/breakpoint trap.
[Switching to Thread 0x7fffce7fc700 (LWP 23058)]
RunProgram (sysbase=0x7ffff00017c0, _m=0x7fffffffcac0) at /ssd/deadwood/repo-github-dd-alt-runtimelinux/AROS/arch/all-runtime/axrt/startup/startup_lib.c:222
222 /ssd/deadwood/repo-github-dd-alt-runtimelinux/AROS/arch/all-runtime/axrt/startup/startup_lib.c: No such file or directory.
(gdb) bt
#0 RunProgram (sysbase=0x7ffff00017c0, _m=0x7fffffffcac0) at /ssd/deadwood/repo-github-dd-alt-runtimelinux/AROS/arch/all-runtime/axrt/startup/startup_lib.c:222
#1 0x00007fffef79d4d9 in __program_trampoline () at /ssd/deadwood/repo-github-dd-alt-runtimelinux/AROS/arch/all-runtimelinux/dos/boot.c:83
#2 0x00007fffef79dd0a in CallEntry (argptr=0x0, argsize=0, entry=0x7fffef79d3d4 <__program_trampoline>, me=0x7fffc80167a0)
at /ssd/deadwood/repo-github-dd-alt-runtimelinux/AROS/arch/all-runtimelinux/dos/exit.c:136
#3 0x00007fffef7a50fa in DosEntry () at /ssd/deadwood/repo-github-dd-alt-runtimelinux/AROS/rom/dos/./createnewproc.c:741
#4 0x00007ffff5d7cf50 in __pthread_trampoline (ptr=0x7fffc8021380) at /ssd/deadwood/repo-github-dd-alt-runtimelinux/AROS/arch/all-runtimelinux/exec/newaddtask.c:287
#5 0x00007ffff75996db in start_thread (arg=0x7fffce7fc700) at pthread_create.c:463
#6 0x00007ffff78d288f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
If you want to look further, check out the libaxrt branch in https://github.com/iamleeg/Amiga-Smalltalk
The text was updated successfully, but these errors were encountered: