public inbox for dwz@sourceware.org
 help / color / mirror / Atom feed
* [Bug default/27400] New: odr tests fail with -gdwarf-5
@ 2021-02-12  9:57 mark at klomp dot org
  2021-02-12 19:19 ` [Bug default/27400] " vries at gcc dot gnu.org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: mark at klomp dot org @ 2021-02-12  9:57 UTC (permalink / raw)
  To: dwz

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.

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2021-02-14 21:25 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-12  9:57 [Bug default/27400] New: odr tests fail with -gdwarf-5 mark at klomp dot org
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

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).