"Segher Boessenkool" <segher@xxxxxxxxxxxxxxxxxxx> writes: > Maybe you can force GCC to avoid CR4 by using -ffixed-reg=cr4 . The option would be -ffixed-cr4. Another possibility here might be -fcall-used-cr4, assuming that the system call looks like a function call rather than, say, an inline asm. Ian