[Bug c++/71918] Internal compiler error: Illegal instruction
pinskia at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Jul 18 15:56:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71918
--- Comment #8 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to jordyruiz from comment #6)
> > Also this is most likely GMP not compiled for generic but a specific CPU and
> > you don't have a compatible CPU.
> >
> > Did you compile GMP yourself or did you get it from a distro? If you got it
> > from a distro, you should report the bug to that distro.
>
> I compiled GMP myself, on a different machine. So you probably found the
> cause of the issue.
If you don't disable the assembly code in GMP, GMP defaults to basically doing
-march=native . You need to configure GMP correctly if you are going to use it
across different machines which are different processor types.
More information about the Gcc-bugs
mailing list