gem5 - scons:建筑因错误而终止
问题描述
我克隆了这个https://gem5.googlesource.com/public/gem5并在 gem5 目录中运行了 scons build/X86/gem5.opt -j5 。我明白了
scons:建筑因错误而终止。
错误日志的片段:
In file included from build/X86/arch/x86/interrupts.hh:58,
from build/X86/arch/interrupts.hh:1,
from build/X86/cpu/base.hh:57,
from build/X86/mem/abstract_mem.cc:50:
build/X86/arch/x86/intmessage.hh: In function 'Packet* X86ISA::buildIntRequest(uint8_t, X86ISA::TriggerIntMessage)':
build/X86/arch/x86/intmessage.hh:105:42: error: implicitly-declared 'constexpr BitfieldBackend::BitUnionOperators<X86ISA::BitfieldUnderlyingClassesTriggerIntMessage>::BitUnionOperators(const
BitfieldBackend::BitUnionOperators<X86ISA::BitfieldUnderlyingClassesTriggerIntMessage>&)' is deprecated [-Werror=deprecated-copy]
105 | sizeof(TriggerIntMessage));
另一个片段:
In file included from build/X86/cpu/base.hh:64,
from build/X86/mem/abstract_mem.cc:50:
build/X86/sim/insttracer.hh: In member function 'void Trace::InstRecord::setData(VecRegContainer<8>&)':
build/X86/sim/insttracer.hh:203:71: error: implicitly-declared 'constexpr VecRegContainer<8>::VecRegContainer(const VecRegContainer<8>&)' is deprecated [-Werror=deprecated-copy]
203 | data.as_vec = new ::VecRegContainer<TheISA::VecRegSizeBytes>(d);
警告:
MI_example-cache.sm:179: Warning: Non-void return ignored, return type is 'bool'
MI_example-cache.sm:181: Warning: Non-void return ignored, return type is 'bool'
MI_example-cache.sm:336: Warning: Non-void return ignored, return type is 'Tick'
MI_example-cache.sm:350: Warning: Non-void return ignored, return type is 'Scalar'
MI_example-cache.sm:354: Warning: Non-void return ignored, return type is 'Scalar'
MI_example-dir.sm:183: Warning: Non-void return ignored, return type is 'bool'
MI_example-dir.sm:398: Warning: Non-void return ignored, return type is 'Tick'
MI_example-dir.sm:402: Warning: Non-void return ignored, return type is 'Tick'
MI_example-dir.sm:482: Warning: Non-void return ignored, return type is 'Tick'
MI_example-dir.sm:277: Warning: Unused action: a_sendWriteBackAck, Send writeback ack to requestor
MI_example-dma.sm:189: Warning: Non-void return ignored, return type is 'Tick'
MI_example-dma.sm:193: Warning: Non-void return ignored, return type is 'Tick'
> git SHA: af8d107191cc69a77624e2af34f108dc9c1ff03f
OS: Archlinux 5.1.11-arch1-1-ARCH
它以前在我的计算机上使用相同的程序工作。它适用于我的其他系统(pc)。
解决方案
推荐阅读
- python - 有没有办法将 JSON 对象中的键值设置为 python 中该对象的键?
- java - 为什么____不能为空
- java - JavaFX:在 GridPane 上单击更新 ImageView
- design-patterns - 使用设计模式改进许多返回枚举的 if
- python - 使用 matplotlib 3D 在左右轴上绘图
- opencv - 在 Mac M1 上从 Tensorflow 运行对象检测 API 时出错
- vba - 由 VBA Shell 命令打开的 Windows 资源管理器不在顶部
- android - 在动态布局中使用线性布局的元素
- istio - 使用 opa for abac 检查用户声明是否符合定义的策略
- flutter - 如何使 DataTable 在桌面上水平滚动?