This is the mail archive of the
binutils-cvs@sourceware.org
mailing list for the binutils project.
[binutils-gdb] Fix gold testsuite failure with GCC 6.
- From: Cary Coutant <ccoutant at sourceware dot org>
- To: bfd-cvs at sourceware dot org
- Date: 30 Jun 2016 06:25:07 -0000
- Subject: [binutils-gdb] Fix gold testsuite failure with GCC 6.
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=6e2565079204ae2d2c0a5fa15fcd233e9c614f0b
commit 6e2565079204ae2d2c0a5fa15fcd233e9c614f0b
Author: Cary Coutant <ccoutant@gmail.com>
Date: Wed Jun 29 23:24:35 2016 -0700
Fix gold testsuite failure with GCC 6.
With GCC 6 when not using -static-libstdc++, the operator delete(void*)
function is defined in the shared C++ support library, rather than in
the main program. The test script is too aggressive in checking for
this symbol's presence among the exported symbols. This patch removes
the check for that symbol.
gold/
PR gold/20310
* testsuite/dynamic_list.sh: Remove check for _ZdlPv.
Diff:
---
gold/ChangeLog | 6 ++++++
gold/testsuite/dynamic_list.sh | 1 -
2 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/gold/ChangeLog b/gold/ChangeLog
index 5e1fddc..239df36 100644
--- a/gold/ChangeLog
+++ b/gold/ChangeLog
@@ -1,5 +1,11 @@
2016-06-29 Cary Coutant <ccoutant@gmail.com>
+gold/
+ PR gold/20310
+ * testsuite/dynamic_list.sh: Remove check for _ZdlPv.
+
+2016-06-29 Cary Coutant <ccoutant@gmail.com>
+
* testsuite/Makefile.am (MOSTLYCLEANFILES): Add eh_test_2.
* testsuite/Makefile.in: Regenerate.
diff --git a/gold/testsuite/dynamic_list.sh b/gold/testsuite/dynamic_list.sh
index 9611760..0dbd05a 100755
--- a/gold/testsuite/dynamic_list.sh
+++ b/gold/testsuite/dynamic_list.sh
@@ -38,7 +38,6 @@ check()
}
check dynamic_list.stdout "main" # comes via --dynamic-list
-check dynamic_list.stdout "_ZdlPv" # "operator delete(void*)"
check dynamic_list.stdout "_Z4t1_6v" # t1_6()
check dynamic_list.stdout "_ZN4t16aD1Ev" # t16a:~t16a()
check dynamic_list.stdout "_ZN4t16a1tEv" # t16a:t()