netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Pablo Neira Ayuso <pablo@netfilter.org>
To: Jan Engelhardt <jengelh@medozas.de>
Cc: Eric Leblond <eric@inl.fr>, netfilter-devel@vger.kernel.org
Subject: Re: [PATCH 3/6] build: add debug configure flag
Date: Sun, 03 Oct 2010 12:15:20 +0200	[thread overview]
Message-ID: <4CA857B8.3070205@netfilter.org> (raw)
In-Reply-To: <alpine.LNX.2.01.1010020021520.26371@obet.zrqbmnf.qr>

On 02/10/10 00:22, Jan Engelhardt wrote:
> On Thursday 2010-09-30 23:22, Eric Leblond wrote:
> 
>> Hi,
>>
>> Le jeudi 30 septembre 2010 à 11:50 +0200, Pablo Neira Ayuso a écrit :
>>> On 22/09/10 02:47, Eric Leblond wrote:
>>>> --- a/src/Makefile.am
>>>> +++ b/src/Makefile.am
>>>> @@ -6,4 +6,8 @@ AM_CPPFLAGS = $(all_includes) -I$(top_srcdir)/include \
>>>>  sbin_PROGRAMS = ulogd
>>>>  
>>>>  ulogd_SOURCES = ulogd.c select.c timer.c rbtree.c conffile.c hash.c
>>>> +if HAVE_DEBUG
>>>> +ulogd_LDFLAGS = -lpthread -export-dynamic
>>>
>>> Do we still have the gdb pthread issue?
>>
>> I've got it on my debian "sid" and it seems someone has got it on
>> bugzilla.
> 
> When exactly does it happen? Do you have a testcase?
> (I tried `grep -ri pthr .` in ulogd2 but that showed no use of pthr at 
> all.)

The problem is gdb in debian, which doesn't seem to work if ulogd2 is
not compiled with pthread.

If this is a gdb bug, it should be fixed there, I know that it's
annoying for debugging ulogd2. However, I think this may confuse people
since ulogd2 require no pthreads at all.
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  reply	other threads:[~2010-10-03 10:15 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-22  0:47 [ULOGD PATCH 0/6] misc improvements and code cleaning Eric Leblond
2010-09-22  0:47 ` [PATCH 1/6] build: nfct and nflog can be disabled via configure option Eric Leblond
2010-09-30  9:58   ` Pablo Neira Ayuso
2010-09-22  0:47 ` [PATCH 2/6] ulogd.conf: Comment library dependant plugins Eric Leblond
2010-09-30  9:51   ` Pablo Neira Ayuso
2010-09-30 21:23     ` Eric Leblond
2010-09-22  0:47 ` [PATCH 3/6] build: add debug configure flag Eric Leblond
2010-09-30  9:50   ` Pablo Neira Ayuso
2010-09-30 21:22     ` Eric Leblond
2010-10-01 22:22       ` Jan Engelhardt
2010-10-03 10:15         ` Pablo Neira Ayuso [this message]
2010-09-22  0:47 ` [PATCH 4/6] ulogd.conf: add a complex but useful stack example Eric Leblond
2010-09-22  0:47 ` [PATCH 5/6] filter_MARK: code factorization Eric Leblond
2010-09-22  0:47 ` [PATCH 6/6] ulogd: use snprintf instead of sprintf in printpkt Eric Leblond
2010-09-30  9:48   ` Pablo Neira Ayuso

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4CA857B8.3070205@netfilter.org \
    --to=pablo@netfilter.org \
    --cc=eric@inl.fr \
    --cc=jengelh@medozas.de \
    --cc=netfilter-devel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).