I have a problem with gcc 4.4.7-17. I compiled a program in a server and ran this program in another server, but it crashed because of illegal instruction.
I doubt that the difference between the two servers may cause this exception.Yes, I find that the server compiling program has CPU flag bmi1 and bmi2, but the server running the program doesn't!
How can I disable bmi instructions when using gcc?