public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug testsuite/65940] New: g++.dg/other/anon5.C requires dwarf4 support in  ld
@ 2015-04-30  8:30 vries at gcc dot gnu.org
  2015-04-30  8:54 ` [Bug testsuite/65940] " vries at gcc dot gnu.org
  0 siblings, 1 reply; 2+ messages in thread
From: vries at gcc dot gnu.org @ 2015-04-30  8:30 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65940

            Bug ID: 65940
           Summary: g++.dg/other/anon5.C requires dwarf4 support in  ld
           Product: gcc
           Version: 6.0
            Status: UNCONFIRMED
          Severity: trivial
          Priority: P3
         Component: testsuite
          Assignee: unassigned at gcc dot gnu.org
          Reporter: vries at gcc dot gnu.org
  Target Milestone: ---

g++.log:
...
build/gcc/testsuite/g++2/../../xg++ -Bbuild/gcc/testsuite/g++2/../../
src/gcc/testsuite/g++.dg/other/anon5.C -fno-diagnostics-show-caret
-fdiagnostics-color=never -nostdinc++
-Inobootstrap/build/x86_64-unknown-linux-gnu/libstdc++-v3/include/x86_64-unknown-linux-gnu
-Inobootstrap/build/x86_64-unknown-linux-gnu/libstdc++-v3/include
-Isrc/libstdc++-v3/libsupc++ -Isrc/libstdc++-v3/include/backward
-Isrc/libstdc++-v3/testsuite/util -fmessage-length=0 -std=gnu++98 -g
-Lbuild/x86_64-unknown-linux-gnu/./libstdc++-v3/src/.libs
-Bbuild/x86_64-unknown-linux-gnu/./libstdc++-v3/src/.libs
-Lbuild/x86_64-unknown-linux-gnu/./libstdc++-v3/src/.libs -lm -o anon5.exe
/usr/bin/ld: Dwarf Error: found dwarf version '4', this reader only handles
version 2 and 3 information.
/tmp/ccgoCWLN.o: In function `f()':
anon5.C:(.text+0x5): undefined reference to `(anonymous namespace)::c::t'
collect2: error: ld returned 1 exit status
compiler exited with status 1

PASS: g++.dg/other/anon5.C  -std=gnu++98 undefined (test for warnings, line )
FAIL: g++.dg/other/anon5.C  -std=gnu++98 (test for excess errors)
...

ld version is:
...
GNU ld (GNU Binutils for Ubuntu) 2.20.1-system.20100303
...

Fail in same testcase also observed at:
https://gcc.gnu.org/ml/gcc-testresults/2015-04/msg02807.html .


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

* [Bug testsuite/65940] g++.dg/other/anon5.C requires dwarf4 support in  ld
  2015-04-30  8:30 [Bug testsuite/65940] New: g++.dg/other/anon5.C requires dwarf4 support in ld vries at gcc dot gnu.org
@ 2015-04-30  8:54 ` vries at gcc dot gnu.org
  0 siblings, 0 replies; 2+ messages in thread
From: vries at gcc dot gnu.org @ 2015-04-30  8:54 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65940

--- Comment #1 from vries at gcc dot gnu.org ---
unix/:
FAIL: g++.dg/other/anon5.C  -std=gnu++11 (test for excess errors)
FAIL: g++.dg/other/anon5.C  -std=gnu++14 (test for excess errors)
FAIL: g++.dg/other/anon5.C  -std=gnu++98 (test for excess errors)

unix/-m32:
FAIL: g++.dg/other/anon5.C  -std=gnu++11 (test for excess errors)
FAIL: g++.dg/other/anon5.C  -std=gnu++14 (test for excess errors)
FAIL: g++.dg/other/anon5.C  -std=gnu++98 (test for excess errors)


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

end of thread, other threads:[~2015-04-30  8:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-30  8:30 [Bug testsuite/65940] New: g++.dg/other/anon5.C requires dwarf4 support in ld vries at gcc dot gnu.org
2015-04-30  8:54 ` [Bug testsuite/65940] " 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).