最新消息:20210816 当前crifan.com域名已被污染,为防止失联,请关注(页面右下角的)公众号

用Jikes编译Kaffe,生成rt.jar

默认分类 crifan 1635浏览 0评论

前几天,在Cgywin环境下,make生成了ali_kaffe.out文件,然后download进入S3601硬件

平台之后,进行调试,始终出错:
Breakpoint 19, initBaseClasses () at baseClasses.c:396
enter resume, [step = 1], PC = 0x80082850
enter resume, [step = 0], PC = 0x80082854

Program received signal SIGTRAP, Trace/breakpoint trap.

     GDB is unable to find the start of the function at 0x8000000c
and thus can’t determine the size of that function’s stack frame.
This means that GDB may be unable to access that stack frame, or
the frames below it.
     This problem is most likely caused by an invalid program counter or
stack pointer.
     However, if you think GDB should simply search farther back
from 0x8000000c for code which looks like the beginning of a
function, you can increase the range of the search using the `set
heuristic-fence-post’ command.
0x8000000c in ?? ()

而且,还弹出对话框:
Waring:GDB can’t find the start of the function at 0x8000000c.

搞了N久,还是不知问题所在。
最后问人,才知道,是由于要
需要在server上,用IBM的java编译器:Jikes,编译kaffe的classpath
生成rt.jar,然后替换原先的,才行。
和网上有人提到的:
“编译kaffe,生成后面所要使用的rt.jar文件”
类似。

还没搞定呢,吃完午饭,继续。

转载请注明:在路上 » 用Jikes编译Kaffe,生成rt.jar

发表我的评论
取消评论

表情

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址
78 queries in 0.167 seconds, using 21.95MB memory