Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Michael Chastain <mec.gnu@mindspring.com>
To: manjo@austin.ibm.com
Cc: gdb@sources.redhat.com
Subject: Re: thread testcase compile issue (question)
Date: Fri, 06 Aug 2004 06:09:00 -0000	[thread overview]
Message-ID: <4113209D.nail8NE2T6AB1@mindspring.com> (raw)
In-Reply-To: <Pine.LNX.4.58.0408051442240.29091@lazy>

Manoj Iyer <manjo@austin.ibm.com> wrote:
> When I execute tests under gdb.threads/ directory for instance killed.exp,
> I see 2 complies of the same testcase, the first one gets a linker error
> /usr/bin/ld: cannot find -lpthreads but the second time it works with no
> errors. Anyone has any idea why???

This is normal.

Different systems keep the thread library in different places.
So the test suite tries three different "-l" options until it finds
one that works.

The specific code is in: testsuite/lib/gdb.exp, proc gdb_compile_pthreads.

Michael C


      reply	other threads:[~2004-08-06  6:09 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-04 20:45 testcase help Manoj Iyer
2004-08-04 22:44 ` Michael Chastain
2004-08-05 15:35   ` Manoj Iyer
2004-08-05 23:26     ` thread testcase compile issue (question) Manoj Iyer
2004-08-06  6:09       ` Michael Chastain [this message]

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=4113209D.nail8NE2T6AB1@mindspring.com \
    --to=mec.gnu@mindspring.com \
    --cc=gdb@sources.redhat.com \
    --cc=manjo@austin.ibm.com \
    /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