On 25/01/2022 00:03, Glenn Washburn wrote:
Here's backtrace output ia GDB.
Starting program: /home/user/openbios.git/obj-ppc64/forthstrap -I/home/user/openbios.git/forth/bootstrap/ -I/home/user/openbios.git/forth/bootstrap/ -I/home/user/openbios.git/forth/lib/ -I/home/user/openbios.git/forth/device/ -I/home/user/openbios.git/forth/debugging/ -I/home/user/openbios.git/forth/admin/ -I/home/user/openbios.git/forth/util/ -I/home/user/openbios.git/forth/packages/ -I/home/user/openbios.git/forth/system/ -I/home/user/openbios.git/libopenbios/ -I/home/user/openbios.git/packages/ -I/home/user/openbios.git/drivers/ -I/home/user/openbios.git/arch/ppc/ -I/home/user/openbios.git -I./forth -D bootstrap.dict -M bootstrap.dict.d -c bootstrap.dict-console.log forth/bootstrap/start.fs
Program received signal SIGSEGV, Segmentation fault. 0x00005555555575e9 in findword (s1=0x55555555f112 "(semis)") at /home/user/openbios.git/kernel/dict.c:118 118 tmplfa = read_ucell(cell2pointer(tmplfa)); (gdb) bt #0 0x00005555555575e9 in findword (s1=0x55555555f112 "(semis)") at /home/user/openbios.git/kernel/dict.c:118 #1 0x0000555555559781 in interpret_source ( fil=0x7fffffffe33a "forth/bootstrap/start.fs") at /home/user/openbios.git/kernel/bootstrap.c:591 #2 0x000055555555a9f0 in new_dictionary ( source=0x7fffffffe33a "forth/bootstrap/start.fs") at /home/user/openbios.git/kernel/bootstrap.c:1059 #3 0x000055555555ae66 in main (argc=23, argv=0x7fffffffddb8) at /home/user/openbios.git/kernel/bootstrap.c:1286
Well that certainly looks like something has gone wrong with cell2pointer() on the ppc64 build. IIRC the output of the Forth interpreter is echoed to stderr so you should be able to see how far it got parsing start.fs by looking at bootstrap.dict-console.log.
Alternatively since the 32-bit build is used on both ppc32 and ppc64 machines, it may make sense just to leave this unless you are particularly interested in getting a full-fledged 64-bit build up and running.
ATB,
Mark.