summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas K. Hüttel <dilfridge@gentoo.org>2021-07-31 01:18:18 +0200
committerAndreas K. Hüttel <dilfridge@gentoo.org>2022-08-05 20:27:59 +0200
commit09d2974c4f6e5246ffc3edaed584311e6b164a86 (patch)
tree80aad1a4c7555193f818eaef8cc95af6cdbd5376
parentGentoo: Give also libctf optionally a gentoo-specific soversion (diff)
downloadbinutils-gdb-09d2974c4f6e5246ffc3edaed584311e6b164a86.tar.gz
binutils-gdb-09d2974c4f6e5246ffc3edaed584311e6b164a86.tar.bz2
binutils-gdb-09d2974c4f6e5246ffc3edaed584311e6b164a86.zip
Gentoo: XFAIL 15 broken ld.gold testsgentoo/binutils-2.39-1
It seems like either the tests or ld.gold in general cannot handle compilers built with --enable-default-pie. No fix yet, so let's ignore these test failures for the moment. For details see the linked bugs. Bug: https://bugs.gentoo.org/684046 Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=22755 Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=27303
-rw-r--r--gold/testsuite/Makefile.am6
-rw-r--r--gold/testsuite/Makefile.in16
2 files changed, 18 insertions, 4 deletions
diff --git a/gold/testsuite/Makefile.am b/gold/testsuite/Makefile.am
index 38e54818f48..85c94d40660 100644
--- a/gold/testsuite/Makefile.am
+++ b/gold/testsuite/Makefile.am
@@ -1,5 +1,11 @@
# Process this file with automake to generate Makefile.in
+# Gentoo, https://bugs.gentoo.org/684046
+XFAIL_TESTS = exception_separate_shared_12_test exception_separate_shared_21_test \
+ weak_undef_test initpri3a justsyms_exec script_test_2 script_test_1 \
+ justsyms binary_test script_test_3 tls_phdrs_script_test script_test_12i \
+ dynamic_list_2 incremental_test_2 incremental_test_5
+
# As far as I can tell automake testing support assumes that the build
# system and the host system are the same. So these tests will not
# work when building with a cross-compiler.
diff --git a/gold/testsuite/Makefile.in b/gold/testsuite/Makefile.in
index 7b4b7832d38..765c2b73140 100644
--- a/gold/testsuite/Makefile.in
+++ b/gold/testsuite/Makefile.in
@@ -15,10 +15,6 @@
@SET_MAKE@
# Process this file with automake to generate Makefile.in
-
-# As far as I can tell automake testing support assumes that the build
-# system and the host system are the same. So these tests will not
-# work when building with a cross-compiler.
VPATH = @srcdir@
am__is_gnu_make = { \
if test -z '$(MAKELEVEL)'; then \
@@ -94,6 +90,14 @@ POST_UNINSTALL = :
build_triplet = @build@
host_triplet = @host@
target_triplet = @target@
+XFAIL_TESTS = exception_separate_shared_12_test$(EXEEXT) \
+ exception_separate_shared_21_test$(EXEEXT) \
+ weak_undef_test$(EXEEXT) initpri3a$(EXEEXT) \
+ justsyms_exec$(EXEEXT) script_test_2$(EXEEXT) \
+ script_test_1$(EXEEXT) justsyms$(EXEEXT) binary_test$(EXEEXT) \
+ script_test_3$(EXEEXT) tls_phdrs_script_test$(EXEEXT) \
+ script_test_12i$(EXEEXT) dynamic_list_2$(EXEEXT) \
+ incremental_test_2$(EXEEXT) incremental_test_5$(EXEEXT)
check_PROGRAMS = $(am__EXEEXT_1) $(am__EXEEXT_2) $(am__EXEEXT_3) \
$(am__EXEEXT_4) $(am__EXEEXT_5) $(am__EXEEXT_6) \
$(am__EXEEXT_7) $(am__EXEEXT_8) $(am__EXEEXT_9) \
@@ -2742,6 +2746,10 @@ top_srcdir = @top_srcdir@
zlibdir = @zlibdir@
zlibinc = @zlibinc@
+# As far as I can tell automake testing support assumes that the build
+# system and the host system are the same. So these tests will not
+# work when building with a cross-compiler.
+
# Ignore warning about AM_PROG_CC_C_O due to large_CFLAGS
AUTOMAKE_OPTIONS = foreign -Wno-portability