gem5 - 链接 X86/marshal 文件时的 LTO 编译问题
问题描述
环境:Ubuntu 18.04、Miniconda3、python=3.7(GCC=7.3.0)、GCC -v (7.4.0)
当我运行以下命令时发生错误:
scons build/X86/gem5.opt -j8
错误如下:
[ LINK] -> X86/marshal
lto1: internal compiler error: in lto_tag_to_tree_code, at lto-streamer.h:1005
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-7/README.Bugs> for instructions.
lto-wrapper: fatal error: g++ returned 1 exit status
compilation terminated.
/usr/bin/ld: error: lto-wrapper failed
collect2: error: ld returned 1 exit status
scons: *** [build/X86/marshal] Error 1
scons: building terminated because of errors.
我想知道如何解决它。
解决方案
推荐阅读
- c - 一种方法会引发段错误,而另一种则不会。有什么区别?
- kubernetes - 如何在 Google Kubernetes Engine 中持久化 pod 生命周期状态和事件?
- reactjs - 在由 Axios 获取请求填充的组件中显示数组
- c# - 如何手动选择(超)ListView 项目
- appium - 返回值无法转换为 WebElement
- javascript - 如何使用历史库和React
- asp.net-mvc - TFS 构建 - System.Net.Http 版本控制问题
- java - 为什么需要注销 OnPreferenceChangeListener?
- tableau-api - Tableau 地图服务无法连接到 openrailway.org
- google-cloud-dlp - 获取去识别的项目数量?