public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: Ian Lance Taylor <iant@google.com>
To: Mark Henwood <mhenwood@ieee.org>
Cc: "gcc-help@gcc.gnu.org" <gcc-help@gcc.gnu.org>
Subject: Re: Test suite results what they mean and how to evaluate
Date: Fri, 10 Jan 2014 17:37:00 -0000	[thread overview]
Message-ID: <CAKOQZ8ywUuJ7zb7kSRdqKz3CbpJGu0ZeKTZFDQDav8GA0AO6sA@mail.gmail.com> (raw)
In-Reply-To: <1389368974714-1001613.post@n5.nabble.com>

On Fri, Jan 10, 2014 at 7:49 AM, Mark Henwood <mhenwood@ieee.org> wrote:
>
> I have just finished building gcc 4.8.2 so that I can setup a cross
> compilation environment.  Running the test suite generated a few errors and
> failures but I am not sure how to evaluate them.  Here are the results I
> got:
>
> gcc.log:ERROR: Failed to mmap
> gcc.log:FAIL: varl is -1, not 6
> g++.log:ERROR: Failed to mmap
> g++.log:FAIL: varl is -1, not 6
> g++.log:FAIL: g++.old-deja/g++.mike/temp.C -std=c++98 execution test
> g++.log:FAIL: g++.old-deja/g++.mike/temp.C -std=c++11 execution test
> libmudflap.log:FAIL: libmudflap.c++/pass41-frag.cxx ( -O) execution test
> libmudflap.log:FAIL: libmudflap.c++/pass41-frag.cxx (-O2) execution test
> libmudflap.log:FAIL: libmudflap.c++/pass41-frag.cxx (-O3) execution test



> I am not as sure of the others:
>
> Result                           Test
> ------                           -----
> Failed to mmap
> .../gcc/testsuite/c-c++-common/asan/rlimit-mmap-test-1.c
> varl is -1
> .../gcc/testsuite/gcc.dg/guality/guality.exp
> ...c++98 execution tests.  g++.old-deja/g++.mike/temp.C -std=c++98 execution
> test
> ...c++11 execution tests.  g++.old-deja/g++.mike/temp.C -std=c++11 execution
> test
>
> My questions are
> 1. Are these failures a problem?
> 2. How can I find out what a particular test is for?
> 3. Should I submit my results to the buildstat people?


Ignore all libmudflap failures.  You aren't going to use it, and it's
going away.

Ignore all guality errors, they are very sensitive to the exact
version of gdb you happen to have installed.

The other errors are worth investigating.  I would not expect to see
them in a released version of GCC.  They don't necessarily indicate a
real problem, but you should check to make sure.

The name of the test failure is a file under gcc/testsuite.  Look at
that file and see if it does anything that might be expected to fail
in your environment.  For example, g++.old-deja/g++.mike/temp.C
expects getenv to return something meaningful.  You mentioned you have
a cross-compilation environment; perhaps getenv doesn't do what the
test expects.  Similarly the "failed to mmap" error may be a result of
your environment, in which case you may be able to ignore the test
failure.

Ian

  reply	other threads:[~2014-01-10 17:37 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-10 15:49 Mark Henwood
2014-01-10 17:37 ` Ian Lance Taylor [this message]
2014-01-10 21:50   ` Mark Henwood

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=CAKOQZ8ywUuJ7zb7kSRdqKz3CbpJGu0ZeKTZFDQDav8GA0AO6sA@mail.gmail.com \
    --to=iant@google.com \
    --cc=gcc-help@gcc.gnu.org \
    --cc=mhenwood@ieee.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 read-only IMAP folder(s) and NNTP newsgroup(s).