This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/71918] Internal compiler error: Illegal instruction


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]