[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: (ITS#4712) test007: slapd crashes



ando@sys-net.it wrote:
> Michael Ströder wrote:
>> Yes, I learned this (again) on Friday. ;-)
>>
>> export CFLAGS="-g"
>>   
> Note that this does not disable optimization (AFAIK); I'd place an 
> explicit CFLAGS="-g -O0".

No, the default without any -O flag is no optimization.

>> But it still does not work.
>>   
> But in any case that doesn't seem to be the issue.  What gcc are you 
> using?  I currently use RedHat's, either gcc version 3.4.6 20060404 (Red 
> Hat 3.4.6-3) or gcc version 4.1.0 20060515 (Red Hat 4.1.0-18).  Note 
> that I don't assume this could have an impact on your issue.

I think Michael just has a corrupt build tree. The previous issue he 
reported was cleared up by running "make clean" in the back-bdb and 
back-monitor directories, then rebuilding. I suspect just doing a "make 
clean" from the top level and rebuilding would clear up the rest.

This does point out a bug in the slapd Makefile; for dynamic backends it 
appears to not remake the backend directories if they have already been 
built once. I'll look into that...

-- 
   -- Howard Chu
   Chief Architect, Symas Corp.  http://www.symas.com
   Director, Highland Sun        http://highlandsun.com/hyc
   OpenLDAP Core Team            http://www.openldap.org/project/