From 154a69586f1d7a96b06bc48f9de3ce9af81eb544 Mon Sep 17 00:00:00 2001 From: Xi Ruoyao Date: Mon, 3 Oct 2022 17:52:27 +0800 Subject: [PATCH 1/3] binutils: gas tests fail because race condition Again, I sincerely wish libtool can suffer a painful death. --- chapter08/binutils.xml | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/chapter08/binutils.xml b/chapter08/binutils.xml index 2773b66d1..6092f592d 100644 --- a/chapter08/binutils.xml +++ b/chapter08/binutils.xml @@ -166,9 +166,18 @@ cd build + anyway.) + Will be fixed in 2.40 (upstream commit 67d1991). --> The test named ar with versioned solib is also - known to fail. + known to fail. + + Because of a race between the gas testsuite and the gprofng testsuite, + some gas tests may fail if parallel jobs are used. If you are not + assured of the correctness of gas, invoke + make check-gas to run gas testsuite separately and + all tests should pass. Three gprofng tests result + ERROR and they are counted as + UNRESOLVED in the summary. Install the package: From de154344b8043279fafa169d6a9291bbc50f1fb0 Mon Sep 17 00:00:00 2001 From: Xi Ruoyao Date: Mon, 3 Oct 2022 17:53:32 +0800 Subject: [PATCH 2/3] binutils: don't wrap "gold" in "gold" is not an installed program (it's named "ld.gold"). So IMO it's not proper to use . --- chapter08/binutils.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chapter08/binutils.xml b/chapter08/binutils.xml index 6092f592d..cb2619a73 100644 --- a/chapter08/binutils.xml +++ b/chapter08/binutils.xml @@ -160,7 +160,7 @@ cd build make -k check - Twelve tests fail in the gold testsuite when the + Twelve tests fail in the gold testsuite when the and options are passed to GCC.