Bug#365409: [Pkg-openldap-devel] Bug#365409: slapd: segfaults on entry modify

Steinar H. Gunderson sgunderson at bigfoot.com
Mon Jun 5 12:01:02 UTC 2006


On Sun, Jun 04, 2006 at 07:36:11PM -0700, Steve Langasek wrote:
>> Since this is a bug with OpenLDAP
> Is that certain?  It looks just as likely to be a compiler bug to me.

After testing some more, it seems fairly likely to be a compiler bug.

Compiling the file in question (mods.c) with -O0 makes the problem go away.
Likewise, compiling it with gcc-4.1 (with -O2) makes the problem go away. I'm
unable to point at anything directly wrong in the code, but I'm not familiar
with arm assembler. I'll try building the entire package with gcc-4.1, but
that will take another eight hours. (Perhaps I should try bisecting the list
of available -f flags, but I'm not sure how useful that would be...)

Cc'ing Martin Michlmayr, since this looks like another case for switching to
gcc-4.1 in etch.

/* Steinar */
-- 
Homepage: http://www.sesse.net/




More information about the Pkg-openldap-devel mailing list