1

我正在尝试在 64 位 Linux 机器上运行JonesForth(Git 存储库:git://git.annexia.org/git/jonesforth.git)。编译如教程中所述,在 Makefile 中使用,并且工作正常:

gcc -m32 -nostdlib -static -Wl,-Ttext,0  -o jonesforth jonesforth.S

但我不能运行任何东西:

➜  jonesforth git:(master) ✗ cat pgm.f | ./jonesforth
[1]    16997 done       cat pgm.f |
       16998 killed     ./jonesforth
➜  jonesforth git:(master) ✗ ./jonesforth
[1]    17006 killed     ./jonesforth
➜  jonesforth git:(master) ✗ echo $?
137

退出代码 137 看起来像 SIGKILL,但除此之外,我不知道发生了什么。我试图查看执行过程中是否有任何问题,但不幸的是,我什至无法在该程序上使用GDB(我首先使用 编译它-g):

➜  jonesforth git:(master) ✗ gdb jonesforth
...
(gdb) run
Starting program: /home/omer/opt/jonesforth/jonesforth
During startup program terminated with signal SIGKILL, Killed.

怎么了?

4

0 回答 0