我如何解决lto1:内部编译器错误:在lto_tag_to_tree_code中的lto-streamer.h:1005,出现在'make'命令之后]] << [

问题描述 投票:0回答:1
我非常绝望...我正在使用Ubuntu 18.04.3 LTS对于机器人课程,我必须使用make命令来构建他们的项目(从git克隆之后)。一段时间后,我收到以下信息:enter image description here(...)

make[1]: Entering directory '/home/fia/robotics-course/rai/rai/ry' * UpToDate ../../rai/Kin/libKin.so * UpToDate ../../rai/Core/libCore.so * UpToDate ../../rai/KOMO/libKOMO.so * UpToDate ../../rai/LGP/libLGP.so g++ -g -march=native -Wall -DRAI_PYBIND `python3-config --cflags` -Wno-terminate -fPIC -std=c++14 -o lgp-py.o -c lgp-py.cpp * UpToDate ../../rai/Operate/libOperate.so g++ -g -march=native -Wall -DRAI_PYBIND `python3-config --cflags` -Wno-terminate -fPIC -std=c++14 -o ry.o -c ry.cpp * UpToDate ../../rai/Perception/libPerception.so * UpToDate ../../rai/RosCom/libRosCom.so g++ -L/home/fia/robotics-course/rai/lib -L/usr/local/lib -o libry.so ./lgp-py.o ./ry.o -lCore -lKin -lKOMO -lLGP -lOperate -lRosCom -lPerception `python3-config --ldflags` -lrt -shared 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 ../../build/generic.mk:299: recipe for target 'libry.so' failed make[1]: *** [libry.so] Error 1 make[1]: Target 'default' not remade because of errors. make[1]: Leaving directory '/home/fia/robotics-course/rai/rai/ry' ***** FAILED rai/rai/ry/libry.so

我假设“内部编译器错误”行显示了什么问题,但我不知道如何解决...。我重新安装了g ++,还重新下载了git存储库几次,但似乎无济于事。我已经以为也许我的操作系统有问题?我已经考虑过重新发布Ubuntu ...

因此,如果有人有想法,我将非常感谢!问候Fia

我非常绝望...我正在使用Ubuntu 18.04.3 LTS对于机器人类,我不得不使用make命令来构建他们的项目(从git克隆它之后)。一段时间后,我收到以下信息:...

python c++ compiler-errors g++ internal-compiler-error
1个回答
0
投票
“内部编译器错误”听起来像是编译器中有错误,所以这里有一些解决方法。
© www.soinside.com 2019 - 2024. All rights reserved.