public inbox for dwz@sourceware.org
 help / color / mirror / Atom feed
From: "mark at klomp dot org" <sourceware-bugzilla@sourceware.org>
To: dwz@sourceware.org
Subject: [Bug default/27400] New: odr tests fail with -gdwarf-5
Date: Fri, 12 Feb 2021 09:57:05 +0000	[thread overview]
Message-ID: <bug-27400-11298@http.sourceware.org/bugzilla/> (raw)

https://sourceware.org/bugzilla/show_bug.cgi?id=27400

            Bug ID: 27400
           Summary: odr tests fail with -gdwarf-5
           Product: dwz
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: default
          Assignee: nobody at sourceware dot org
          Reporter: mark at klomp dot org
                CC: dwz at sourceware dot org
  Target Milestone: ---

$ gcc --version
gcc (GCC) 10.2.1 20201125 (Red Hat 10.2.1-9)
Copyright (C) 2020 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

$ as --version
GNU assembler version 2.35-18.fc33
Copyright (C) 2020 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License version 3 or later.
This program has absolutely no warranty.
This assembler was configured for a target of `x86_64-redhat-linux'.

$ export CC="gcc -gdwarf-5" CXX="g++ -gdwarf-5"

$ make clean && make && make check

[...]
Running /home/mark/dwz/testsuite/dwz.tests/dwz-tests.exp ...
child process exited abnormally
FAIL: /home/mark/dwz/testsuite/dwz.tests/odr-class-ns.sh
child process exited abnormally
FAIL: /home/mark/dwz/testsuite/dwz.tests/odr-class.sh
child process exited abnormally
FAIL: /home/mark/dwz/testsuite/dwz.tests/odr-def-decl.sh
child process exited abnormally
FAIL: /home/mark/dwz/testsuite/dwz.tests/odr-loc.sh
child process exited abnormally
FAIL: /home/mark/dwz/testsuite/dwz.tests/odr-struct-ns.sh
child process exited abnormally
FAIL: /home/mark/dwz/testsuite/dwz.tests/odr-struct.sh
child process exited abnormally
FAIL: /home/mark/dwz/testsuite/dwz.tests/odr-union-ns.sh
child process exited abnormally
FAIL: /home/mark/dwz/testsuite/dwz.tests/odr-union.sh

                === dwz Summary ===

# of expected passes            51
# of unexpected failures        8
[...]

The same can be seen with gcc11 from git trunk which defaults to -gdwarf-5 (so
you don't need any setting of CC or CXX).

-- 
You are receiving this mail because:
You are on the CC list for the bug.

             reply	other threads:[~2021-02-12  9:57 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-12  9:57 mark at klomp dot org [this message]
2021-02-12 19:19 ` [Bug default/27400] " vries at gcc dot gnu.org
2021-02-13  8:37 ` vries at gcc dot gnu.org
2021-02-13 23:18 ` vries at gcc dot gnu.org
2021-02-14  8:07 ` vries at gcc dot gnu.org
2021-02-14  8:52 ` vries at gcc dot gnu.org
2021-02-14 21:25 ` vries at gcc dot gnu.org

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=bug-27400-11298@http.sourceware.org/bugzilla/ \
    --to=sourceware-bugzilla@sourceware.org \
    --cc=dwz@sourceware.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).