Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Steve Ellcey <sellcey@caviumnetworks.com>
To: Yao Qi <qiyaoltc@gmail.com>
Cc: binutils <binutils@sourceware.org>,
	gdb-patches	<gdb-patches@sourceware.org>,
	Yury Norov <ynorov@caviumnetworks.com>,
	Andreas Schwab <schwab@suse.de>,
	"Pinski, Andrew" <Andrew.Pinski@cavium.com>
Subject: Re: [PATCH] Patch 2 of 2 for aarch64 ILP32 support in gdb
Date: Thu, 02 Feb 2017 00:27:00 -0000	[thread overview]
Message-ID: <1485995244.22118.32.camel@caviumnetworks.com> (raw)
In-Reply-To: <CAH=s-PNyfTBiXH-hwLjnTswFLZGF46czNXqBg0TKojEojyB3Sg@mail.gmail.com>

On Wed, 2017-02-01 at 22:20 +0000, Yao Qi wrote:
> 
> If you get 500 fails in vanilla GDB on aarch64-linux, there must be
> something wrong.  We only have 36 fails in buildbot slave.
> 
> What is your compiler, library and kernel?  They may have some local
> ilp32 patches.

My compiler, library, and kernel do have ILP32 patches, though I am
building gdb in LP64 mode.  Those patches haven't caused new failures
in the GCC testsuite and only a couple of regressions in the glibc
testsuite.

I have heard there are some kernel bugs, fixed in 4.10, that could be
causing some of these failures.  I am using a 4.9 kernel with ILP32
patches.  I was running the testsuite in parallel mode and I have also
heard that could cause problems, I just redid it in serial mode to see
if that helps.  I still got 460 failures when compiling the tests in
LP64 mode.

347 of them are in gdb.threads, with 207 being messages like:

FAIL: gdb.threads/clone-attach-detach.exp: fg attach 2: detach (the program is no longer running)

I.e. a message containing '(the program is no longer running)'  I also
noticed that most of the tests that are failing have the name 'attach'
in them.  There are 97 tests in gdb.base failing and about 2/3 of them
also have some reference to 'attach'. So I think I have some issue
withgdb attaching to a process.  For example, the first failures are:

FAIL: gdb.base/attach-pie-noexec.exp: info shared
FAIL: gdb.base/attach-twice.exp: attach
FAIL: gdb.base/attach.exp: attach1, after setting file
FAIL: gdb.base/attach.exp: attach1 detach (the program is no longer
running)
FAIL: gdb.base/attach.exp: attach2, with no file
FAIL: gdb.base/attach.exp: after attach2, set should_exit
FAIL: gdb.base/attach.exp: continue to breakpoint: postloop (the
program is no longer running)
FAIL: gdb.base/attach.exp: continue until exit at after attach2, exit
(the program is no longer running)
FAIL: gdb.base/attach.exp: attach when process' a.out not in cwd
FAIL: gdb.base/attach.exp: continue until exit (the program is no
longer running)
FAIL: gdb.base/attach.exp: starting with --pid
FAIL: gdb.base/attach.exp: cmdline attach run: run to prompt


Steve Ellcey
sellcey@cavium.com


  parent reply	other threads:[~2017-02-02  0:27 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-25  0:20 Steve Ellcey
2017-01-26 14:14 ` Yao Qi
2017-01-27 22:26   ` Steve Ellcey
2017-01-29 22:41     ` Yao Qi
2017-01-31 23:16       ` Steve Ellcey
2017-02-01 22:20         ` Yao Qi
2017-02-01 22:23           ` Yao Qi
2017-02-02  0:27           ` Steve Ellcey [this message]
2017-02-02  0:40           ` Steve Ellcey
2017-02-02  9:52             ` Yao Qi
2017-02-02 22:04               ` Steve Ellcey
2017-02-03  9:17                 ` Yao Qi

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=1485995244.22118.32.camel@caviumnetworks.com \
    --to=sellcey@caviumnetworks.com \
    --cc=Andrew.Pinski@cavium.com \
    --cc=binutils@sourceware.org \
    --cc=gdb-patches@sourceware.org \
    --cc=qiyaoltc@gmail.com \
    --cc=schwab@suse.de \
    --cc=ynorov@caviumnetworks.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