gpt4 book ai didi

Unable to debug using cheri-gdb debugger error: unsupported relocation type 0xe802(无法使用Cheri-GDB调试器进行调试错误:不支持的重定位类型0xe802)

转载 作者:bug小助手 更新时间:2023-10-24 19:38:02 24 4
gpt4 key购买 nike



I'm trying to use cheriBSD and the cheri gdb debugger to compile code with cheri capabilities however I am unable to use the gdb debugger on any of my c files due to a BFD: unsupported relocation type 0xe802 error? I'm not quite sure what that is, the c file should properly compile fine so I believe it is an issue with gdb but I don't know what to do.

我正在尝试使用CheriBSD和Cheri GDB调试器来编译具有Cheri功能的代码,但是我无法在我的任何c文件上使用GDB调试器,因为bfd:不支持的重定位类型0xe802错误?我不太确定那是什么,c文件应该编译得很好,所以我相信这是gdb的问题,但我不知道该怎么办。


更多回答
优秀答案推荐

In the original gdb-cheri package we published, that relocation was not supported, and so you would see many errors of that form, but they were not fatal; GDB would continue on, just unable to interpret those specific relocations, so they should not have posed a problem. Since then we have shipped a newer version of the gdb-cheri package which does support that relocation, but that was built in October 2022 in time for the CheriBSD 22.12 release in December 2022. So it sounds to me like you are running an old (and thus no longer supported) version of CheriBSD rather than the latest version at the time you answered this question. Though even then its should have worked if you ignore the initial spew of error messages; more detail on what was broken would be helpful to resolve whatever issue you're having.

在我们发布的最初的gdb-cheri包中,不支持这种重定位,所以你会看到许多这种形式的错误,但它们不是致命的; GDB会继续,只是无法解释这些特定的重定位,所以它们不应该构成问题。从那时起,我们发布了一个更新版本的gdb-cheri包,它确实支持重新定位,但它是在2022年10月构建的,以及时赶上2022年12月的CheriBSD 22.12版本。所以在我看来,你运行的是一个旧的(因此不再支持)版本的CheriBSD,而不是你回答这个问题时的最新版本。即使这样,如果您忽略最初的错误消息,它也应该工作;关于什么被破坏的更多细节将有助于解决您遇到的任何问题。


In future, StackOverflow is unlikely to be a useful place for you to get timely support. CHERI, Morello and CheriBSD are currently niche technologies that almost nobody on StackOverflow will have experience with. The official support channels for CheriBSD are listed in https://ctsrd-cheri.github.io/cheribsd-getting-started/support/index.html, and the Slack instance documented there is where we would advise you head.

将来,StackOverflow不太可能是一个让您获得及时支持的有用地方。Cheri、Morello和CheriBSD目前都是利基技术,StackOverflow上几乎没有人会体验到这些技术。Https://ctsrd-cheri.github.io/cheribsd-getting-started/support/index.html,中列出了CheriBSD的官方支持渠道,并在那里记录了Slack实例,我们会建议您使用。


更多回答

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com