What is this GCC error on Linux, and how do I solve it? gcc: internal compiler error: Illegal instruction (program as)

后端 未结 5 628
春和景丽
春和景丽 2021-01-18 10:41

I type gcc hello.c and this appears:

gcc: internal compiler error: Illegal instruction (program as)
Please submit a full bug report,
with preproc         


        
5条回答
  •  说谎
    说谎 (楼主)
    2021-01-18 11:31

    Got similar problem.

    But it happened after move of VirtualBox image (with Xubuntu 16.04/gcc-5) from Haswell based machine to Sandy Bridge. Problem was somewhere in build-essential / gcc / binutils packages. I reinstalled all of them (with apt remove and apt install - no oneshot reinstall) - it helped.

提交回复
热议问题