Gentoo Archives: gentoo-commits

From: "Andreas K. Hüttel" <dilfridge@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/toolchain/binutils-patches:master commit in: 9999/
Date: Fri, 30 Jul 2021 23:25:30
Message-Id: 1627687506.7d4ad0cdad6d8eda51cc091f9357fe9d13c3f1e2.dilfridge@gentoo
1 commit: 7d4ad0cdad6d8eda51cc091f9357fe9d13c3f1e2
2 Author: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
3 AuthorDate: Fri Jul 30 23:25:06 2021 +0000
4 Commit: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
5 CommitDate: Fri Jul 30 23:25:06 2021 +0000
6 URL: https://gitweb.gentoo.org/proj/toolchain/binutils-patches.git/commit/?id=7d4ad0cd
7
8 XFAIL 15 broken ld.gold tests
9
10 Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org>
11
12 9999/0020-XFAIL-15-broken-ld.gold-tests.patch | 77 +++++++++++++++++++++++++++
13 1 file changed, 77 insertions(+)
14
15 diff --git a/9999/0020-XFAIL-15-broken-ld.gold-tests.patch b/9999/0020-XFAIL-15-broken-ld.gold-tests.patch
16 new file mode 100644
17 index 0000000..777390f
18 --- /dev/null
19 +++ b/9999/0020-XFAIL-15-broken-ld.gold-tests.patch
20 @@ -0,0 +1,77 @@
21 +From 6f9a3d6ffa2bcf91bc047055848591dab77c0f11 Mon Sep 17 00:00:00 2001
22 +From: =?UTF-8?q?Andreas=20K=2E=20H=C3=BCttel?= <dilfridge@g.o>
23 +Date: Sat, 31 Jul 2021 01:18:18 +0200
24 +Subject: [PATCH] Gentoo: XFAIL 15 broken ld.gold tests
25 +
26 +It seems like either the tests or ld.gold in general cannot handle
27 +compilers built with --enable-default-pie. No fix yet, so let's ignore
28 +these test failures for the moment. For details see the linked bugs.
29 +
30 +Bug: https://bugs.gentoo.org/684046
31 +Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=22755
32 +Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=27303
33 +---
34 + gold/testsuite/Makefile.am | 6 ++++++
35 + gold/testsuite/Makefile.in | 16 ++++++++++++----
36 + 2 files changed, 18 insertions(+), 4 deletions(-)
37 +
38 +diff --git a/gold/testsuite/Makefile.am b/gold/testsuite/Makefile.am
39 +index 38e54818f48..85c94d40660 100644
40 +--- a/gold/testsuite/Makefile.am
41 ++++ b/gold/testsuite/Makefile.am
42 +@@ -1,5 +1,11 @@
43 + # Process this file with automake to generate Makefile.in
44 +
45 ++# Gentoo, https://bugs.gentoo.org/684046
46 ++XFAIL_TESTS = exception_separate_shared_12_test exception_separate_shared_21_test \
47 ++ weak_undef_test initpri3a justsyms_exec script_test_2 script_test_1 \
48 ++ justsyms binary_test script_test_3 tls_phdrs_script_test script_test_12i \
49 ++ dynamic_list_2 incremental_test_2 incremental_test_5
50 ++
51 + # As far as I can tell automake testing support assumes that the build
52 + # system and the host system are the same. So these tests will not
53 + # work when building with a cross-compiler.
54 +diff --git a/gold/testsuite/Makefile.in b/gold/testsuite/Makefile.in
55 +index 7b4b7832d38..765c2b73140 100644
56 +--- a/gold/testsuite/Makefile.in
57 ++++ b/gold/testsuite/Makefile.in
58 +@@ -15,10 +15,6 @@
59 + @SET_MAKE@
60 +
61 + # Process this file with automake to generate Makefile.in
62 +-
63 +-# As far as I can tell automake testing support assumes that the build
64 +-# system and the host system are the same. So these tests will not
65 +-# work when building with a cross-compiler.
66 + VPATH = @srcdir@
67 + am__is_gnu_make = { \
68 + if test -z '$(MAKELEVEL)'; then \
69 +@@ -94,6 +90,14 @@ POST_UNINSTALL = :
70 + build_triplet = @build@
71 + host_triplet = @host@
72 + target_triplet = @target@
73 ++XFAIL_TESTS = exception_separate_shared_12_test$(EXEEXT) \
74 ++ exception_separate_shared_21_test$(EXEEXT) \
75 ++ weak_undef_test$(EXEEXT) initpri3a$(EXEEXT) \
76 ++ justsyms_exec$(EXEEXT) script_test_2$(EXEEXT) \
77 ++ script_test_1$(EXEEXT) justsyms$(EXEEXT) binary_test$(EXEEXT) \
78 ++ script_test_3$(EXEEXT) tls_phdrs_script_test$(EXEEXT) \
79 ++ script_test_12i$(EXEEXT) dynamic_list_2$(EXEEXT) \
80 ++ incremental_test_2$(EXEEXT) incremental_test_5$(EXEEXT)
81 + check_PROGRAMS = $(am__EXEEXT_1) $(am__EXEEXT_2) $(am__EXEEXT_3) \
82 + $(am__EXEEXT_4) $(am__EXEEXT_5) $(am__EXEEXT_6) \
83 + $(am__EXEEXT_7) $(am__EXEEXT_8) $(am__EXEEXT_9) \
84 +@@ -2742,6 +2746,10 @@ top_srcdir = @top_srcdir@
85 + zlibdir = @zlibdir@
86 + zlibinc = @zlibinc@
87 +
88 ++# As far as I can tell automake testing support assumes that the build
89 ++# system and the host system are the same. So these tests will not
90 ++# work when building with a cross-compiler.
91 ++
92 + # Ignore warning about AM_PROG_CC_C_O due to large_CFLAGS
93 + AUTOMAKE_OPTIONS = foreign -Wno-portability
94 +
95 +--
96 +2.31.1
97 +