lto1: fatal error: bytecode stream generated with LTO version 8.1 instead of the expected 4.0

Posted 为了维护世界和平_

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了lto1: fatal error: bytecode stream generated with LTO version 8.1 instead of the expected 4.0相关的知识,希望对你有一定的参考价值。

zynq在编译openamp的时候提示

lto1: fatal error: bytecode stream generated with LTO version 8.1 instead of the expected 4.0

解决方法

编译时候添加 -fno-lto

以上是关于lto1: fatal error: bytecode stream generated with LTO version 8.1 instead of the expected 4.0的主要内容,如果未能解决你的问题,请参考以下文章