[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: Compiling slapd with debug symbols
- To: openldap-technical@openldap.org
- Subject: Re: Compiling slapd with debug symbols
- From: Lucas Brasilino <lucas.brasilino@gmail.com>
- Date: Tue, 19 Oct 2010 13:05:07 -0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=YgIj1yQPW8qN6O/ivhkgfScitC2boN65P3mrMAGE3u4=; b=n952uXMuYLN2CMF8cawrWWsUQPeuP7/xlU4mWy6fRcJmjMwllniBiExa5McRF6s7TJ sWgMGNzM8apFINoLhhqP2Y0vyZYCQ1RhAlFcDw/ozVv+7ZtA8Ev8uXviyYrgPZVS4Ubz VmdXOcPBsb4w00Z/rYDWbveVEftsw49y3in0g=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=Rt+qOCcDzocubo+268yodr9GMkB3rnTZZ6WtoFgwyLjjzesF5tfKrD4h3wVue6VR6q f9iSbJTSKtYBmqIqIygGATma7fbc41nJppEoQjPlW9ag1trd7rEMCssZTwkJs2MaAlO/ KCgAJhWknOfkdkBvR1UOXg/cMc6UAuMBOnKb4=
- In-reply-to: <AANLkTikZ83uJbNNNiLerwusBxz8ncj4bkviOB9hufTLM@mail.gmail.com>
- References: <AANLkTikZ83uJbNNNiLerwusBxz8ncj4bkviOB9hufTLM@mail.gmail.com>
Hi!
By the way, I've tried to compile slapd with:
CFLAGS="-ggdb -gdwarf-2" ./configure --prefix=blablabla
CFLAGS="-ggdb -gdwarf-2" make depend
CFLAGS="-ggdb -gdwarf-2" make
make install
slapd gets stripped during installation.
regards
Lucas Brasilino
2010/10/19 Lucas Brasilino <lucas.brasilino@gmail.com>:
> Hi
>
> I'm writing an overlay which manipulates some attributes of objects
> and It is, somehow, leading to
> a segfault within slapd code.
>
> In order to debug what's going on, I'm trying to compile a
> non-stripped slapd but I can't figure out how.
> I've read configure.in and Makefile.in to find out a fancy way to do
> it, but I have no idea.
>
> I've also removed the STRIP option at the top level Makefile: no success.
> I've removed $(STRIP) at install-slapd target at Makefile on slapd's
> dir and did:
>
> make install-slapd
>
> No success.
>
> I've googled around too!
>
> How can I do that ?
>
> regards
> Lucas Brasilino
>