[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#469058: looking over GCC 4.3 release notes



reassign 469058 sbcl
retitle 469058 sbcl don't reset direction flag upon exit
thanks

Nikodemus Siivola a écrit :
> Looking at http://gcc.gnu.org/gcc-4.3/changes.html, this is the only
> thing that really jumps out:
> 
> "GCC no longer places the cld instruction before string operations.
> Both i386 and x86-64 ABI documents mandate the direction flag to be
> clear at the entry of a function. It is now invalid to set the flag in
> asm statement without reseting it afterward."
> 
> ...but (1) SBCL _should_ be resetting the direction flag before any
> calls to libc code, and (2) I would expect problems caused by this to
> be more deterministic.

It actually doesn't reset it. The problem causes the sigemptyset()
function from the glibc to not work correctly.

I have identified the potential part from SBCL causing the problem, I am
currently testing a fix.

Cheers,
Aurelien


-- 
  .''`.  Aurelien Jarno	            | GPG: 1024D/F1BCDB73
 : :' :  Debian developer           | Electrical Engineer
 `. `'   aurel32@debian.org         | aurelien@aurel32.net
   `-    people.debian.org/~aurel32 | www.aurel32.net



Reply to: