Subj : aarch64?
To : Digital Man
From : deon
Date : Thu Oct 10 2024 08:20 am
Re: aarch64?
By: Digital Man to deon on Wed Oct 09 2024 12:07 pm
Howdy,
> It's a huge change to SBBS to upgrade libmozjs, but it will happen. Sysops
> have built and run sbbs (and libmozjs) on aarch64 (e.g. for a 64-bit Linux
> on an rPi4) successfully, so it is possible to do it.
OK, keen to know who successfully runs an aarch64 build, and the instructions they used.
My build completed no problem, but soon as I start it, it core dumps.
(gdb) thread apply all bt
Thread 12 (Thread 0xffffd37fe1c0 (LWP 537) "sbbs/jsStatic"):
#0 futex_wait_cancelable (private=0, expected=0, futex_word=0xffffd800faa0) at ../sysdeps/nptl/futex-internal.h:186
#1 __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0xffffd800f910, cond=0xffffd800fa78) at pthread_cond_wait.c:508
#2 __pthread_cond_wait (cond=0xffffd800fa78, mutex=0xffffd800f910) at pthread_cond_wait.c:638
#3 0x0000fffff64c6984 in PR_WaitCondVar () from /usr/lib/aarch64-linux-gnu/libnspr4.so
#4 0x0000fffff695c648 in ?? () from /usr/lib/libmozjs185.so.1.0
#5 0x0000ffffd3ffc418 in ?? ()
#6 0xf64cca1000000000 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
Thread 11 (Thread 0xfffff03a31c0 (LWP 536) "sbbs/jsRTtrig"):
#0 0x0000fffff6b68220 in __GI___clock_nanosleep (clock_id=<optimized out>, clock_id@entry=0, flags=flags@entry=0, req=0xfffff03a2980, rem=0xfffff03a2980) at ../sysdeps/unix/sysv/linux/clock_nanosleep.c:48
#1 0x0000fffff6b6db9c in __GI___nanosleep (requested_time=<optimized out>, remaining=<optimized out>) at nanosleep.c:27
#2 0x0000fffff6f0a750 in trigger_thread (args=0x0) at js_rtpool.c:24
#3 0x0000fffff6c45648 in start_thread (arg=0xfffff03a2ac0) at pthread_create.c:477
#4 0x0000fffff6b9bc9c in thread_start () at ../sysdeps/unix/sysv/linux/aarch64/clone.S:78
Thread 10 (Thread 0xffffd3fff1c0 (LWP 535) "sbbs/jsStatic"):
#0 0x0000fffff6987810 in js_GetClassPrototype(JSContext*, JSObject*, JSProtoKey, JSObject**, js::Class*) () from /usr/lib/libmozjs185.so.1.0
#1 0x0000fffff69543f4 in ?? () from /usr/lib/libmozjs185.so.1.0
#2 0x0000ffffd3ffc550 in ?? ()
Backtrace stopped: Cannot access memory at address 0xffffffff00000018
Does this describe anything useful that is fixable?
...����
---
� Synchronet � AnsiTEX bringing back videotex but with ANSI