gcc and the kernel

Andrew Haley aph@redhat.com
Tue Dec 30 10:01:00 GMT 2008


Brian O'Mahoney wrote:

Please don't cross-post to gcc- and gcc-help

> "Since version 4.3, gcc changed its behaviour concerning the x86/x86-64 
> ABI and the direction flag, that is it now assumes that the direction 
> flag is cleared at the entry of a function and it doesn't clear once 
> more if needed.
> 
> This causes some problems with the Linux kernel which does not clear
> the direction flag when entering a signal handler. The small code below
> (for x86-64) demonstrates that. ..." If you dont know see www.lwn.net.

Just to save everyone's time: this kernel bug is long (well, since March)
fixed.

Andrew.



More information about the Gcc-help mailing list